@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;800&family=Inter:wght@400;500&display=swap');

html, body {
    width: 100%;
    overflow-x: hidden; /* ਇਹ ਸਾਈਡ ਵਾਲੀ ਮੂਵਮੈਂਟ ਨੂੰ ਪੱਕੇ ਤੌਰ 'ਤੇ ਬੰਦ ਕਰ ਦੇਵੇਗਾ */
    position: relative;
    touch-action: pan-y; /* ਸਿਰਫ਼ ਉੱਪਰ-ਹੇਠਾਂ ਸਕ੍ਰੋਲ ਹੋਵੇਗਾ */
}


:root {
    --primary: #e879f9;
    --primary-hover: #d946ef;
    --secondary: #a78bfa;
    --bg-body: #0f172a;
    --bg-card: #1e293b;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border: #334155;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 50px rgba(236, 72, 153, 0.15);
    --grad-1: linear-gradient(135deg, #f59e0b 0%, #ec4899 50%, #8b5cf6 100%);
    --grad-btn: linear-gradient(to right, #ec4899, #8b5cf6);
}

/* GLOBAL RESET */
html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: var(--bg-body);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* SCROLLBAR - Keep global scrollbar but hide for swipe containers later */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: var(--grad-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-tools i {
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.2s;
}

.header-tools i:hover {
    color: var(--primary);
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(232, 121, 249, 0.5);
}

.header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
    cursor: pointer;
}

.header-reg-btn {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-reg-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 15px rgba(232, 121, 249, 0.4);
}

/* SIDE MENU */
.side-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    z-index: 5000;
    display: flex;
    flex-direction: column;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
}

.menu-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    font-size: 20px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

.menu-links {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

.menu-links a {
    padding: 10px;
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 10px;
}

.menu-links a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
    transform: translateX(5px);
}

.menu-links a i {
    width: 25px;
    color: var(--primary);
}

.menu-footer {
    padding: 30px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
}

.menu-footer a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
}

.menu-footer a:hover {
    color: var(--primary);
}

.close-sidebar-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.3s;
}

.close-sidebar-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    transform: rotate(90deg);
}

/* BANNER */
.banner-frame {
    width: 100%;
    height: 340px;
    overflow: hidden;
    position: relative;
    margin: 20px 0 0 0;
    border: none;
    z-index: 1;
}

.banner-slider {
    display: flex;
    width: 400%;
    height: 100%;
    animation: slide 20s infinite;
}

.banner-slider img {
    width: 25%;
    height: 100%;
    object-fit: cover;
}

@keyframes slide {

    0%,
    20% {
        margin-left: 0;
    }

    25%,
    45% {
        margin-left: -100%;
    }

    50%,
    70% {
        margin-left: -200%;
    }

    75%,
    95% {
        margin-left: -300%;
    }

    100% {
        margin-left: 0;
    }
}

/* SECTIONS */
.section-title {
    margin: 60px 5% 30px;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    font-family: 'Outfit', sans-serif;
}

.section-title span {
    background: var(--grad-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* SEARCH BAR */
.search-box-hidden {
    display: none;
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    width: 90%;
    max-width: 700px;
    z-index: 2000;
    animation: openSearch 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes openSearch {
    to {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 50px;
    padding: 12px 25px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    width: 100%;
    border: 1px solid var(--border);
}

.search-icon-inside {
    font-size: 22px;
    color: var(--primary);
    display: flex;
    align-items: center;
    text-shadow: 0 0 10px rgba(232, 121, 249, 0.5);
}

#sIn {
    flex: 1;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 18px;
    color: var(--text-main);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    padding: 0;
    margin: 0;
}

#sIn::placeholder {
    color: #64748b;
    font-weight: 400;
}

.search-close-btn {
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    padding: 5px;
}

.search-close-btn:hover {
    color: #ef4444;
    transform: scale(1.1);
}

/* =========================================
   SEARCH ACTIVE STATE - LAYOUT FIXES
   ========================================= */

/* 1. Push content down so it shows at the top (not hidden behind header) */
body.search-active {
    overflow-y: auto !important;
    /* Allow vertical scroll */
    padding-top: 160px !important;
    /* Key fix: Pushes results down */
}

/* 2. Create a solid background to hide the homepage behind results */
body.search-active::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-body);
    z-index: 10;
    pointer-events: none;
}

/* 3. Hide homepage elements that shouldn't be in search results */
body.search-active .section-title,
body.search-active .banner-frame,
body.search-active .cat-card-square,
body.search-active .load-more-container,
body.search-active .header-tools,
body.search-active .results-spacer {
    display: none !important;
}

/* 4. FORCE GRID LAYOUT: Switch from Horizontal Swipe to Grid */
body.search-active .scroll-container,
body.search-active .music-grid,
body.search-active .video-grid,
body.search-active .team-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 25px !important;
    padding: 0 5% 40px !important;
    position: relative;
    z-index: 11;
    /* Sit above the background */
    overflow: visible !important;
    /* Show all items, don't hide overflow */
    justify-content: center !important;
    width: 100%;
    margin-top: 20px !important;
}

