
        /* --- CUSTOM SCROLLBAR STYLES --- */
        /* Webkit browsers (Chrome, Safari, Edge) */
        ::-webkit-scrollbar {
            width: 6px;
        }

        ::-webkit-scrollbar-track {
            background: rgba(3, 11, 38, 0.5);
        }

        ::-webkit-scrollbar-thumb {
            background: rgba(245, 245, 245, 0.6);
            border-radius: 3px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: rgba(245, 245, 245, 0.8);
        }

        /* Firefox */
        * {
            scrollbar-width: thin;
            scrollbar-color: rgba(245, 245, 245, 0.6) rgba(3, 11, 38, 0.5);
        }

        /* --- CRITICAL FALLBACK STYLES --- */
        :root {
            /* Variables for Liquid Glass Effect */
            --lg-bg-color: rgba(255, 255, 255, 0.1); 
            --lg-highlight: rgba(255, 255, 255, 0.5);
            --lg-text: #ffffff;
        }

        html {
            scroll-behavior: auto;
        }

        body {
            background-color: #030b26; 
            color: #ffffff;
            font-family: 'Roboto', sans-serif;
            margin: 0;
            overflow-x: hidden;
        }

        /* Optimize scroll performance */
        html.lenis {
            height: auto;
        }

        .lenis.lenis-smooth {
            scroll-behavior: auto;
        }

        .lenis.lenis-smooth [data-lenis-prevent] {
            overscroll-behavior: contain;
        }

        .lenis.lenis-stopped {
            overflow: hidden;
        }

        .lenis.lenis-scrolling iframe {
            pointer-events: none;
        }

        h1, h2, h3, h4, h5, h6, .font-header {
            font-family: 'Oswald', sans-serif;
        }

        /* --- ANIMATIONS & EFFECTS --- */
        
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease-out;
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        .float-anim { animation: float 4s ease-in-out infinite; }

        @keyframes glowPulse {
            0% { box-shadow: 0 0 5px rgba(59, 130, 246, 0.5); }
            50% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.8); }
            100% { box-shadow: 0 0 5px rgba(59, 130, 246, 0.5); }
        }
        .glow-btn { animation: glowPulse 3s infinite; }
        
        /* SHINE EFFECT FOR LOGO */
        .logo-container {
            position: relative;
            display: inline-block;
            width: 350px; 
            max-width: 100%; 
            overflow: hidden;
            border-radius: 8px; 
        }

        .logo-container img {
            width: 100%;
            height: auto;
            display: block;
            /* Removed filters for cleaner look */
        }

        .logo-container::before {
            content: "";
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 100%;
            background: linear-gradient(
                120deg,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.3) 50%,
                rgba(255, 255, 255, 0) 100%
            );
            transform: skewX(-20deg);
            animation: shine 3s infinite; 
            pointer-events: none;
            z-index: 10;
        }

        @keyframes shine {
            0% { left: -100%; }
            50% { left: 100%; }
            100% { left: 200%; }
        }

        /* LIQUID GLASS EFFECT */
        .glass-container {
            position: relative;
            display: flex;
            align-items: center;
            background: transparent;
            border-radius: 2rem;
            overflow: hidden;
            box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
            color: var(--lg-text);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
        }

        .glass-filter,
        .glass-overlay,
        .glass-specular {
            position: absolute;
            inset: 0;
            border-radius: inherit;
            pointer-events: none;
        }

        .glass-filter {
            z-index: 0;
            backdrop-filter: blur(4px);
            filter: url(#lensFilter) saturate(120%) brightness(1.15);
        }

        .glass-overlay {
            z-index: 1;
            background: var(--lg-bg-color);
        }

        .glass-specular {
            z-index: 2;
            box-shadow: inset 1px 1px 0 var(--lg-highlight),
                        inset 0 0 5px var(--lg-highlight);
        }

        .glass-content {
            position: relative;
            z-index: 3;
            display: flex;
            flex: 1 1 auto;
            align-items: center;
            justify-content: center; 
            padding: 24px; 
            gap: 2rem;
            flex-wrap: wrap;
            width: 100%; 
        }

        /* Text Glow */
        .text-glow {
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(59, 130, 246, 0.5);
        }

        @keyframes typing-loop {
            0%, 5% { width: 0; }      
            40%, 60% { width: 7ch; }   
            95%, 100% { width: 0; }    
        }

        @keyframes blink-caret {
            from, to { border-color: transparent }
            50% { border-color: #22d3ee; }
        }

        /* BUTTON ECLIPSE ANIMATION */
        @keyframes eclipse {
            0% { transform: translateX(110%); }
            100% { transform: translateX(-110%); }
        }

        .eclipse {
            background: #22d3ee; 
            transform: translateX(50%);
            filter: blur(5px); 
            animation: eclipse 3s linear infinite;
        }

        .eclipse.glow {
            background-image:
                radial-gradient(circle at 50% 50%, transparent, #030b26),
                linear-gradient(#22d3ee, #22d3ee);
        }

        /* --- 3D FLIP CARD STYLES --- */
        .flip-card {
            background-color: transparent;
            perspective: 1000px; 
            cursor: pointer;
        }

        .flip-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            text-align: center;
            transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            transform-style: preserve-3d;
        }

        .flip-card.flipped .flip-card-inner {
            transform: rotateY(180deg);
        }

        /* Common styles for Front and Back */
        .flip-card-front, .flip-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            border-radius: 0.75rem; /* Match rounded-xl */
            top: 0;
            left: 0;
        }

        /* Front Face (Matches existing design) */
        .flip-card-front {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(59, 130, 246, 0.2);
            z-index: 2;
        }

        /* Back Face (New details) */
        .flip-card-back {
            background: linear-gradient(135deg, #0a194f 0%, #020617 100%);
            border: 1px solid rgba(34, 211, 238, 0.4); /* Cyan border */
            transform: rotateY(180deg);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 1.5rem;
            box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
        }

        /* --- MODAL ANIMATIONS --- */
        #eventModal {
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }
        #eventModal.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
        #eventModal:not(.hidden) { opacity: 1; visibility: visible; pointer-events: auto; }
        .modal-content {
            transform: scale(0.95); opacity: 0; transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
        }
        #eventModal:not(.hidden) .modal-content { transform: scale(1); opacity: 1; }

        /* --- FORM STYLES --- */
        .form-input {
            width: 100%; background-color: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 0.5rem; padding: 0.75rem 1rem; color: white; outline: none; transition: all 0.3s;
        }
        .form-input:focus { border-color: #3b82f6; background-color: rgba(0, 0, 0, 0.6); }
        .form-input.error-border { border-color: #ef4444 !important; box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2); }
        .form-input::placeholder { color: #9ca3af; opacity: 1; }
        
        /* Timeline Line */
        .timeline-line::before {
            content: ''; position: absolute; top: 0; bottom: 0; left: 20px; width: 2px;
            background: linear-gradient(to bottom, transparent, #3b82f6, transparent);
            z-index: 0; box-shadow: 0 0 15px #3b82f6;
        }
        @media (min-width: 768px) { .timeline-line::before { left: 50%; transform: translateX(-50%); } }

        /* Custom Select arrow styling fix */
        select.form-input {
            appearance: none;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
            background-position: right 0.5rem center;
            background-repeat: no-repeat;
            background-size: 1.5em 1.5em;
            padding-right: 2.5rem;
        }

        /* Style dropdown options to match dark theme */
        select option {
            background-color: #030b26;
            color: white;
        }
        .hidden { display: none !important; }

        /* Payment Method Buttons Active State */
        .payment-method-btn.active {
            background-color: rgba(37, 99, 235, 0.3);
            border-color: #3b82f6;
            color: white;
            box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
        }
        /* Loading Spinner */
        .spinner {
            border: 3px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            border-top: 3px solid #ffffff;
            width: 20px;
            height: 20px;
            animation: spin 1s linear infinite;
            display: inline-block;
            margin-right: 8px;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* --- TOAST NOTIFICATION --- */
        #toast-container {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 100;
            display: flex;
            flex-direction: column;
            gap: 10px;
            pointer-events: none; /* Allow clicks to pass through container */
        }
        .toast {
            min-width: 320px;
            padding: 16px;
            border-radius: 12px;
            background: rgba(13, 17, 35, 0.95); /* Darker, closer to theme */
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-left: 4px solid;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 5px 10px -5px rgba(0, 0, 0, 0.3);
            color: white;
            transform: translateX(120%);
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
            display: flex;
            align-items: center;
            font-size: 0.9rem;
            pointer-events: auto; /* Re-enable clicks on toasts */
            opacity: 0;
        }
        .toast.show {
            transform: translateX(0);
            opacity: 1;
        }
        .toast.error { border-left-color: #ef4444; }
        .toast.success { border-left-color: #22c55e; }
        .toast-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            margin-right: 12px;
            flex-shrink: 0;
        }
        .toast.error .toast-icon { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
        .toast.success .toast-icon { background: rgba(34, 197, 94, 0.15); color: #22c55e; }


        #developed-by-container::after {
            content: '|'; 
            display: inline-block;
            margin-left: 2px;
            font-weight: bold; 
            animation: blink 0.7s infinite; 
        }

        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }

    
        .finished-typing::after {
            content: none !important; 
        }

        /* --- SMOOTH FAQ ACCORDION ANIMATIONS --- */
        details {
            overflow: hidden;
            will-change: height;
        }

        details summary {
            list-style: none;
            cursor: pointer;
            user-select: none;
        }

        details summary::-webkit-details-marker {
            display: none;
        }

        /* Smooth animation for the answer content */
        details > div {
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transform: translateY(-10px);
            transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                        opacity 0.4s ease,
                        transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        details[open] > div {
            max-height: 500px;
            opacity: 1;
            transform: translateY(0);
        }

        details > div > div {
            padding-top: 1rem;
            padding-bottom: 1.5rem;
        }

        /* Smooth rotation for the chevron icon */
        details summary .transform {
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-block;
        }

        details[open] summary .transform {
            transform: rotate(180deg);
        }

        /* Smooth background transition on hover */
        details summary {
            transition: background-color 0.3s ease;
        }

        /* --- AUTO ANIMATED HIGHLIGHT --- */
        @keyframes pulse-inset {
            0%, 100% {
                box-shadow: inset 0 0 0 0 #ffffff;
                color: #ffffff;
            }
            50% {
                box-shadow: inset 200px 0 0 0 #ffffff;
                color: #000000;
            }
        }

        .highlight-animate {
            animation: pulse-inset 3s ease-in-out infinite;
            font-size: 1.2em;
            color: #ffffff;
            padding: 0 0.25rem;
            
            display: inline-block;
            font-weight: 700;
        }

        /* --- SPONSOR TICKER --- */
        .ticker-wrap {
            width: 100%;
            overflow: hidden;
            white-space: nowrap;
            position: relative;
        }

        .ticker-content {
            display: flex;
            width: max-content; /* Allow content to flow naturally */
            will-change: transform;
        }

        /* Removed keyframes as we are using JS for animation */

        .ticker-item {
            display: inline-block;
            padding: 0 3rem;
            vertical-align: middle;
            flex-shrink: 0; /* Prevent shrinking in flex container */
        }

        /* Sponsor Group Container */
        .sponsor-group {
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            gap: 0.75rem;
        }

        /* Category Label */
        .sponsor-category-label {
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: #d1d5db;
            white-space: nowrap;
            margin-bottom: 0.25rem;
            text-align: center;
            width: 100%;
        }

        /* Logos Container (horizontal layout for multiple logos) */
        .sponsor-logos-container {
            display: flex;
            gap: 1.5rem;
            align-items: center;
            justify-content: center;
        }

        /* Individual Logo Wrapper */
        .sponsor-logo-wrapper {
            display: inline-block;
            transition: transform 0.3s ease;
        }

        .sponsor-logo-wrapper:hover {
            transform: scale(1.05);
        }

        /* Logo Image */
        .sponsor-logo {
            height: 4rem;
            width: 12rem;
            object-fit: contain;
            display: block;
        }

        /* Title Sponsor Specific Style */
        .title-sponsor-logo {
            width: 24rem;
        }

