﻿/* 
    ================================================================
    DESIGN SYSTEM & COLOR SCHEME
    ================================================================
*/
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Colors - Reimagined for Elite Gold Feel */
    --deep-navy: #040811;
    --royal-blue: #D4AF37; /* Royal Gold */
    --sky-blue: #F9E79F;  /* Champagne Gold */
    --indigo: #9A7B4F;    /* Deep Gold Shadow */
    --violet: #B8860B;    /* Dark Gold Accent */
    --white: #FFFFFF;
    --black: #020617;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #D4AF37, #9A7B4F, #B8860B);
    --surface-gradient: linear-gradient(180deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.03) 100%);
    
    /* Shadows */
    --glow-primary: 0 0 20px rgba(212, 175, 55, 0.4);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.5);
    
    /* Theme Variables */
    --bg-color: var(--deep-navy);
    --text-color: var(--white);
    --card-bg: rgba(15, 23, 42, 0.85);
    --glass-border: rgba(212, 175, 55, 0.15);
    --navbar-bg: rgba(4, 8, 17, 0.9);

    /* Misc */
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-card: 24px;
    --radius-btn: 14px;
    --radius-pill: 100px;
    --container-width: 1400px;
}

/* Light Mode Overrides */
body.light-mode {
    --bg-color: #F8FAFC;
    --text-color: #1E293B;
    --card-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(30, 41, 59, 0.1);
    --navbar-bg: rgba(248, 250, 252, 0.8);
}

/* 
    ================================================================
    GLOBAL STYLES
    ================================================================
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.t-transition {
    transition: var(--transition);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}



body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 140px 0;
}

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateZ(0); /* Force GPU acceleration */
    will-change: transform, opacity;
}

/* 
    ================================================================
    NAVBAR
    ================================================================
*/
.navbar {
    position: fixed;
    top: var(--ad-banner-height);
    left: 0;
    right: 0;
    width: auto;
    z-index: 1200;
    background: var(--navbar-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 90px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s, box-shadow 0.4s;
    will-change: height, background;
}

.navbar.scrolled {
    height: 70px;
    background: rgba(6, 11, 19, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    position: relative;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sky-blue);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
}

.btn-filled {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--glow-primary);
}

.btn-filled::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-filled:hover::before {
    left: 100%;
}

.btn-filled:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--sky-blue);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary-gradient);
}

/* Theme Toggle */
.theme-switch {
    width: 50px;
    height: 26px;
    background: #334155;
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 5px;
    transition: background 0.5s;
}

.theme-switch .dot {
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

body.light-mode .theme-switch {
    background: var(--sky-blue);
}

footer {
    background: linear-gradient(180deg, transparent 0%, rgba(6, 11, 19, 0.5) 100%);
    border-top: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--white);
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links li a {
    opacity: 0.6;
    font-size: 0.95rem;
}

.footer-links li a:hover {
    opacity: 1;
    color: var(--sky-blue);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* Mobile Menu */
@media (max-width: 992px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    body.nav-visible .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--navbar-height);
        left: 0;
        width: 100%;
        background: var(--bg-color);
        padding: 40px;
        gap: 20px;
        border-bottom: 2px solid var(--sky-blue);
        animation: slideDown 0.4s ease forwards;
        z-index: 10000;
    }

    body.nav-visible .nav-actions {
        display: flex;
        position: absolute;
        top: 360px;
        /* Adjusted based on links */
        left: 0;
        width: 100%;
        background: var(--bg-color);
        padding: 0 40px 40px;
        justify-content: center;
        animation: slideDown 0.4s ease forwards;
        z-index: 10001;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 
    ================================================================
    SECTION 1 - AD BANNER (STICKY)
    ================================================================
*/
.ad-banner {
    width: 100%;
    height: var(--ad-banner-height);
    overflow: hidden;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1100; /* ensured under the navbar */
    border-bottom: 1px solid var(--glass-border);
    background: var(--bg-color); /* ensure no transparency bleed-through */
}

.ad-track {
    display: flex;
    height: 100%;
    transition: opacity 0.5s ease;
}

.ad-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-slide img,
.ad-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*
    ================================================================
    STICKY HEADER SPACING
    Ad banner: 100px  +  Navbar: 80px  =  180px total
    Content below must be offset by this combined height.
    ================================================================
*/
:root {
    --ad-banner-height: 60px;
    --navbar-height: 90px;
    --sticky-header-height: 150px; /* ad-banner + navbar */
}

/* Push body content below the sticky ad+nav stack ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â spacing handled by section-padding and padding-top below */

/* Compensate for the sticky header stack on public pages */
.main-page-content {
    padding-top: var(--sticky-header-height);
}

/* Mobile responsive ad banner height */
@media (max-width: 768px) {
    :root {
        --ad-banner-height: 50px;
        --sticky-header-height: 140px; /* 50px banner + 90px nav */
    }

    .navbar {
        top: 50px; /* below the 50px mobile ad banner */
    }
}

@media (max-width: 480px) {
    :root {
        --ad-banner-height: 40px;
        --sticky-header-height: 130px; /* 40px banner + 90px nav */
    }

    .navbar {
        top: 40px; /* below the 40px small-mobile ad banner */
    }
}

/* 
    ================================================================
    SECTION 2 - HERO CAROUSEL
    ================================================================
*/
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--sticky-header-height));
    overflow: hidden;
    margin-top: var(--sticky-header-height);
}