/* 5. RESET CARD SIZES: Allow cards to shrink/grow in the grid */
body.search-active .cand-card,
body.search-active .mp3-card,
body.search-active .vid-card,
body.search-active .team-card {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    animation: none !important;
    min-width: 100% !important;
    /* Critical: Overrides the fixed swipe width */
    max-width: 100% !important;
    flex: none !important;
    /* Disable flex behavior */
    width: 100% !important;
    min-height: 100% !important;
}

body.search-active .cand-rank,
body.search-active .fuel-tank {
    display: none !important;
}

/* =======================================================
   CARDS & CONTAINERS - UPDATED FOR HORIZONTAL SWIPE
   ======================================================= */

/* Common Swipe Container Style */
.scroll-container,
.video-grid,
.music-grid,
.team-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    /* Allows swiping */
    gap: 20px;
    padding: 10px 0 40px 0 !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* scroll-snap removed */
    scrollbar-width: none;
    justify-content: flex-start !important;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

/* Ensure the first card starts at exactly the same indented point as the titles */
.scroll-container>.cat-card-square:first-child,
.scroll-container>.cand-card:first-child,
.video-grid>.vid-card:first-child,
.music-grid>.mp3-card:first-child,
.team-grid>.team-card:first-child {
    margin-left: 5% !important;
}

/* Ensure the last card gives safe space on the right edge */
.scroll-container>.cat-card-square:last-child,
.scroll-container>.cand-card:last-child,
.video-grid>.vid-card:last-child,
.music-grid>.mp3-card:last-child,
.team-grid>.team-card:last-child {
    margin-right: 5% !important;
}

/* Hide scrollbar for these containers for clean look */
.scroll-container::-webkit-scrollbar,
.video-grid::-webkit-scrollbar,
.music-grid::-webkit-scrollbar,
.team-grid::-webkit-scrollbar {
    display: none;
}

/* TALENT CATEGORIES SQUARES */
.cat-card-square {
    min-width: 140px;
    max-width: 140px;
    height: 160px;
    background: var(--bg-card);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border);
    cursor: pointer;
    flex: 0 0 auto !important;
    /* Prevents shrinking */
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    /* scroll-snap removed */
}

.cat-card-square::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grad-1);
    opacity: 0;
    transition: 0.4s;
    z-index: 0;
}

.cat-card-square i {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--primary);
    z-index: 1;
    transition: 0.4s;
    text-shadow: 0 0 10px rgba(232, 121, 249, 0.3);
}

.cat-card-square span {
    font-weight: 600;
    color: var(--text-muted);
    z-index: 1;
    transition: 0.4s;
}

.cat-card-square:hover {
    transform: translateY(-10px);
    border-color: transparent;
    box-shadow: var(--shadow-hover);
}

.cat-card-square:hover::before {
    opacity: 1;
}

.cat-card-square:hover i,
.cat-card-square:hover span {
    color: white;
}

/* CANDIDATE CARD */
.cand-card {
    width: 260px !important;
min-width: 260px !important;
max-width: 260px !important;
flex: 0 0 260px !important; /* Eh line card nu phullan ton rokegi */
height: 410px !important;   /* Saare cards di height barabar rakhan layi */
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.4s;
    box-shadow: var(--shadow-soft);
    position: relative;
    flex: 0 0 auto !important;
    /* Prevents shrinking */
    /* scroll-snap removed */
}

.cand-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.cand-img-wrapper {
   height: 190px !important;
min-height: 220px !important; /* Photo frame nu lock karan layi */
    position: relative;
    overflow: hidden;
    background: #020617;
}

.cand-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
    opacity: 0.9;
}

.cand-card:hover .cand-img {
    transform: scale(1.08);
    opacity: 1;
}

.cand-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--bg-card);
    flex-grow: 1;
    justify-content: space-between;
    z-index: 10;
}

.cand-rank {
    font-size: 11px;
    color: var(--primary);
    background: rgba(232, 121, 249, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: inline-block;
    border: 1px solid rgba(232, 121, 249, 0.2);
}

.cand-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
    line-height: 1.3;
  width: 100% !important;
max-width: 220px !important; /* Naam nu card de andar hi rakhega */
white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.fuel-tank {
    width: 100%;
    height: 8px;
    background: #334155;
    border-radius: 10px;
    margin: 5px 0 15px 0;
    overflow: hidden;
    border: none;
}

.fuel-level {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease-out;
}

/* voting colorchange karan lyi code */
.glow-red {
    background: #e50808;
    box-shadow: 0 0 10px #e50808;
}

.glow-yellow {
    background: #f59e0b;
    box-shadow: 0 0 10px #f59e0b;
}

.glow-green {
    background: #2ad603f1;
    box-shadow: 0 0 10px #04da2f;
}

/* VIDEO CARD */
.vid-card {
    min-width: 280px;
    /* Fixed width for swipe */
    max-width: 280px;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: 0.3s;
    box-shadow: var(--shadow-soft);
    flex: 0 0 auto !important;
    /* Prevents shrinking */
    /* scroll-snap removed */
}

.vid-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.thumbnail-wrapper {
    position: relative;
    height: 160px;
    /* Slightly adjusted height for better swipe ratio */
    cursor: pointer;
}

.vid-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    opacity: 0.9;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 2px solid var(--primary);
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(232, 121, 249, 0.4);
}

.thumbnail-wrapper:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary);
    color: white;
}

.vid-title {
    padding: 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
}

