@font-face {
    font-family: 'Epic Pro Demo Regular';
    src: url('gc-epic-pro-demo.regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Epic Pro Demo Light';
    src: url('gc-epic-pro-demo.light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #000000;
    --accent: #333333;
    --gold: #000000;
    --dark: #ffffff;
    --dark2: #f8f9fa;
    --card: #ffffff;
    --muted: #555555;
    --grad: #000000;
    --font-heading: 'Epic Pro Demo Regular', sans-serif;
    --font-body: 'Poppins', Arial, sans-serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--font-body);
    font-weight: 300;
    background: #ffffff;
    color: #000000;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6, .logo, .sec-title, .admin-title, .pay-title, .modal-title, .reg-event-header h2, .admin-login-title, .sec-title span, .hero h1, .reg-event-title {
    font-family: var(--font-heading) !important;
}

p, span, button, input, select, textarea, label, td, th, a, .btn, .btn-primary, .btn-outline, .card-title, .event-title, .card-desc, .sec-desc, .hero-sub, .filter-btn, .sub-filter-btn, .nav-links a {
    font-family: var(--font-body);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #ffffff; }
::-webkit-scrollbar-thumb { background: #000000; border-radius: 10px; }

        /* ───── BRAND LOGO (TOP LEFT) ───── */
        .logo-top-left {
            position: fixed;
            top: 1.5rem;
            left: 2rem;
            z-index: 1000;
            background: #ffffff;
            border-radius: 50px;
            border: 2px solid #000000;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            backdrop-filter: blur(14px);
            padding: 0.5rem 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .logo {
            font-family: var(--font-heading) !important;
            font-size: 1.4rem; font-weight: 900;
            color: #000000;
            opacity: 0; /* Hidden initially for loader animation */
            transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .logo.pop {
            opacity: 1;
            transform: scale(1);
            animation: logoPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        @keyframes logoPop {
            0% { transform: scale(0.8); opacity: 0; }
            50% { transform: scale(1.1); opacity: 1; }
            100% { transform: scale(1); opacity: 1; }
        }

        /* ───── FLOATING RIGHT NAVBAR ───── */
        nav.floating-nav-right {
            position: fixed;
            top: 1.5rem;
            right: 2rem;
            width: auto;
            height: auto;
            z-index: 1000;
            padding: 0.4rem 0.6rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #ffffff;
            border-radius: 50px;
            border: 2px solid #000000;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            backdrop-filter: blur(14px);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        nav.floating-nav-right:hover {
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
        }

        .hamburger-btn {
            display: none;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: #ffffff;
            border: 2px solid #000000;
            color: #000000;
            font-size: 1.1rem;
            cursor: pointer;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .hamburger-btn:hover,
        .hamburger-btn.active {
            background: #000000;
            color: #ffffff;
            transform: scale(1.05);
        }

        .nav-label {
            display: none;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .nav-icon-link {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #000000 !important;
            background: transparent;
            text-decoration: none;
            position: relative;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            flex-shrink: 0;
        }

        .nav-icon-link svg {
            width: 22px !important;
            height: 22px !important;
            min-width: 22px !important;
            min-height: 22px !important;
            flex-shrink: 0 !important;
            stroke: currentColor !important;
            fill: none !important;
            display: block !important;
            transition: transform 0.3s ease, stroke 0.3s ease;
        }

        .nav-icon-link svg path,
        .nav-icon-link svg line,
        .nav-icon-link svg polyline,
        .nav-icon-link svg rect {
            stroke: currentColor !important;
            fill: none !important;
        }

        .nav-icon-link svg circle {
            stroke: currentColor !important;
            fill: currentColor !important;
        }

        /* Hover & Active Effects on every SVG Icon */
        .nav-icon-link:hover,
        .nav-icon-link.active {
            background: #000000 !important;
            color: #ffffff !important;
            transform: translateY(-3px) scale(1.1);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
        }

        .nav-icon-link:hover svg,
        .nav-icon-link.active svg {
            stroke: #ffffff !important;
        }

        .nav-icon-link:hover svg circle,
        .nav-icon-link.active svg circle {
            fill: #ffffff !important;
        }

        .nav-icon-link:hover svg {
            transform: scale(1.15);
        }

        /* Tooltip Popup on Hover */
        .nav-icon-link[data-tooltip]::after {
            content: attr(data-tooltip);
            position: absolute;
            top: 100%;
            left: 50%;
            margin-top: 10px;
            transform: translateX(-50%) translateY(-4px) scale(0.95);
            background: #000000 !important;
            color: #ffffff !important;
            font-family: var(--font-body) !important;
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            padding: 0.35rem 0.8rem;
            border-radius: 8px;
            white-space: nowrap;
            width: max-content !important;
            min-width: max-content !important;
            display: inline-block;
            line-height: 1.2;
            box-sizing: border-box;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s ease, transform 0.2s ease;
            box-shadow: 0 6px 16px rgba(0,0,0,0.3);
            border: 1px solid rgba(255,255,255,0.2);
            z-index: 9999;
        }

        .nav-icon-link[data-tooltip]:hover::after {
            opacity: 1;
            transform: translateX(-50%) translateY(0) scale(1);
        }

        .mobile-login-li {
            position: relative;
        }

        .mobile-login-dropdown {
            position: absolute;
            top: 55px;
            right: 0;
            background: #ffffff;
            border: 2px solid #000000;
            border-radius: 16px;
            padding: 0.5rem;
            list-style: none;
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
            display: none;
            flex-direction: column;
            gap: 0.3rem;
            min-width: 220px;
            z-index: 1001;
            animation: fadeUp 0.3s ease;
        }

        .mobile-login-dropdown.show {
            display: flex;
        }

        .mobile-login-dropdown a {
            padding: 0.6rem 1rem;
            color: #000000;
            text-decoration: none;
            font-family: var(--font-body);
            font-size: 0.82rem;
            border-radius: 10px;
            display: flex;
            align-items: center;
            transition: background 0.2s;
        }

        .mobile-login-dropdown a:hover {
            background: #f0f0f0;
        }

        /* ───── HERO ───── */
        .hero {
            min-height: 100vh;
            display: flex; align-items: center; justify-content: center;
            text-align: center; padding: 6rem 2rem 2rem;
            position: relative;
            z-index: 1;
            background-color: #000000;
        }

        .hero::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
            z-index: -1;
            background: url('newhomebg.jpg') center/cover no-repeat;
            -webkit-mask-image: linear-gradient(to bottom, black calc(100% - 150px), transparent 100%);
            mask-image: linear-gradient(to bottom, black calc(100% - 150px), transparent 100%);
        }

        .hero-bg { display: none; }

        .particles, .particle { display: none !important; }

        @keyframes floatUp {
            0%   { transform: translateY(100vh) rotate(0deg);   opacity: 0; }
            10%  { opacity: 0.3; }
            90%  { opacity: 0.3; }
            100% { transform: translateY(-150px) rotate(720deg); opacity: 0; }
        }

        .hero-inner {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 95%;
            max-width: 1080px;
            margin: 0 auto;
            z-index: 2;
            position: relative;
            min-height: 490px;
            transition: all 0.3s ease;
        }

        /* Never show 2 containers side-by-side */
        .hero-inner.has-slider {
            flex-direction: column;
            max-width: 1080px;
            width: 95%;
            gap: 0;
            align-items: center;
        }

        @media (max-width: 1120px) {
            .hero-inner, .hero-inner.has-slider {
                max-width: 96%;
                width: 96%;
            }
        }

        /* Glassmorphism Text Container (Slide 0) */
        .hero-text-container {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-radius: 30px;
            padding: 3rem 2.5rem;
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 18px 45px rgba(0,0,0,0.3);
            width: 100%;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            min-height: 490px;
            box-sizing: border-box;
            transition: opacity 0.4s ease;
        }

        /* Glassmorphism Combos Poster Container (Slide 1+) */
        .hero-combos-container {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-radius: 30px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 18px 45px rgba(0,0,0,0.3);
            width: 100%;
            overflow: hidden;
            position: relative;
            min-height: 490px;
            height: 490px;
            box-sizing: border-box;
            display: none;
            transition: opacity 0.4s ease;
        }

        .combo-slider {
            width: 100%;
            height: 100%;
            position: relative;
            overflow: hidden;
        }

        .combo-slide {
            flex: 0 0 100%;
            width: 100%;
            height: 100%;
            cursor: pointer;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            background-color: #060913;
            position: absolute;
            inset: 0;
            opacity: 0;
            transition: opacity 0.4s ease;
            border-radius: 30px;
            image-rendering: -webkit-optimize-contrast;
            image-rendering: crisp-edges;
            filter: contrast(1.05) brightness(1.02) saturate(1.06);
            transform: translateZ(0);
            backface-visibility: hidden;
        }

        .combo-slide.active {
            opacity: 1;
            position: relative;
        }

        /* Popup Animation when New Banner Arrives */
        @keyframes heroPopupBounce {
            0% {
                opacity: 0;
                transform: scale(0.88) translateY(20px);
                filter: blur(6px);
            }
            60% {
                opacity: 1;
                transform: scale(1.02) translateY(-3px);
                filter: blur(0px);
            }
            100% {
                opacity: 1;
                transform: scale(1) translateY(0);
                filter: blur(0px);
            }
        }

        .hero-popup-anim {
            animation: heroPopupBounce 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both !important;
        }

        /* 5-Second Slide Indicator Dots */
        .hero-slide-dots {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
            margin-top: 1.5rem;
            z-index: 5;
        }

        .hero-slide-dots .dot {
            width: 28px;
            height: 5px;
            border-radius: 50px;
            background: rgba(255, 255, 255, 0.3);
            border: none;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            padding: 0;
        }

        .hero-slide-dots .dot.active {
            width: 48px;
            background: rgba(255, 255, 255, 0.45);
        }

        .hero-slide-dots .dot .dot-fill {
            position: absolute;
            top: 0; left: 0; bottom: 0; width: 0;
            background: var(--gold);
            border-radius: 50px;
        }

        .hero-slide-dots .dot.active .dot-fill {
            animation: dotProgress 5s linear forwards;
        }

        @keyframes dotProgress {
            from { width: 0%; }
            to { width: 100%; }
        }

        .hero-badge {
            display: inline-block;
            background: #f0f0f0;
            border: 1px solid rgba(0,0,0,0.2);
            padding: 0.4rem 1.2rem; border-radius: 50px;
            font-size: 0.85rem; color: #000000;
            margin-bottom: 1.5rem;
            animation: fadeDown 0.8s ease both;
            font-family: var(--font-body);
        }

        .hero h1 {
            font-family: var(--font-heading) !important;
            font-size: clamp(2.8rem, 9vw, 6.5rem);
            font-weight: 900; line-height: 1.05;
            margin-bottom: 1rem;
            color: #ffffff !important;
            animation: fadeUp 0.8s ease 0.2s both;
        }

        .hero h1 span {
            color: #ffffff;
            background: none;
            -webkit-text-fill-color: #ffffff;
        }

        .hero-sub {
            font-size: clamp(1rem, 2.5vw, 1.25rem);
            font-family: var(--font-body);
            color: #eeeeee; max-width: 580px;
            margin: 0 auto 1.5rem; line-height: 1.7;
            animation: fadeUp 0.8s ease 0.35s both;
        }

        .hero-date {
            color: #ffffff; font-size: 0.95rem;
            margin-bottom: 1.5rem;
            animation: fadeUp 0.8s ease 0.45s both;
            font-family: var(--font-body);
        }

        .hero-date i { margin-right: 0.4rem; }

        .hero-btns {
            display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
            animation: fadeUp 0.8s ease 0.55s both;
        }

        .btn-primary {
            padding: 0.85rem 2.2rem;
            background: #000000 !important;
            border: 2px solid #000000 !important;
            border-radius: 50px;
            color: #ffffff !important;
            font-family: var(--font-body) !important;
            font-weight: 600; font-size: 0.95rem; cursor: pointer;
            text-decoration: none; transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
            display: inline-flex; align-items: center; gap: 0.5rem;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            background: #ffffff !important;
            color: #000000 !important;
            border-color: #000000 !important;
            box-shadow: 0 8px 25px rgba(0,0,0,0.25);
        }

        .btn-outline {
            padding: 0.85rem 2.2rem;
            background: #ffffff !important;
            border: 2px solid #000000 !important;
            border-radius: 50px;
            color: #000000 !important;
            font-family: var(--font-body) !important;
            font-weight: 600; font-size: 0.95rem; cursor: pointer;
            text-decoration: none; transition: all 0.3s;
            display: inline-flex; align-items: center; gap: 0.5rem;
        }

        .btn-outline:hover {
            border-color: #000000 !important;
            background: #000000 !important;
            color: #ffffff !important;
            transform: translateY(-3px);
        }

        .hero-stats {
            display: flex; gap: 2rem; justify-content: center;
            margin-top: 2.5rem; flex-wrap: wrap;
            animation: fadeUp 0.8s ease 0.7s both;
        }

        .stat { 
            display: flex;
            flex-direction: column;
            align-items: center;
            background: linear-gradient(145deg, #1A1C2E, #0D0E1A);
            border-radius: 20px;
            padding: 1.2rem 2rem;
            box-shadow: 8px 12px 24px rgba(0, 0, 0, 0.18), 
                        inset -4px -4px 8px rgba(0, 0, 0, 0.25), 
                        inset 4px 4px 8px rgba(255, 255, 255, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .stat-num {
            font-size: 2.2rem; font-weight: 800;
            color: #ffffff !important;
            background: none !important;
            -webkit-text-fill-color: #ffffff !important;
            line-height: 1;
            font-family: var(--font-heading);
        }

        .stat-label { 
            font-size: 0.75rem; color: #e0e0e0; text-transform: uppercase; letter-spacing: 1px;
            margin-right: -1px; margin-top: 0.4rem;
            font-family: var(--font-body);
        }

        .scroll-cue {
            position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
            display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
            color: #666666; font-size: 0.75rem;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%,100% { transform: translateX(-50%) translateY(0); }
            50%      { transform: translateX(-50%) translateY(8px); }
        }

        /* ───── COUNTDOWN ───── */
        .countdown-section {
            background: #f8f9fa;
            padding: 4rem 2rem; text-align: center;
        }

        .countdown-label-top {
            color: #555555; text-transform: uppercase;
            letter-spacing: 3px; font-size: 0.8rem; margin-bottom: 1.5rem;
            font-family: var(--font-body);
        }

        .countdown {
            display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap;
        }

        .cd-item {
            border-radius: 22px; padding: 1.2rem 1.6rem;
            width: 125px; text-align: center;
            background: linear-gradient(145deg, #1f1f1f, #050505) !important;
            border: 2px solid #000000;
            box-shadow: 8px 12px 24px rgba(0, 0, 0, 0.25), 
                        inset -4px -4px 8px rgba(0, 0, 0, 0.4), 
                        inset 4px 4px 8px rgba(255, 255, 255, 0.25);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .cd-item:hover {
            transform: translateY(-4px);
            box-shadow: 10px 16px 28px rgba(0, 0, 0, 0.32), 
                        inset -4px -4px 8px rgba(0, 0, 0, 0.45), 
                        inset 4px 4px 8px rgba(255, 255, 255, 0.35);
        }

        .cd-num {
            font-size: 2.5rem; font-weight: 800;
            color: #ffffff !important;
            background: none !important;
            -webkit-text-fill-color: #ffffff !important;
            line-height: 1; margin-bottom: 0.3rem;
            display: inline-block;
            font-family: var(--font-heading);
        }

        @keyframes slideVert {
            0% { transform: translateY(-70%); opacity: 0; }
            50% { opacity: 1; }
            100% { transform: translateY(0); opacity: 1; }
        }
        .tick-vert { animation: slideVert 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }

        .cd-lbl { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; color: #e0e0e0; font-family: var(--font-body); }

        /* ───── SECTIONS ───── */
        section { padding: 6rem 2rem; background: transparent; position: relative; z-index: 1; }

        #events {
            position: relative;
            background-color: #000000;
        }
        #events::before {
            content: ''; position: absolute; top: -150px; left: 0; right: 0; bottom: 0;
            z-index: -1;
            background: linear-gradient(rgba(10, 10, 26, 0.75), rgba(10, 10, 26, 0.75)), url('eventsbg.png') center/cover no-repeat;
            background-attachment: fixed;
            -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 150px, black calc(100% - 150px), transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, black 150px, black calc(100% - 150px), transparent 100%);
        }

        #combosSection {
            position: relative;
            background-color: #000000;
            width: 100%;
            padding: 4.5rem 0;
        }
        #combosSection::before {
            content: ''; position: absolute; top: -150px; left: 0; right: 0; bottom: 0;
            z-index: 0;
            background: linear-gradient(rgba(10, 10, 26, 0.75), rgba(10, 10, 26, 0.75)), url('combosbg.png') center/cover no-repeat;
            background-attachment: fixed;
            -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 150px, black calc(100% - 150px), transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, black 150px, black calc(100% - 150px), transparent 100%);
        }

        #games {
            position: relative;
            background-color: #000000;
        }
        #games::before {
            content: ''; position: absolute; top: -150px; left: 0; right: 0; bottom: 0;
            z-index: -1;
            background: linear-gradient(rgba(10, 10, 26, 0.75), rgba(10, 10, 26, 0.75)), url('https://cwjxzhshujlujhproenn.supabase.co/storage/v1/object/public/trividhya_images/games_bg.jpg') center/cover no-repeat;
            background-attachment: fixed;
            -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 150px, black calc(100% - 150px), transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, black 150px, black calc(100% - 150px), transparent 100%);
        }

        .combos-inner-container {
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
            box-sizing: border-box;
        }

        /* ───── FULL SIZE COMBOS BANNER DISPLAY ───── */
        .combos-banners-wrapper {
            display: flex;
            flex-direction: column;
            gap: 2.5rem;
            width: 100%;
            max-width: 1100px;
            margin: 0 auto;
        }

        .combo-full-banner-card {
            position: relative;
            width: 100%;
            border-radius: 28px;
            overflow: hidden;
            border: 2px solid rgba(255, 215, 0, 0.45);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(245, 158, 11, 0.2);
            background: #0a0c1a;
            box-sizing: border-box;
            transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
        }

        .combo-full-banner-card:hover {
            transform: translateY(-4px) scale(1.01);
            border-color: rgba(255, 215, 0, 0.85);
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 45px rgba(245, 158, 11, 0.35);
        }

        /* The full uploaded image - enhanced high clarity */
        .combo-banner-full-img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: contain;
            border-radius: 26px;
            image-rendering: -webkit-optimize-contrast;
            image-rendering: crisp-edges;
            filter: contrast(1.05) brightness(1.02) saturate(1.06);
            transform: translateZ(0);
            backface-visibility: hidden;
        }

        /* Fallback for combo text cards (when no image uploaded) */
        .combo-text-card {
            padding: 3.5rem 3rem;
            min-height: 420px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            background: linear-gradient(135deg, #0e1224 0%, #060913 100%);
        }

        .combo-banner-content {
            position: relative;
            z-index: 2;
            max-width: 650px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 0.85rem;
        }

        .combo-banner-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.35rem 1.1rem;
            background: var(--gold);
            color: #000000;
            font-size: 0.82rem;
            font-weight: 800;
            border-radius: 50px;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
            font-family: var(--font-body);
        }

        .combo-banner-title {
            font-size: clamp(2rem, 4.5vw, 3rem);
            font-weight: 900;
            color: #ffffff;
            line-height: 1.15;
            font-family: var(--font-heading);
            text-transform: uppercase;
            text-shadow: 0 4px 20px rgba(0,0,0,0.85);
        }

        .combo-banner-desc {
            font-size: 1.05rem;
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.6;
            max-width: 580px;
            text-shadow: 0 2px 10px rgba(0,0,0,0.85);
            font-family: var(--font-body);
        }

        .combo-banner-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.85rem;
            margin-top: 0.4rem;
        }

        .meta-pill {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            padding: 0.5rem 1.2rem;
            background: rgba(12, 16, 34, 0.8);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.25);
            border-radius: 50px;
            font-size: 0.92rem;
            font-weight: 600;
            color: #ffffff;
            font-family: var(--font-body);
        }

        .price-pill {
            background: rgba(46, 213, 115, 0.25);
            border-color: rgba(46, 213, 115, 0.6);
            color: #2ed573;
            font-weight: 800;
            font-size: 1.1rem;
        }

        /* Bottom Right Register Overlay & Button */
        .combo-banner-action-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 1.5rem 2rem;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            background: linear-gradient(0deg, rgba(6, 9, 19, 0.8) 0%, transparent 100%);
            pointer-events: none;
            z-index: 25;
        }

        .combo-banner-register-btn {
            pointer-events: auto;
            position: relative;
            z-index: 30;
            padding: 1rem 2.4rem;
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
            color: #000000 !important;
            border-radius: 50px !important;
            font-size: 1.08rem;
            font-weight: 800;
            font-family: var(--font-body) !important;
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            text-decoration: none;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.75), 0 0 25px rgba(245, 158, 11, 0.6);
            transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
            cursor: pointer;
        }

        .combo-banner-register-btn:hover {
            transform: translateY(-3px) scale(1.06);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.85), 0 0 35px rgba(245, 158, 11, 0.9);
            filter: brightness(1.15);
        }

        .combo-banner-register-btn i.fa-arrow-right {
            transition: transform 0.25s ease;
        }

        .combo-banner-register-btn:hover i.fa-arrow-right {
            transform: translateX(4px);
        }

        @media (max-width: 768px) {
            .combo-banner-action-overlay {
                position: relative;
                background: #0a0c1a;
                padding: 1rem 1.2rem;
                justify-content: center;
            }
            .combo-banner-register-btn {
                width: 100%;
                justify-content: center;
                font-size: 1rem;
                padding: 0.85rem 1.8rem;
            }
        }

        #events .sec-title,
        #events .sec-title span,
        #combosSection .sec-title,
        #combosSection .sec-title span,
        #games .sec-title,
        #games .sec-title span {
            color: #ffffff !important;
            -webkit-text-fill-color: #ffffff !important;
        }

        #games .sec-desc {
            color: #e0e0e0;
        }

        #games .sec-tag {
            background: rgba(255, 255, 255, 0.15);
            color: #ffffff;
            border-color: rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(8px);
        }

        @media (max-width: 768px) {
            #events, #games {
                background-attachment: scroll;
            }
        }

        .sec-header { text-align: center; margin-bottom: 3.5rem; }

        .sec-tag {
            display: inline-block;
            background: #f0f0f0;
            border: 1px solid rgba(0,0,0,0.2);
            padding: 0.3rem 1rem; border-radius: 50px;
            font-size: 0.78rem; color: #000000;
            text-transform: uppercase; letter-spacing: 2px;
            margin-bottom: 1rem;
            font-family: var(--font-body);
        }

        .sec-title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; margin-bottom: 0.75rem; font-family: var(--font-heading) !important; color: #000000 !important; }

        .sec-title span {
            color: #000000 !important;
            background: none;
            -webkit-text-fill-color: #000000;
            font-family: var(--font-heading) !important;
        }

        .sec-desc { color: #555555; max-width: 580px; margin: 0 auto; line-height: 1.7; font-size: 0.95rem; font-family: var(--font-body); }

        /* ───── FILTER ───── */
        .filters {
            display: flex; gap: 0.75rem; justify-content: center;
            flex-wrap: wrap; margin-bottom: 3rem;
        }

        .filter-btn {
            padding: 0.55rem 1.6rem; border-radius: 50px;
            border: 2px solid #000000;
            background: #ffffff; color: #000000;
            font-family: var(--font-body) !important; font-size: 0.85rem;
            cursor: pointer; transition: all 0.3s;
        }

        .filter-btn.active, .filter-btn:hover {
            background: #000000; border-color: #000000; color: #ffffff;
        }

        /* ───── SUB-FILTERS ───── */
        .sub-filters {
            display: none; gap: 0.6rem; justify-content: center;
            flex-wrap: wrap; margin-bottom: 2.5rem;
            animation: fadeUp 0.4s ease both;
        }

        .sub-filters.show { display: flex; }

        .sub-filter-btn {
            padding: 0.4rem 1.3rem; border-radius: 50px;
            border: 1px solid rgba(0,0,0,0.3);
            background: #ffffff; color: #000000;
            font-family: var(--font-body) !important; font-size: 0.82rem;
            cursor: pointer; transition: all 0.3s; font-weight: 500;
        }

        .sub-filter-btn.active, .sub-filter-btn:hover {
            background: #000000; border-color: #000000; color: #ffffff;
        }

        /* ───── GRID ───── */
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem; max-width: 1200px; margin: 0 auto;
        }

        #games .cards-grid,
        #combosGrid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: stretch;
            gap: 1.5rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        #games .cards-grid .event-card,
        #games .cards-grid .sk-card,
        #combosGrid .event-card {
            width: 270px;
            max-width: 100%;
            flex: 0 0 270px;
        }

        @media (max-width: 1100px) {
            .cards-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 768px) {
            .cards-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 600px) {
            #games .cards-grid .event-card,
            #games .cards-grid .sk-card,
            #combosGrid .event-card {
                width: 100%;
                flex: 1 1 100%;
            }
        }

        @media (max-width: 500px) {
            .cards-grid {
                grid-template-columns: 1fr;
            }
        }

        /* ───── PAGINATION ───── */
        .pagination-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 2.5rem;
            width: 100%;
            position: relative;
            z-index: 10;
        }

        .pagination-wrapper {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255, 255, 255, 0.9);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            border: 2px solid #000000;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            flex-wrap: wrap;
            justify-content: center;
            position: relative;
            z-index: 10;
        }

        #games .pagination-wrapper {
            background: rgba(20, 20, 35, 0.85);
            border-color: rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(10px);
        }

        .page-btn, .page-num {
            padding: 0.45rem 0.9rem;
            border-radius: 50px;
            border: 1.5px solid #000000;
            background: #ffffff;
            color: #000000;
            font-family: var(--font-body);
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.25s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
        }

        #games .page-btn, #games .page-num {
            background: rgba(255, 255, 255, 0.1);
            color: #ffffff;
            border-color: rgba(255, 255, 255, 0.3);
        }

        .page-btn:hover:not(.disabled), .page-num:hover:not(.active) {
            background: #000000;
            color: #ffffff;
            border-color: #000000;
            transform: translateY(-2px);
        }

        #games .page-btn:hover:not(.disabled), #games .page-num:hover:not(.active) {
            background: #ffffff;
            color: #000000;
            border-color: #ffffff;
            transform: translateY(-2px);
        }

        .page-num.active {
            background: #000000;
            color: #ffffff;
            border-color: #000000;
            cursor: default;
        }

        #games .page-num.active {
            background: #ffffff;
            color: #000000;
            border-color: #ffffff;
            cursor: default;
        }

        .page-btn.disabled {
            opacity: 0.4;
            cursor: not-allowed;
            transform: none;
        }

        /* ───── SKELETON ───── */
        .skeleton {
            background: linear-gradient(90deg,
                rgba(0,0,0,0.04) 25%,
                rgba(0,0,0,0.08) 50%,
                rgba(0,0,0,0.04) 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
            border-radius: 8px;
        }

        @keyframes shimmer {
            0%   { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        .sk-card { background: #f5f5f5; border-radius: 20px; overflow: hidden; border: 1px solid rgba(0,0,0,0.1); }
        .sk-img  { height: 175px; width: 100%; }
        .sk-body { padding: 1.5rem; }
        .sk-title { height: 20px; width: 65%; margin-bottom: 0.8rem; }
        .sk-line  { height: 12px; width: 100%; margin-bottom: 0.5rem; }
        .sk-line-s { height: 12px; width: 55%; margin-bottom: 1rem; }
        .sk-btn  { height: 42px; width: 100%; border-radius: 10px; }

        /* ───── MINIMALIST BLACK BORDER WHITE BG EVENT CARDS ───── */
        .event-card {
            border-radius: 22px; overflow: hidden;
            background: #ffffff !important;
            border: 2px solid #000000 !important;
            cursor: pointer;
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
            position: relative;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        }

        .event-card::before { display: none; }

        .event-card:hover {
            transform: translateY(-8px) !important;
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
        }

        .card-img {
            height: 175px; display: flex; align-items: center; justify-content: center;
            font-size: 4rem; position: relative; overflow: hidden;
            background: #f5f5f5;
            border-bottom: 2px solid #000000;
        }

        .card-img::after { display: none; }

        .card-badge {
            position: absolute; top: 1rem; right: 1rem;
            background: #ffffff;
            padding: 0.2rem 0.7rem; border-radius: 50px;
            font-size: 0.68rem; font-weight: 700;
            text-transform: uppercase; letter-spacing: 1px;
            z-index: 1; border: 1.5px solid #000000;
            color: #000000;
        }

        .card-body { padding: 1.5rem; color: #000000; }

        .card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; font-family: var(--font-heading) !important; color: #000000 !important; }

        .card-desc { font-size: 0.83rem; color: #555555; line-height: 1.6; margin-bottom: 1rem; font-family: var(--font-body); }

        .card-meta {
            display: flex; gap: 0.9rem; font-size: 0.78rem;
            color: #555555; margin-bottom: 1.2rem; flex-wrap: wrap;
            font-family: var(--font-body);
        }

        .card-meta span { display: flex; align-items: center; gap: 0.3rem; }
        .card-meta i { color: #000000; }

        .card-btn {
            width: 100%; padding: 0.75rem;
            background: #000000 !important;
            border: 2px solid #000000 !important;
            border-radius: 12px;
            color: #ffffff !important;
            font-family: var(--font-body) !important;
            font-weight: 600; font-size: 0.88rem; cursor: pointer;
            transition: all 0.3s ease;
            display: flex; align-items: center; justify-content: center; gap: 0.5rem;
            text-decoration: none;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .card-btn:hover {
            background: #ffffff !important;
            color: #000000 !important;
            border-color: #000000 !important;
            transform: scale(1.02);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
        }

        /* ───── TIMELINE ───── */
        #schedule { background: #f8f9fa; }

        .timeline { max-width: 800px; margin: 0 auto; position: relative; }

        .timeline::before {
            content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
            width: 2px; background: #000000;
            transform: translateX(-50%);
        }

        .tl-item {
            display: flex; justify-content: flex-end;
            padding-right: calc(50% + 2rem); margin-bottom: 2rem; position: relative;
        }

        .tl-item:nth-child(even) { justify-content: flex-start; padding-right: 0; padding-left: calc(50% + 2rem); }

        .tl-dot {
            position: absolute; left: 50%; top: 1rem;
            width: 14px; height: 14px; border-radius: 50%;
            background: #000000; transform: translateX(-50%);
            border: 3px solid #ffffff; z-index: 1;
        }

        .tl-box {
            background: linear-gradient(145deg, #251B37, #0F0C1B);
            border-radius: 20px;
            padding: 1.2rem 1.5rem;
            border: 1px solid rgba(255,255,255,0.2);
            box-shadow: 6px 10px 20px rgba(0,0,0,0.18), inset -3px -3px 6px rgba(0,0,0,0.25), inset 3px 3px 6px rgba(255,255,255,0.3);
            max-width: 310px; width: 100%;
        }

        .tl-time { font-size: 0.72rem; color: #ffffff; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.2rem; font-family: var(--font-body); }
        .tl-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.2rem; font-family: var(--font-heading) !important; color: #ffffff; }
        .tl-detail { font-size: 0.78rem; color: #e0e0e0; font-family: var(--font-body); }

        /* ───── FOOTER ───── */
        footer {
            background-color: #000000;
            position: relative;
            z-index: 1;
            padding: 4rem 2rem 2rem;
            border-top: 1px solid rgba(0,0,0,0.12);
        }
        footer::before {
            content: ''; position: absolute; top: -150px; left: 0; right: 0; bottom: 0;
            z-index: -1;
            background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('newhomebg.jpg') center/cover no-repeat;
            -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 150px, black 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, black 150px, black 100%);
        }

        .footer-grid {
            display: grid; grid-template-columns: 2fr 1fr 1fr;
            gap: 3rem; max-width: 1100px; margin: 0 auto 3rem;
        }

        .footer-brand .logo { font-size: 2rem; display: block; margin-bottom: 1rem; color: #ffffff; font-weight: 800; }
        .footer-brand p { color: #ffffff; font-size: 1rem; font-weight: 500; line-height: 1.7; margin-bottom: 1.5rem; font-family: var(--font-body); }

        .social-links { display: flex; gap: 0.8rem; }

        .social-links a {
            width: 40px; height: 40px; border-radius: 50%;
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.2);
            display: flex; align-items: center; justify-content: center;
            color: #ffffff; text-decoration: none; transition: all 0.3s;
        }

        .social-links a:hover { background: #ffffff; color: #000000; transform: translateY(-3px); }

        .footer-col h4 { font-size: 1.2rem; font-weight: 800; margin-bottom: 1.3rem; font-family: var(--font-heading) !important; color: #ffffff; }

        .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }

        .footer-col ul a { color: #ffffff; font-weight: 500; text-decoration: none; font-size: 1rem; transition: color 0.3s; font-family: var(--font-body); }
        .footer-col ul a:hover { color: #ffffff; }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.08);
            padding-top: 2rem; text-align: center;
            color: #ffffff; font-size: 0.95rem; font-weight: 500;
            max-width: 1100px; margin: 0 auto;
            font-family: var(--font-body);
        }

        /* ───── MODAL ───── */
        .modal-overlay {
            position: fixed; inset: 0;
            background: rgba(0,0,0,0.6);
            backdrop-filter: blur(8px);
            z-index: 9999; display: flex;
            align-items: center; justify-content: center;
            padding: 1rem; opacity: 0; pointer-events: none; transition: opacity 0.3s;
        }

        .modal-overlay.open { opacity: 1; pointer-events: all; }

        .modal-box {
            background: #ffffff !important; border-radius: 24px;
            padding: 2rem; max-width: 500px; width: 100%;
            border: 2px solid #000000 !important;
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
            transform: scale(0.9); transition: transform 0.3s;
            max-height: 90vh; overflow-y: auto;
            color: #000000 !important;
        }

        .modal-overlay.open .modal-box { transform: scale(1); }

        .modal-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; }

        .modal-close {
            background: none; border: none; color: #000000;
            font-size: 1.4rem; cursor: pointer; transition: color 0.3s;
        }

        .modal-close:hover { color: #555555; }

        .modal-emoji { font-size: 3rem; margin-bottom: 0.3rem; }
        .modal-title { font-size: 1.5rem; font-weight: 800; font-family: var(--font-heading) !important; color: #000000 !important; }

        .modal-desc { color: #555555; line-height: 1.7; margin-bottom: 1.5rem; font-size: 0.92rem; font-family: var(--font-body); }

        .modal-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 1.5rem; }

        .modal-detail {
            background: #f8f9fa;
            padding: 0.75rem 1rem; border-radius: 12px;
            border: 1.5px solid #000000;
        }

        .modal-dlabel { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1px; color: #666666; margin-bottom: 0.2rem; font-family: var(--font-body); }
        .modal-dval   { font-weight: 700; font-size: 0.9rem; font-family: var(--font-heading); color: #000000 !important; }

        .modal-form-btn {
            width: 100%; padding: 1rem;
            background: #000000 !important; border: 2px solid #000000 !important; border-radius: 50px;
            color: #ffffff !important; font-family: var(--font-body) !important;
            font-weight: 700; font-size: 1rem; cursor: pointer;
            text-decoration: none; display: flex;
            align-items: center; justify-content: center; gap: 0.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        }

        .modal-form-btn:hover {
            background: #ffffff !important;
            color: #000000 !important;
            border-color: #000000 !important;
            transform: translateY(-2px);
        }

        /* ───── ANIMATIONS ───── */
        @keyframes fadeDown { from { opacity: 0; transform: translateY(-25px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes fadeUp   { from { opacity: 0; transform: translateY(30px);  } to { opacity: 1; transform: translateY(0); } }

        .reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
        .reveal.in { opacity: 1; transform: translateY(0); }

        /* ───── RESPONSIVE ───── */
        @media (max-width: 768px) {
            .logo-top-left {
                top: 1rem;
                left: 1.2rem;
                font-size: 1.2rem;
            }

            nav.floating-nav-right {
                top: 1rem;
                right: 1.2rem;
                padding: 0;
                border: none;
                background: transparent;
                box-shadow: none;
                backdrop-filter: none;
            }

            nav.floating-nav-right:hover {
                box-shadow: none;
            }

            .hamburger-btn {
                display: flex;
            }

            .nav-links {
                position: absolute;
                top: 54px;
                right: 0;
                background: #ffffff;
                border: 2px solid #000000;
                border-radius: 20px;
                padding: 0.8rem;
                display: none;
                flex-direction: column;
                gap: 0.4rem;
                min-width: 220px;
                box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
                z-index: 1005;
                animation: fadeUp 0.25s ease-out forwards;
            }

            .nav-links.open {
                display: flex;
            }

            .nav-links li {
                width: 100%;
            }

            .nav-icon-link {
                width: 100% !important;
                height: 46px !important;
                border-radius: 14px !important;
                display: flex !important;
                align-items: center !important;
                justify-content: flex-start !important;
                padding: 0 1rem !important;
                gap: 0.8rem !important;
                color: #000000 !important;
                background: #f4f4f6 !important;
                box-shadow: none !important;
                transform: none !important;
                text-decoration: none !important;
            }

            .nav-icon-link:hover,
            .nav-icon-link.active {
                background: #000000 !important;
                color: #ffffff !important;
                transform: none !important;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
            }

            .nav-icon-link svg {
                width: 20px !important;
                height: 20px !important;
                min-width: 20px !important;
                min-height: 20px !important;
                flex-shrink: 0 !important;
            }

            .nav-label {
                display: inline-block !important;
                font-size: 0.88rem !important;
                font-weight: 700 !important;
                letter-spacing: 0.5px !important;
                font-family: var(--font-heading) !important;
                color: inherit !important;
            }

            .nav-icon-link[data-tooltip]::after {
                display: none !important;
            }

            .mobile-login-dropdown {
                position: static;
                border: 1px solid #e0e0e0;
                border-radius: 12px;
                margin-top: 0.4rem;
                box-shadow: none;
                background: #ffffff;
                width: 100%;
                animation: none;
            }

            .timeline::before { left: 1rem; }
            .tl-item, .tl-item:nth-child(even) {
                padding: 0 0 0 3rem; justify-content: flex-start;
            }
            .tl-dot { left: 1rem; }
            .tl-box { max-width: 100%; }

            .hero {
                padding: 7rem 1.25rem 4rem;
            }

            .hero h1 {
                font-size: 2.2rem;
            }

            .cards-grid, .events-grid, .games-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
            .modal-details { grid-template-columns: 1fr; }
            .modal-box {
                width: 95vw;
                max-height: 90vh;
                padding: 1.5rem 1.2rem;
            }

            .admin-header {
                flex-direction: column;
                align-items: stretch;
                text-align: center;
                gap: 1rem;
            }

            .admin-logout {
                justify-content: center;
                width: 100%;
            }

            .admin-tabs {
                overflow-x: auto;
                white-space: nowrap;
                padding-bottom: 0.5rem;
                -webkit-overflow-scrolling: touch;
            }

            .dashboard-grid {
                grid-template-columns: 1fr;
            }

            .table-responsive {
                width: 100%;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }
        }

        @media (max-width: 480px) {
            nav { padding: 0.85rem 1.25rem; }
            section { padding: 3.5rem 1rem; }

            .hero h1 {
                font-size: 1.8rem;
            }

            .logo-top-left {
                font-size: 1.05rem;
                left: 1rem;
                top: 0.9rem;
            }

            nav.floating-nav-right {
                right: 1rem;
                top: 0.8rem;
            }

            .reg-back {
                top: 0.8rem !important;
                left: 0.8rem !important;
                padding: 0.4rem 0.9rem !important;
                font-size: 0.8rem !important;
            }

            input, select, textarea {
                font-size: 16px !important;
            }
        }

        /* ───── NEW ENHANCEMENTS ───── */
        #loader {
            position: fixed; inset: 0; background: #ffffff; z-index: 99999;
            display: flex; flex-direction: column; justify-content: center; align-items: center;
            transition: opacity 0.5s, visibility 0.5s, background 0.8s;
        }
        #loader.hidden { opacity: 0; visibility: hidden; }
        #loader h2 {
            font-family: var(--font-heading), sans-serif !important;
            font-size: 2.5rem;
            margin-bottom: 1rem;
            letter-spacing: 0.05em;
            display: inline-block;
            color: #000000 !important;
            background: none;
            -webkit-text-fill-color: #000000 !important;
        }
        #loader h2 span {
            opacity: 0;
            display: inline-block;
            transition: opacity 0.2s ease-out;
            color: #000000 !important;
            background: none;
            -webkit-text-fill-color: #000000 !important;
        }
        #loader h2 span.visible { opacity: 1; }
        @keyframes fadeInLetter { 0% { opacity: 0; } 100% { opacity: 1; } }
        .loader-text { color: #555555; font-size: 1.2rem; font-weight: 500; letter-spacing: 2px; }
        
        .progress-container { width: 250px; height: 6px; background: rgba(0,0,0,0.1); border-radius: 10px; margin-top: 1.5rem; overflow: hidden; position: relative; }
        .progress-bar { width: 0%; height: 100%; background: #000000; transition: width 0.15s linear; border-radius: 10px; }

        .cyber-grid {
            position: fixed; inset: 0; z-index: -1; pointer-events: none;
            background-size: 50px 50px;
            background-image: 
                linear-gradient(to right, rgba(123,47,190,0.05) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(123,47,190,0.05) 1px, transparent 1px);
            animation: gridMove 20s linear infinite;
        }
        @keyframes gridMove { from { transform: translateY(0); } to { transform: translateY(50px); } }

        nav {
            backdrop-filter: blur(10px);
        }
        
        /* Smooth lift on event cards */
        .event-card { transform-style: preserve-3d; }
        .event-card:hover { transform: translateY(-10px) translateZ(20px) !important; box-shadow: 0 25px 50px rgba(123,47,190,0.4) !important; border-color: rgba(255,107,53,0.8) !important; }

        /* ═══════ PREMIUM ADMIN LOGIN CARDS ═══════ */
        .admin-login-card {
            background: #ffffff !important;
            border: 2px solid #000000 !important;
            border-radius: 24px;
            padding: 2.5rem 2rem 2rem;
            max-width: 420px;
            width: 100%;
            text-align: center;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
            transform: scale(0.9);
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            color: #000000 !important;
        }
        .admin-login-card::before { display: none; }
        .admin-login-card.main-admin::before { display: none; }

        .modal-overlay.open .admin-login-card {
            transform: scale(1);
        }

        .admin-login-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: #f0f0f0;
            border: 1.5px solid #000000;
            color: #000000;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            z-index: 5;
        }
        .admin-login-close:hover {
            background: #000000;
            color: #ffffff;
        }

        .admin-login-icon-ring {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            margin: 0 auto 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            background: #f0f0f0;
            border: 2px solid #000000;
            animation: iconFloat 3s ease-in-out infinite;
        }
        .admin-login-icon-ring.gold-ring {
            background: #f0f0f0;
            border-color: #000000;
        }
        .admin-login-icon-ring::after { display: none; }

        .admin-login-icon {
            font-size: 2.2rem;
            color: #000000;
        }
        .admin-login-icon.gold-icon {
            color: #000000;
        }

        .admin-login-title {
            font-family: var(--font-heading) !important;
            font-size: 1.5rem;
            font-weight: 800;
            margin-bottom: 0.3rem;
            position: relative;
            z-index: 2;
            color: #000000 !important;
        }
        .typing-cursor {
            color: #000000 !important;
            animation: cursorBlink 1s step-end infinite;
            font-weight: 300;
            margin-left: 2px;
        }
        .typing-cursor.gold-cursor {
            color: #000000 !important;
        }
        @keyframes cursorBlink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }

        .admin-login-sub {
            color: #555555 !important;
            font-size: 0.82rem;
            margin-bottom: 2rem;
            position: relative;
            z-index: 2;
            font-family: var(--font-body);
        }

        .admin-login-form {
            position: relative;
            z-index: 2;
        }

        .admin-input-group {
            position: relative;
            margin-bottom: 1rem;
        }
        .admin-input-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: #555555;
            font-size: 0.9rem;
            transition: color 0.3s;
            z-index: 3;
        }
        .admin-input-group:focus-within .admin-input-icon {
            color: #000000;
        }
        .admin-input {
            width: 100%;
            padding: 0.9rem 1rem 0.9rem 2.8rem;
            background: #ffffff !important;
            border: 2px solid #000000 !important;
            border-radius: 14px;
            color: #000000 !important;
            font-family: var(--font-body) !important;
            font-size: 0.9rem;
            outline: none;
            transition: all 0.3s;
            -webkit-appearance: none;
            appearance: none;
        }
        .admin-input:focus {
            border-color: #000000;
            box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
            background: #ffffff;
        }
        .admin-input::placeholder { color: #777777 !important; }
        .admin-input option {
            background: #ffffff;
            color: #000000;
        }

        .admin-login-error {
            color: #ff4757;
            font-size: 0.8rem;
            min-height: 1.2rem;
            margin-bottom: 0.5rem;
            animation: shake 0.4s ease;
            font-family: var(--font-body);
        }

        .admin-login-btn {
            width: 100%;
            padding: 1rem;
            background: #000000 !important;
            border: 2px solid #000000 !important;
            border-radius: 50px;
            color: #ffffff !important;
            font-family: var(--font-body) !important;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
            position: relative;
            overflow: hidden;
        }
        .admin-login-btn:hover {
            background: #ffffff !important;
            color: #000000 !important;
            border-color: #000000 !important;
            transform: translateY(-2px);
        }
        .admin-btn-text, .admin-btn-loader {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            line-height: 1;
        }

/* ═══════ EVENT SEARCH BAR ═══════ */
        .event-search-wrap {
            display: flex;
            justify-content: center;
            margin-top: 1.2rem;
            margin-bottom: 0.5rem;
            padding: 0 1rem;
        }
        .event-search-box {
            position: relative;
            width: 100%;
            max-width: 420px;
        }
        .event-search-box i {
            position: absolute;
            left: 1.1rem;
            top: 50%;
            transform: translateY(-50%);
            color: #666666;
            font-size: 0.9rem;
            transition: color 0.3s;
        }
        .event-search-box:focus-within i {
            color: #000000;
        }
        .event-search-box input {
            width: 100%;
            padding: 0.8rem 1rem 0.8rem 2.8rem;
            background: #f5f5f5;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(0,0,0,0.2);
            border-radius: 50px;
            color: #000000;
            font-family: var(--font-body) !important;
            font-size: 0.88rem;
            outline: none;
            transition: all 0.3s;
        }
        .event-search-box input::placeholder {
            color: #777777;
        }
        .event-search-box input:focus {
            border-color: #000000;
            box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
            background: #ffffff;
        }

/* ───── MOBILE OPTIMIZATIONS ───── */
@media (max-width: 768px) {
    /* Disable heavy backdrop-filter on mobile */
    nav {
        backdrop-filter: none;
        background: rgba(10,10,26,0.95);
    }

    /* Reduce animations */
    .hero::before {
        display: none; /* Disable mouse-following gradient */
    }

    .event-card::before {
        display: none; /* Disable card hover effects */
    }

    /* Simplify particles */
    .particle {
        animation-duration: 20s; /* Slower to reduce CPU */
    }

    /* Disable loader progress animation on mobile */
    .progress-bar {
        animation: none !important;
    }

    /* Disable grid animation */
    .cyber-grid {
        display: none;
    }

    /* Ensure cards are visible on mobile */
    .event-card {
        opacity: 1 !important;
    }

    /* Disable countdown tick animation on mobile */
    .tick-vert {
        animation: none !important;
    }

    /* Reduce AOS delays and durations */
    [data-aos] {
        transition: none !important;
    }

    /* Optimize background images */
    .hero, .events, .games {
        background-attachment: scroll !important;
    }

    /* Disable scroll-behavior on mobile for better performance */
    html {
        scroll-behavior: auto;
    }

    /* Add will-change for better performance on animations */
    .particle {
        will-change: transform;
    }

    .event-card {
        will-change: transform;
    }

    .logo {
        will-change: transform, opacity;
    }
}
        .admin-login-btn::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
            transform: translateX(-100%);
            transition: transform 0.6s;
        }
        .admin-login-btn:hover::after {
            transform: translateX(100%);
        }
        .admin-login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(123,47,190,0.5);
        }
        .admin-login-btn.gold-btn {
            background: linear-gradient(135deg, #FFD700, #FF6B35);
            box-shadow: 0 4px 20px rgba(255,215,0,0.3);
        }
        .admin-login-btn.gold-btn:hover {
            box-shadow: 0 8px 30px rgba(255,215,0,0.4);
        }

        /* ═══════ TOAST NOTIFICATIONS ═══════ */
        .toast {
            pointer-events: all;
            display: flex;
            align-items: center;
            gap: 0.8rem;
            padding: 1rem 1.5rem;
            border-radius: 14px;
            font-size: 0.88rem;
            font-weight: 500;
            min-width: 300px;
            max-width: 420px;
            box-shadow: 0 8px 30px rgba(0,0,0,0.4);
            animation: toastIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255,255,255,0.1);
        }
        .toast.out {
            animation: toastOut 0.3s ease forwards;
        }
        .toast.success {
            background: rgba(46,213,115,0.15);
            border-color: rgba(46,213,115,0.3);
            color: #2ed573;
        }
        .toast.error {
            background: rgba(255,71,87,0.15);
            border-color: rgba(255,71,87,0.3);
            color: #ff4757;
        }
        .toast.info {
            background: rgba(123,47,190,0.15);
            border-color: rgba(123,47,190,0.3);
            color: #a29bfe;
        }
        .toast i { font-size: 1.2rem; flex-shrink: 0; }
        @keyframes toastIn {
            from { opacity: 0; transform: translateX(100px) scale(0.9); }
            to { opacity: 1; transform: translateX(0) scale(1); }
        }
        @keyframes toastOut {
            to { opacity: 0; transform: translateX(100px) scale(0.9); }
        }

        /* ═══════ CUSTOM CONFIRM DIALOG ═══════ */
        .confirm-box {
            background: linear-gradient(160deg, rgba(26,26,62,0.98) 0%, rgba(10,10,26,0.99) 100%);
            border: 1px solid rgba(123,47,190,0.4);
            border-radius: 20px;
            padding: 2rem;
            max-width: 400px;
            width: 100%;
            text-align: center;
            box-shadow: 0 20px 60px rgba(0,0,0,0.8);
            transform: scale(0.9);
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        /* Responsive Floating Navbar adjustments */
        @media (max-width: 600px) {
            .logo-top-left {
                top: 1rem;
                left: 1rem;
                font-size: 1.1rem;
            }
            nav.floating-nav-right {
                top: 1rem;
                right: 1rem;
                padding: 0.3rem 0.4rem;
            }
            .nav-icon-link {
                width: 38px;
                height: 38px;
            }
        }
            border-radius: 22px;
            padding: 2.5rem 2rem;
            max-width: 400px;
            width: 100%;
            text-align: center;
            box-shadow: 0 25px 60px rgba(0,0,0,0.5);
            transform: scale(0.9);
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        #confirmDialog.open .confirm-box { transform: scale(1); }
        .confirm-icon { font-size: 3rem; margin-bottom: 1rem; }
        .confirm-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
        .confirm-desc { color: var(--muted); font-size: 0.88rem; margin-bottom: 2rem; line-height: 1.5; }
        .confirm-btns { display: flex; gap: 1rem; }
        .confirm-cancel, .confirm-ok {
            flex: 1;
            padding: 0.8rem;
            border-radius: 12px;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s;
        }
        .confirm-cancel {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.15);
            color: var(--muted);
        }
        .confirm-cancel:hover { background: rgba(255,255,255,0.1); color: #fff; }
        .confirm-ok {
            background: var(--grad);
            border: none;
            color: #fff;
            box-shadow: 0 4px 15px rgba(123,47,190,0.4);
        }
        .confirm-ok:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(123,47,190,0.5); }
        .confirm-ok.danger { background: linear-gradient(135deg, #ff4757, #ff6b81); box-shadow: 0 4px 15px rgba(255,71,87,0.4); }
        .confirm-ok.danger:hover { box-shadow: 0 6px 20px rgba(255,71,87,0.5); }

        /* ═══════ MOBILE LOGIN BUTTON ═══════ */
        .mobile-login-li {
            display: none; /* Hidden on desktop */
        }
        @media (max-width: 768px) {
            .mobile-login-li {
                display: block;
                width: 100%;
                text-align: center;
                border-top: 1px solid rgba(123,47,190,0.2);
            }
            .mobile-login-toggle {
                color: var(--gold) !important;
                font-weight: 600 !important;
                font-size: 0.95rem !important;
            }
            .mobile-login-dropdown {
                list-style: none;
                display: none;
                flex-direction: column;
                gap: 0;
                background: rgba(10,10,30,0.95);
                border-top: 1px solid rgba(123,47,190,0.15);
                padding: 0;
                animation: fadeUp 0.3s ease;
            }
            .mobile-login-dropdown.open {
                display: flex;
            }
            .mobile-login-dropdown li {
                width: 100%;
            }
            .mobile-login-dropdown li a {
                display: flex !important;
                align-items: center;
                justify-content: center;
                padding: 1rem !important;
                color: var(--muted);
                text-decoration: none;
                font-size: 0.88rem;
                font-weight: 500;
                transition: all 0.3s;
                border-bottom: 1px solid rgba(255,255,255,0.03);
            }
            .mobile-login-dropdown li a:hover {
                background: rgba(123,47,190,0.1);
                color: #fff;
            }
        }

        /* ═══════ ANALYTICS CHART CONTAINER ═══════ */
        .chart-card {
            background: var(--card);
            border-radius: 20px;
            border: 1px solid rgba(123,47,190,0.3);
            padding: 1.5rem;
        }
        .chart-title {
            font-size: 0.95rem;
            font-weight: 700;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .chart-title i { color: var(--accent); }
    