.hero-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 22, 40, 0.7), transparent);
    z-index: 2;
}

.hero-fixed-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 600px;
    color: white !important;
    /* Always white per requirement */
}

.hero-fixed-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-fixed-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-family: 'Inter', sans-serif;
}

/* Arrows */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--sky-blue);
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 15px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--sky-blue);
    width: 40px;
    border-radius: var(--radius-pill);
    box-shadow: 0 0 15px var(--sky-blue);
}

/* 
    ================================================================
    SECTION 3 - CONTENT HIGHLIGHTS (MARQUEE)
    ================================================================
*/
.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 80px;
    font-weight: 900;
    background: linear-gradient(to right, #fff, #60A5FA, #8B5CF6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.05em;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 10px;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

.marquee-wrapper {
    display: flex;
    gap: 30px;
    will-change: transform;
}

.highlight-card {
    min-width: 340px;
    height: 480px;
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--sky-blue);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(37, 99, 235, 0.2);
}

.highlight-card img {
    width: 100%;
    height: 100%;
    transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight-card:hover img {
    transform: scale(1.15);
    filter: brightness(0.7);
}

.card-hover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(10, 22, 40, 0.9));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
    padding-bottom: 30px;
}

.highlight-card:hover .card-hover-overlay {
    opacity: 1;
}

/* 
    ================================================================
    SECTION 4 - CONTESTANTS VOTING
    ================================================================
*/
.contestants-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
}

@media (max-width: 1024px) {
    .contestants-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .contestants-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.contestant-card {
    padding: 0;
    text-align: left;
    border-radius: var(--radius-card);
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s, box-shadow 0.4s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    height: 100%;
    will-change: transform;
}

.contestant-card:hover {
    transform: translateY(-12px);
    border-color: var(--sky-blue);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(37, 99, 235, 0.2);
}

.contestant-img-wrap {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    position: relative;
}

.contestant-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

.contestant-card:hover .contestant-img-wrap img {
    transform: scale(1.1);
}

.contestant-info {
    padding: 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 11, 19, 0.8) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.full-name {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.username {
    color: var(--sky-blue);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.top-contestant-card {
    padding: 0;
    text-align: left;
    border-radius: 32px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    min-height: 580px;
}

.top-contestant-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 80px rgba(37, 99, 235, 0.3);
    border-color: var(--sky-blue);
}

.top-contestant-card::after {
    content: 'TOP STAR';
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 16px;
    background: var(--primary-gradient);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    color: white;
    z-index: 5;
    letter-spacing: 0.1em;
}

.contestant-img-wrap.square-frame {
    position: relative;
    width: 100%;
    height: 260px; /* High-impact vertical frame */
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    flex-shrink: 0;
    margin-bottom: 20px;
    background: #0f172a;
}

@media (max-width: 768px) {
    .contestant-img-wrap.square-frame {
        height: 240px;
    }
}

.contestant-img-wrap.square-frame.large-frame {
    height: 340px; /* Much larger for top stars */
}

.contestant-img-wrap.square-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contestant-info-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.top-contestant-card .vote-count-simple {
    margin-top: 15px;
}

.top-contestant-card .vote-count-simple .count {
    font-size: 28px;
    font-weight: 800;
    color: var(--sky-blue);
}

.bio-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 5px;
}

.bio-content-box {
    width: 100%;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 42px; /* Approx 2 lines */
    position: relative;
}

/* Fading mask for collapsed state */
.bio-content-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(transparent, var(--glass-bg));
    transition: opacity 0.3s;
    pointer-events: none;
    opacity: 1;
}