/* MUSIC CARD */
.mp3-card {
    /* --- FIXED SIZE LOCK --- */
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
    flex: 0 0 260px !important; 
    height: 300px !important; 
    /* ------------------------ */
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 20px; /* Padding thodi ghat kiti taaki buttons fit aun */
    transition: 0.3s;
    position: relative;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mp3-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.mp3-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.mp3-img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.mp3-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    width: 140px; /* Text area nu lock kita taaki card na khiche */
    overflow: hidden;
}

.track-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
    font-family: 'Outfit', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 5px;
}

.track-artist {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.like-btn {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    transition: 0.2s;
    color: var(--text-muted);
    font-weight: 600;
    padding-left: 2px;
}

.like-btn i {
    font-size: 18px;
    transition: 0.2s;
}

.like-btn.liked {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(232, 121, 249, 0.6);
}

.like-btn.liked i {
    transform: scale(1.2);
}

.share-btn {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    transition: 0.2s;
    color: var(--text-muted);
    font-weight: 600;
}

.share-btn:hover {
    color: var(--primary);
    transform: scale(1.05);
}

.mp3-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    gap: 15px;
}

.play-btn-large {
    width: 55px;
    height: 55px;
    background: var(--grad-btn);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
    transition: 0.2s;
    flex-shrink: 0;
}

.play-btn-large:active {
    transform: scale(0.95);
}

.progress-container {
    width: 100%;
    height: 8px;
    background: #334155;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    margin: 10px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--grad-1);
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.time-display {
    font-size: 12px;
    color: var(--text-muted);
    min-width: 35px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.extra-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
    margin-top: 15px;
}

.speed-btn {
    background: #1e293b; /* Dark background jo mobile te vi dikhega */
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    color: #ffffff !important; /* Text hamesha white rahega */
    outline: none;
    appearance: none; /* Default arrow nu custom look den layi */
    -webkit-appearance: none;
}

/* Dropdown de options (List) nu fix karan layi */
.speed-btn option {
    background: #0f172a; /* Options da background dark */
    color: #ffffff;      /* Options da text white */
    padding: 10px;
}

.vol-slider {
    width: 80px;
    height: 5px;
    -webkit-appearance: none;
    background: #334155;
    border-radius: 5px;
    outline: none;
}

.vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary);
}

.vote-btn {
    width: 100%;
    padding: 12px;
    background: var(--text-main);
    color: var(--bg-body);
    border: none;
    font-weight: 700;
    cursor: pointer;
    border-radius: 12px;
    font-size: 13px;
    letter-spacing: 1px;
    transition: 0.2s;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.vote-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(232, 121, 249, 0.5);
    transform: translateY(-2px);
}

.vote-btn:disabled {
    background: #334155;
    color: #64748b;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 25px rgba(232, 121, 249, 0.4);
}

.load-more-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 60px 0;
}

/* MODALS */
.reg-modal,
.buy-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 6000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.form-box {
    background: var(--bg-card);
    padding: 40px;
    width: 90%;
    max-width: 700px;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    color: var(--text-main);
    max-height: 90vh;
    overflow-y: auto;
}

.buy-modal-card {
    background: var(--bg-card);
    width: 90%;
    max-width: 400px;
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: scale(0.9);
    border: 1px solid var(--border);
    animation: popIn 0.3s forwards;
}

@keyframes popIn {
    to {
        transform: scale(1);
    }
}

.buy-icon {
    width: 60px;
    height: 60px;
    background: rgba(232, 121, 249, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    border: 1px solid var(--primary);
    box-shadow: 0 0 15px rgba(232, 121, 249, 0.2);
}

.buy-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
}

.buy-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-buy-now {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--grad-btn);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
}

.btn-buy-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.6);
}

.btn-cancel {
    margin-top: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
}

.btn-cancel:hover {
    color: var(--text-main);
}

.timer-modal-card {
    background: var(--bg-card);
    width: 90%;
    max-width: 380px;
    border-radius: 24px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    position: relative;
    animation: popIn 0.3s ease forwards;
}

.timer-icon {
    width: 70px;
    height: 70px;
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    animation: pulse 2s infinite;
    border: 1px solid #f59e0b;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(245, 158, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

/* =======================================================
   VOTING DEADLINE SYSTEM IMPROVEMENTS (NEON THEME)
   ======================================================= */
.countdown-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 420px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 12px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(232, 121, 249, 0.2);
    animation: floatUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-main);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.countdown-bar i {
    color: var(--primary);
    font-size: 18px;
    animation: pulseIcon 2s infinite;
}

#time {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 16px;
    background: var(--grad-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    min-width: 120px;
    text-align: left;
}

.countdown-bar.closed {
    background: rgba(153, 27, 27, 0.9) !important;
    border-color: #ef4444 !important;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

.countdown-bar.closed i {
    color: #fca5a5 !important;
    animation: none;
}

.countdown-bar.closed #time {
    background: none;
    -webkit-text-fill-color: white;
    color: white;
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
        text-shadow: 0 0 0 rgba(232, 121, 249, 0);
    }

    50% {
        transform: scale(1.1);
        text-shadow: 0 0 10px rgba(232, 121, 249, 0.5);
    }

    100% {
        transform: scale(1);
        text-shadow: 0 0 0 rgba(232, 121, 249, 0);
    }
}

