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

:root {
    --cyan: #00f0ff;
    --magenta: #ff0066;
    --orange: #ff6b00;
    --green: #00ff88;
    --dark-bg: #0a0a0f;
    --card-bg: rgba(10, 10, 20, 0.85);
    --text-primary: #e0e0e0;
    --text-secondary: #888;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Rajdhani", sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

.hosting-platform {
    width: 64px;
    height: auto;
}

/* Film Grain Overlay */
.film-grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    animation: grain 0.3s steps(3) infinite;
}

@keyframes grain {
    0%,
    100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(-2px, 1px);
    }
    66% {
        transform: translate(1px, -1px);
    }
}

/* CRT Scanlines */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.12) 0px,
        rgba(0, 0, 0, 0.12) 1px,
        transparent 1px,
        transparent 3px
    );
    animation: scanlineMove 8s linear infinite;
}

@keyframes scanlineMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 100px;
    }
}

/* Rain Canvas */
#rainCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

/* Code Matrix Background */
#codeCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.15;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: max(700px, 100vh);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem 0 5rem;
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: 1;
    opacity: 0.3;
}

.hero-glow-1 {
    top: -200px;
    left: -200px;
    background: var(--cyan);
}

.hero-glow-2 {
    bottom: -200px;
    right: -200px;
    background: var(--magenta);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 1rem;
}

.event-badge {
    display: inline-block;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.85rem;
    color: var(--green);
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--green);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    animation: badgePulse 2s ease-in-out infinite;
}

.event-badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 255, 136, 0.2),
        transparent
    );
    animation: badgeSweep 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%,
    100% {
        box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 255, 136, 0.5);
    }
}

@keyframes badgeSweep {
    0% {
        left: -100%;
    }
    50%,
    100% {
        left: 100%;
    }
}

.glitch-title {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(2rem, 7vw, 5rem);
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    margin-bottom: 0.5rem;
    animation: textShadow 4s infinite;
}

.glitch-title::before,
.glitch-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-title::before {
    color: var(--cyan);
    animation: glitch1 2.5s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translateX(-2px);
}

.glitch-title::after {
    color: var(--magenta);
    animation: glitch2 2.5s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    transform: translateX(2px);
}

@keyframes glitch1 {
    0%,
    100% {
        transform: translateX(0);
    }
    15% {
        transform: translateX(-3px);
    }
    30% {
        transform: translateX(2px);
    }
    45% {
        transform: translateX(-1px);
    }
    60% {
        transform: translateX(3px);
    }
    75% {
        transform: translateX(-2px);
    }
}

@keyframes glitch2 {
    0%,
    100% {
        transform: translateX(0);
    }
    15% {
        transform: translateX(3px);
    }
    30% {
        transform: translateX(-2px);
    }
    45% {
        transform: translateX(1px);
    }
    60% {
        transform: translateX(-3px);
    }
    75% {
        transform: translateX(2px);
    }
}

@keyframes textShadow {
    0%,
    100% {
        text-shadow:
            0 0 20px rgba(255, 255, 255, 0.5),
            0 0 40px var(--cyan);
    }
    50% {
        text-shadow:
            0 0 30px rgba(255, 255, 255, 0.7),
            0 0 60px var(--magenta);
    }
}

.subtitle {
    font-family: "JetBrains Mono", monospace;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    margin-top: 1rem;
    text-transform: uppercase;
}

.coffee-icon {
    display: inline-block;
    color: var(--orange);
    font-size: 1.5rem;
    margin: 0 0.5rem;
    animation: steam 2s ease-in-out infinite;
}

