:root {
    --bg-color: #f4f6f8;
    /* Off-white background */
    --text-color: #0a0a1a;
    /* Dark text */
    --primary-blue: #0066ff;
    /* Deeper blue from logo */
    --secondary-blue: #00d2ff;
    /* Lighter accent blue */
    --accent-purple: #5a00d6;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --border-color: rgba(0, 102, 255, 0.2);
    --font-main: 'Rajdhani', sans-serif;
}

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



html {
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    min-height: 100vh;
    width: 100%;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background: transparent;
}

.glow-orb {
    display: none;
    /* Removing heavy orbs for cleaner light mode */
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    position: fixed;
    width: 90%;
    max-width: 1400px;
    top: 1rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    /* transform: translateX(-50%); REMOVED to prevent jitter */

    z-index: 1000;

    /* Light Glass Effect */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    box-shadow: none;

    /* Animation on Y-axis only */
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s;
}

.navbar.scrolled-hide {
    transform: translateY(-150%);
    opacity: 0;
}

.navbar.scrolled-show {
    transform: translateY(0);
    opacity: 1;
}

.logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin-left: auto;
    /* Push to right */
}

.nav-links li a {
    color: #555;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-cta {
    margin-left: 24px;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-blue);
    text-shadow: none;
    border-bottom: 2px solid var(--primary-blue);
}

/* Secondary CTA Button (Stroke) */
.btn-secondary {
    border: 2px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 10001;
    /* Extremely high to ensure visibility above all elements */
    position: relative;
}

/* Mobile Navigation */
.mobile-only {
    display: none;
}

@media (max-width: 900px) {
    .navbar {
        padding: 15px 20px;
        /* Reduced padding for mobile */
        width: 95%;
        /* Slightly wider on mobile to use space */
    }

    .nav-logo-img {
        height: 32px;
        /* User requested 32px for mobile */
        width: auto;
    }

    .hamburger {
        display: block;
        margin-left: auto;
        /* Push to right */
        z-index: 10001;
        /* Ensure hamburger is always visible */
        position: relative;
    }

    /* Hide Desktop CTA */
    .nav-cta {
        display: none;
    }

    /* Mobile-only items visibility */
    .mobile-only {
        display: block;
    }
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: flex-start;
    /* Align top to respect padding */
    justify-content: space-between;
    padding: 150px 5% 64px;
    /* 150px top, 100px bottom for fixed gap */
    min-height: auto;
    /* Removed 90vh dependency */
}

.hero-content {
    max-width: 50%;
    z-index: 1;
}

.tagline {
    display: flex;
    /* Flex aligned */
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 24px;
    /* Increased by 4px */
    margin-top: 10px;
    /* Shift down slightly */
    letter-spacing: 1px;
    color: #333;
}

.avatar-stack {
    display: flex;
    align-items: center;
}

.stack-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #f9f9f9;
    /* Match background */
    margin-left: -8px;
    /* Stack overlap */
    object-fit: cover;
}

.stack-img:first-child {
    margin-left: 0;
}

.stack-plus {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #333;
    border: 2px solid #f9f9f9;
    /* Match background */
    margin-left: -8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
}

h1 {
    font-size: 54px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #0a0a1a;
}

/* Typing Containers */
.typing-container {
    display: inline-block;
}

.type-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    width: 0%;
    /* Start hidden */
    vertical-align: bottom;
}

.text-1 {
    animation: typing 0.8s steps(30, end) forwards;
    /* Typing Entrepreneurship (Faster) */
}

.text-2 {
    animation: typing 0.6s steps(20, end) forwards 0.9s;
    /* Typing Summit (Delay after Entr) */
    opacity: 0;
    /* Hide before start */
}

.text-3 {
    animation: typing 1s steps(60, end) forwards 2.5s;
    /* Typing Sub-heading */
    opacity: 0;
}

@keyframes typing {
    from {
        width: 0;
        opacity: 1;
    }

    to {
        width: 100%;
        opacity: 1;
    }
}

.title-sub-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.highlight-text {
    font-size: 100px;
    letter-spacing: 2px;
    color: var(--primary-blue);
    line-height: 1;
    font-weight: 800;
}

/* Year Animation Structure */
.year-outline {
    font-size: 100px;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary-blue);
    /* Blue Outline */
    letter-spacing: 5px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease, -webkit-text-stroke 0.3s ease;
    cursor: default;
    line-height: 1;
    margin: 0;
    display: flex;
    /* Flex for alignment */
    align-items: center;
    /* Changed from baseline to center */
    overflow: hidden;
    /* Hide anything outside */
}

.year-base {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    width: 0%;
    /* Start hidden */
    animation: typingYear 0.5s steps(3, end) forwards 1.6s;
    /* Typing 202 */
    opacity: 0;
}

@keyframes typingYear {
    to {
        width: 1.65em;
        /* Specific width for '202' + spacing */
        opacity: 1;
    }
}

.digit-wrapper {
    display: inline-block;
    height: 1em;
    width: 0.55em;
    /* Tighter width */
    overflow: hidden;
    position: relative;
    vertical-align: bottom;
    opacity: 0;
    animation: fadeIn 0.1s linear forwards 2.1s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.digit-scroll {
    display: flex;
    flex-direction: column;
    animation: slideDigit 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 2.4s;
    /* Delayed slide */
}

.digit-old,
.digit-new {
    height: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Removing individual animations to let container scroll */
}

@keyframes slideDigit {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
        /* Slide up by 1em (50% of 2em height) */
    }
}

@keyframes slideOut {
    to {
        transform: translateY(100%);
    }
}

@keyframes slideIn {
    to {
        top: 0;
    }
}

.year-outline:hover {
    color: var(--primary-blue);
    /* Fill Blue on hover */
    -webkit-text-stroke: 1px var(--primary-blue);
    /* Optional: match stroke */
}

.sub-heading {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: #333;
    /* Dark Grey to match tagline */
}

.accent-text {
    color: var(--primary-blue);
    text-shadow: none;
    background: none;
    -webkit-text-fill-color: var(--primary-blue);
    font-weight: 800;
}

.description {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 80%;
    border-left: 3px solid var(--secondary-blue);
    padding-left: 20px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    /* Adjusted to 24px */
}

@keyframes fadeCTA {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.btn {
    text-decoration: none;
    padding: 15px 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 16px;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 102, 255, 0.4);
}



.play-icon {
    font-size: 12px;
    margin-right: 8px;
    color: var(--primary-blue);
}

/* Hero Visuals (Card) */
.hero-visuals {
    position: relative;
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-card {
    background: rgba(255, 255, 255, 0.9);
    /* Light card */
    backdrop-filter: blur(20px);
    border: 1px solid white;
    border-radius: 24px;
    padding: 30px;
    width: 380px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
    z-index: 2;
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
    0% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(5px, -15px);
    }

    66% {
        transform: translate(-5px, -5px);
    }

    100% {
        transform: translate(0, 0);
    }
}