@keyframes floatUp {
    from {
        transform: translate(-50%, 100px);
    }

    to {
        transform: translate(-50%, 0);
    }
}

/* ADMIN */
.admin-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.icon-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
}

.icon-purple {
    background: rgba(147, 51, 234, 0.1);
    color: #c084fc;
}

.icon-pink {
    background: rgba(219, 39, 119, 0.1);
    color: #f472b6;
}

.stat-info h3 {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.stat-info p {
    margin: 5px 0 0;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.warning-box {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 24px;
    padding: 35px;
    margin-bottom: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(245, 158, 11, 0.1);
    position: relative;
    overflow: hidden;
}

.warning-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 0;
}

.warning-header {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    font-weight: 800;
    color: #fbbf24;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
    padding-bottom: 15px;
    font-family: 'Outfit', sans-serif;
}

.warning-header i {
    font-size: 26px;
    animation: pulseWarning 2s infinite;
}

@keyframes pulseWarning {
    0% {
        text-shadow: 0 0 0 rgba(245, 158, 11, 0);
    }

    50% {
        text-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
    }

    100% {
        text-shadow: 0 0 0 rgba(245, 158, 11, 0);
    }
}

.deadline-form {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 20px;
    align-items: end;
    position: relative;
    z-index: 1;
}

.input-group {
    flex: 1;
    min-width: 150px;
}

.input-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 14px;
    background: #020617;
    color: #ffffff;
    outline: none;
    transition: 0.2s;
}

.deadline-form .admin-input {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
    font-size: 15px;
    background: #020617 !important;
    color: #fbbf24 !important;
    font-weight: 600;
    outline: none;
    transition: 0.3s;
    color-scheme: dark;
}

.deadline-form .admin-input:focus {
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2) !important;
    border-color: #fbbf24 !important;
}

.btn-set {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-set:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.4);
}

.btn-stop {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-stop:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(239, 68, 68, 0.4);
}

.admin-box {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-soft);
}

.section-header {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-container {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

.list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    margin-bottom: 10px;
    transition: 0.2s;
}

.list-item:hover {
    background: var(--bg-card);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.item-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.item-img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--border);
}

.item-info h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
}

.item-info p {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--text-muted);
}

.vote-control {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--bg-body);
    padding: 5px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.vote-control input {
    width: 45px;
    border: none;
    text-align: center;
    font-weight: bold;
    color: var(--text-main);
    background: transparent;
}

.btn-mini {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

.btn-mini:active {
    transform: scale(0.9);
}

.btn-green {
    background: #10b981;
}

.btn-red {
    background: #ef4444;
}

.btn-del {
    color: #ef4444;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.1);
    transition: 0.2s;
}

.btn-del:hover {
    background: #ef4444;
    color: white;
}

.photo-upload-label {
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    display: block;
    margin-top: 4px;
}

.terms-box {
    height: 150px;
    overflow-y: auto;
    background: var(--bg-body);
    border: 1px solid var(--border);
    padding: 15px;
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: left;
    margin-bottom: 20px;
}

.terms-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-main);
}

.lbl {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

/* PROFILE */
.profile-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 30px;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 8px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.tab-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(232, 121, 249, 0.3);
    font-weight: 700;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
    text-align: left;
}

.tab-content.active {
    display: block;
}

#tab-edit form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px 5px;
}

#tab-edit img {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 3px solid var(--primary) !important;
    box-shadow: 0 0 25px rgba(232, 121, 249, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto 15px auto !important;
    display: block;
}

#tab-edit img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(232, 121, 249, 0.5);
    cursor: pointer;
}

#tab-edit label {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: -8px;
    margin-top: 5px !important;
    display: block;
    opacity: 0.9;
}

#tab-edit input[type="text"] {
    width: 100%;
    padding: 14px 15px;
    background: #0f172a !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px;
    color: white !important;
    font-size: 15px;
    font-weight: 500;
    margin-top: 8px !important;
    outline: none;
    transition: 0.3s;
}

#tab-edit input[type="text"]:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(232, 121, 249, 0.15) !important;
    background: #1e293b !important;
}

#tab-edit input[type="file"] {
    background: rgba(15, 23, 42, 0.6) !important;
    padding: 10px;
    border-radius: 12px;
    border: 1px dashed var(--border) !important;
    color: var(--text-muted) !important;
    font-size: 12px !important;
    width: 100%;
    cursor: pointer;
    margin-top: 8px !important;
    transition: 0.3s;
}

#tab-edit input[type="file"]:hover {
    border-color: var(--primary) !important;
    background: rgba(232, 121, 249, 0.05) !important;
    color: white !important;
}

#tab-edit input[type="file"]::-webkit-file-upload-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    margin-right: 10px;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.5px;
    transition: 0.2s;
}

#tab-edit input[type="file"]::-webkit-file-upload-button:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

#tab-edit button[type="submit"] {
    background: var(--grad-btn) !important;
    border: none;
    color: white !important;
    font-weight: 800;
    padding: 15px;
    border-radius: 50px;
    margin-top: 25px !important;
    width: 100%;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#tab-edit button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(236, 72, 153, 0.5);
    filter: brightness(1.1);
}

#tab-edit button[type="submit"]:active {
    transform: scale(0.98);
}