/* Expanded bio styles removed */

/* Bio text style removed */

/* Base typography for all cards */
.full-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin: 5px 0 2px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.username {
    font-size: 0.85rem;
    color: var(--sky-blue);
    font-weight: 500;
    opacity: 0.9;
    text-align: center;
    margin-bottom: 5px;
}

.username {
    display: block;
    font-size: 0.8rem;
    color: var(--sky-blue);
    opacity: 0.8;
    margin-bottom: 5px;
}

.bio {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 15px 0;
    width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    text-align: left;
}

@media (max-width: 480px) {
    .bio {
        font-size: 14px; /* Increased legibility on mobile */
    }
}

.contestant-card .vote-count-section {
    width: 100%;
    margin-top: 10px !important;
    padding-top: 10px !important;
}

.contestant-card .vote-btn {
    padding: 8px 15px !important;
    font-size: 12px !important;
}

/* Grid responsive updates handles above */

@media (max-width: 768px) {
    .hero-fixed-content h1 {
        font-size: 2.2rem;
    }
    .hero-fixed-content {
        left: 5%;
        width: 90%;
        text-align: center;
        top: 50%;
        transform: translate(0, -50%);
    }

    .hero {
        height: 60vh;
    }
}

/* 
    ================================================================
    SEARCH & FILTER (RISING STARS)
    ================================================================
*/
.search-filter-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    gap: 30px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sky-blue);
    opacity: 0.7;
}

.search-box input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--sky-blue);
    box-shadow: 0 0 15px var(--accent-glow);
}

.filter-tabs {
    display: flex;
    gap: 10px;
    background: var(--card-bg);
    padding: 5px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
}

.filter-btn {
    padding: 10px 25px;
    border-radius: 50px;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active {
    background: var(--sky-blue);
    color: white;
}

@media (max-width: 768px) {
    .search-filter-wrap {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        }

    .search-box {
        min-width: 100% !important;
    }

    .filter-tabs {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        padding: 5px 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex-shrink: 0;
        padding: 8px 18px;
        font-size: 0.85rem;
        }
}

/* 
    ================================================================
    SECTION 5 - TOP CONTESTANTS
    ================================================================
*/
.top-contestants-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .top-contestants-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .top-contestants-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
}

/* Shared Contestant Card Elements removed from here as they are now generic above */

.top-contestant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.rank-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.rank-badge.gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.rank-badge.silver {
    background: linear-gradient(135deg, #C0C0C0, #808080);
}

.rank-badge.bronze {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
}

.rank-badge span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: -2px;
}

.top-contestant-card .contestant-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vote-overlay-chip {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(30, 58, 138, 0.9);
    backdrop-filter: blur(5px);
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bio Styles Removed as per Task 1 */

.vote-count-display {
    padding: 10px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 12px;
    width: 100%;
    text-align: center;
}

.btn-pill.vote-btn {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.btn-pill.vote-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px var(--accent-glow);
    background: var(--royal-blue);
    border-color: var(--sky-blue);
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--sky-blue);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 5px;
    display: inline-block;
}

.top-vote-btn {
    width: 100%;
    font-size: 0.85rem !important;
    padding: 10px !important;
    margin-top: auto; /* Anchors the vote button to the bottom of the card */
}

.top-contestant-card h3 {
    font-size: 15px;
    margin-bottom: 4px;
}

.talent-tag {
    font-size: 10px;
    color: var(--sky-blue);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--sky-blue), #00D4FF);
    border-radius: 10px;
}

/* 
    ================================================================
    SECTION 6 - LIVE LEADERBOARD
    ================================================================
*/
.leaderboard-wrapper {
    margin-bottom: 50px;
    overflow-x: auto;
}

.leaderboard-table {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.leaderboard-table table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table thead {
    background: rgba(59, 130, 246, 0.15);
}

.leaderboard-table th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sky-blue);
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

.leaderboard-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.leaderboard-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.08);
}

.leaderboard-table td {
    padding: 15px;
    font-size: 14px;
}

.rank-number {
    font-weight: 800;
    font-size: 16px;
}

.rank-number.gold {
    color: #FFD700;
}

.rank-number.silver {
    color: #C0C0C0;
}

.rank-number.bronze {
    color: #CD7F32;
}