.progress-bar-container {
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
}

#seconds-bar {
    height: 100%;
    background-color: var(--primary-blue);
    width: 0%;
    transition: width 1s linear;
    border-radius: 2px;
}



.countdown-container {
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.countdown-label {
    font-size: 12px;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
}

.timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.number {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    text-shadow: none;
}

.label {
    font-size: 12px;
    color: #444;
    margin-top: 5px;
    font-weight: 700;
}

.separator {
    font-size: 24px;
    color: #ccc;
    margin-top: -15px;
}

.time-block:last-child .number {
    color: var(--primary-blue);
    /* Highlight seconds in blue */
}

.card-footer {
    text-align: center;
}

.card-footer h3 {
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #222;
    font-weight: 800;
}

.card-footer p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.card-status {
    display: flex;
    align-items: center;
    /* Align dot with text */
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    /* Light separator */
    padding-top: 15px;
    color: #555;
    text-transform: uppercase;
}

.neon-green {
    color: var(--primary-blue);
}

.live-dot-container {
    display: flex;
    align-items: center;
    color: #333;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #00d2ff;
    border-radius: 50%;
    margin-right: 5px;
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.6);
}

/* Orbit visual - adjusted for light mode */
/* Pixelated Shockwave */
.pixel-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    /* Circular starting size */
    border: 2px solid rgba(0, 0, 0, 0.015);
    /* Lighter grey */
    border-radius: 50%;
    /* Circle */
    z-index: -1;
    opacity: 0;
    pointer-events: none;
}

.wave-1 {
    animation: pixel-ripple 8s infinite linear;
    /* Smooth, constant progression */
}

.wave-2 {
    animation: pixel-ripple 8s infinite linear 2.5s;
}

.wave-3 {
    animation: pixel-ripple 8s infinite linear 5s;
}



@keyframes pixel-ripple {
    0% {
        width: 380px;
        height: 380px;
        opacity: 1;
        border-width: 40px;
        /* Wave gets thicker as it travels */
    }

    100% {
        width: 90vw;
        /* Reduced from 100vw to prevent scrollbar overflow */
        height: 90vw;
        opacity: 0;
        border-width: 200px;
        /* Adjusted scaling */
        /* Wave gets thicker as it travels */
    }
}

.floating-icon {
    position: absolute;
    background: #fff;
    border: 1px solid rgba(0, 102, 255, 0.2);
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    /* Neutral shadow */
    font-size: 20px;
    color: #17409c;
}

.icon-1 {
    top: 20px;
    left: -20px;
    animation: float 4s ease-in-out infinite;
}

.icon-2 {
    bottom: 50px;
    right: -30px;
    animation: float 5s ease-in-out infinite reverse;
}

.icon-3 {
    top: 40px;
    right: -25px;
    animation: float 6s ease-in-out infinite 1s;
}

.icon-4 {
    bottom: 40px;
    left: -20px;
    animation: float 7s ease-in-out infinite 2s;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Events Section */
.events-section {
    padding: 80px 5%;
    background: transparent;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    background: rgba(0, 102, 255, 0.05);
    /* Light blue tint */
    font-weight: 700;
}

.section-header h2 {
    font-size: 48px;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #222;
    font-weight: 800;
}

.accent-text-purple {
    color: var(--primary-blue);
    /* Switched to blue */
    text-shadow: none;
}

.section-sub {
    color: #666;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.event-card {
    background: #ffffff;
    /* Light background */
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Smooth bounce */
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    /* Neutral base shadow */
}

.event-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Deeper neutral shadow on hover */
    transform: translateY(-8px);
    /* Lift up effect */
}

.card-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.category-pill {
    font-size: 11px;
    border: 1px solid #e0e0e0;
    /* Light border */
    padding: 6px 12px;
    border-radius: 6px;
    color: #555;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    background: #f8f9fa;
}

.event-card:hover .category-pill {
    color: var(--primary-blue);
    border-color: rgba(0, 102, 255, 0.2);
    background: rgba(0, 102, 255, 0.02);
}

.card-icon {
    color: #ccc;
    /* Subdued icon */
    transition: color 0.3s ease;
}

.event-card:hover .card-icon {
    color: var(--primary-blue);
}

.event-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #111;
    /* Dark Text */
    font-weight: 800;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-card p {
    font-size: 15px;
    color: #666;
    /* Grey Text */
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.card-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    /* Light separator */
    padding-top: 20px;
    margin-top: auto;
}

.card-action span {
    font-size: 12px;
    color: #999;
    font-family: monospace;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    font-weight: 600;
}

.event-card:hover .card-action span {
    color: var(--primary-blue);
}