.profile-pic-container {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.wallet-card {
    background: linear-gradient(135deg, #d946ef 0%, #8b5cf6 100%);
    border-radius: 20px;
    padding: 30px;
    color: white;
    text-align: center;
    box-shadow: 0 15px 35px rgba(217, 70, 239, 0.25);
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wallet-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(30deg);
    pointer-events: none;
}

.wallet-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.8;
    font-weight: 600;
    margin-bottom: 5px;
}

.wallet-balance {
    font-size: 42px;
    font-weight: 800;
    margin: 5px 0;
    font-family: 'Outfit', sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wallet-sub {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 500;
}

.wallet-grid {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.wallet-item {
    flex: 1;
    text-align: center;
}

.w-num {
    font-weight: 800;
    font-size: 20px;
    display: block;
}

.w-lbl {
    font-size: 11px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activity-list {
    max-height: 350px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.act-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: 0.2s;
}

.act-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateX(3px);
}

.act-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.act-info {
    flex: 1;
}

.act-info h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
}

.act-info span {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
    margin-top: 3px;
}

.act-badge {
    font-size: 10px;
    font-weight: 800;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    letter-spacing: 0.5px;
}

.trending-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 20px;
    z-index: 20;
    box-shadow: 0 5px 15px rgba(255, 75, 43, 0.4);
    display: flex;
    align-items: center;
    gap: 5px;
    animation: flamePulse 2s infinite;
}

@keyframes flamePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(255, 75, 43, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 5px 20px rgba(255, 75, 43, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(255, 75, 43, 0.4);
    }
}

.reg-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.reg-step.active-step {
    display: block;
}

/* TEAM */
footer {
    background: #0f172a;
    border-top: 1px solid var(--border);
    padding: 60px 5% 30px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--grad-1);
}

.team-section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    letter-spacing: -1px;
}

.team-section-title span {
    background: var(--grad-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* TEAM CARD UPDATED FOR SWIPE */
.team-card {
    min-width: 250px;
    /* Fixed width for swipe */
    max-width: 250px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 15px 10px;
    text-align: center;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    flex: 0 0 auto !important;
    /* Prevents shrinking */
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(232, 121, 249, 0.15);
}

.team-img {
    width: 230px;
    height: 230px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid var(--primary);
    margin: 0 auto 15px;
    display: block;
    box-shadow: 0 5px 15px rgba(232, 121, 249, 0.2);
}

.team-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
    font-family: 'Outfit', sans-serif;
}

.team-role {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.team-email {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    margin-top: 10px;
    transition: 0.2s;
}

.team-email:hover {
    color: var(--primary);
}

.footer-connect {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-connect h4 {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 18px;
    transition: 0.3s;
    border: 1px solid var(--border);
}

.social-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(232, 121, 249, 0.4);
    border-color: transparent;
}

.footer-copy {
    text-align: center;
    margin-top: 40px;
    font-size: 12px;
    color: #64748b;
}

.footer-email-link {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    padding: 5px 10px;
    border-radius: 10px;
    border: 1px solid transparent;
}

.footer-email-link:hover {
    background: rgba(232, 121, 249, 0.1);
    border-color: var(--primary);
}

/* LOGIN BOX */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #0f172a;
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--grad-1);
    filter: blur(100px);
    opacity: 0.2;
    border-radius: 50%;
    z-index: 0;
}

.login-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 90%;
    max-width: 400px;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
    z-index: 1;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-1);
}

.login-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
}

.login-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
}

/* LOGIN INPUTS */
.login-card input {
    width: 100%;
    padding: 14px 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    background-color: #020617 !important;
    border: 1px solid var(--border);
    color: #ffffff !important;
    font-size: 15px;
    transition: 0.3s;
    -webkit-text-fill-color: #ffffff !important;
}

.login-card input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(232, 121, 249, 0.15);
    background-color: #020617 !important;
}

/* BROWSER AUTOFILL FIX */
.login-card input:-webkit-autofill,
.login-card input:-webkit-autofill:hover,
.login-card input:-webkit-autofill:focus,
.login-card input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #020617 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s;
    background-color: #020617 !important;
    color: #ffffff !important;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: var(--grad-btn);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
    box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(236, 72, 153, 0.5);
}

.login-footer {
    margin-top: 25px;
    font-size: 13px;
    color: var(--text-muted);
}

.login-footer a {
    color: var(--primary);
    font-weight: 600;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* GLOBAL OVERRIDES */
.login-card input,
.admin-input,
form input,
form select,
form textarea {
    background-color: #020617 !important;
    color: #ffffff !important;
    border: 1px solid #334155 !important;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .deadline-form {
        grid-template-columns: 1fr;
    }

    .btn-set,
    .btn-stop {
        width: 100%;
    }

    .banner-section img,
    .slider-container img,
    .swiper-slide img,
    img.banner-img {
        width: 100% !important;
        height: auto !important;
        max-height: 250px !important;
        object-fit: contain !important;
    }

    .banner-container,
    .slider-wrapper {
        width: 100% !important;
        overflow: hidden !important;
        background-size: contain !important;
    }
}

/* =========================================
   FIX: FORCE OPACITY & VISIBILITY
   ========================================= */