@keyframes steam {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Countdown */
.countdown-container {
    margin-top: 3rem;
}

.countdown-label {
    font-family: "Orbitron", sans-serif;
    font-size: 0.9rem;
    color: var(--cyan);
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
}

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

.countdown-item {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 1.5rem 2rem;
    min-width: 100px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.countdown-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

.countdown-item:hover::before {
    transform: scaleX(1);
}

.countdown-value {
    font-family: "Orbitron", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.countdown-unit {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Hero CTA Buttons */
.hero-cta {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    z-index: 15;
    position: relative;
}

.cta-btn {
    font-family: "Orbitron", sans-serif;
    font-size: 1rem;
    padding: 1rem 2.5rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    display: inline-block;
}

.cta-btn-primary {
    background: linear-gradient(135deg, var(--magenta), var(--orange));
    color: #fff;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(255, 0, 102, 0.4);
}

.cta-btn-primary:hover {
    box-shadow: 0 0 35px rgba(255, 0, 102, 0.6);
    transform: translateY(-3px);
}

.cta-btn-tertiary {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--cyan);
    color: var(--cyan);
}

.cta-btn-tertiary:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    transform: translateY(-3px);
}

.cta-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

/* Organizers */
.organizers {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.organizers-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}

.organizers-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12rem;
    flex-wrap: wrap;
}

.organizer {
    font-family: "Orbitron", sans-serif;
    font-size: 0.9rem;
    color: var(--text-primary);
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #8bebf2;
    width: 120px;
    height: 80px;
    border-radius: 12%;
}

.organizer img {
    max-width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.organizer a {
    color: inherit;
    text-decoration: none;
}

.organizer::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: width 0.3s ease;
}

.organizer:hover {
    border-color: rgba(0, 240, 255, 0.4);
    color: var(--cyan);
}

.organizer:hover::after {
    width: 60%;
}

.organizer:nth-child(2):hover {
    color: var(--magenta);
}

.organizer:nth-child(2)::after {
    background: var(--magenta);
}

.organizer:nth-child(3):hover {
    color: var(--green);
}

.organizer:nth-child(3)::after {
    background: var(--green);
}

/* Section Styles */
section {
    position: relative;
    z-index: 10;
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    color: #fff;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: linear-gradient(
        135deg,
        rgba(10, 10, 20, 0.9),
        rgba(20, 15, 25, 0.9)
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(0, 240, 255, 0.1),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--cyan);
    position: relative;
    z-index: 2;
}

.feature-card:nth-child(2) .feature-icon {
    color: var(--magenta);
}
.feature-card:nth-child(3) .feature-icon {
    color: var(--orange);
}
.feature-card:nth-child(4) .feature-icon {
    color: var(--green);
}

.feature-title {
    font-family: "Orbitron", sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
    position: relative;
    z-index: 2;
}

.feature-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* Code Snippet Preview */
.code-preview {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 1.5rem;
    margin-top: 2rem;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.85rem;
    overflow-x: auto;
    overflow-y: auto;
}

.mock-problem-panel {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.mock-problem-title {
    font-family: "Orbitron", sans-serif;
    font-size: 1.1rem;
    color: var(--cyan);
}

.mock-problem-desc {
    color: var(--text-secondary);
}

.mock-problem-link {
    margin-top: 0.5rem;
}

.code-line {
    display: block;
    padding: 0.2rem 0;
}

.code-keyword {
    color: var(--magenta);
}
.code-function {
    color: var(--cyan);
}
.code-string {
    color: var(--green);
}
.code-comment {
    color: var(--text-secondary);
}
.code-number {
    color: var(--orange);
}

/* Prizes Section */
.prizes-section {
    background: linear-gradient(
        135deg,
        rgba(5, 5, 10, 0.95),
        rgba(15, 10, 20, 0.95)
    );
    padding: 5rem 0;
    margin: 3rem 0;
    position: relative;
}

.prizes-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--cyan),
        var(--magenta),
        transparent
    );
}

.prizes-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--magenta),
        var(--cyan),
        transparent
    );
}

.prizes-container {
    max-width: 1200px;
    margin: 0 auto;
}

.prizes-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .prizes-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
}

.prize-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.prize-card:hover {
    transform: scale(1.05);
    border-color: var(--cyan);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.15);
}

.prize-rank {
    font-family: "Orbitron", sans-serif;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--cyan), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prize-label {
    font-family: "Orbitron", sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    margin-top: 0.5rem;
}

.prize-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Sponsors */
.sponsors-section {
    padding-top: 2rem;
}