.action-btn {
    width: 36px;
    height: 36px;
    background: #f5f5f7;
    /* Light grey circle */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.arrow-icon-svg {
    width: 18px;
    height: 18px;
    color: #555;
    transition: all 0.3s ease;
}

.event-card:hover .action-btn {
    background: var(--primary-blue);
    transform: rotate(45deg);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.event-card:hover .arrow-icon-svg {
    color: #fff;
}



@media (max-width: 900px) {
    .navbar {
        width: 100%;
        top: 0;
        left: 0;
        transform: none;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 15px 5%;
        background: rgba(255, 255, 255, 0.95);
    }

    .navbar.scrolled-hide {
        transform: translateY(-100%);
    }

    .navbar.scrolled-show {
        transform: translateY(0);
    }

    /* Global Mobile Overflow Fix */
    html,
    body {
        overflow-x: hidden !important;
        position: relative;
        width: 100%;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
        /* Space for nav */
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 30px;
        /* Reduced from 60px */
    }

    .description {
        margin: 0 auto 30px;
        border-left: none;
        padding-left: 0;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-visuals {
        width: 100%;
        /* overflow-x: clip; Removed to show shadow */
        padding: 0 0 40px 0;
        /* Removed top padding (was 40px) */
        display: flex;
        justify-content: center;
        overflow: visible;
    }

    .game-card {
        width: 85%;
        /* Reduced from 90% to prevent icons from triggering scroll */
        max-width: 320px;
        /* Constrain width */
        padding: 24px;
    }

    .floating-icon {
        transform: scale(0.8);
        /* Smaller icons */
    }

    /* Pull icons closer */
    .icon-1 {
        left: -10px;
    }

    .icon-2 {
        right: -10px;
    }

    .icon-3 {
        right: -5px;
    }

    .icon-4 {
        left: -10px;
    }

    .orbit-circle {
        width: 350px;
        max-width: 90vw;
        /* Constrain to viewport */
        height: 350px;
        max-height: 90vw;
        /* Maintain aspect ratio limit */
    }

    /* Fix Pixel Wave for Mobile */
    .wave-1,
    .wave-2,
    .wave-3 {
        animation-name: pixel-ripple-mobile;
    }

    @keyframes pixel-ripple-mobile {
        0% {
            width: 150px;
            height: 150px;
            opacity: 1;
            border-width: 10px;
        }

        100% {
            width: 60vw;
            /* Aggressively reduced from 80vw */
            height: 60vw;
            opacity: 0;
            border-width: 30px;
            /* Reduced border width */
        }
    }

    /* Fix Floating Icons Sizing (Scale is overridden by animation) */
    .floating-icon {
        width: 40px;
        /* Slight increase for more "padding" */
        height: 40px;
        font-size: 14px;
        /* Decreased icon size */
        transform: none !important;
        /* Reset any scale transforms */
    }

    .game-card {
        width: 85%;
        max-width: 320px;
        padding: 24px;
        box-sizing: border-box;
        /* Ensure padding doesn't add to width */
    }

    /* Mobile Drawer */
    .nav-links {
        display: flex;
        /* Ensure drawer is rendered */
        position: fixed;
        top: -100vh;
        /* Hide completely off-screen */
        left: 0;
        width: 100%;
        height: auto;
        min-height: 50vh;
        /* Ensure background covers enough */
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 40px 0;
        transition: top 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 10000;
        /* Extremely high to ensure drawer visibility */
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.open {
        top: 0;
        /* Cover entire viewport including navbar */
        padding-top: 80px;
        /* Add top padding to make room for close icon */
    }

    /* Reposition hamburger when drawer is open */
    .nav-links.open~.hamburger {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 10002;
        /* Above the drawer to ensure cross icon is visible */
        background: rgba(0, 0, 0, 0.08);
        /* Subtle background for visibility */
        width: 44px;
        height: 44px;
        border-radius: 50%;
        /* Circular background */
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .nav-links.open~.hamburger i,
    .nav-links.open~.hamburger svg {
        color: var(--text-color) !important;
        stroke: var(--text-color) !important;
        width: 24px !important;
        height: 24px !important;
    }

    .nav-links.open~.hamburger:hover {
        background: rgba(0, 0, 0, 0.12);
    }

    /* Mobile nav link styling */
    .nav-links li a {
        font-size: 18px;
        font-weight: 500;
        /* Medium weight */
    }

    /* Add spacing above Register button */
    .nav-links .mobile-only {
        margin-top: 24px;
        margin-bottom: 32px;
    }

    /* Style Register link as CTA button on mobile */
    .nav-links .mobile-only a {
        background: var(--primary-blue);
        color: white;
        padding: 12px 32px;
        border-radius: 8px;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 16px;
        letter-spacing: 1px;
        border: none;
        transition: all 0.3s ease;
    }

    .nav-links .mobile-only a:hover {
        background: var(--accent-purple);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    }

    .mobile-only {
        display: block;
    }
}

/* Sponsors Section */
/* Sponsors Section */
.sponsors-section {
    padding: 20px 0;
    text-align: center;
    background: transparent;
    overflow: hidden;
    width: 100%;
    margin-top: 0;
    /* Reset margin to avoid overlap issues */
    position: relative;
    z-index: 20;

}

.sponsors-title {
    font-size: 16px;
    font-weight: 700;
    color: #999;
    letter-spacing: 2px;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    display: none;
    /* Remove white fade */
}

.marquee-content {
    display: inline-block;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}

.sponsor-logo {
    display: inline-block;
    height: 80px;
    width: auto;
    margin: 0 40px;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
    vertical-align: middle;
}

.sponsor-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move half way assuming duplicate content */
    }
}

.text-red {
    color: #991b1b !important;
}

.bg-red {
    background-color: #991b1b !important;
}

/* About Section */
.about-section {
    padding: 60px 0;
    position: relative;
    background: transparent;
    margin-top: 16px;
}

.about-section .section-sub {
    font-size: 18px;
    font-weight: 500;
}

.marquee-content-about {
    display: inline-flex;
    gap: 24px;
    animation: scroll 60s linear infinite;
    white-space: nowrap;
}

.about-img {
    height: 400px;
    width: auto;
    object-fit: contain;
    background: transparent;
    border-radius: 12px;
    border: none;
    padding: 0;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 80px;
    flex-wrap: wrap;
    padding: 0 5%;
}

.stat-card {
    background: transparent;
    color: #333;
    padding: 30px 30px;
    border-radius: 12px;
    width: 260px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid #e5e7eb;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    background: rgba(0, 102, 255, 0.02);
}

.stat-card h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #111;
}

.stat-card p {
    font-size: 14px;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Matrix Hover Effect */
.stat-card {
    position: relative;
    z-index: 1;
}

.matrix-stack {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    /* Ensure it doesn't collapse */
    height: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: -1;
    /* Behind text */
}

.matrix-img {
    position: absolute;
    width: auto;
    height: 80px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Springy pop */
    bottom: 10px;
    left: 50%;
    transform: translate(-50%, 0);
    transform-origin: center bottom;
}

.stat-card:hover .matrix-img:nth-child(1) {
    opacity: 1;
    transform: translate(-100%, 70px) rotate(-45deg);
    /* Left */
}

.stat-card:hover .matrix-img:nth-child(2) {
    opacity: 1;
    transform: translate(-50%, 85px);
    /* Center */
}

.stat-card:hover .matrix-img:nth-child(3) {
    opacity: 1;
    transform: translate(0%, 70px) rotate(45deg);
    /* Right */
}

/* Past Events Section */
.past-events-section {
    position: relative;
    padding: 20px 0;
    width: 100%;
    overflow: hidden;
    background: transparent;
    margin-top: 20px;
}

.marquee-row {
    display: flex;
    overflow: hidden;
    margin-bottom: 16px;
    /* Spacing between rows */
    width: 100%;
}

.track {
    display: flex;
    gap: 16px;
    width: max-content;
}

.marquee-left .track {
    animation: marquee-scroll-left 40s linear infinite;
}

.marquee-right .track {
    animation: marquee-scroll-right 40s linear infinite;
}

.marquee-row img {
    height: 240px;
    width: auto;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    border-radius: 8px;
    flex-shrink: 0;
}

.marquee-row img:hover {
    filter: grayscale(0%);
}



@keyframes marquee-scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-scroll-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Footer */
.site-footer {
    background: #111;
    /* Dark background as per reference */
    color: #fff;
    padding: 80px 5% 20px;
    font-family: var(--font-main);
    margin-top: 60px;
    overflow-x: hidden;
    /* Prevent webwiz-credit from causing scroll */
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

/* ... existing styles ... */

@media (max-width: 900px) {
    .footer-top {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

.footer-brand-col {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-socials a {
    color: #fff;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    color: #4da3ff;
    transform: translateY(-3px);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
    width: 100%;
    /* Short divider style */
}

.footer-desc {
    font-size: 16px;
    /* Increased to 16px */
    font-weight: 500;
    /* Medium weight */
    line-height: 1.6;
    color: #ccc;
}

.footer-links-col h4,
.footer-contact-col h4 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 18px;
    /* Slightly Larger Headings */
    letter-spacing: 1.5px;
    font-weight: 800;
    /* Bold Headings */
    text-transform: uppercase;
}

.footer-links-col ul {
    list-style: none;
    padding: 0;
}

.footer-links-col ul li {
    margin-bottom: 12px;
}

.footer-links-col ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    display: inline-block;
    position: relative;
}

.footer-links-col ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: #4da3ff;
    transition: width 0.3s ease;
}

.footer-links-col ul li a:hover {
    color: #4da3ff;
    padding-left: 0;
}

.footer-links-col ul li a:hover::after {
    width: 100%;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 6px;
    /* Space between icon and label */
    color: #888;
}

.contact-header svg {
    color: inherit;
    margin: 0;
    width: 14px;
    height: 14px;
    stroke-width: 2px;
}

.contact-label {
    display: block;
    font-size: 14px;
    /* User requested */
    color: inherit;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
}

/* Contact Links (Email & Phone Numbers) */
.contact-link {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    width: fit-content;
    padding-left: 0;
}

.contact-values {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

a.contact-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: #4da3ff;
    transition: width 0.3s ease;
}

a.contact-link:hover {
    color: #4da3ff;
}

a.contact-link:hover::after {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-copyright {
    font-size: 14px;
    color: #ccc;
    font-weight: 500;
}

.webwiz-credit {
    text-align: center;
    font-size: 13px;
    color: #ccc;
    background-color: #1a1a1a;
    padding: 10px 5% 10px;
    width: 100%;
    /* Changed from 100vw to 100% */
    /* margin-left: calc(50% - 50vw); REMOVED */
    /* margin-right: calc(50% - 50vw); REMOVED */
    margin: 0;
    /* Reset margins */
    margin-bottom: -20px;
    /* Counteract footer padding */
    font-weight: 600;
    position: relative;
    left: 0;
    /* Ensure it stays within flow */
}

.footer-bottom-logos {
    display: flex;
    align-items: center;
}

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        /* User requested side-by-side menu/pages */
        gap: 24px;
        /* Adjust gap for smaller screens */
    }

    .footer-brand-col,
    .footer-contact-col {
        grid-column: 1 / -1;
        /* Brand and Contact take full width */
        text-align: left;
        /* User requested left align */
        justify-self: start;
        /* Start align grid item */
        width: 100%;
    }

    .footer-desc {
        text-align: left;
    }

    .contact-item {
        align-items: flex-start;
        /* Left align contact items */
    }

    .contact-item:last-child {
        margin-bottom: 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding-top: 20px;
    }
}

/* Past Speakers Section */
.speakers-section {
    padding: 100px 0 0 0;
    /* Removed bottom padding */
    background: transparent;
    position: relative;
    z-index: 10;
    overflow-x: hidden;
}

.speakers-marquee {
    width: 100%;
    overflow: hidden;
    padding-top: 50px;
    padding-bottom: 60px;
    /* Increased for shadow visibility */
    margin-top: -44px;
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollSpeakers 40s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scrollSpeakers {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move half way */
    }
}

.speaker-card {
    width: 250px;
    height: 380px;
    background: transparent;
    position: relative;
    overflow: visible;
    /* Allow pop-out */
    cursor: pointer;
    flex-shrink: 0;
}

.speaker-card-inner {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.speaker-card:hover {
    z-index: 100;
}

.speaker-card:hover .speaker-card-inner {
    transform: translateY(-40px) scale(1.05);
    /* Break layout from top */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    /* Light shadow */
    border-color: rgba(0, 0, 0, 0.1);
}

.speaker-img-container {
    height: 70%;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    transition: height 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy Effect */
}

/* Elongate on Hover */
.speaker-card:hover .speaker-img-container {
    height: 85%;
}

.speaker-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.speaker-card:hover .speaker-img-container img {
    transform: scale(1.05);
}

.speaker-info {
    padding: 15px;
    text-align: center;
    height: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 2;
    transition: background 0.3s;
    border-radius: 0 0 20px 20px;
    /* Rounded corners at bottom */
}

.speaker-card:hover .speaker-info {
    background: #fff;
    /* Maintain solid white */
}


.speaker-info h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 5px;
    color: #111;
    text-transform: uppercase;
}

.speaker-info p {
    font-size: 13px;
    color: #666;
    font-weight: 600;
    line-height: 1.4;
}

.linkedin-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease 0.1s;
}

.linkedin-badge i {
    width: 16px;
    height: 16px;
    color: #0077b5;
}

.speaker-card:hover .linkedin-badge {
    opacity: 1;
    transform: translateY(0);
}

/* Past Sponsors Section */
.past-sponsors-section {
    padding: 80px 0;
    background: transparent;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.past-sponsors-section .section-header {
    margin-bottom: 32px;
    /* Reduced from default 60px */
}

/* Allow space for shadows */
.past-sponsors-section .marquee-row {
    padding: 20px 0;
    /* Add vertical padding to prevent clipping */
    margin-bottom: 0;
}

.past-sponsors-section .sponsor-card-img {
    height: 220px !important;
    width: auto !important;
    object-fit: contain !important;
    flex-shrink: 0;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    /* Lighter, softer shadow */
    border: 1px solid rgba(0, 0, 0, 0.03);
    /* Lighter border */
    filter: none !important;
    /* Override grayscale */
    margin: 0;
    /* Use track gap */
}

.sponsors-marquee-wrapper {
    position: relative;
    cursor: pointer;
}

.marquee-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 20;
    backdrop-filter: blur(5px);
    /* Increased blur */
}

/* Show overlay on hover */
.sponsors-marquee-wrapper:hover .marquee-overlay {
    opacity: 1;
}

/* Ensure button is visible and clickable */
.marquee-overlay .btn {
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* 2x Size increase */
    padding: 20px 40px;
    font-size: 20px;
}

.sponsors-marquee-wrapper:hover .marquee-overlay .btn {
    transform: scale(1);
}

/* FAQ Section */
.faq-section {
    padding: 80px 5% 100px 5%;
    /* Increased top padding */
    position: relative;
    background: transparent;
    /* overflow-x: hidden; REMOVED to prevent shadow clipping */
}

/* Centered Layout */
.faq-list.centered-list {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 5;
}

/* Floating Draggable Images */
.floating-img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Let clicks pass through context */
    z-index: 1;
}

.draggable-img {
    position: absolute;
    width: 250px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    cursor: grab;
    pointer-events: auto;
    /* Re-enable events for images */
    transition: transform 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: rotate(0deg);
    border: 4px solid #fff;
}

.draggable-img:active {
    cursor: grabbing;
    transform: scale(1.05);
    z-index: 10;
}

/* Initial Positions (Peeking) */
.img-pos-1 {
    top: 10%;
    left: -80px;
    transform: rotate(10deg);
}

.img-pos-2 {
    top: 40%;
    left: -60px;
    transform: rotate(-5deg);
}

.img-pos-3 {
    top: 70%;
    left: -80px;
    transform: rotate(8deg);
}

.img-pos-4 {
    top: 15%;
    right: -80px;
    transform: rotate(-8deg);
}

.img-pos-5 {
    top: 45%;
    right: -60px;
    transform: rotate(6deg);
}

.img-pos-6 {
    top: 75%;
    right: -80px;
    transform: rotate(-4deg);
}

/* FAQ Accordion (Right) */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.accordion-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    padding: 24px;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    gap: 20px;
}