/* 1. Force all cards to be visible immediately */
.cand-card,
.mp3-card,
.vid-card,
.cat-card-square,
.team-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    /* Stop any slide-up animation blocking view */
}

/* 2. Ensure containers don't hide overflow content visually */
.scroll-container,
.video-grid,
.music-grid,
.team-grid {
    opacity: 1 !important;
    overflow-x: auto !important;
    /* Ensure scroll is allowed */
}

/* =========================================
   FIX: TEAM IMAGE SIZE & ALIGNMENT
   ========================================= */

.team-img {
    width: 180px !important;
    /* Reduced size to fit inside card */
    height: 180px !important;
    /* Keeps it square */
    border-radius: 10% !important;
    /* Makes it a perfect circle (Professional look) */
    object-fit: cover !important;
    border: 3px solid var(--primary) !important;
    margin: 0 auto 15px auto !important;
    /* Forces it to center */
    display: block !important;
    box-shadow: 0 5px 15px rgba(232, 121, 249, 0.2);
}

/* Optional: Ensure text is also centered */
.team-card {
    text-align: center !important;
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
}

@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.premium-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    /* Glass effect */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 8px;
    margin: 8px auto;
    max-width: 450px;
    background-image: conic-gradient(from var(--border-angle), transparent 85%, currentColor);
    /* Luxury Rotating Border */
    background-size: 100% 100%;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: rotate-border 10s linear infinite;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

@keyframes rotate-border {
    0% {
        --border-angle: 0deg;
        color: #ffff00;
    }

    /* Yellow */
    20% {
        color: #00ff00;
    }

    /* Green */
    40% {
        color: #00ffff;
    }

    /* Cyan/Blue */
    60% {
        color: #ff00ff;
    }

    /* Pink/Magenta */
    80% {
        color: #ff0000;
    }

    /* Red */
    100% {
        --border-angle: 360deg;
        color: #ffff00;
    }

    /* Back to Yellow */
}

/* --- Premium Musical Chaos Background --- */
.music-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #0b0d17;
    overflow: hidden;
}

.m-item {
    position: absolute;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.8);
    user-select: none;
    filter: blur(0.5px);
    /* Premium look layi thoda blur */
}

/* --- Alag Alag Direction Animations --- */

/* 1. Upar ton Thalle (Top to Bottom) */
@keyframes move-v1 {
    0% {
        transform: translate(0, -10vh) rotate(0deg);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: translate(20vw, 110vh) rotate(360deg);
        opacity: 0;
    }
}

/* 2. Khabbe ton Sajje (Left to Right Diagonal) */
@keyframes move-v2 {
    0% {
        transform: translate(-10vw, 50vh) rotate(0deg);
        opacity: 0;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: translate(110vw, 20vh) rotate(-360deg);
        opacity: 0;
    }
}

/* 3. Thalle ton Upar (Bottom to Top) */
@keyframes move-v3 {
    0% {
        transform: translate(50vw, 110vh) rotate(0deg);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: translate(30vw, -10vh) rotate(720deg);
        opacity: 0;
    }
}

/* 4. Sajje ton Khabbe (Right to Left) */
@keyframes move-v4 {
    0% {
        transform: translate(110vw, 80vh) rotate(0deg);
        opacity: 0;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        transform: translate(-10vw, 40vh) rotate(180deg);
        opacity: 0;
    }
}

/* --- Har Model nu Direction Assign karo --- */
.m-item:nth-child(1) {
    left: 10%;
    animation: move-v1 20s infinite;
}

/* Mic - Downwards */
.m-item:nth-child(2) {
    left: 20%;
    animation: move-v2 25s infinite;
}

/* Star - Rightward */
.m-item:nth-child(3) {
    left: 40%;
    animation: move-v3 18s infinite;
}

/* Note - Upwards */
.m-item:nth-child(4) {
    left: 60%;
    animation: move-v4 22s infinite;
}

/* Guitar - Leftward */
.m-item:nth-child(5) {
    left: 80%;
    animation: move-v1 30s infinite;
    animation-delay: 5s;
}

.m-item:nth-child(6) {
    left: 15%;
    animation: move-v3 15s infinite;
    animation-delay: 2s;
}

.m-item:nth-child(7) {
    left: 85%;
    animation: move-v2 28s infinite;
}

.m-item:nth-child(8) {
    left: 50%;
    animation: move-v4 24s infinite;
}

/* Premium Glassmorphism for Vote Counts */
.vote-badge {
    background: rgba(255, 255, 255, 0.05);
    /* Bauht halka white */
    backdrop-filter: blur(10px);
    /* Piche wala hissa blur karega */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Barik glass edge */
    border-radius: 12px;
    padding: 5px 15px;
    display: inline-block;
    color: #ffffff;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    /* Halki lishk */
}

/* --- White Crystal Glass Effect (Extra Transparent & Shine) --- */
/* ===== PREMIUM Mp3 MUSIC CARD ===== */

.mp3-card{
position:relative;
min-width:230px;
max-width:260px;

padding:22px;
border-radius:20px;

background:linear-gradient(145deg,
rgba(255,255,255,0.12),
rgba(255,255,255,0.02));

border:1px solid rgba(255,255,255,0.25);

backdrop-filter: blur(10px) saturate(140%);
-webkit-backdrop-filter: blur(10px) saturate(140%);

box-shadow:
0 10px 25px rgba(0,0,0,0.25),
0 20px 40px rgba(0,0,0,0.15);

transition:all 0.35s ease;

transform-style:preserve-3d;

overflow:hidden;
}