.category-tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: var(--sky-blue);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.vote-number {
    font-weight: 700;
    color: var(--sky-blue);
}

.trend {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    font-size: 12px;
}

.trend.up {
    color: #22c55e;
}

.trend.down {
    color: #ef4444;
}

.leaderboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-card {
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

.stat-icon {
    font-size: 32px;
    color: var(--sky-blue);
    margin-bottom: 12px;
}

.stat-card h4 {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--sky-blue);
}

/* 
    ================================================================
    SECTION 7 - SPONSORS
    ================================================================
*/
.sponsors-wrap {
    background: linear-gradient(var(--deep-navy), var(--royal-blue));
    padding: 80px 0;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
}

.sponsor-tile {
    text-align: center;
}

.sponsor-tile img {
    height: 60px;
    width: auto;
    margin: 0 auto 15px;
    filter: grayscale(1);
    transition: var(--transition);
}

.sponsor-tile:hover img {
    filter: grayscale(0);
}

/* 
    ================================================================
    FOOTER
    ================================================================
*/
footer {
    border-top: 2px solid #D4AF37;
    box-shadow: 0 -5px 25px rgba(212, 175, 55, 0.15);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    margin-bottom: 25px;
    color: #D4AF37;
}

.footer-links li {
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4AF37, #9A7B4F);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: white;
}

.social-icon:hover {
    background: linear-gradient(135deg, #B8860B, #8E6B23);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* 
    ================================================================
    FLOATING ELEMENTS
    ================================================================
*/
.wa-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    z-index: 100;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.wa-float::after {
    content: 'Chat with us on WhatsApp';
    position: absolute;
    left: 70px;
    background: var(--deep-navy);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.wa-float:hover::after {
    opacity: 1;
}

.scroll-nav {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
}

.scroll-nav.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(4, 9, 17, 0.9);
    backdrop-filter: blur(12px);
    border: 2px solid #D4AF37;
    color: #D4AF37;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.scroll-btn:hover {
    background: #D4AF37;
    color: #040811;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

/* 
    ================================================================
    PAGES: AUTH (LOGIN/REGISTER)
    ================================================================
*/
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, var(--deep-navy) 0%, #111827 100%);
    position: relative;
    overflow-x: hidden;
}

.auth-bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.auth-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    position: relative;
    z-index: 10;
}

.particle {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(1px);
}

.auth-card {
    position: relative;
    width: 100%;
    max-width: 550px;
    padding: 50px;
    border-radius: 20px;
}

.auth-card h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--white);
    font-family: inherit;
    transition: var(--transition);
}