.q-number {
    font-family: monospace;
    font-size: 14px;
    color: #bbb;
    font-weight: 600;
}

.accordion-item.active .q-number {
    color: var(--primary-blue);
}

.accordion-header h3 {
    flex-grow: 1;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
    text-transform: uppercase;
}

.accordion-item.active .accordion-header h3 {
    color: var(--primary-blue);
}

.accordion-icon {
    width: 32px;
    height: 32px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    color: #555;
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    background: var(--primary-blue);
    color: #fff;
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: transparent;
}

.accordion-item.active .accordion-body {
    max-height: 200px;
    /* Sufficient height for content */
}

.accordion-body p {
    padding: 0 24px 24px 60px;
    /* Indent to align with text */
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 900px) {
    .floating-img-container {
        display: none;
        /* Hide draggable elements on mobile for simplicity */
    }

    .faq-list.centered-list {
        max-width: 100%;
    }
}

/* Subheading Typography */
.section-sub {
    font-size: 16px;
    font-weight: 500;
    color: #666;
    line-height: 1.6;
}

/* Mobile Stats Grid */
@media (max-width: 900px) {
    .stats-container {
        gap: 15px;
        /* Smaller gap for mobile */
        padding: 0;
        /* Maximize space */
    }

    .stat-card {
        width: calc(50% - 15px);
        /* Force 2 per row */
        padding: 20px 16px;
        /* Changed to 16px side padding as requested */
    }

    /* Disable Matrix Hover Effect on Mobile */
    .stat-card:hover,
    .stat-card:active {
        transform: none !important;
        background: transparent !important;
        border-color: #e5e7eb !important;
    }

    .stat-card:hover .matrix-img,
    .stat-card:active .matrix-img {
        opacity: 0 !important;
        transform: none !important;
        display: none !important;
    }

    .stat-card h3 {
        font-size: 24px;
        /* Slightly smaller text */
    }

    .stat-card p {
        font-size: 13px;
    }
}