/* ===== CARD HOVER (3D EFFECT) ===== */

.mp3-card:hover{
transform:translateY(-8px) scale(1.03) rotateX(4deg);

border-color:rgba(255,255,255,0.5);

box-shadow:
0 25px 60px rgba(0,0,0,0.45),
0 10px 20px rgba(255,255,255,0.15);
}

/* ===== IMAGE STYLE ===== */

.mp3-img{
width:80px;
height:80px;
border-radius:16px;
object-fit:cover;

box-shadow:0 10px 25px rgba(0,0,0,0.5);

transition:transform 0.35s ease;
}

/* IMAGE ZOOM */

.mp3-card:hover .mp3-img{
transform:scale(1.08);
}

/* ===== PLAY BUTTON PREMIUM ===== */

.play-btn-large{
width:55px;
height:55px;

border-radius:50%;

background:linear-gradient(135deg,#ff006a,#ff7a18);

display:flex;
align-items:center;
justify-content:center;

color:white;
font-size:22px;

cursor:pointer;

box-shadow:
0 0 15px rgba(255,0,120,0.6),
0 0 35px rgba(255,0,120,0.4);

transition:0.25s;
}

/* PLAY BUTTON GLOW */

.play-btn-large:hover{
transform:scale(1.08);
}

/* PULSE GLOW */

.play-btn-large{
animation:pulseGlow 2.5s infinite;
}

@keyframes pulseGlow{

0%{
box-shadow:0 0 12px rgba(255,0,120,0.4);
}

50%{
box-shadow:0 0 35px rgba(255,0,120,0.9);
}

100%{
box-shadow:0 0 12px rgba(255,0,120,0.4);
}

}

/* ===== PROGRESS BAR PREMIUM ===== */

.progress-container{
width:100%;
height:8px;

background:#2d3748;

border-radius:20px;

overflow:hidden;
cursor:pointer;
}

/* PROGRESS FILL */

.progress-fill{
height:100%;
width:0%;

background:linear-gradient(90deg,#ff006a,#ff7a18);

border-radius:20px;

box-shadow:0 0 12px rgba(255,0,120,0.6);

transition:width 0.15s linear;
}

/* ===== CARD TITLE ===== */

.track-title{
font-size:18px;
font-weight:700;

color:#ffffff;

margin-bottom:5px;

white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

/* ===== ARTIST NAME ===== */

.track-artist{
font-size:14px;
color:#94a3b8;
}

/* ===== LIKE BUTTON ===== */

.like-btn{
cursor:pointer;
display:inline-flex;
align-items:center;
gap:6px;

font-size:13px;

transition:0.2s;

color:#94a3b8;
font-weight:600;
}

.like-btn:hover{
color:#ff006a;
transform:scale(1.05);
}

/* LIKE ACTIVE */

.like-btn.liked{
color:#ff006a;

text-shadow:0 0 10px rgba(255,0,120,0.8);
}

/* ===== SHARE BUTTON ===== */

.share-btn{
cursor:pointer;

display:inline-flex;
align-items:center;

gap:6px;

font-size:13px;

color:#94a3b8;

transition:0.2s;
}

.share-btn:hover{
color:#ff7a18;

transform:scale(1.05);
}
/* ---you tube video Crystal Glass Sponsored Card CSS --- */
.vid-card-sponsored {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%) !important; 
    backdrop-filter: blur(12px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.3) !important; 
    border-radius: 20px; 
    overflow: hidden; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.1);
    position: relative;
    margin: 15px 10px;
    max-width: 450px; /* Mobile friendly size */
}

.vid-card-sponsored:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.yt-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    background: #000;
}

.yt-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; /* Disables YouTube native buttons */
}

.click-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10;
    cursor: pointer;
}