.sponsors-shell {
    background: linear-gradient(
        135deg,
        rgba(10, 10, 18, 0.9),
        rgba(18, 12, 26, 0.9)
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.sponsors-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(0, 240, 255, 0.08),
            transparent 55%
        ),
        radial-gradient(
            circle at 85% 75%,
            rgba(255, 0, 102, 0.08),
            transparent 55%
        );
    pointer-events: none;
}

.sponsors-shell::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--cyan));
    opacity: 0.8;
}

.sponsors-header {
    padding: 0 2rem;
}

.sponsors-subtitle {
    margin-top: -0.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.sponsors-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(
        90deg,
        transparent,
        #000 8%,
        #000 92%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent,
        #000 8%,
        #000 92%,
        transparent
    );
}

.sponsors-marquee::before,
.sponsors-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.sponsors-marquee::before {
    left: 0;
    background: linear-gradient(90deg, rgba(10, 10, 15, 0.9), transparent);
}

.sponsors-marquee::after {
    right: 0;
    background: linear-gradient(270deg, rgba(10, 10, 15, 0.9), transparent);
}

.sponsors-track {
    display: flex;
    width: max-content;
    padding: 0.5rem 0;
    animation: sponsorsScroll var(--sponsors-scroll-duration, 28s)
        linear infinite;
    will-change: transform;
}

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

.sponsors-row {
    display: flex;
    flex: 0 0 auto;
    gap: 1.25rem;
    padding: 0 1rem;
}

.sponsor-link {
    width: 180px;
    min-height: 92px;
    padding: 0.9rem;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid rgba(0, 240, 255, 0.18);
    background:
        linear-gradient(
            135deg,
            rgba(0, 240, 255, 0.04),
            rgba(255, 0, 102, 0.04)
        ),
        rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.sponsor-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.12),
        transparent
    );
    transition: left 0.4s ease;
}

.sponsor-link:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 240, 255, 0.45);
    box-shadow: 0 0 22px rgba(0, 240, 255, 0.14);
}

.sponsor-link:hover::before {
    left: 140%;
}

.sponsor-card-inner {
    width: 100%;
    display: grid;
    place-items: center;
    gap: 0.35rem;
    text-align: center;
}

.sponsor-logo {
    max-width: 100%;
    max-height: 42px;
    object-fit: contain;
    filter:
        drop-shadow(0 0 8px rgba(0, 240, 255, 0.15))
        saturate(1.05);
}

.sponsor-logo.is-missing {
    display: none;
}

.sponsor-name {
    font-family: "Orbitron", sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: #fff;
}

.sponsor-url {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.65rem;
    color: var(--text-secondary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-wrap: balance;
}

.sponsors-empty {
    padding: 1rem 2rem 0;
    color: var(--text-secondary);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.85rem;
}

@keyframes sponsorsScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(
            calc(-1 * var(--sponsors-loop-distance, 600px))
        );
    }
}

/* Registration CTA */
.cta-section {
    text-align: center;
    padding: 5rem 2rem;
}

.cta-title {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin-bottom: 2rem;
    color: #fff;
}

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

.cta-btn-secondary {
    background: transparent;
    border: 1px solid var(--magenta);
    color: var(--magenta);
}

.cta-btn-secondary:hover {
    background: rgba(255, 0, 102, 0.1);
    box-shadow: 0 0 30px rgba(255, 0, 102, 0.3);
    transform: translateY(-3px);
}

/* Venue */
.venue-section {
    padding: 1rem 2rem 5rem;
}

.venue-shell {
    max-width: 980px;
    margin: 0 auto;
}

.venue-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.venue-subtitle {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.venue-map-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.22);
    background: rgba(5, 8, 18, 0.7);
    box-shadow:
        0 18px 60px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 0, 102, 0.08) inset;
}

.venue-map-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(0, 240, 255, 0.08),
            transparent 24%
        ),
        linear-gradient(
            90deg,
            rgba(255, 0, 102, 0.05),
            transparent 28%,
            rgba(0, 240, 255, 0.04)
        );
    z-index: 1;
}