/* Responsive Video Embed Overlay */
.video-overlay-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    z-index: 20;
    /* High z-index to float over marquees */
    padding: 0 20px;
    background: transparent;
    pointer-events: auto;
    /* Ensure video is interactable */
}

.video-responsive-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid lightgrey;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    /* Strong shadow for depth */
    background: #000;
}

.video-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================================
   Sponsor Us Page Styles
   ========================================= */

.sponsor-page {
    padding-top: 120px;
    min-height: 100vh;
}

.sponsor-hero {
    text-align: center;
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.sponsor-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.1;
}

.sponsor-hero .section-sub {
    font-size: 20px;
    color: #666;
}

/* Layout Container */
.sponsor-layout-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 5%;
    display: flex;
    flex-direction: column;
    gap: 120px;
    /* Space between major sections */
}

/* Main 3-Column Grid Layout for Category + Content + Visual */
.sponsor-layout-container {
    display: grid;
    grid-template-columns: 200px 1fr 400px;
    /* 3 Columns */
    gap: 60px;
    align-items: start;
    /* Vital for sticky sidebar to work */
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

/* Left Column: Sticky Category Sidebar */
.sponsor-category-sidebar {
    position: sticky;
    top: 140px;
    align-self: start;
    /* Explicitly prevent stretching */
    height: fit-content;
    text-align: right;
    /* Align text to content */
    padding-right: 20px;
    border-right: 2px solid var(--primary-blue);
}

.sponsor-category-sidebar h2 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Middle Column: Content Rows */
.sponsor-content-col {
    display: flex;
    flex-direction: column;
    gap: 150px;
    /* Space between major sections */
}

/* Individual Content Rows (Just List Items now) */
.sponsor-section-row {
    display: block;
    /* No Longer Grid */
}

/* Right Column: Sticky Visual Sidebar */
.sponsor-visual-sidebar {
    position: sticky;
    top: 140px;
    align-self: start;
    /* Explicitly prevent stretching */
    height: 500px;
    /* Fixed height container */
    margin-top: 0;
}

/* Reusing existing column styles with adjustments */

/* Column 2: Interactive List */
.col-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Mid-Heading & Benefit Items */
.section-mid-heading {
    font-size: 24px;
    font-weight: 600;
    color: #111;
    margin-bottom: 30px;
    line-height: 1.3;
}

.benefit-item {
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    padding-left: 0;
    border-bottom-color: var(--primary-blue);
}

.benefit-item h3 {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin: 0;
    transition: color 0.3s ease;
}

.benefit-item p {
    font-size: 1.125rem;
    font-weight: 500;
    color: #444;
    margin: 0;
    line-height: 1.5;
    max-width: 90%;
    transition: color 0.3s ease;
}

.benefit-item:hover h3,
.benefit-item:hover p {
    color: var(--primary-blue);
}

.benefit-icon {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s ease;
    color: #999;
    /* Grey initially */
    font-size: 24px;
}

/* Target the SVG specifically for stroke width */
.benefit-icon svg {
    stroke-width: 1.5px;
}

.benefit-item:hover .benefit-icon {
    opacity: 1;
    color: var(--primary-blue);
    transform: translateX(0);
}

/* Visual Card in Sticky Sidebar */
.visual-card {
    width: 100%;
    height: 100%;
    /* Fill sidebar container */
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out, transform 0.4s ease;
    will-change: transform, opacity;
}

.visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.visual-card:hover .visual-overlay {
    transform: translateY(0);
}

/* CTA Section */
.sponsor-cta-section {
    text-align: center;
    padding: 100px 20px;
    background: #111;
    color: #fff;
    margin-top: 100px;
}

.sponsor-cta-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

/* Responsive */
@media (max-width: 1200px) {
    .sponsor-layout-container {
        grid-template-columns: 150px 1fr 300px;
        /* Compress columns */
        gap: 30px;
    }
}

@media (max-width: 900px) {
    .sponsor-layout-container {
        display: flex;
        flex-direction: column;
        /* Stack vertically */
        padding: 40px 16px;
        gap: 32px !important;
    }

    .sponsor-visual-sidebar,
    .sponsor-category-sidebar {
        display: none;
        /* Hide sticky sidebars on mobile to simplify */
    }

    /* Re-introduce headers for mobile within content */
    .sponsor-section-row::before {
        content: attr(data-category-text);
        display: block;
        font-size: 32px;
        font-weight: 700;
        color: var(--primary-blue);
        margin-bottom: 20px;
        text-transform: uppercase;
    }

    .sponsor-section-row {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-bottom: 0px;
        border-bottom: 1px solid #eee;
    }

    .sponsor-content-col {
        gap: 32px !important;
    }

    .sponsor-section-row:last-child {
        border: none;
    }

    /* Mobile Benefit Accordion Styles */
    .benefit-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .benefit-image-mobile {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, margin-top 0.3s ease;
        border-radius: 8px;
        margin-top: 0;
    }

    .benefit-item.expanded .benefit-image-mobile {
        max-height: 300px;
        /* Adjust based on image aspect ratio */
        margin-top: 12px;
    }

    .benefit-image-mobile img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
        border-radius: 8px;
    }

    .sponsorship-avenues-section {
        padding: 24px 8px 24px 8px !important;
        margin-top: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .avenues-container {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
    }

    .avenues-header h2 {
        font-size: 24px !important;
    }
}

/* ------------------------------------------------------------------
   SPONSORSHIP AVENUES SECTION (New)
   ------------------------------------------------------------------ */
.sponsorship-avenues-section {
    background-color: #050505;
    /* Very dark background */
    color: #fff;
    padding: 80px 20px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

/* Green gradient/glow effect in background */
.sponsorship-avenues-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.avenues-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.avenues-header {
    margin-bottom: 50px;
    text-align: center;
}

.avenues-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.1;
}

.avenues-header h2 span {
    color: #4da3ff;
    /* Light blue accent (Footer Hover Color) */
}

.avenues-header p {
    font-size: 18px;
    color: #aeaeae;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    /* Center the paragraph block */
}

.avenues-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-overflow-scrolling: touch;
    /* Smooth scroll on iOS */
}