.ad-tag {
    position: absolute;
    top: 12px; right: 12px;
    background: #ffc107;
    color: #000;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    z-index: 11;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


/* --- Professional Neon Header Line (No Dots) --- */
.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    /* Thodi moti kiti taan ki saaf dikhe */
    /* Dots hataun layi solid color transition use kiti */
    background: linear-gradient(90deg, #4facfe, #00f2fe, #4facfe);
    background-size: 200% 100%;
    animation: header-glow 3s linear infinite;
    box-shadow: 0 1px 10px rgba(0, 242, 254, 0.5);
    /* Glow add kiti */
}

@keyframes header-glow {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* --- Fuel Tank (Progress Bar) Shine Effect --- */
.fuel-level {
    position: relative;
    overflow: hidden;
    /* Shine nu bar de andar rakhn layi */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.fuel-level::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    /* Ek barik lishkdi line jo move karegi */
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine-loading 2s infinite;
}

@keyframes shine-loading {
    100% {
        left: 100%;
    }
}

/* --- Professional Glassy Footer --- */
.footer-section {
    background: rgba(11, 13, 23, 0.8) !important;
    /* Dark Glass Effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Barik border charo pase */
    border-radius: 15px;
    /* Round corners */
    padding: 15px 25px;
    /* Patti de andar di jagah */

    /* --- Main Fix: Patti nu chota karan layi --- */
    display: inline-block !important;
    /* Eh patti nu sirf text jinna bada rakhega */
    margin: 20px auto !important;
    /* Center vich alignment layi */
    width: auto !important;
    /* Screen width ton azadi */

    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    letter-spacing: 1px;
    text-align: center;
}

/*gift lyi css*/
/* CSS for Professional Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 50px;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content {
    background: rgba(30, 41, 59, 0.95);
    padding: 30px 25px;
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    color: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.gift-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.gift-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 10px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.gift-item:hover {
    border-color: #ff9800;
    background: rgba(255, 152, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.2);
}

.legal-box {
    font-size: 12px;
    text-align: left;
    margin: 20px 0;
    color: #94a3b8;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.legal-box input[type="checkbox"] {
    margin-top: 3px;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.btn-send {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    flex: 1;
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 700;
    color: #e2e8f0;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
}


.animation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    /* Screen blur karan layi */
}

.anim-box {
    text-align: center;
    color: white;
    font-size: 80px;
    animation: zoomInBounce 1s ease-out;
}

.anim-box p {
    font-size: 24px;
    margin-top: 20px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

@keyframes zoomInBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    70% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

#animationOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 50px;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content {
    background: rgba(30, 41, 59, 0.95);
    padding: 30px 25px;
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    color: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.gift-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.gift-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 10px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.gift-item:hover {
    border-color: #ff9800;
    background: rgba(255, 152, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.2);
}

.legal-box {
    font-size: 12px;
    text-align: left;
    margin: 20px 0;
    color: #94a3b8;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.legal-box input[type="checkbox"] {
    margin-top: 3px;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.btn-send {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    flex: 1;
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 700;
    color: #e2e8f0;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
}


.animation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    /* Screen blur karan layi */
}

.anim-box {
    text-align: center;
    color: white;
    font-size: 80px;
    animation: zoomInBounce 1s ease-out;
}

.anim-box p {
    font-size: 24px;
    margin-top: 20px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

@keyframes zoomInBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    70% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

#animationOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Back screen blur effect */
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SPONSOR DEALS SECTION */
.sponsor-anchor {
    padding: 20px 10px;
    background: radial-gradient(circle, #010c20 0%, #000a1a 100%);
    border-top: 2px solid #D4AF37;
}

.sponsor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 10px;
}

.sponsor-title {
    color: #D4AF37;
    font-size: 18px;
    margin: 0;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sponsor-trusted-badge {
    color: #fff;
    font-size: 10px;
    background: rgba(212, 175, 55, 0.2);
    padding: 3px 8px;
    border-radius: 5px;
    border: 1px solid #D4AF37;
}

.sponsor-cat-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    margin-bottom: 25px;
    padding: 5px 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sponsor-cat-wrapper::-webkit-scrollbar {
    display: none;
}

.sponsor-cat-btn {
    white-space: nowrap;
    padding: 8px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.05);
    color: #D4AF37;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.sponsor-cat-btn.active {
    background: linear-gradient(135deg, #D4AF37, #F5E050);
    color: #002366;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
    border-color: transparent;
}

.sponsor-cards-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sponsor-cards-container::-webkit-scrollbar {
    display: none;
}

.sponsor-card {
    flex: 0 0 180px;
    /* scroll-snap removed */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    transition: 0.4s;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
    border-color: #D4AF37;
}

.sponsor-card-img-wrapper {
    width: 100%;
    height: 160px;
    background: #fff;
    position: relative;
}

.sponsor-card-img-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    height: 100%;
    -ms-overflow-style: none;
}

.sponsor-card-img-slider::-webkit-scrollbar {
    display: none;
}

.sponsor-card-img {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    /* scroll-snap removed */
    object-fit: contain;
    padding: 1px;
}

.exclusive-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #002366;
    color: #D4AF37;
    font-size: 9px;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: bold;
    border: 0.5px solid #D4AF37;
}

.sponsor-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sponsor-card-title {
    margin: 0;
    font-size: 13px;
    color: #fff;
    height: 32px;
    overflow: hidden;
    font-weight: 500;
    line-height: 1.2;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sponsor-card-price-row {
    margin: 8px 0;
}

.sponsor-card-price {
    color: #D4AF37;
    font-weight: 800;
    font-size: 18px;
}

.sponsor-card-delivery {
    font-size: 9px;
    color: #00ff00;
    margin-top: 2px;
}

.sponsor-btn-buy {
    display: block;
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: #000;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    transition: 0.3s;
}

.sponsor-btn-buy:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #F5E050 0%, #D4AF37 100%);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.sponsor-btn-sold {
    display: block;
    background: #555;
    color: #ccc;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    cursor: not-allowed;
}

.sponsor-coming-soon {
    width: 100%;
    text-align: center;
    padding: 40px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    border: 1px dashed rgba(212, 175, 55, 0.3);
}

.sponsor-coming-soon i {
    font-size: 32px;
    color: #D4AF37;
    margin-bottom: 10px;
    opacity: 0.7;
}

.sponsor-coming-soon-title {
    color: #D4AF37;
    font-size: 15px;
    font-weight: bold;
}

.sponsor-coming-soon-desc {
    color: #94a3b8;
    font-size: 11px;
    margin-top: 5px;
}