.venue-map-frame {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: min(58vh, 420px);
    border: 0;
    background: rgba(8, 8, 12, 0.9);
}

.venue-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
}

/* FAQ */
.faq-section {
    padding: 0 2rem 5rem;
}

.faq-shell {
    max-width: 980px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.faq-subtitle {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.faq-list {
    display: grid;
    gap: 0.85rem;
}

.faq-item {
    border: 1px solid rgba(0, 240, 255, 0.18);
    border-radius: 14px;
    background:
        linear-gradient(
            135deg,
            rgba(0, 240, 255, 0.05),
            rgba(255, 0, 102, 0.03)
        ),
        rgba(8, 10, 18, 0.78);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.faq-item[open] {
    border-color: rgba(0, 240, 255, 0.35);
    box-shadow:
        0 10px 34px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(0, 240, 255, 0.08) inset;
}

.faq-item-alert {
    border-color: rgba(255, 0, 102, 0.26);
}

.faq-question {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 1rem 3rem 1rem 1rem;
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: #fff;
    line-height: 1.25;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cyan);
    font-family: "JetBrains Mono", monospace;
    font-size: 1.1rem;
    opacity: 0.95;
}

.faq-item[open] .faq-question::after {
    content: "-";
}

.faq-answer {
    margin: 0;
    padding: 0 1rem 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 0.95rem;
}

/* Terminal Animation */
.terminal {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 1rem 1.5rem;
    margin: 2rem auto;
    max-width: 500px;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.85rem;
}

.terminal-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dot:nth-child(1) {
    background: #ff5f56;
}
.terminal-dot:nth-child(2) {
    background: #ffbd2e;
}
.terminal-dot:nth-child(3) {
    background: #27ca40;
}

.terminal-line {
    color: var(--green);
}

.terminal-prompt {
    color: var(--cyan);
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 1.1em;
    background: var(--green);
    margin-left: 2px;
    animation: blink 0.7s infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%,
    50% {
        opacity: 1;
    }
    51%,
    100% {
        opacity: 0;
    }
}

/* Footer */
footer {
    position: relative;
    z-index: 10;
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--cyan);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    animation: bounce 2s infinite;
    pointer-events: none;
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--cyan), transparent);
    margin: 0 auto;
}

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

/* Responsive */
@media (max-width: 768px) {
    .countdown {
        gap: 0.75rem;
    }

    .countdown-item {
        padding: 1rem 1.5rem;
        min-width: 80px;
    }

    .countdown-value {
        font-size: 2rem;
    }

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

    .cta-buttons,
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 280px;
    }

    .sponsors-header {
        padding: 0 1.25rem;
    }

    .sponsors-subtitle {
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }

    .venue-section {
        padding: 0.5rem 1rem 4rem;
    }

    .venue-subtitle {
        font-size: 0.72rem;
        line-height: 1.45;
    }

    .venue-map-frame {
        height: 320px;
    }

    .faq-section {
        padding: 0 1rem 4rem;
    }

    .faq-subtitle {
        font-size: 0.72rem;
        line-height: 1.45;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 0.9rem 2.6rem 0.9rem 0.9rem;
    }

    .faq-answer {
        padding: 0 0.9rem 0.9rem;
        font-size: 0.9rem;
    }

    .sponsor-link {
        width: 150px;
        min-height: 82px;
        padding: 0.75rem;
    }

    .sponsor-name {
        font-size: 0.75rem;
    }

    .sponsor-url {
        font-size: 0.6rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    /* Keep sponsors as a marquee even when reduced-motion is enabled. */
    .sponsors-track {
        display: flex;
        width: max-content;
        gap: 0;
        animation-name: sponsorsScroll !important;
        animation-duration: var(--sponsors-scroll-duration, 28s) !important;
        animation-timing-function: linear !important;
        animation-iteration-count: infinite !important;
    }

    .sponsors-row {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 1.25rem;
    }

    .sponsors-row[aria-hidden="true"] {
        display: flex;
    }
}