.avenues-table {
    width: 100%;
    min-width: 1000px;
    /* Force scroll on small screens */
    border-collapse: collapse;
    text-align: center;
}

.avenues-table th,
.avenues-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.avenues-table th {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    vertical-align: bottom;
    padding-bottom: 30px;
}

.avenues-table th small {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #aeaeae;
    margin-top: 5px;
}

.avenues-table td {
    font-size: 16px;
    color: #ccc;
    font-weight: 500;
}

/* First Column (Features) Alignment */
.avenues-table td:first-child,
.avenues-table th:first-child {
    text-align: left;
    width: 20%;
    position: sticky;
    left: 0;
    background: #050505;
    /* Cover scroll underneath */
    z-index: 10;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.avenues-table th:first-child {
    background: transparent;
    /* Or match section if needed, but header row usually transparent */
    background: #050505;
}

/* Checkmarks */
.check-icon {
    display: inline-block;
    width: 20px;
    height: 10px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    margin-bottom: 5px;
}

.avenues-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

/* Responsive */
@media (max-width: 768px) {
    .avenues-title-row h3 {
        font-size: 32px;
    }

    .avenues-table th {
        font-size: 16px;
        padding: 15px 10px;
    }

    .avenues-table td {
        font-size: 14px;
        padding: 12px 6px !important;
    }

    .avenues-table {
        width: max-content !important;
        min-width: 800px !important;
    }

    .avenues-table td:first-child,
    .avenues-table th:first-child {
        width: 160px !important;
        /* Fixed width on mobile for sticky column to ensure it doesn't squish too much */
        min-width: 160px !important;
    }

    .avenues-table th:not(:first-child),
    .avenues-table td:not(:first-child) {
        width: 100px !important;
        /* Narrower tier columns */
        padding: 12px 4px !important;
    }

    .check-icon {
        width: 14px !important;
        height: 7px !important;
        border-width: 1.5px !important;
    }
}

/* =========================================
   Team Page Styles
   ========================================= */

.team-page {
    padding-top: 120px;
    min-height: 100vh;
    padding-bottom: 80px;
}

.team-hero {
    text-align: center;
    padding: 40px 20px 80px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.team-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.1;
    text-transform: uppercase;
}

/* Split Section (President) */
.team-split-section {
    max-width: 1250px;
    margin: 0 auto 100px auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.split-content {
    flex: 1;
    max-width: 600px;
}

.role-badge {
    display: inline-block;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-blue);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.split-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.split-content p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

.split-card {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    /* Align to right to match grid edge */
}

/* Team Card Styles */
.team-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    /* Smoother, lighter shadow */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 350px;
    position: relative;
    /* Context for absolute positioning */
}

.president-card {
    max-width: 350px;
    /* Match other cards */
}

.team-card:hover {
    transform: translateY(-5px);
    /* Smoother hover shadow */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.team-img-container {
    width: 100%;
    height: 350px;
    background: #f0f0f0;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80px;
}

.team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 24px;
    text-align: left;
}

.team-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #111;
}

.team-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Repositioned LinkedIn Badge */
.linkedin-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    /* Increased z-index */
}

.linkedin-badge a {
    color: #5031cd;
    /* White icon */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    /* Container size */
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    /* Glassy background */
    backdrop-filter: blur(4px);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.linkedin-badge i {
    width: 32px;
    /* Requested Icon Size */
    height: 32px;
}

/* LinkedIn Badge styles (unchanged) */
.linkedin-badge a:hover {
    transform: scale(1.1);
    background: #fff;
    color: #0077b5;
}


/* ===========================
   EVENTS PAGE STYLES
   =========================== */

.events-page {
    padding-top: 120px;
    /* Match Team Page */
    padding-bottom: 80px;
    min-height: 100vh;
}

.events-hero {
    text-align: center;
    padding: 40px 20px 80px 20px;
    /* Match Team Hero padding */
    max-width: 800px;
    margin: 0 auto;
    /* Match Team Hero margin */
    /* Removed margin-bottom: 60px as padding handles spacing now */
}

.events-hero h1 {
    font-size: 48px;
    /* Match Team H1 */
    font-weight: 800;
    /* Match Team H1 */
    color: #111;
    margin-bottom: 16px;
    /* Match Team H1 */
    line-height: 1.1;
    /* Match Team H1 */
    text-transform: uppercase;
}

.events-grid-section {
    padding: 0 20px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Strict 3 columns as requested */
    gap: 40px;
    max-width: 1250px;
    margin: 0 auto;
    align-items: start;
    /* Prevent cards from stretching to match row height */
}

.event-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: auto;
    /* Let content dictate height */
    display: flex;
    flex-direction: column;
}