body.light-mode .form-control {
    color: var(--black);
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.pass-wrap {
    position: relative;
}

.toggle-pass {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.6;
}

/* Custom Checkbox / Toggle */
.custom-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-box {
    width: 20px;
    height: 20px;
    border: 2px solid var(--sky-blue);
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
}

input[type="checkbox"]:checked+.checkbox-box {
    background: var(--sky-blue);
}

input[type="checkbox"]:checked+.checkbox-box::after {
    content: 'ÃƒÂ¢Ã…â€œÃ¢â‚¬Å“';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

/* ============================================================
   VOTING SYSTEM - POPUP STYLING
   ============================================================ */

/* Vote Payment Popup */
.vote-payment-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeInBackdrop 0.3s ease;
}

.vote-payment-popup {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.vote-payment-popup .popup-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 20px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.vote-payment-popup .popup-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
}

.popup-content {
    text-align: center;
}

.popup-icon {
    font-size: 48px;
    color: #3b82f6;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.popup-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.popup-subtitle {
    font-size: 14px;
    color: #d1d5db;
    margin-bottom: 24px;
}

.popup-amount {
    font-size: 48px;
    font-weight: 800;
    color: #3b82f6;
    margin: 30px 0;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.popup-form {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #3b82f6;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
}

.popup-pay-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.popup-pay-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.popup-pay-btn:active {
    transform: translateY(0);
}

.popup-cancel-btn {
    width: 100%;
    padding: 10px 20px;
    background: transparent;
    color: #9ca3af;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.popup-cancel-btn:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

/* Thank You Popup */
.thank-you-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.thank-you-popup {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.checkmark-animation {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    animation: scaleIn 0.6s ease;
}

.checkmark {
    width: 100%;
    height: 100%;
    border: 3px solid #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #22c55e;
}

.checkmark::after {
    content: 'ÃƒÂ¢Ã…â€œÃ¢â‚¬Å“';
    animation: checkmarkBounce 0.8s ease 0.3s backwards;
}

@keyframes checkmarkBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeInBackdrop {
    from { opacity: 0; }
    to { opacity: 1; }
}

.buttons-group {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.popup-vote-again-btn {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
}

.popup-vote-again-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    transform: translateY(-2px);
}

.popup-close-btn-secondary {
    flex: 1;
    padding: 12px;
    background: transparent;
    color: #9ca3af;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.popup-close-btn-secondary:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px 24px;
    color: white;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 300px;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.toast-success {
    border-color: rgba(34, 197, 94, 0.3);
}

.toast-success i {
    color: #22c55e;
}

.toast-error {
    border-color: rgba(239, 68, 68, 0.3);
}

.toast-error i {
    color: #ef4444;
}

.toast-info {
    border-color: rgba(59, 130, 246, 0.3);
}

.toast-info i {
    color: #3b82f6;
}

@media (max-width: 640px) {
    .vote-payment-popup,
    .thank-you-popup {
        max-width: 100%;
        margin: 20px;
        padding: 30px 20px;
    }
    
    .popup-amount {
        font-size: 36px;
    }
    
    .popup-title {
        font-size: 20px;
    }
    
    .toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
    }
}
input[type="checkbox"] {
    display: none;
}

/* Custom Select */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14l-4.796-5.481c-.566-.647-.106-1.659.753-1.659h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

body.light-mode select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='black' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14l-4.796-5.481c-.566-.647-.106-1.659.753-1.659h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

/* File Upload */
.file-upload-btn {
    background: var(--royal-blue);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    cursor: pointer;
    margin-top: 10px;
}

/* 
    ================================================================
    ALERT MESSAGES - Glassmorphic Design
    ================================================================
*/

.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid;
    backdrop-filter: blur(10px);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success Alert */
.alert-success {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22C55E;
}

body.light-mode .alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.5);
    color: #16A34A;
}

.alert-success::before {
    content: '';
    min-width: 24px;
    width: 24px;
    height: 24px;
    background: #22C55E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Error Alert */
.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

body.light-mode .alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.5);
    color: #DC2626;
}

.alert-error::before {
    content: '';
    min-width: 24px;
    width: 24px;
    height: 24px;
    background: #EF4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Info Alert */
.alert-info {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3B82F6;
}

body.light-mode .alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.5);
    color: #1D4ED8;
}

.alert-info::before {
    content: '';
    min-width: 24px;
    width: 24px;
    height: 24px;
    background: #3B82F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dismissible Alert Button */
.alert-dismissible {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.btn-close:hover {
    opacity: 1;
}

/* Warning Alert */
.alert-warning {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: #F59E0B;
}

body.light-mode .alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.5);
    color: #D97706;
}

.alert-warning::before {
    content: '';
    min-width: 24px;
    width: 24px;
    height: 24px;
    background: #F59E0B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-thumb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-top: 15px;
    display: none;
    border: 2px solid var(--sky-blue);
}

/* 
    ================================================================
    ANNOUNCEMENT BAR
    ================================================================
*/
.announcement-bar {
    background: var(--royal-blue);
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 1001;
}

