
/* Custom Gradient for Hero Section */
.hero-section {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%); /* Instagram Base */
    background: linear-gradient(135deg, #00f2ea 0%, #1877F2 30%, #833ab4 60%, #ff0050 100%); /* Mixed Custom */
    background-size: 200% 200%;
    animation: gradientBG 15s ease infinite;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Navbar Tweaks */
.navbar-brand i {
    margin-right: 5px;
}

/* Custom Tabs in Hero */
.custom-tabs .nav-link {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    margin: 0 5px;
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.custom-tabs .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.custom-tabs .nav-link.active {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    backdrop-filter: blur(5px);
    font-weight: bold;
}

.custom-tabs .nav-link i {
    margin-right: 8px;
}

/* Input Form Tweaks */
#urlInput {
    font-size: 1.1rem;
}

#urlInput:focus {
    box-shadow: none;
}

.btn-danger {
    background-color: #ff0050; /* TikTok Pinkish/Red */
    border: none;
}

.btn-danger:hover {
    background-color: #d60043;
}

/* Cards */
.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* FAQ Accordion */
.accordion-button:not(.collapsed) {
    color: #833ab4;
    background-color: #f8f9fa;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

/* Footer Links */
footer a:hover {
    color: #1877F2 !important; /* FB Blue on hover */
}

/* NEW: Instagram Page Specific Layout Styles */
.text-gradient-insta-icon {
    background: -webkit-linear-gradient(#833ab4, #fd1d1d, #fcb045);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-purple-blue {
    background: linear-gradient(135deg, #a033ff 0%, #25F4EE 100%); /* Purple to Cyan */
    color: white;
}

/* NEW: TikTok Page Specific Layout Styles */
.text-gradient-tiktok-icon {
    background: -webkit-linear-gradient(#000000, #25F4EE, #FE2C55);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-tiktok {
    background: linear-gradient(135deg, #000000 0%, #333333 100%); /* Black/Dark */
    color: white;
}

/* NEW: Facebook Page Specific Layout Styles */
.text-gradient-fb-icon {
    background: -webkit-linear-gradient(#1877F2, #00f2ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-fb {
    background: linear-gradient(135deg, #1877F2 0%, #00f2ea 100%); /* Blue to Cyan */
    color: white;
}


.why-box {
    border: 2px solid #0dcaf0; /* Default Cyan border */
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.why-box.tiktok-theme {
    border-color: #FE2C55;
}

.why-box.fb-theme {
    border-color: #1877F2;
}

.why-box.insta-theme {
    border-color: #833ab4;
}

.faq-custom-item {
    border: 1px solid transparent;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(to right, #ff00cc, #333399) border-box; /* Default/Insta */
}

.faq-custom-item.tiktok-theme {
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(to right, #000000, #FE2C55) border-box;
}

.faq-custom-item.fb-theme {
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(to right, #1877F2, #00f2ea) border-box;
}

.faq-custom-item .accordion-button {
    border-radius: 8px;
    font-weight: 600;
}

/* Loading Dots Animation */
.loading-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20px;
    margin-top: 10px;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    margin: 0 4px;
    background-color: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: dots-bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.48s;
    background-color: rgba(255,255,255,0.9);
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.32s;
    background-color: rgba(255,255,255,0.8);
}

.loading-dots span:nth-child(3) {
    animation-delay: -0.16s;
    background-color: rgba(255,255,255,0.7);
}

.loading-dots span:nth-child(4) {
    animation-delay: 0s;
    background-color: rgba(255,255,255,0.6);
}

@keyframes dots-bounce {
    0%, 80%, 100% { 
        transform: scale(0);
    } 40% { 
        transform: scale(1);
    }
}