.event-img-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Square images */
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}

.event-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.event-content {
    background: #fff;
    padding: 8px 8px;
    /* Reduced side padding (was 24px) */
    flex-grow: 1;
    z-index: 2;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.event-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
    text-transform: uppercase;
}

.event-desc {
    font-size: 16px;
    /* Increased from 14px */
    font-weight: 500;
    /* Medium weight */
    color: #555;
    line-height: 1.5;

    /* Clamp to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;

    /* Always visible */
    margin-bottom: 0px;
    transition: all 0.3s ease;
}

.event-desc.expanded {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    display: block;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    /* Changed to primary blue */
    font-weight: 600;
    text-decoration: none !important;
    /* Force no underline */
    border: none;
    /* Ensure no border */
    font-size: 14px;
    margin-top: 0;
}


/* Hover Effects - mainly for shadow/lift now */
.event-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.event-card:hover .event-img-container img {
    transform: scale(1.05);
    /* Subtle zoom */
}

/* Mobile Adjustments */
@media (max-width: 1100px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on medium screens */
    }
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }

    .event-img-container {
        aspect-ratio: 1/1;
    }
}

/* Original styles removed or overridden above */

/* Grid Section */
.team-grid-section {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 40px;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    /* Increased padding between cards */
}


/* Responsive */
@media (max-width: 900px) {

    /* President section - reverse order on mobile (image first) */
    .team-split-section {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
        margin-bottom: 24px !important;
    }

    .split-content {
        max-width: 100%;
    }

    .role-badge {
        margin-bottom: 15px;
    }

    .team-card {
        max-width: 100%;
        /* Full width on mobile if needed, or keep bounded */
    }

    /* Reduce gap between team cards on mobile */
    .team-grid {
        gap: 24px;
    }

    /* Team hero section needs more bottom padding */
    .team-hero {
        padding-bottom: 40px !important;
    }

    /* Mobile Accordion for Benefit Items */
    .benefit-item {
        cursor: pointer;
        position: relative;
        overflow: visible;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        width: 100% !important;
        padding: 12px 8px !important;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
        margin: 0 0 12px 0 !important;
        -webkit-tap-highlight-color: transparent;
        border-bottom: none !important;
        text-align: left;
    }

    .benefit-item:hover,
    .benefit-item:active,
    .benefit-item.expanded {
        border-bottom-color: transparent !important;
    }

    .benefit-item:hover p,
    .benefit-item:active p,
    .benefit-item.expanded p,
    .benefit-item:hover h3,
    .benefit-item:active h3,
    .benefit-item.expanded h3,
    .benefit-item:hover .benefit-icon,
    .benefit-item:active .benefit-icon,
    .benefit-item.expanded .benefit-icon {
        color: inherit !important;
        padding-left: 0 !important;
    }

    .benefit-item p {
        flex: 1;
        margin: 0;
        padding-right: 32px;
    }

    .benefit-item .benefit-icon {
        position: absolute;
        top: 8px;
        right: 8px;
    }

    .benefit-image-mobile {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        margin-top: 0;
        width: 100%;
    }

    .benefit-item.expanded .benefit-image-mobile {
        max-height: 500px;
        margin-top: 16px;
    }

    .benefit-image-mobile img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        display: block;
    }

    .benefit-icon {
        transition: transform 0.3s ease;
    }

    .benefit-item.expanded .benefit-icon {
        transform: rotate(90deg);
    }
}

/* Mobile Hero Re-Layout */
@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        padding: 100px 16px 32px;
        /* User requested 32px bottom padding */
        /* User requested 16px side padding */
        align-items: center;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 50px;
    }

    h1 {
        font-size: 24px;
        /* User requested 24px for mobile hero */
    }

    /* Section headings like "OUR EVENTS" should be 32px */
    section h1,
    .section-header h1 {
        font-size: 32px !important;
        margin-bottom: 8px !important;
        /* User requested 8px bottom margin */
    }

    /* Section padding: 0 top, 16px bottom */
    section {
        padding-top: 0 !important;
        padding-bottom: 16px !important;
    }

    .sub-heading {
        font-size: 16px;
        /* User requested 16px */
        margin-bottom: 24px;
        /* User requested 24px */
    }

    .highlight-text,
    .year-outline {
        font-size: 36px;
        /* User requested 36px */
        letter-spacing: 2px;
        /* Consistent spacing */
    }

    /* Adjust typing duration for shorter content if needed, but css animations are time based. */

    .title-sub-row {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        /* Equal distance spacing */
        margin-bottom: 16px;
        /* User requested 16px */
    }

    .tagline {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
        font-size: 12px;
        /* User requested 12px for mobile */
    }

    .description {
        margin: 0 auto 30px;
        border-left: none;
        border-top: 3px solid var(--secondary-blue);
        padding-left: 0;
        padding-top: 20px;
        max-width: 100%;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-visuals {
        width: 100%;
        margin-top: 20px;
    }

    .game-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        animation: none;
        /* User requested to stop card movement on mobile */
    }

    /* Mobile Wave Animation */
    .wave-1,
    .wave-2,
    .wave-3 {
        animation-name: pixel-ripple-mobile;
    }

    /* Sponsor Logos Mobile */
    .sponsor-logo {
        height: 48px;
        /* User requested 32px */
        width: auto;
        margin: 0 15px;
        /* Reduced from 40px */
    }

    h2 {
        font-size: 32px !important;
        /* User requested override */
        margin-bottom: 8px !important;
        /* User requested 8px bottom margin */
    }

    .section-header h2 {
        font-size: 32px !important;
    }

    .section-sub {
        font-size: 16px !important;
        /* User requested 16px for mobile */
        margin: 0 16px 12px 16px !important;
        /* User requested 16px side, 12px bottom */
    }

    /* General paragraph text */
    p {
        font-size: 16px !important;
        font-weight: 500 !important;
        /* Medium weight */
    }

    /* Event cards */
    .event-card {
        padding: 16px !important;
    }

    .about-img {
        height: 240px;
        /* User requested 240px */
        width: auto;
    }

    .about-section {
        margin-top: 0 !important;
        /* Remove 16px margin */
        padding: 40px 0 !important;
        /* User requested 40px top/bottom padding */
    }

    .stats-container {
        margin-top: 32px !important;
        /* User requested reduced spacing (was 80px) */
    }

    .marquee-row img {
        height: 120px;
        /* User requested 120px */
        width: auto;
    }

    .marquee-overlay {
        display: none !important;
        /* User requested removal */
    }

    .sponsor-card-img,
    .past-sponsors-section .marquee-row img {
        height: 120px !important;
        /* User requested 120px */
        width: auto !important;
        padding: 0 !important;
        /* Remove any padding that might be adding to height */
        max-height: 120px !important;
    }

    .past-sponsors-section .section-header h2 span {
        display: block !important;
    }

    .speakers-section {
        padding-top: 32px !important;
        /* User requested 32px */
    }

    .past-sponsors-section {
        padding: 40px 0 !important;
        /* User requested 40px top/bottom */
    }

    .faq-section {
        padding: 32px 16px 40px 16px !important;
        /* User requested 32px top, 16px side, 40px bottom */
    }

    .accordion-header h3 {
        font-size: 16px !important;
        /* User requested 16px */
    }

    .accordion-header {
        padding: 16px !important;
        /* User requested 16px */
    }

    .site-footer {
        padding: 40px 16px 16px 16px !important;
        /* User requested 40px top, 16px bottom/side */
        margin-top: 0 !important;
    }
}