.announcement-bar.info { background: #3b82f6; }
.announcement-bar.warning { background: #f59e0b; }
.announcement-bar.error { background: #ef4444; }
.announcement-bar.success { background: #10b981; }

.announcement-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.announcement-close {
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.announcement-close:hover {
    opacity: 1;
}

/* 
    ================================================================
    SPONSORS SECTION
    ================================================================
*/
.sponsors-wrap {
    background: rgba(10, 22, 40, 0.4);
    padding: 80px 0;
    text-align: center;
}

.sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.sponsor-tile {
    width: 200px;
    min-height: 130px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px 16px;
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
}

.sponsor-tile:hover {
    transform: translateY(-5px);
    border-color: var(--sky-blue);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.15);
}

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ Logo area: stacks avatar + logo image ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
.sponsor-logo-area {
    position: relative;
    width: 72px;
    height: 72px;
    margin-bottom: 10px;
}

/* Letter-avatar: always at the bottom layer */
.sponsor-logo-area .placeholder-logo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    margin: 0;
}

/* Logo overlay as background-image: sits on top, transparent when URL fails */
.sponsor-logo-img {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: grayscale(1) brightness(1.5);
    opacity: 0.75;
    transition: var(--transition);
    /* A clean white background so logos look right */
    background-color: rgba(255,255,255,0.92);
}

.sponsor-tile:hover .sponsor-logo-img {
    filter: none;
    opacity: 1;
}

.sponsor-tile p {
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    opacity: 0.6;
}

.placeholder-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4AF37, #9A7B4F);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    flex-shrink: 0;
}

.placeholder-logo span {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 768px) {
    .sponsors-grid {
        gap: 20px;
    }
    .sponsor-tile {
        width: 150px;
        height: 100px;
    }
}

/* ================================================================
   CELEBRATION MODAL (PREMIUM FEEDBACK) ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Glassmorphism Design
   ================================================================ */
.celeb-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001; /* Above everything */
    background: rgba(4, 7, 12, 0.85);
    backdrop-filter: blur(12px) saturate(180%);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.celeb-modal-overlay.active {
    display: flex;
}

.celeb-modal-content {
    max-width: 440px;
    width: 100%;
    padding: 60px 40px;
    text-align: center;
    border-radius: 40px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.25);
    transform: scale(0.7);
    opacity: 0;
    transition: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.celeb-modal-overlay.active .celeb-modal-content {
    transform: scale(1);
    opacity: 1;
}

.celeb-icon {
    font-size: 80px;
    margin-bottom: 24px;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4));
    animation: pulseCeleb 2s infinite ease-in-out;
}

@keyframes pulseCeleb {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.celeb-modal-content h3 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff, #D4AF37, #B8860B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.05em;
}

.celeb-modal-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    line-height: 1.6;
}

/* 
    ================================================================
    MICRO-INTERACTIONS: THE AURA EFFECT
    ================================================================
*/
.contestant-card {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
    position: relative;
    z-index: 1;
}

.contestant-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #D4AF37, #7B61FF);
    border-radius: var(--radius-card);
    z-index: -1;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.6s ease;
}

.contestant-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.25);
}

.contestant-card:hover::after {
    opacity: 0.45;
}

.contestant-img-wrap img {
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.contestant-card:hover .contestant-img-wrap img {
    transform: scale(1.12) rotate(1.5deg);
}

.vote-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--royal-blue), var(--indigo));
}

.vote-btn:hover {
    letter-spacing: 0.8px;
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contestant-card:hover {
        transform: translateY(-6px) scale(1.01);
    }
}
.contestant-card .bio { font-size: 13px; color: rgba(255, 255, 255, 0.6); line-height: 1.5; margin: 10px 0 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; transition: color 0.3s; }
.contestant-card:hover .bio { color: rgba(255, 255, 255, 0.9); }
@media (max-width: 768px) { .contestant-card .bio { -webkit-line-clamp: 2; font-size: 12px; margin: 8px 0 12px; } }


/* 
    ================================================================
    MOBILE OPTIMIZATIONS - FIXING HORIZONTAL FLOW
    ================================================================
*/
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
}

@media (max-width: 480px) {
    :root {
        --ad-banner-height: 40px;
        --navbar-height: 75px;
        --sticky-header-height: 115px;
    }

    .navbar {
        height: 75px !important;
        top: 40px !important;
    }

    .logo span {
        font-size: 1.1rem !important;
    }
    
    .logo img {
        height: 28px !important;
    }

    .search-box {
        min-width: 100% !important;
    }

    .filter-tabs {
        width: 100% !important;
        overflow-x: auto !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex-shrink: 0 !important;
    }

    .hero-fixed-content h1 {
        font-size: 1.8rem !important;
    }
}

body.nav-visible {
    overflow: hidden !important;
/* FINAL MOBILE NAVBAR & SHAKE FIX */
@media (max-width: 992px) {
    body.nav-visible {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
    }
    .hamburger {
        display: flex !important;
        z-index: 30000 !important;
        position: relative !important;
    }
    .hamburger span {
        display: block !important;
        background: #fff !important;
    }
    body.nav-visible .nav-links {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 75px !important;
        left: 0 !important;
        width: 100% !important;
        background: #040811 !important;
        padding: 40px !important;
        z-index: 20000 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    body.nav-visible .nav-actions {
        display: flex !important;
        position: fixed !important;
        top: 380px !important;
        left: 0 !important;
        width: 100% !important;
        background: #040811 !important;
        padding: 20px 40px 40px !important;
        justify-content: center !important;
        z-index: 20001 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}