@keyframes pixel-ripple-mobile {
    0% {
        width: 200px;
        height: 200px;
        opacity: 1;
        border-width: 20px;
    }

    100% {
        width: 180vw;
        /* Go effectively off-screen */
        height: 180vw;
        opacity: 0;
        border-width: 100px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    .highlight-text,
    .year-outline {
        font-size: 42px;
    }

    .game-card {
        padding: 20px;
    }

    .countdown-container .timer .number {
        font-size: 24px;
    }

    .marquee-row img {
        height: 120px !important;
        /* User requested 120px, override previous 180px */
    }

    .speakers-marquee {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        /* Scroll snap can interfere with continuous marquee, removing it for smooth hybrid behavior */
        /* scroll-snap-type: x mandatory; */
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE 10+ */
    }

    .speakers-marquee::-webkit-scrollbar {
        display: none;
        /* WebKit */
    }

    .marquee-track {
        /* Restore animation */
        width: fit-content;
        gap: 20px;
        padding: 0 20px;
    }

    /* Pause on touch/hover to allow easier scrolling */
    .speakers-marquee:active .marquee-track,
    .speakers-marquee:hover .marquee-track {
        animation-play-state: paused;
    }

    .speaker-card {
        /* scroll-snap-align: center; Removed for smooth marquee */
        margin-right: 0;
    }

    /* About Marquee Mobile - Draggable + Animated */
    .marquee-wrapper {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .marquee-wrapper::-webkit-scrollbar {
        display: none;
    }

    /* Pause About marquee on touch */
    .marquee-wrapper:active .marquee-content-about,
    .marquee-wrapper:hover .marquee-content-about {
        animation-play-state: paused;
    }
}

/* Extra Small Mobile Devices (420px and below) */
@media (max-width: 420px) {
    h1 {
        font-size: 24px;
        /* Maintain readability on very small screens */
    }

    /* Section headings like "OUR EVENTS" should be 32px */
    section h1,
    .section-header h1 {
        font-size: 32px !important;
        margin-bottom: 8px !important;
        /* User requested 8px bottom margin */
    }

    /* Section padding: 0 top, 16px bottom */
    section {
        padding-top: 0 !important;
        padding-bottom: 16px !important;
    }

    /* Ensure hamburger is visible on very small screens */
    .hamburger {
        display: block;
        z-index: 10001;
        position: relative;
    }

    /* Ensure nav drawer works on very small screens */
    .nav-links {
        display: flex;
        position: fixed;
        top: -100vh;
        left: 0;
        width: 100%;
        min-height: 50vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 40px 0;
        transition: top 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 10000;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.open {
        top: 0;
        /* Cover entire viewport including navbar */
        padding-top: 80px;
        /* Add top padding to make room for close icon */
    }

    /* Reposition hamburger when drawer is open */
    .nav-links.open~.hamburger {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 10002;
        /* Above the drawer to ensure cross icon is visible */
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        background: transparent !important;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-links.open~.hamburger i,
    .nav-links.open~.hamburger svg {
        color: var(--text-color) !important;
        stroke: var(--text-color) !important;
        width: 24px !important;
        height: 24px !important;
    }

    .nav-links.open~.hamburger:hover {
        background: transparent;
    }

    /* Mobile nav link styling */
    .nav-links li a {
        font-size: 18px;
        font-weight: 500;
        /* Medium weight */
    }

    /* Add spacing above Register button */
    .nav-links .mobile-only {
        margin-top: 24px;
        margin-bottom: 32px;
    }

    /* Style Register link as CTA button on mobile */
    .nav-links .mobile-only a {
        background: var(--primary-blue);
        color: white;
        padding: 12px 32px;
        border-radius: 8px;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 16px;
        letter-spacing: 1px;
        border: none;
        transition: all 0.3s ease;
    }

    .nav-links .mobile-only a:hover {
        background: var(--accent-purple);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    }

    /* Section headings and subheadings */
    h2,
    .section-header h2 {
        font-size: 32px !important;
    }

    .section-sub {
        font-size: 16px !important;
    }

    /* General paragraph text */
    p {
        font-size: 16px !important;
        font-weight: 500 !important;
        /* Medium weight */
    }

    /* Event cards */
    .event-card {
        padding: 16px !important;
    }

    /* President section - reverse order on mobile (image first) */
    .team-split-section {
        flex-direction: column-reverse;
        margin-bottom: 24px !important;
    }

    /* Reduce gap between team cards on mobile */
    .team-grid {
        gap: 24px;
    }

    /* Team hero section needs more bottom padding */
    .team-hero {
        padding-bottom: 40px !important;
    }

    /* Mobile Accordion for Benefit Items */
    .benefit-item {
        cursor: pointer;
        position: relative;
        overflow: visible;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        width: 100% !important;
        padding: 12px 8px !important;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
        margin: 0 0 12px 0 !important;
        -webkit-tap-highlight-color: transparent;
        border-bottom: none !important;
        text-align: left;
    }

    .benefit-item:hover,
    .benefit-item:active,
    .benefit-item.expanded {
        border-bottom-color: transparent !important;
    }

    .benefit-item:hover p,
    .benefit-item:active p,
    .benefit-item.expanded p,
    .benefit-item:hover h3,
    .benefit-item:active h3,
    .benefit-item.expanded h3,
    .benefit-item:hover .benefit-icon,
    .benefit-item:active .benefit-icon,
    .benefit-item.expanded .benefit-icon {
        color: inherit !important;
        padding-left: 0 !important;
    }

    .benefit-item p {
        flex: 1;
        margin: 0;
        padding-right: 32px;
    }

    .benefit-item .benefit-icon {
        position: absolute;
        top: 8px;
        right: 8px;
    }

    .benefit-image-mobile {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        margin-top: 0;
        width: 100%;
    }

    .benefit-item.expanded .benefit-image-mobile {
        max-height: 500px;
        margin-top: 16px;
    }

    .benefit-image-mobile img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        display: block;
    }

    .benefit-icon {
        transition: transform 0.3s ease;
    }

    .benefit-item.expanded .benefit-icon {
        transform: rotate(90deg);
    }
}