/* ==========================================
   РАЗИГРА 2.0 — БИТОЛСКИ GAME JAM
   Насока „АРКАДА DELUXE"
   Истиот пиксел-CRT дух како 1.0, но врз подлабока
   виолетова база и со поостри бои.
   ========================================== */

:root {
    /* Основни бои */
    --primary: #ff3d81;      /* магента — главен акцент */
    --secondary: #c4285f;    /* потемна магента за сенки */
    --accent: #ffd93d;       /* злато — истакнати работи */
    --accent-alt: #22e0d0;   /* тиркизна — акции, „оди" */

    /* Подлоги */
    --darker: #0b0714;       /* позадина на страницата */
    --dark: #17102a;         /* панели, ленти */
    --panel: #120d20;        /* картички врз позадината */
    --line: #2a1f45;         /* рабови и линии */

    /* Текст */
    --light: #efe6ff;        /* основен текст */
    --muted: #a493c9;        /* втор ред информации */
    --dim: #6d5f8c;          /* ситни и неактивни работи */

    /* Сенки во пиксел стил */
    --pixel-shadow: 4px 4px 0px rgba(0, 0, 0, 0.55);
    --pixel-shadow-sm: 2px 2px 0px rgba(0, 0, 0, 0.55);

    /* Неонски отсјаи */
    --neon-pink: rgba(255, 61, 129, 0.6);
    --neon-cyan: rgba(34, 224, 208, 0.6);
    --neon-yellow: rgba(255, 217, 61, 0.6);

    /* Потемно злато за долниот раб на копчињата */
    --accent-deep: #c9a415;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Press Start 2P', monospace;
    background-color: var(--darker);
    color: var(--light);
    line-height: 2;
    font-size: 12px;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    width: 100%;
}

/* Arcade CRT Scanlines Effect */
.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.15) 0px,
            rgba(0, 0, 0, 0.15) 1px,
            transparent 1px,
            transparent 2px
        );
    animation: scanline-flicker 0.1s infinite;
}

@keyframes scanline-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.98; }
}

/* Arcade Cabinet Vignette */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        transparent 60%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

/* Pixel Decoration - Enhanced */
.pixel-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 20% 80%, var(--primary) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, var(--accent) 2px, transparent 2px),
        radial-gradient(circle at 40% 40%, var(--accent-alt) 1px, transparent 1px),
        radial-gradient(circle at 60% 70%, var(--secondary) 1px, transparent 1px),
        radial-gradient(circle at 10% 30%, var(--primary) 1px, transparent 1px),
        radial-gradient(circle at 90% 60%, var(--accent-alt) 2px, transparent 2px);
    background-size: 150px 150px;
    opacity: 0.4;
    animation: pixel-float 20s infinite linear;
}

@keyframes pixel-float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-50px) rotate(1deg); }
    100% { transform: translateY(-100px) rotate(0deg); }
}

/* Navigation - Arcade Style */
.pixel-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--darker) 0%, rgba(15, 15, 26, 0.95) 100%);
    border-bottom: 4px solid var(--primary);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.3);
}

.pixel-nav::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--accent-alt), 
        var(--primary), 
        var(--accent), 
        var(--primary), 
        var(--accent-alt)
    );
    background-size: 200% 100%;
    animation: nav-rainbow 4s linear infinite;
}

@keyframes nav-rainbow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.pixel-nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    flex-wrap: wrap;
}

.pixel-nav a {
    color: var(--light);
    text-decoration: none;
    padding: 10px 20px;
    transition: all 0.2s;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pixel-nav a:hover {
    color: var(--accent);
    text-shadow: 
        0 0 10px var(--accent),
        0 0 20px var(--accent),
        0 0 30px var(--accent);
    transform: scale(1.1);
}

.pixel-nav a::before {
    content: '►';
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    display: inline-block;
    font-size: 0.8em;
    margin-top: -2px; /* Fine-tune vertical alignment */
}

.pixel-nav a:hover::before {
    opacity: 1;
    animation: arrow-bounce 0.3s infinite alternate;
}

@keyframes arrow-bounce {
    from { transform: translateX(0); }
    to { transform: translateX(3px); }
}

/* Hero Section - Arcade Cabinet Style */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    background: 
        linear-gradient(180deg, var(--darker) 0%, var(--dark) 50%, var(--darker) 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0.15;
    filter: grayscale(100%) contrast(1.2) brightness(0.8);
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: luminosity;
}

.hero-bg-strip {
    flex: 1;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-right: 1px solid rgba(0,0,0,0.2);
    transition: opacity 0.5s ease;
}

.hero-bg-strip:last-child {
    border-right: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 50%, rgba(255,107,157,0.03) 50%),
        linear-gradient(0deg, transparent 50%, rgba(248,181,0,0.03) 50%);
    background-size: 4px 4px;
}

/* Animated stars in hero */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 100px 50px, var(--accent), transparent),
        radial-gradient(2px 2px at 200px 150px, var(--primary), transparent),
        radial-gradient(1px 1px at 300px 100px, var(--light), transparent),
        radial-gradient(2px 2px at 400px 200px, var(--accent-alt), transparent),
        radial-gradient(1px 1px at 500px 50px, var(--accent), transparent),
        radial-gradient(2px 2px at 600px 180px, var(--primary), transparent),
        radial-gradient(1px 1px at 150px 200px, var(--light), transparent),
        radial-gradient(2px 2px at 350px 250px, var(--accent-alt), transparent);
    background-size: 700px 300px;
    animation: twinkle 5s infinite;
    opacity: 0.6;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.3; }
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: hero-appear 1s ease-out;
}

@keyframes hero-appear {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.pixel-logo {
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 20px;
    letter-spacing: 4px;
    text-shadow: 0 0 20px var(--neon-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* Sticker Styles */
.logo-wrapper {
    position: relative;
    display: inline-block;
    margin-right: 10px;
}

.crossed-out {
    text-decoration: line-through;
    text-decoration-thickness: 3px;
    text-decoration-color: var(--primary);
    opacity: 0.7;
}

.sticker {
    position: absolute;
    top: -25px;
    left: -10px;
    background: var(--accent);
    color: var(--dark);
    padding: 4px 8px;
    font-size: 12px;
    transform: rotate(-10deg);
    border: 2px solid var(--light);
    box-shadow: 
        4px 4px 0 rgba(0,0,0,0.3),
        0 0 15px var(--neon-yellow);
    z-index: 10;
    animation: float-sticker 3s ease-in-out infinite;
    white-space: nowrap;
    letter-spacing: 1px;
}

@keyframes float-sticker {
    0%, 100% { transform: rotate(-10deg) translateY(0); }
    50% { transform: rotate(-8deg) translateY(-8px); }
}

.hero h1 {
    font-size: clamp(24px, 8vw, 64px);
    color: var(--primary);
    text-shadow: 
        4px 4px 0 var(--secondary),
        8px 8px 0 var(--dark),
        0 0 30px var(--neon-pink);
    margin-bottom: 30px;
    animation: title-pulse 2s infinite;
}

@keyframes title-pulse {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.02);
        filter: brightness(1.1);
    }
}

/* Glitch Effect */
.glitch {
    position: relative;
}

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

.glitch::before {
    color: var(--accent);
    animation: glitch-1 0.3s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(-2px, -2px);
    opacity: 0.7;
}

.glitch::after {
    color: var(--accent-alt);
    animation: glitch-2 0.3s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    transform: translate(2px, 2px);
    opacity: 0.7;
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(-2px, -2px); }
    25% { transform: translate(2px, 0px); }
    50% { transform: translate(-1px, 1px); }
    75% { transform: translate(1px, -1px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(2px, 2px); }
    25% { transform: translate(-2px, 0px); }
    50% { transform: translate(1px, -1px); }
    75% { transform: translate(-1px, 1px); }
}

.date-box {
    background: var(--dark);
    border: 4px solid var(--accent);
    padding: 15px 30px;
    margin: 20px auto;
    display: inline-block;
    box-shadow: 
        var(--pixel-shadow),
        0 0 20px var(--neon-yellow),
        inset 0 0 20px rgba(248, 181, 0, 0.1);
    font-size: 14px;
    animation: date-glow 2s ease-in-out infinite alternate;
}

@keyframes date-glow {
    from { box-shadow: var(--pixel-shadow), 0 0 20px var(--neon-yellow), inset 0 0 20px rgba(248, 181, 0, 0.1); }
    to { box-shadow: var(--pixel-shadow), 0 0 40px var(--neon-yellow), inset 0 0 30px rgba(248, 181, 0, 0.2); }
}

.pixel-star {
    color: var(--accent);
    animation: spin 3s infinite linear;
    display: inline-block;
    text-shadow: 0 0 10px var(--accent);
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.tagline {
    color: var(--accent-alt);
    margin: 30px 0;
    font-size: 10px;
    letter-spacing: 2px;
    text-shadow: 0 0 15px var(--neon-cyan);
}

.blink {
    animation: blink 1s infinite;
}

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

/* Buttons - Arcade Style */
.pixel-btn {
    display: inline-block;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--dark);
    padding: 15px 30px;
    text-decoration: none;
    border: none;
    box-shadow: 
        4px 4px 0 var(--secondary),
        8px 8px 0 var(--dark),
        0 0 20px var(--neon-pink);
    cursor: pointer;
    transition: all 0.1s;
    font-family: inherit;
    font-size: 12px;
    position: relative;
    overflow: hidden;
}

.pixel-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: btn-shine 3s infinite;
}

@keyframes btn-shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    50%, 100% { transform: translateX(100%) rotate(45deg); }
}

.pixel-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 
        2px 2px 0 var(--secondary),
        4px 4px 0 var(--dark),
        0 0 30px var(--neon-pink);
    filter: brightness(1.1);
}

.pixel-btn:active {
    transform: translate(4px, 4px);
    box-shadow: none;
}

.pixel-btn.secondary {
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
    box-shadow: 
        4px 4px 0 var(--accent-deep),
        8px 8px 0 var(--dark),
        0 0 20px var(--neon-yellow);
}

.pixel-btn.large {
    padding: 20px 50px;
    font-size: 14px;
    animation: btn-pulse 2s infinite;
}

@keyframes btn-pulse {
    0%, 100% { box-shadow: 4px 4px 0 var(--secondary), 8px 8px 0 var(--dark), 0 0 20px var(--neon-pink); }
    50% { box-shadow: 4px 4px 0 var(--secondary), 8px 8px 0 var(--dark), 0 0 40px var(--neon-pink); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    animation: bounce 2s infinite;
    color: var(--accent);
    font-size: 10px;
}

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

/* Section Styles */
section {
    padding: 80px 20px;
    width: 100%;
}

/* Content Containers - Centered with max-width */
.hero-content,
.section-title,
.about-grid,
.schedule-container,
.venue-content,
.register-content,
.sponsors-grid,
.faq-grid,
.contact-content,
.history-container,
.gallery-section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: clamp(16px, 4vw, 24px);
    color: var(--primary);
    margin-bottom: 50px;
    text-shadow: 
        var(--pixel-shadow-sm),
        0 0 20px var(--neon-pink);
    position: relative;
    display: block; /* Changed from inline-block for proper centering */
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary));
}

.section-title::before {
    right: calc(50% + 200px);
    background: linear-gradient(90deg, transparent, var(--primary));
}

.section-title::after {
    left: calc(50% + 200px);
    background: linear-gradient(90deg, var(--primary), transparent);
}

@media (max-width: 768px) {
    .section-title::before,
    .section-title::after {
        display: none;
    }
}

/* About Section */
.about {
    background: var(--dark);
}

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

.info-card {
    background: var(--darker);
    border: 4px solid var(--secondary);
    padding: 30px;
    text-align: center;
    box-shadow: var(--pixel-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: left 0.5s;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 
        var(--pixel-shadow),
        0 0 30px var(--neon-pink);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 15px;
    animation: icon-bounce 2s ease-in-out infinite;
}

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

.info-card h3 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 12px;
}

.info-card p {
    font-size: 10px;
    line-height: 2.5;
}

/* Schedule Section */
.schedule {
    background: var(--darker);
}

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

.day-block {
    background: var(--dark);
    border: 4px solid var(--accent-alt);
    box-shadow: var(--pixel-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.day-block::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-alt), var(--primary), var(--accent), var(--accent-alt));
    background-size: 400% 400%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    animation: gradient-border 3s ease infinite;
}

@keyframes gradient-border {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.day-block:hover::before {
    opacity: 1;
}

.day-block:hover {
    transform: translateY(-5px);
    box-shadow: 
        var(--pixel-shadow),
        0 0 30px var(--neon-cyan);
}

.day-header {
    background: var(--accent-alt);
    color: var(--dark);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.day-badge {
    background: var(--dark);
    color: var(--accent-alt);
    padding: 5px 15px;
}

.event-list {
    list-style: none;
    padding: 20px;
}

.event-list li {
    padding: 12px 0;
    border-bottom: 2px dashed var(--dark);
    font-size: 10px;
    transition: all 0.2s;
    position: relative;
}

.event-list li:hover {
    padding-left: 10px;
    background: rgba(0, 212, 170, 0.15);
    color: #000;
}

.event-list li:hover .time {
    transform: scale(1.1);
    color: #000;
}

.event-list li:last-child {
    border-bottom: none;
}

.time {
    color: var(--accent);
    margin-right: 15px;
    text-shadow: 0 0 8px var(--neon-yellow);
    display: inline-block;
    min-width: 50px;
}

.schedule-note {
    text-align: center;
    margin-top: 30px;
    color: var(--secondary);
    font-size: 10px;
}

/* Venue Section */
.venue {
    background: var(--dark);
}

.venue-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.venue-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    padding: 10px 20px;
    margin-bottom: 20px;
}

.venue-info h3 {
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 20px;
}

.venue-address {
    margin-bottom: 20px;
    line-height: 2.5;
}

.venue-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.feature {
    background: var(--darker);
    padding: 10px 15px;
    border: 2px solid var(--accent-alt);
    font-size: 10px;
}

.venue-map {
    background: var(--darker);
    border: 4px solid var(--secondary);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: var(--secondary);
}

.map-placeholder span {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.map-placeholder small {
    font-size: 8px;
}

/* Register Section */
.register {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    border-top: 4px solid var(--accent);
    border-bottom: 4px solid var(--accent);
}

.register-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .register-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.register-text {
    font-size: 11px;
    margin-bottom: 30px;
    line-height: 2.5;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .stats-row {
        justify-content: center;
    }
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    color: var(--accent);
    text-shadow: var(--pixel-shadow-sm);
}

.stat-label {
    font-size: 8px;
    color: var(--secondary);
}

.requirements h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 11px;
}

.requirements ul {
    list-style: none;
}

.requirements li {
    padding: 8px 0;
    font-size: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.requirements li::before {
    content: '►';
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px; /* Align with text top */
}

.register-form-container {
    text-align: center;
}

.form-note {
    margin-top: 20px;
    color: var(--secondary);
    font-size: 10px;
}

/* Sponsors Section */
.sponsors {
    background: var(--darker);
}

.sponsors-marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.sponsors-marquee {
    display: inline-flex;
    white-space: nowrap;
    animation: sponsors-scroll 20s linear infinite;
}

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

.sponsors-image {
    height: auto;
    max-height: 120px;
    margin-right: 40px;
}

@keyframes sponsors-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* If image fits, center it without animation */
@media (min-width: 1200px) {
    .sponsors-marquee-container {
        display: flex;
        justify-content: center;
    }
    
    .sponsors-marquee {
        animation: none;
    }
    
    .sponsors-marquee .sponsors-image:last-child {
        display: none;
    }
    
    .sponsors-image {
        margin-right: 0;
    }
}

.sponsors-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px;
}

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

.sponsor-slot {
    background: var(--dark);
    border: 4px dashed var(--secondary);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sponsor-slot::before {
    content: '?';
    position: absolute;
    font-size: 60px;
    opacity: 0.1;
    animation: question-float 3s ease-in-out infinite;
}

@keyframes question-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(10deg); }
}

.sponsor-slot:hover {
    border-color: var(--primary);
    border-style: solid;
    color: var(--primary);
    background: rgba(255, 107, 157, 0.1);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.3);
}

.sponsor-slot:hover::before {
    opacity: 0.2;
}

.sponsor-cta {
    text-align: center;
    font-size: 10px;
}

.sponsor-cta a {
    color: var(--accent);
}

/* FAQ Section */
.faq {
    background: var(--dark);
}

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

.faq-item {
    background: var(--darker);
    border-left: 4px solid var(--primary);
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.faq-item::before {
    content: 'Q';
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--primary);
    font-size: 24px;
    opacity: 0.2;
}

.faq-item:hover {
    border-left-width: 8px;
    transform: translateX(5px);
    box-shadow: 
        -5px 0 20px rgba(255, 107, 157, 0.3),
        var(--pixel-shadow-sm);
}

.faq-item h4 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 11px;
}

.faq-item p {
    font-size: 10px;
    color: var(--light);
    line-height: 2.5;
}

/* Contact Section */
.contact {
    background: var(--darker);
}

.contact-content {
    text-align: center;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 15px;
}

.contact-item a {
    color: var(--accent);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

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

.social-btn {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: var(--dark);
    border: 4px solid var(--secondary);
    color: var(--light);
    text-decoration: none;
    box-shadow: var(--pixel-shadow-sm);
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

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

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

.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 
        var(--pixel-shadow),
        0 0 20px var(--neon-pink);
}

/* Footer - Arcade Style */
footer {
    background: linear-gradient(180deg, var(--darker) 0%, #000 100%);
    border-top: 4px solid var(--primary);
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--accent-alt), 
        var(--primary), 
        var(--accent), 
        var(--primary), 
        var(--accent-alt)
    );
    background-size: 200% 100%;
    animation: nav-rainbow 4s linear infinite;
}

.footer-content p {
    margin: 10px 0;
    font-size: 10px;
}

.footer-host a {
    color: var(--accent);
    text-decoration: none;
}

.footer-credits {
    color: var(--secondary);
}

.pixel-heart {
    color: var(--primary);
    animation: heartbeat 1s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.footer-bar {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed var(--dark);
    color: var(--accent);
    font-size: 10px;
    animation: blink 2s infinite;
    text-shadow: 0 0 10px var(--neon-yellow);
}

/* Coin Insert Animation */
.footer-bar::before {
    content: '🪙';
    margin-right: 10px;
    animation: coin-drop 1s ease-in-out infinite;
    display: inline-block;
}

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

/* Responsive */
@media (max-width: 900px) {
    .venue-content,
    .register-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 10px;
        line-height: 1.8;
    }
    
    /* Navigation Mobile */
    .pixel-nav {
        padding: 10px 0;
        transition: transform 0.3s ease, background 0.3s ease;
    }
    
    .pixel-nav ul {
        gap: 8px;
        padding: 0 10px;
        justify-content: space-around;
    }
    
    .pixel-nav a {
        padding: 8px 10px;
        font-size: 7px;
    }
    
    .pixel-nav a::before {
        display: none;
    }
    
    /* Hero Mobile */
    .hero {
        padding: 80px 15px 60px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 20px;
        text-shadow: 
            2px 2px 0 var(--secondary),
            4px 4px 0 var(--dark);
        margin-bottom: 20px;
    }
    
    .pixel-logo {
        font-size: 10px;
        letter-spacing: 2px;
    }
    
    .logo-wrapper {
        display: block;
        margin-bottom: 5px;
    }
    
    .sticker {
        position: relative;
        top: 0;
        left: 0;
        display: inline-block;
        transform: rotate(-5deg);
        font-size: 10px;
        padding: 3px 6px;
        margin-bottom: 10px;
    }
    
    .crossed-out {
        display: none;
    }
    
    .date-box {
        font-size: 9px;
        padding: 10px 15px;
        margin: 15px auto;
    }
    
    .tagline {
        font-size: 8px;
        margin: 20px 0;
    }
    
    .scroll-indicator {
        font-size: 8px;
        bottom: 20px;
    }
    
    /* Sections Mobile */
    section {
        padding: 50px 15px;
    }
    
    .section-title {
        font-size: 14px;
        margin-bottom: 30px;
        line-height: 1.5;
    }
    
    .section-title::before,
    .section-title::after {
        display: none;
    }
    
    /* Cards Mobile */
    .about-grid,
    .schedule-container,
    .faq-grid,
    .sponsors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .card-icon {
        font-size: 36px;
    }
    
    .info-card h3 {
        font-size: 10px;
    }
    
    .info-card p {
        font-size: 9px;
        line-height: 2.2;
    }
    
    /* Schedule Mobile */
    .day-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 12px;
    }
    
    .day-badge {
        font-size: 10px;
    }
    
    .event-list {
        padding: 15px;
    }
    
    .event-list li {
        font-size: 9px;
        padding: 10px 0;
        display: flex;
        flex-wrap: wrap;
    }
    
    .time {
        min-width: 45px;
        font-size: 9px;
    }
    
    /* Venue Mobile */
    .venue-content {
        gap: 25px;
    }
    
    .venue-info h3 {
        font-size: 14px;
    }
    
    .venue-features {
        gap: 10px;
    }
    
    .feature {
        font-size: 8px;
        padding: 8px 10px;
    }
    
    .venue-map {
        aspect-ratio: 4/3;
    }
    
    /* Register Mobile */
    .register-content {
        gap: 30px;
        text-align: center;
    }
    
    .stats-row {
        justify-content: center;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 18px;
    }
    
    .requirements {
        text-align: left;
    }
    
    .requirements h4 {
        font-size: 10px;
    }
    
    .requirements li {
        font-size: 9px;
    }
    
    /* Buttons Mobile */
    .pixel-btn {
        padding: 12px 20px;
        font-size: 9px;
        box-shadow: 
            3px 3px 0 var(--secondary),
            6px 6px 0 var(--dark);
    }
    
    .pixel-btn.large {
        padding: 15px 25px;
        font-size: 10px;
    }
    
    .pixel-btn.secondary {
        box-shadow: 
            3px 3px 0 var(--accent-deep),
            6px 6px 0 var(--dark);
    }
    
    /* FAQ Mobile */
    .faq-item {
        padding: 18px;
    }
    
    .faq-item h4 {
        font-size: 9px;
    }
    
    .faq-item p {
        font-size: 9px;
        line-height: 2.2;
    }
    
    .faq-item::before {
        font-size: 18px;
    }
    
    /* Sponsors Mobile */
    .sponsor-slot {
        height: 100px;
        font-size: 9px;
    }
    
    .sponsor-slot::before {
        font-size: 40px;
    }
    
    .sponsor-cta {
        font-size: 9px;
    }
    
    /* Contact Mobile */
    .social-links {
        gap: 12px;
    }
    
    .social-btn {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 10px;
    }
    
    /* Footer Mobile */
    footer {
        padding: 30px 15px;
    }
    
    .footer-content p {
        font-size: 9px;
    }
    
    .footer-bar {
        font-size: 8px;
        padding-top: 15px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 9px;
    }
    
    .pixel-nav ul {
        gap: 5px;
    }
    
    .pixel-nav a {
        padding: 6px 8px;
        font-size: 6px;
    }
    
    .hero h1 {
        font-size: 16px;
    }
    
    .pixel-logo {
        font-size: 8px;
    }
    
    .sticker {
        font-size: 8px;
    }
    
    .date-box {
        font-size: 8px;
        padding: 8px 12px;
    }
    
    .section-title {
        font-size: 12px;
    }
    
    .card-icon {
        font-size: 30px;
    }
    
    .info-card h3 {
        font-size: 9px;
    }
    
    .info-card p,
    .faq-item p {
        font-size: 8px;
    }
    
    .pixel-btn {
        padding: 10px 16px;
        font-size: 8px;
    }
    
    .pixel-btn.large {
        padding: 12px 20px;
        font-size: 9px;
    }
    
    .stat-number {
        font-size: 16px;
    }
    
    .social-btn {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 9px;
        border-width: 3px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border: 2px solid var(--darker);
}

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

/* Selection */
::selection {
    background: var(--primary);
    color: var(--dark);
}

/* ==========================================
   SUMMER SUNSET REFRESH — РАЗИГРА 2.0
   Beach-at-dusk atmosphere layered over the
   existing arcade system. Main site only.
   ========================================== */

body.summer-refresh {
    --primary: #ff6b6b;
    --secondary: #c84769;
    --accent: #ffd166;
    --accent-alt: #35d0ba;
    --darker: #071827;
    --dark: #102a43;
    --panel: #0c2238;
    --line: #1b4c61;
    --light: #fff8e8;
    --muted: #b8d7da;
    --dim: #719aa2;
    --summer-sky: #62d3e7;
    --summer-sea: #1089a3;
    --summer-deep-sea: #07506c;
    --summer-sand: #f3c76b;
    --summer-sunset: #ff8066;
    --summer-palm: #092f36;
    --neon-pink: rgba(255, 107, 107, 0.42);
    --neon-cyan: rgba(53, 208, 186, 0.42);
    --neon-yellow: rgba(255, 209, 102, 0.4);
    background:
        radial-gradient(circle at 12% 15%, rgba(255, 209, 102, 0.07), transparent 22rem),
        linear-gradient(180deg, #071827 0%, #0a2439 100%);
}

body.summer-refresh .scanlines {
    opacity: 0.28;
    animation: none;
}

body.summer-refresh::before {
    opacity: 0.65;
}

.summer-scroll-progress {
    position: fixed;
    inset: 0 0 auto;
    height: 4px;
    background: rgba(7, 24, 39, 0.55);
    z-index: 10001;
    pointer-events: none;
}

.summer-scroll-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-alt), var(--accent), var(--summer-sunset));
    box-shadow: 0 0 12px rgba(255, 209, 102, 0.5);
    transition: width 80ms linear;
}

/* Sunset beach hero */
body.summer-refresh .hero {
    background:
        linear-gradient(
            180deg,
            #152752 0%,
            #53568b 23%,
            #db7180 48%,
            #ffad72 68%,
            #f7cf81 76%,
            #178ca5 76.2%,
            #07506c 100%
        );
    border-bottom: 5px solid var(--summer-sand);
}

body.summer-refresh .hero::before {
    z-index: 2;
    opacity: 0.18;
    background:
        linear-gradient(90deg, transparent 50%, rgba(255,255,255,0.08) 50%),
        linear-gradient(0deg, transparent 50%, rgba(255,255,255,0.05) 50%);
    background-size: 5px 5px;
}

body.summer-refresh .hero::after {
    z-index: 2;
    opacity: 0.28;
    animation: summer-twinkle 8s ease-in-out infinite;
}

body.summer-refresh .hero-bg-image {
    z-index: 1;
    opacity: 0.06;
    filter: grayscale(100%) contrast(1.15) brightness(0.75);
}

body.summer-refresh .hero-content {
    z-index: 5;
    padding: 1.1rem clamp(0.7rem, 2vw, 1.6rem);
    border: 1px solid rgba(255, 248, 232, 0.12);
    background: linear-gradient(180deg, rgba(7, 24, 39, 0.38), rgba(7, 24, 39, 0.12));
    box-shadow: 0 18px 60px rgba(4, 21, 35, 0.2);
    backdrop-filter: blur(2px);
}

body.summer-refresh .scroll-indicator {
    z-index: 6;
    color: var(--light);
    text-shadow: 0 2px 10px rgba(7, 24, 39, 0.8);
}

.summer-scene {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: hidden;
    pointer-events: none;
}

.summer-sun {
    position: absolute;
    width: clamp(92px, 12vw, 176px);
    aspect-ratio: 1;
    top: 17%;
    right: clamp(9%, 16vw, 22%);
    border-radius: 50%;
    background: #ffe29a;
    box-shadow:
        0 0 0 8px rgba(255, 226, 154, 0.08),
        0 0 55px rgba(255, 220, 126, 0.6),
        0 0 110px rgba(255, 128, 102, 0.28);
    animation: summer-sun-breathe 6s ease-in-out infinite;
}

.summer-cloud {
    position: absolute;
    width: 86px;
    height: 18px;
    border-radius: 18px;
    background: rgba(255, 248, 232, 0.42);
    box-shadow:
        20px -12px 0 3px rgba(255, 248, 232, 0.42),
        48px -5px 0 1px rgba(255, 248, 232, 0.42),
        72px 1px 0 -2px rgba(255, 248, 232, 0.42);
    filter: drop-shadow(0 8px 12px rgba(21, 39, 82, 0.12));
}

.cloud-one {
    top: 21%;
    left: -150px;
    animation: summer-cloud-drift 31s linear infinite;
}

.cloud-two {
    top: 34%;
    left: -190px;
    opacity: 0.55;
    transform: scale(0.72);
    animation: summer-cloud-drift 43s linear 9s infinite;
}

.pixel-palm {
    position: absolute;
    bottom: 8%;
    width: clamp(130px, 18vw, 250px);
    height: clamp(190px, 30vw, 350px);
    filter: drop-shadow(8px 12px 0 rgba(7, 24, 39, 0.18));
    transform-origin: 50% 100%;
}

.palm-left {
    left: clamp(-70px, -3vw, -20px);
}

.palm-right {
    right: clamp(-75px, -3vw, -20px);
    transform: scaleX(-1);
}

.palm-trunk {
    position: absolute;
    left: 48%;
    bottom: 0;
    width: clamp(12px, 1.4vw, 22px);
    height: 72%;
    background:
        repeating-linear-gradient(0deg, #5b3d31 0 12px, #81543a 12px 16px);
    border: 3px solid var(--summer-palm);
    border-radius: 60% 35% 20% 20%;
    transform: rotate(8deg) skewX(-3deg);
    transform-origin: bottom;
}

.palm-leaf {
    --leaf-angle: 0deg;
    position: absolute;
    top: 15%;
    left: 54%;
    width: 48%;
    height: clamp(12px, 1.8vw, 23px);
    border: 3px solid var(--summer-palm);
    border-left: 0;
    border-radius: 8% 100% 20% 100%;
    background: linear-gradient(180deg, #197052, #0c493f);
    transform: rotate(var(--leaf-angle));
    transform-origin: 0 50%;
    animation: palm-leaf-breeze 5.5s ease-in-out infinite;
}

.palm-leaf:nth-child(2) { --leaf-angle: -164deg; }
.palm-leaf:nth-child(3) { --leaf-angle: -128deg; width: 54%; animation-delay: -1.2s; }
.palm-leaf:nth-child(4) { --leaf-angle: -82deg; width: 46%; animation-delay: -2.1s; }
.palm-leaf:nth-child(5) { --leaf-angle: -28deg; width: 58%; animation-delay: -0.7s; }
.palm-leaf:nth-child(6) { --leaf-angle: 12deg; width: 50%; animation-delay: -1.7s; }
.palm-leaf:nth-child(7) { --leaf-angle: 52deg; width: 44%; animation-delay: -2.8s; }

.summer-shore {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 11%;
    background: linear-gradient(180deg, rgba(243, 199, 107, 0.86), #c88951);
    clip-path: polygon(0 43%, 9% 32%, 19% 46%, 31% 28%, 44% 44%, 58% 25%, 70% 42%, 84% 27%, 100% 38%, 100% 100%, 0 100%);
}

.summer-waves {
    position: absolute;
    right: -4%;
    bottom: 8%;
    left: -4%;
    height: 9%;
    opacity: 0.82;
    background:
        radial-gradient(34px 13px at 34px 100%, transparent 91%, rgba(255,255,255,0.85) 94% 99%, transparent 100%) 0 0 / 68px 24px repeat-x,
        linear-gradient(180deg, rgba(55, 201, 205, 0.72), rgba(7, 80, 108, 0.25));
    animation: summer-waves-slide 8s linear infinite;
}

/* Calmer motion replaces constant fast glitching. */
body.summer-refresh .glitch::before,
body.summer-refresh .glitch::after {
    animation-duration: 6s;
    animation-timing-function: steps(1, end);
    opacity: 0.32;
}

body.summer-refresh .hero h1,
body.summer-refresh .card-icon,
body.summer-refresh .footer-bar {
    animation-duration: 4.5s;
}

body.summer-refresh .date-box {
    color: #3c2b29;
    background: rgba(255, 226, 154, 0.9);
    border-color: #fff1bd;
    box-shadow: 4px 4px 0 rgba(74, 49, 48, 0.32);
}

body.summer-refresh .tagline {
    color: #fff8e8;
    text-shadow: 0 3px 14px rgba(7, 24, 39, 0.9);
}

body.summer-refresh .countdown-box {
    background: rgba(7, 24, 39, 0.52);
    border-color: rgba(255, 209, 102, 0.8);
    box-shadow: 0 12px 40px rgba(7, 24, 39, 0.24);
}

/* Sea-and-sand section rhythm */
body.summer-refresh main > section:not(.hero) {
    position: relative;
    isolation: isolate;
    border-top: 1px solid rgba(255, 248, 232, 0.06);
}

body.summer-refresh .about,
body.summer-refresh .venue,
body.summer-refresh .sponsors,
body.summer-refresh .rankings-section {
    background:
        radial-gradient(circle at 10% 10%, rgba(53, 208, 186, 0.09), transparent 24rem),
        linear-gradient(150deg, #0e3045, #0a2137 60%, #102a43);
}

body.summer-refresh .schedule,
body.summer-refresh .register,
body.summer-refresh .faq,
body.summer-refresh .contact {
    background:
        radial-gradient(circle at 90% 18%, rgba(255, 209, 102, 0.08), transparent 21rem),
        linear-gradient(150deg, #071827, #102a43);
}

body.summer-refresh .section-title {
    color: var(--accent);
    text-shadow: 3px 3px 0 rgba(108, 57, 63, 0.55), 0 0 24px rgba(255, 209, 102, 0.2);
}

body.summer-refresh .section-title::before,
body.summer-refresh .section-title::after {
    background: linear-gradient(90deg, transparent, var(--accent-alt), var(--accent));
}

body.summer-refresh .section-title::after {
    background: linear-gradient(90deg, var(--accent), var(--accent-alt), transparent);
}

body.summer-refresh .info-card,
body.summer-refresh .day-block,
body.summer-refresh .faq-item,
body.summer-refresh .register-info-box,
body.summer-refresh .rankings-preview,
body.summer-refresh .venue-info {
    background: linear-gradient(155deg, rgba(12, 34, 56, 0.96), rgba(7, 24, 39, 0.94));
    border-color: rgba(53, 208, 186, 0.56);
    box-shadow: 6px 6px 0 rgba(4, 20, 32, 0.55), 0 18px 40px rgba(4, 20, 32, 0.14);
}

body.summer-refresh .info-card:hover,
body.summer-refresh .day-block:hover,
body.summer-refresh .faq-item:hover,
body.summer-refresh .faq-item[open] {
    border-color: var(--accent);
    box-shadow: 6px 6px 0 rgba(4, 20, 32, 0.5), 0 18px 44px rgba(53, 208, 186, 0.12);
}

body.summer-refresh .info-card:hover {
    transform: translateY(-7px) rotate(-0.25deg);
}

body.summer-refresh .info-card:nth-child(even):hover {
    transform: translateY(-7px) rotate(0.25deg);
}

body.summer-refresh .day-header {
    background: linear-gradient(105deg, var(--accent-alt), #77dfca);
}

body.summer-refresh .day-block:nth-child(2) .day-header {
    background: linear-gradient(105deg, var(--summer-sunset), #ffb078);
}

body.summer-refresh .day-block:nth-child(3) .day-header {
    background: linear-gradient(105deg, var(--summer-sand), #ffe29a);
}

body.summer-refresh .event-list li:hover {
    background: rgba(53, 208, 186, 0.08);
    border-left-color: var(--accent-alt);
    transform: translateX(3px);
}

body.summer-refresh .venue-map {
    border-color: var(--summer-sand);
    box-shadow: 8px 8px 0 rgba(4, 20, 32, 0.55), 0 20px 50px rgba(4, 20, 32, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

body.summer-refresh .venue-map:hover {
    transform: translateY(-4px);
    box-shadow: 8px 12px 0 rgba(4, 20, 32, 0.42), 0 24px 60px rgba(4, 20, 32, 0.22);
}

/* Native, keyboard-friendly FAQ accordion */
body.summer-refresh .faq-item {
    padding: 0;
    border: 1px solid rgba(53, 208, 186, 0.45);
    border-left-width: 5px;
    overflow: hidden;
}

body.summer-refresh .faq-item::before {
    display: none;
}

body.summer-refresh .faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 78px;
    padding: 20px 58px 20px 22px;
    cursor: pointer;
    list-style: none;
    outline: none;
}

body.summer-refresh .faq-item summary::-webkit-details-marker {
    display: none;
}

body.summer-refresh .faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 22px;
    transition: transform 0.25s ease, color 0.25s ease;
}

body.summer-refresh .faq-item[open] summary::after {
    content: '−';
    color: var(--accent-alt);
    transform: translateY(-50%) rotate(180deg);
}

body.summer-refresh .faq-item summary:focus-visible {
    box-shadow: inset 0 0 0 3px var(--accent);
}

body.summer-refresh .faq-item h4 {
    margin: 0;
    line-height: 1.7;
}

body.summer-refresh .faq-item p {
    margin: 0;
    padding: 0 22px 24px;
    color: var(--muted);
    animation: faq-answer-in 0.28s ease-out;
}

body.summer-refresh .pixel-btn {
    border-color: rgba(255, 248, 232, 0.72);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

body.summer-refresh .pixel-btn:hover {
    transform: translate(-2px, -3px);
    filter: saturate(1.06) brightness(1.04);
}

body.summer-refresh .social-btn {
    background: linear-gradient(145deg, #153c50, #0b263a);
    border-color: var(--accent-alt);
}

body.summer-refresh footer {
    background:
        linear-gradient(180deg, #071827, #06131e),
        var(--darker);
    border-top-color: var(--summer-sand);
}

/* Progressive reveal: classes are added only when JS is available. */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top {
    position: fixed;
    right: clamp(14px, 2.5vw, 30px);
    bottom: clamp(14px, 2.5vw, 30px);
    z-index: 10000;
    width: 48px;
    height: 48px;
    border: 3px solid var(--accent);
    background: rgba(7, 24, 39, 0.9);
    color: var(--accent);
    font: 18px/1 'Press Start 2P', monospace;
    box-shadow: 4px 4px 0 rgba(4, 20, 32, 0.65);
    cursor: pointer;
    opacity: 0.78;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
    color: var(--darker);
    background: var(--accent);
    outline: none;
    transform: translateY(-3px);
}

@keyframes summer-sun-breathe {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.035); filter: brightness(1.06); }
}

@keyframes summer-cloud-drift {
    from { left: -190px; }
    to { left: calc(100% + 190px); }
}

@keyframes palm-leaf-breeze {
    0%, 100% { transform: rotate(var(--leaf-angle)); }
    50% { transform: rotate(calc(var(--leaf-angle) + 2.5deg)); }
}

@keyframes summer-waves-slide {
    from { transform: translateX(0); }
    to { transform: translateX(68px); }
}

@keyframes summer-twinkle {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 0.38; }
}

@keyframes faq-answer-in {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    body.summer-refresh .hero-content {
        width: min(94vw, 640px);
        backdrop-filter: none;
    }

    .summer-sun {
        top: 12%;
        right: 7%;
        opacity: 0.78;
    }

    .pixel-palm {
        bottom: 8%;
        opacity: 0.64;
    }

    .palm-left { left: -76px; }
    .palm-right { right: -80px; }

    .summer-cloud {
        opacity: 0.3;
    }

    body.summer-refresh .faq-grid {
        gap: 14px;
    }

    body.summer-refresh .faq-item summary {
        min-height: 68px;
        padding: 16px 50px 16px 16px;
    }

    body.summer-refresh .faq-item p {
        padding: 0 16px 18px;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.summer-refresh *,
    body.summer-refresh *::before,
    body.summer-refresh *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================
   SUMMER REFRESH V2 — stronger visual pass
   ========================================== */

.summer-header {
    position: fixed;
    top: 14px;
    left: 50%;
    z-index: 10000;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(12px, 2vw, 28px);
    width: min(940px, calc(100% - 28px));
    min-height: 58px;
    padding: 8px 10px 8px 14px;
    border: 2px solid rgba(255, 248, 232, 0.38);
    border-bottom-color: var(--accent);
    background: rgba(7, 24, 39, 0.82);
    box-shadow: 6px 8px 0 rgba(4, 20, 32, 0.28), 0 16px 50px rgba(4, 20, 32, 0.26);
    backdrop-filter: blur(12px);
    transform: translateX(-50%);
}

.summer-brand {
    color: var(--accent);
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    text-shadow: 2px 2px 0 var(--secondary);
}

.summer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 2.4vw, 30px);
}

.summer-nav a {
    position: relative;
    color: var(--light);
    font-size: 8px;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, transform 0.2s ease;
}

.summer-nav a::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 3px;
    background: var(--accent-alt);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.summer-nav a:hover,
.summer-nav a:focus-visible {
    color: var(--accent);
    outline: none;
    transform: translateY(-2px);
}

.summer-nav a:hover::after,
.summer-nav a:focus-visible::after {
    transform: scaleX(1);
}

.summer-nav-cta {
    padding: 11px 13px;
    border: 2px solid #fff1bd;
    background: var(--accent);
    color: #142d3e;
    font-size: 8px;
    line-height: 1;
    text-decoration: none;
    box-shadow: 3px 3px 0 var(--secondary);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.summer-nav-cta:hover,
.summer-nav-cta:focus-visible {
    outline: none;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--secondary);
}

body.summer-refresh .hero {
    min-height: 100svh !important;
    padding: 112px 15px 76px !important;
    background:
        linear-gradient(
            180deg,
            #102653 0%,
            #545994 22%,
            #df7180 46%,
            #ff9b6c 64%,
            #ffd386 75%,
            #27afbd 75.3%,
            #08738c 87%,
            #064b67 100%
        );
}

body.summer-refresh .hero-content {
    width: min(880px, 88vw);
    padding: clamp(20px, 3vw, 34px);
    border: 3px solid rgba(255, 241, 189, 0.42);
    border-bottom-color: rgba(53, 208, 186, 0.72);
    background:
        linear-gradient(180deg, rgba(7, 24, 39, 0.34), rgba(7, 24, 39, 0.58));
    box-shadow: 10px 12px 0 rgba(7, 24, 39, 0.18), 0 34px 90px rgba(7, 24, 39, 0.24);
    backdrop-filter: blur(5px);
}

.summer-edition-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 7px auto 1px;
    padding: 8px 12px;
    border: 2px solid rgba(255, 248, 232, 0.66);
    background: var(--summer-sunset);
    color: #263848;
    font-size: clamp(7px, 1vw, 10px);
    letter-spacing: 1px;
    box-shadow: 4px 4px 0 rgba(7, 24, 39, 0.26);
    transform: rotate(-1deg);
}

body.summer-refresh .hero h1.glitch {
    background: linear-gradient(180deg, #fff8d5 5%, #ffd166 48%, #ff8066 94%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 2px rgba(82, 49, 59, 0.55);
    text-shadow: 7px 8px 0 rgba(96, 48, 65, 0.46), 0 0 35px rgba(255, 209, 102, 0.42);
}

body.summer-refresh .glitch::before {
    animation: glitch-1 6s steps(1, end) infinite;
    opacity: 0.24;
}

body.summer-refresh .glitch::after {
    animation: glitch-2 6s steps(1, end) infinite;
    opacity: 0.24;
}

body.summer-refresh .pixel-logo {
    color: #fff3c4;
    text-shadow: 0 0 18px rgba(255, 209, 102, 0.34);
}

body.summer-refresh .hero-buttons {
    margin-top: 1rem !important;
}

.pixel-palm {
    z-index: 4;
    bottom: -5%;
    width: auto;
    height: auto;
    filter: drop-shadow(12px 14px 0 rgba(7, 24, 39, 0.28));
    opacity: 1;
}

.palm-left {
    left: clamp(-82px, -3vw, -28px);
    animation: palm-emoji-sway-left 6s ease-in-out infinite;
}

.palm-right {
    right: clamp(-86px, -3vw, -30px);
    transform: scaleX(-1);
    animation: palm-emoji-sway-right 7s ease-in-out -2s infinite;
}

.palm-emoji {
    display: block;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
    font-size: clamp(210px, 28vw, 430px);
    line-height: 1;
    filter: saturate(1.22) contrast(1.04);
    user-select: none;
}

.summer-sun {
    width: clamp(130px, 17vw, 230px);
    top: 16%;
    right: 13%;
    background: #ffe69f;
    box-shadow:
        0 0 0 13px rgba(255, 230, 159, 0.09),
        0 0 75px rgba(255, 220, 126, 0.72),
        0 0 150px rgba(255, 128, 102, 0.38);
}

.summer-shore { z-index: 1; height: 14%; }
.summer-waves { z-index: 2; bottom: 10%; height: 11%; opacity: 0.95; }

.beach-ball {
    position: absolute;
    z-index: 3;
    bottom: 9%;
    left: 21%;
    width: clamp(48px, 6vw, 82px);
    aspect-ratio: 1;
    border: 5px solid #fff8e8;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #fff8e8 0 15%, transparent 16%),
        conic-gradient(#ff6b6b 0 17%, #fff8e8 17% 34%, #35d0ba 34% 51%, #fff8e8 51% 68%, #ffd166 68% 84%, #fff8e8 84% 100%);
    box-shadow: 7px 9px 0 rgba(7, 24, 39, 0.22);
    animation: beach-ball-bob 4.5s ease-in-out infinite;
}

.summer-ticker {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: relative;
    z-index: 8;
    width: 100%;
    border-top: 4px solid #fff2c2;
    border-bottom: 5px solid #07506c;
    background: linear-gradient(90deg, #ffd166, #ffbf69 50%, #ffd166);
    color: #12344a;
    box-shadow: 0 10px 0 rgba(4, 20, 32, 0.2);
}

.summer-ticker span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 13px 16px;
    border-right: 2px dashed rgba(18, 52, 74, 0.3);
    font-size: clamp(7px, 1vw, 10px);
    text-align: center;
}

.summer-ticker span:last-child {
    border-right: 0;
}

/* A visibly brighter, beach-poster card system. */
body.summer-refresh .about {
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 230, 159, 0.34), transparent 20rem),
        linear-gradient(155deg, #1aa7b4 0%, #0b718b 38%, #0b405f 100%);
}

body.summer-refresh .about .section-title {
    color: #fff3c4;
}

body.summer-refresh .about .info-card {
    background: linear-gradient(155deg, #fff4cc, #f4d88f);
    color: #102f42;
    border: 4px solid #ff8066;
    box-shadow: 8px 8px 0 #07506c, 0 24px 50px rgba(7, 24, 39, 0.18);
}

body.summer-refresh .about .info-card:nth-child(even) {
    border-color: #35d0ba;
}

body.summer-refresh .about .info-card h3 {
    color: #b6375d;
}

body.summer-refresh .about .info-card p {
    color: #173c4d;
}

body.summer-refresh .schedule {
    background:
        linear-gradient(180deg, rgba(255, 209, 102, 0.08), transparent 14rem),
        #071827;
}

body.summer-refresh .day-block {
    border-width: 3px;
    border-radius: 0 0 18px 18px;
}

body.summer-refresh .venue {
    background:
        radial-gradient(circle at 86% 15%, rgba(255, 209, 102, 0.18), transparent 22rem),
        linear-gradient(150deg, #0d7c8f, #0a3856 68%);
}

body.summer-refresh .register {
    background:
        linear-gradient(155deg, rgba(255, 128, 102, 0.2), transparent 38%),
        linear-gradient(180deg, #102a43, #071827);
}

body.summer-refresh .register-info-box {
    background: linear-gradient(150deg, #fff2c2, #f5d175);
    color: #12344a;
    border: 3px solid #ff8066;
}

body.summer-refresh .register-info-box h4,
body.summer-refresh .register-info-box .highlight,
body.summer-refresh .register-info-box .no-limit {
    color: #a82f56;
}

body.summer-refresh .faq {
    background:
        radial-gradient(circle at 8% 82%, rgba(53, 208, 186, 0.12), transparent 24rem),
        linear-gradient(150deg, #071827, #102f49);
}

body.summer-refresh .history {
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 209, 102, 0.1), transparent 25rem),
        linear-gradient(180deg, #0b3148, #071827) !important;
}

.archive-cta-below {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(18px, 3vw, 38px);
    max-width: 980px;
    margin: 70px auto;
    padding: clamp(22px, 4vw, 38px);
    border: 4px solid var(--accent);
    background:
        linear-gradient(120deg, rgba(255, 128, 102, 0.18), transparent 45%),
        #0c2238;
    box-shadow: 10px 10px 0 rgba(4, 20, 32, 0.5);
}

.archive-cta-icon {
    font-size: clamp(42px, 6vw, 76px);
    filter: drop-shadow(5px 5px 0 rgba(4, 20, 32, 0.55));
}

.archive-cta-below p {
    color: var(--accent-alt);
    font-size: 8px;
}

.archive-cta-below h3 {
    margin-top: 7px;
    color: var(--light);
    font-size: clamp(11px, 1.7vw, 17px);
    line-height: 1.8;
}

.back-to-top {
    display: grid;
    place-items: center;
    text-decoration: none;
    pointer-events: auto;
}

@keyframes palm-emoji-sway-left {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(1deg); }
}

@keyframes palm-emoji-sway-right {
    0%, 100% { transform: scaleX(-1) rotate(-3deg); }
    50% { transform: scaleX(-1) rotate(1deg); }
}

@keyframes beach-ball-bob {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(18deg); }
}

@media (max-width: 760px) {
    .summer-header {
        top: 8px;
        width: calc(100% - 16px);
        min-height: 52px;
        gap: 10px;
        padding: 7px 8px 7px 10px;
    }

    .summer-brand { font-size: 10px; }

    .summer-nav {
        justify-content: flex-start;
        gap: 14px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .summer-nav::-webkit-scrollbar { display: none; }
    .summer-nav a { font-size: 6px; }

    .summer-nav-cta {
        padding: 10px 8px;
        font-size: 6px;
    }

    body.summer-refresh .hero {
        padding: 92px 10px 64px !important;
    }

    body.summer-refresh .hero-content {
        width: min(92vw, 620px);
        padding: 20px 12px;
        backdrop-filter: blur(2px);
    }

    body.summer-refresh .hero h1.glitch {
        -webkit-text-stroke-width: 1px;
        text-shadow: 4px 5px 0 rgba(96, 48, 65, 0.5), 0 0 25px rgba(255, 209, 102, 0.35);
    }

    .palm-emoji {
        font-size: clamp(190px, 54vw, 300px);
    }

    .palm-left { left: -96px; }
    .palm-right { right: -102px; }
    .summer-sun { top: 13%; right: 2%; }

    .beach-ball {
        left: 12%;
        bottom: 10%;
    }

    .summer-ticker {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .summer-ticker span {
        min-height: 52px;
        padding: 10px;
        border-right: 1px dashed rgba(18, 52, 74, 0.28);
        border-bottom: 1px dashed rgba(18, 52, 74, 0.22);
        font-size: 6px;
    }

    .archive-cta-below {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        margin: 45px 16px;
    }
}

@media (max-width: 480px) {
    .summer-nav a:nth-child(3),
    .summer-nav a:nth-child(4) {
        display: none;
    }

    .summer-edition-badge {
        font-size: 6px;
    }

    .palm-emoji {
        font-size: 205px;
    }

    .palm-left { left: -118px; }
    .palm-right { right: -122px; }
}

/* ==========================================
   SUMMER REFRESH V3 — restrained surface pass
   ========================================== */

body.summer-refresh .hero {
    background:
        linear-gradient(90deg, rgba(5, 18, 29, 0.72) 0%, rgba(5, 18, 29, 0.38) 52%, rgba(5, 18, 29, 0.54) 100%),
        linear-gradient(180deg, #152752 0%, #db7180 52%, #07506c 100%) !important;
    border-bottom: 1px solid rgba(255, 248, 232, 0.28);
}

body.summer-refresh .hero::before {
    background: linear-gradient(180deg, rgba(7, 24, 39, 0.06), rgba(7, 24, 39, 0.3));
    background-size: auto;
    opacity: 1;
}

body.summer-refresh .hero::after {
    display: none;
}

.summer-scene {
    display: none;
}

body.summer-refresh .hero-content {
    width: min(780px, 90vw);
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid rgba(255, 248, 232, 0.28);
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(6, 22, 35, 0.62), rgba(6, 22, 35, 0.78));
    box-shadow: 0 26px 80px rgba(3, 12, 20, 0.34);
    backdrop-filter: blur(7px);
}

.summer-edition-badge {
    margin: 6px auto 2px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 248, 232, 0.48);
    border-radius: 2px;
    background: rgba(7, 24, 39, 0.48);
    color: #fff8e8;
    box-shadow: none;
    letter-spacing: 1.6px;
    transform: none;
}

body.summer-refresh .hero h1.glitch {
    background: linear-gradient(180deg, #fff8e8 8%, #f8d99b 92%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 1px rgba(255, 248, 232, 0.32);
    color: transparent;
    text-shadow: 0 7px 28px rgba(3, 12, 20, 0.66);
    animation: none;
}

body.summer-refresh .glitch::before,
body.summer-refresh .glitch::after {
    animation: none;
    opacity: 0.08;
}

.summer-ticker {
    border-top: 1px solid rgba(255, 248, 232, 0.18);
    border-bottom: 1px solid rgba(255, 248, 232, 0.12);
    background: linear-gradient(90deg, #0b2638, #13384a 50%, #0b2638);
    color: #f7ead2;
    box-shadow: 0 12px 34px rgba(4, 20, 32, 0.22);
}

.summer-ticker span {
    min-height: 58px;
    border-right: 1px solid rgba(255, 248, 232, 0.14);
    letter-spacing: 0.5px;
}

/* Quieter surfaces keep the summer atmosphere without reading as a poster. */
body.summer-refresh .about,
body.summer-refresh .venue {
    background:
        radial-gradient(circle at 84% 10%, rgba(255, 196, 128, 0.08), transparent 24rem),
        linear-gradient(150deg, #12394a, #0a2637 68%, #081f30);
}

body.summer-refresh .about .info-card {
    border: 1px solid rgba(25, 69, 79, 0.25);
    border-top: 4px solid #c7775c;
    border-radius: 4px;
    background: linear-gradient(155deg, #fffaf0, #eee4d2);
    color: #173744;
    box-shadow: 0 18px 42px rgba(4, 20, 32, 0.2);
}

body.summer-refresh .about .info-card:nth-child(even) {
    border-color: rgba(25, 69, 79, 0.25);
    border-top-color: #3f9b94;
}

body.summer-refresh .about .info-card:hover,
body.summer-refresh .about .info-card:nth-child(even):hover {
    transform: translateY(-5px);
}

body.summer-refresh .about .info-card h3 {
    color: #265c63;
}

body.summer-refresh .about .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 46px;
    height: 30px;
    margin-bottom: 20px;
    padding: 0 10px;
    border: 1px solid rgba(23, 55, 68, 0.28);
    border-radius: 2px;
    background: #173744;
    color: #f6e8cf;
    font-size: 9px;
    line-height: 1;
    box-shadow: none;
    filter: none;
    animation: none;
}

body.summer-refresh .about .info-card p,
body.summer-refresh .about .info-card li {
    color: #173744 !important;
}

/* Registration and sponsor cards are pale, so every text descendant gets
   an explicit dark foreground instead of inheriting the site's light text. */
body.summer-refresh .register .register-info-box,
body.summer-refresh .sponsors .register-info-box {
    border: 1px solid rgba(25, 69, 79, 0.28);
    border-top: 4px solid #c7775c;
    border-radius: 4px;
    background: linear-gradient(155deg, #fffaf0, #eee4d2);
    color: #173744 !important;
    box-shadow: 0 16px 38px rgba(4, 20, 32, 0.18);
}

body.summer-refresh .register .register-info-box.waitlist-box {
    border-color: rgba(25, 69, 79, 0.28);
    border-top-color: #b96846;
}

body.summer-refresh .register .register-info-box.audience-box {
    border-color: rgba(25, 69, 79, 0.28);
    border-top-color: #3f9b94;
}

body.summer-refresh .register .register-info-box p,
body.summer-refresh .register .register-info-box li,
body.summer-refresh .sponsors .register-info-box p,
body.summer-refresh .sponsors .register-info-box li {
    color: #173744 !important;
}

body.summer-refresh .register .register-info-box h4,
body.summer-refresh .sponsors .register-info-box h4 {
    color: #245d64 !important;
}

body.summer-refresh .register .register-info-box .highlight,
body.summer-refresh .sponsors .register-info-box .highlight {
    color: #8a2948 !important;
}

body.summer-refresh .register .register-info-box .no-limit {
    border: 1px solid #245d64;
    border-radius: 2px;
    background: #245d64;
    color: #fffaf0 !important;
}

body.summer-refresh .sponsors .register-info-box a,
body.summer-refresh .register .register-info-box a {
    color: #7b2946 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* The reveal state only changes opacity/position; spacing remains substantial. */
body.summer-refresh .venue .venue-info,
body.summer-refresh .venue .venue-info.reveal-on-scroll,
body.summer-refresh .venue .venue-info.reveal-on-scroll.is-visible {
    padding: clamp(28px, 4vw, 48px) !important;
    border: 1px solid rgba(255, 248, 232, 0.18);
    border-top: 4px solid #d89567;
    border-radius: 4px;
    background: linear-gradient(155deg, rgba(8, 31, 48, 0.98), rgba(6, 22, 35, 0.98));
}

body.summer-refresh .venue .venue-info p,
body.summer-refresh .venue .venue-info li,
body.summer-refresh .venue .venue-info address {
    color: #e8f1ef !important;
}

body.summer-refresh .venue .venue-info h3 {
    color: #f3d49c;
}

.archive-cta-icon {
    color: #e8c98e;
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(20px, 3vw, 34px);
    filter: none;
}

@media (max-width: 760px) {
    body.summer-refresh .hero {
        background-position: 61% center !important;
    }

    body.summer-refresh .hero-content {
        width: min(92vw, 620px);
        padding: 22px 14px;
        backdrop-filter: blur(5px);
    }

    .summer-ticker span {
        border-right: 1px solid rgba(255, 248, 232, 0.12);
        border-bottom: 1px solid rgba(255, 248, 232, 0.1);
    }
}

/* ==========================================
   SUMMER REFRESH V4 — bright game-coast
   Keep the gallery shuffle; restore the lively site palette.
   ========================================== */

body.summer-refresh .hero {
    background:
        linear-gradient(90deg, rgba(7, 24, 39, 0.24) 0%, rgba(7, 24, 39, 0.03) 52%, rgba(7, 24, 39, 0.2) 100%),
        linear-gradient(180deg, #152752 0%, #db7180 52%, #07506c 100%) !important;
    border-bottom: 5px solid var(--summer-sand);
}

/* The only photographic hero layer is the existing shuffled jam gallery. */
body.summer-refresh .hero-bg-image {
    z-index: 1;
    opacity: 0.46;
    filter: saturate(1.08) contrast(1.04) brightness(0.78);
    mix-blend-mode: normal;
}

body.summer-refresh .hero-bg-strip {
    border-right-color: rgba(255, 248, 232, 0.2);
    box-shadow: inset 0 0 90px rgba(7, 24, 39, 0.32);
}

body.summer-refresh .hero::before {
    background:
        linear-gradient(90deg, transparent 50%, rgba(255, 255, 255, 0.05) 50%),
        linear-gradient(0deg, transparent 50%, rgba(255, 255, 255, 0.035) 50%);
    background-size: 5px 5px;
    opacity: 0.16;
}

.summer-scene {
    display: block;
}

body.summer-refresh .hero-content {
    width: min(850px, 88vw);
    padding: clamp(20px, 3vw, 34px);
    border: 3px solid rgba(255, 241, 189, 0.42);
    border-bottom-color: rgba(53, 208, 186, 0.72);
    border-radius: 0;
    background: linear-gradient(180deg, rgba(7, 24, 39, 0.34), rgba(7, 24, 39, 0.58));
    box-shadow: 10px 12px 0 rgba(7, 24, 39, 0.18), 0 34px 90px rgba(7, 24, 39, 0.24);
    backdrop-filter: blur(5px);
}

.summer-edition-badge {
    border: 2px solid rgba(255, 248, 232, 0.66);
    border-radius: 0;
    background: var(--summer-sunset);
    color: #263848;
    box-shadow: 4px 4px 0 rgba(7, 24, 39, 0.26);
}

body.summer-refresh .hero h1.glitch {
    background: linear-gradient(180deg, #fff8d5 5%, #ffd166 48%, #ff8066 94%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 2px rgba(82, 49, 59, 0.55);
    color: transparent;
    text-shadow: 7px 8px 0 rgba(96, 48, 65, 0.46), 0 0 35px rgba(255, 209, 102, 0.42);
}

/* Pixel-art game scene layered over the photographic horizon. */
.pixel-sea-game {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 13%;
    border-top: 3px solid rgba(255, 248, 232, 0.72);
    background:
        radial-gradient(34px 11px at 34px 0, transparent 55%, rgba(255, 255, 255, 0.74) 59% 65%, transparent 68%) 0 0 / 68px 24px repeat-x,
        linear-gradient(180deg, rgba(53, 208, 186, 0.7), rgba(7, 80, 108, 0.94));
    box-shadow: 0 -8px 0 rgba(53, 208, 186, 0.2);
    animation: game-sea-drift 8s linear infinite;
}

.game-island {
    position: absolute;
    bottom: 4.5%;
    left: clamp(12px, 3vw, 54px);
    z-index: 2;
    width: clamp(160px, 18vw, 230px);
    height: 118px;
    filter: drop-shadow(7px 8px 0 rgba(7, 24, 39, 0.24));
}

.game-island::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 43px;
    border: 4px solid #513b32;
    border-radius: 52% 48% 22% 25%;
    background: linear-gradient(180deg, #ffe29a 0 48%, #c88951 49% 100%);
    box-shadow: inset 0 7px 0 rgba(255, 248, 232, 0.35);
}

.game-island::after {
    content: '';
    position: absolute;
    right: 18px;
    bottom: 37px;
    left: 22px;
    height: 10px;
    background: #1b7455;
    clip-path: polygon(0 100%, 8% 0, 16% 100%, 25% 10%, 34% 100%, 45% 0, 54% 100%, 65% 12%, 75% 100%, 86% 0, 100% 100%);
}

.game-palm {
    position: absolute;
    bottom: 35px;
    left: 28%;
    z-index: 3;
    width: 12px;
    height: 76px;
    border: 3px solid #173744;
    border-radius: 45% 45% 18% 18%;
    background: repeating-linear-gradient(0deg, #885b3c 0 10px, #b6794b 10px 14px);
    transform: rotate(7deg);
    transform-origin: bottom;
}

.game-palm::before,
.game-palm::after {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    width: 58px;
    height: 17px;
    border: 3px solid #0b4038;
    border-radius: 100% 12% 100% 12%;
    background: #1f8060;
    transform-origin: left center;
}

.game-palm::before {
    transform: rotate(-32deg);
    box-shadow: -21px 10px 0 -2px #176b52, 12px 19px 0 -2px #24916b;
}

.game-palm::after {
    transform: scaleX(-1) rotate(-38deg);
    box-shadow: -18px 12px 0 -2px #176b52, 13px 19px 0 -2px #24916b;
}

.pirate-flag {
    position: absolute;
    right: 24%;
    bottom: 35px;
    z-index: 3;
    width: 4px;
    height: 67px;
    background: #332735;
    box-shadow: 3px 0 0 rgba(255, 248, 232, 0.28);
}

.pirate-flag::before {
    content: '☠';
    position: absolute;
    top: 3px;
    left: 4px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 28px;
    padding-right: 5px;
    background: #251c2b;
    color: #fff8e8;
    font: 17px/1 Georgia, serif;
    clip-path: polygon(0 0, 100% 8%, 82% 50%, 100% 92%, 0 100%);
}

.treasure-chest {
    position: absolute;
    right: 10%;
    bottom: 29px;
    z-index: 4;
    width: 30px;
    height: 22px;
    border: 3px solid #3a2930;
    border-radius: 7px 7px 2px 2px;
    background: linear-gradient(180deg, #d68a45 0 45%, #875030 46% 100%);
    box-shadow: inset 0 -4px 0 #5b392a, 4px 5px 0 rgba(7, 24, 39, 0.24);
}

.treasure-chest::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 10px;
    width: 6px;
    height: 8px;
    background: #ffd166;
    box-shadow: 0 0 0 2px #68432d;
}

.pirate-ship {
    position: absolute;
    right: clamp(20px, 4vw, 70px);
    bottom: 7%;
    z-index: 3;
    width: clamp(125px, 13vw, 180px);
    height: 126px;
    filter: drop-shadow(7px 8px 0 rgba(7, 24, 39, 0.26));
    animation: pirate-ship-float 5.5s ease-in-out infinite;
}

.pirate-ship::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 35px;
    border: 4px solid #291f29;
    background: linear-gradient(180deg, #8b4d36, #4f2f2b);
    clip-path: polygon(0 0, 100% 0, 83% 100%, 19% 100%);
}

.pirate-ship::after {
    content: '';
    position: absolute;
    right: 20%;
    bottom: 31px;
    left: 18%;
    height: 8px;
    border: 3px solid #291f29;
    background: #d68a45;
}

.ship-mast {
    position: absolute;
    bottom: 30px;
    left: 51%;
    width: 5px;
    height: 95px;
    background: #332735;
    box-shadow: 4px 0 0 rgba(255, 248, 232, 0.22);
}

.ship-sail {
    position: absolute;
    bottom: 48px;
    left: 53%;
    width: 64px;
    height: 63px;
    border: 4px solid #382838;
    background: linear-gradient(135deg, #fff2c2, #efbd73);
    clip-path: polygon(0 0, 100% 16%, 12% 100%);
}

.ship-sail::after {
    content: '2.0';
    position: absolute;
    top: 23px;
    left: 20px;
    color: #a82f56;
    font: 7px/1 'Press Start 2P', monospace;
    transform: rotate(10deg);
}

.ship-flag {
    position: absolute;
    top: 1px;
    left: calc(51% + 5px);
    width: 34px;
    height: 20px;
    background: #a82f56;
    clip-path: polygon(0 0, 100% 16%, 72% 50%, 100% 84%, 0 100%);
}

@keyframes game-sea-drift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 68px 0, 0 0; }
}

@keyframes pirate-ship-float {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-7px) rotate(1deg); }
}

/* Restore the previous bright turquoise, coral, and sand system. */
.summer-ticker {
    border-top: 4px solid #fff2c2;
    border-bottom: 5px solid #07506c;
    background: linear-gradient(90deg, #ffd166, #ffbf69 50%, #ffd166);
    color: #12344a;
    box-shadow: 0 10px 0 rgba(4, 20, 32, 0.2);
}

.summer-ticker span {
    min-height: 62px;
    border-right: 2px dashed rgba(18, 52, 74, 0.3);
}

body.summer-refresh .about {
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 230, 159, 0.34), transparent 20rem),
        linear-gradient(155deg, #1aa7b4 0%, #0b718b 38%, #0b405f 100%);
}

body.summer-refresh .about .info-card {
    border: 4px solid #ff8066;
    border-radius: 0;
    background: linear-gradient(155deg, #fff4cc, #f4d88f);
    color: #102f42;
    box-shadow: 8px 8px 0 #07506c, 0 24px 50px rgba(7, 24, 39, 0.18);
}

body.summer-refresh .about .info-card:nth-child(even) {
    border: 4px solid #35d0ba;
}

body.summer-refresh .about .info-card:hover {
    transform: translateY(-7px) rotate(-0.25deg);
}

body.summer-refresh .about .info-card:nth-child(even):hover {
    transform: translateY(-7px) rotate(0.25deg);
}

body.summer-refresh .about .info-card h3 {
    color: #b6375d;
}

body.summer-refresh .about .card-icon {
    display: block;
    width: auto;
    min-width: 0;
    height: auto;
    margin-bottom: 15px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 48px;
    line-height: normal;
    box-shadow: none;
    filter: none;
    animation: icon-bounce 2s ease-in-out infinite;
}

body.summer-refresh .about .info-card p,
body.summer-refresh .about .info-card li {
    color: #173c4d !important;
}

body.summer-refresh .venue {
    background:
        radial-gradient(circle at 86% 15%, rgba(255, 209, 102, 0.18), transparent 22rem),
        linear-gradient(150deg, #0d7c8f, #0a3856 68%);
}

body.summer-refresh .register .register-info-box,
body.summer-refresh .sponsors .register-info-box {
    border: 3px solid #ff8066;
    border-radius: 0;
    background: linear-gradient(150deg, #fff2c2, #f5d175);
    color: #12344a !important;
    box-shadow: 6px 6px 0 rgba(4, 20, 32, 0.3), 0 18px 38px rgba(4, 20, 32, 0.16);
}

body.summer-refresh .register .register-info-box.waitlist-box {
    border-color: #ff8066;
}

body.summer-refresh .register .register-info-box.audience-box {
    border-color: #35d0ba;
}

body.summer-refresh .register .register-info-box p,
body.summer-refresh .register .register-info-box li,
body.summer-refresh .sponsors .register-info-box p,
body.summer-refresh .sponsors .register-info-box li {
    color: #173c4d !important;
}

body.summer-refresh .register .register-info-box h4,
body.summer-refresh .sponsors .register-info-box h4,
body.summer-refresh .register .register-info-box .highlight,
body.summer-refresh .sponsors .register-info-box .highlight {
    color: #a82f56 !important;
}

body.summer-refresh .register .register-info-box .no-limit {
    border: 0;
    border-radius: 0;
    background: #176b67;
    color: #fff8e8 !important;
}

body.summer-refresh .venue .venue-info,
body.summer-refresh .venue .venue-info.reveal-on-scroll,
body.summer-refresh .venue .venue-info.reveal-on-scroll.is-visible {
    padding: clamp(28px, 4vw, 48px) !important;
    border: 3px solid rgba(53, 208, 186, 0.56);
    border-radius: 0;
    background: linear-gradient(155deg, rgba(12, 34, 56, 0.96), rgba(7, 24, 39, 0.94));
    box-shadow: 6px 6px 0 rgba(4, 20, 32, 0.55), 0 18px 40px rgba(4, 20, 32, 0.14);
}

body.summer-refresh .venue .venue-info p,
body.summer-refresh .venue .venue-info li,
body.summer-refresh .venue .venue-info address {
    color: #fff8e8 !important;
}

body.summer-refresh .venue .venue-info h3 {
    color: var(--accent);
}

.archive-cta-icon {
    color: inherit;
    font-family: inherit;
    font-size: clamp(42px, 6vw, 76px);
    filter: drop-shadow(5px 5px 0 rgba(4, 20, 32, 0.55));
}

@media (max-width: 760px) {
    body.summer-refresh .hero {
        background-position: 61% center !important;
    }

    body.summer-refresh .hero-content {
        width: min(92vw, 620px);
        padding: 20px 12px;
        backdrop-filter: blur(3px);
    }

    body.summer-refresh .hero h1.glitch {
        -webkit-text-stroke-width: 1px;
        text-shadow: 4px 5px 0 rgba(96, 48, 65, 0.5), 0 0 25px rgba(255, 209, 102, 0.35);
    }

    .game-island {
        left: -10px;
        bottom: 3%;
        transform: scale(0.72);
        transform-origin: bottom left;
    }

    .pirate-ship {
        right: -13px;
        bottom: 6%;
        transform: scale(0.72);
        transform-origin: bottom right;
        animation-name: pirate-ship-float-mobile;
    }

    .pixel-sea-game {
        height: 11%;
    }

    .summer-ticker span {
        min-height: 52px;
        border-right: 1px dashed rgba(18, 52, 74, 0.28);
        border-bottom: 1px dashed rgba(18, 52, 74, 0.22);
    }
}

@keyframes pirate-ship-float-mobile {
    0%, 100% { transform: scale(0.72) translateY(0) rotate(-1deg); }
    50% { transform: scale(0.72) translateY(-7px) rotate(1deg); }
}

@media (max-width: 480px) {
    .game-island {
        left: -28px;
        opacity: 0.82;
        transform: scale(0.58);
    }

    .pirate-ship {
        right: -34px;
        opacity: 0.82;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pixel-sea-game,
    .pirate-ship,
    body.summer-refresh .about .card-icon {
        animation: none !important;
    }
}

/* 6x6 animated sprite replacements for the hero island and pirate ship. */
.game-island::before,
.game-island::after,
.pirate-ship::before,
.pirate-ship::after {
    content: none;
}

.game-island {
    width: clamp(210px, 24vw, 310px);
    height: auto;
    aspect-ratio: 1;
    bottom: -3%;
}

.pirate-ship {
    width: clamp(185px, 20vw, 260px);
    height: auto;
    aspect-ratio: 1;
    bottom: 0;
}

.sprite-visual {
    display: block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 600% 600%;
    background-position: 0 0;
    image-rendering: pixelated;
    animation: sprite-sheet-6x6 4.32s step-end infinite;
    will-change: background-position;
}

.sprite-animation-ready .sprite-visual {
    animation: none;
}

.tropical-island-sprite {
    background-image: url('tropical_island_cyan.webp?v=20260826-cyan2');
}

.pirate-ship-sprite {
    background-image: url('pirate_ship.webp?v=20260825-4');
    animation-duration: 3.6s;
    animation-delay: -1.2s;
}

@keyframes sprite-sheet-6x6 {
    0% { background-position: 0% 0%; }
    2.7778% { background-position: 20% 0%; }
    5.5556% { background-position: 40% 0%; }
    8.3333% { background-position: 60% 0%; }
    11.1111% { background-position: 80% 0%; }
    13.8889% { background-position: 100% 0%; }
    16.6667% { background-position: 0% 20%; }
    19.4444% { background-position: 20% 20%; }
    22.2222% { background-position: 40% 20%; }
    25% { background-position: 60% 20%; }
    27.7778% { background-position: 80% 20%; }
    30.5556% { background-position: 100% 20%; }
    33.3333% { background-position: 0% 40%; }
    36.1111% { background-position: 20% 40%; }
    38.8889% { background-position: 40% 40%; }
    41.6667% { background-position: 60% 40%; }
    44.4444% { background-position: 80% 40%; }
    47.2222% { background-position: 100% 40%; }
    50% { background-position: 0% 60%; }
    52.7778% { background-position: 20% 60%; }
    55.5556% { background-position: 40% 60%; }
    58.3333% { background-position: 60% 60%; }
    61.1111% { background-position: 80% 60%; }
    63.8889% { background-position: 100% 60%; }
    66.6667% { background-position: 0% 80%; }
    69.4444% { background-position: 20% 80%; }
    72.2222% { background-position: 40% 80%; }
    75% { background-position: 60% 80%; }
    77.7778% { background-position: 80% 80%; }
    80.5556% { background-position: 100% 80%; }
    83.3333% { background-position: 0% 100%; }
    86.1111% { background-position: 20% 100%; }
    88.8889% { background-position: 40% 100%; }
    91.6667% { background-position: 60% 100%; }
    94.4444% { background-position: 80% 100%; }
    97.2222% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

@media (max-width: 760px) {
    .game-island {
        bottom: -5%;
    }

    .pirate-ship {
        bottom: -2%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sprite-animation-ready .sprite-visual {
        animation: none;
    }
}

/* ==========================================
   INDEX POLISH — 2026-08-25
   ========================================== */

/* Crisp, high-contrast title closer to the original pixel treatment. */
body.summer-refresh .hero h1.glitch {
    background: linear-gradient(
        90deg,
        #fff4cc 0 18%,
        #ffd166 18% 38%,
        #ff8066 38% 58%,
        #35d0ba 58% 78%,
        #fff4cc 78% 100%
    );
    background-size: 260% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px #fff4cc;
    text-shadow:
        4px 4px 0 #71335d,
        8px 8px 0 #071827;
    filter: none;
    animation:
        summer-title-colors 6s steps(18, end) infinite,
        summer-title-float 3.6s ease-in-out infinite;
}

body.summer-refresh .hero h1.glitch::before,
body.summer-refresh .hero h1.glitch::after {
    display: none;
}

@keyframes summer-title-colors {
    0% { background-position: 0% 50%; }
    100% { background-position: 260% 50%; }
}

@keyframes summer-title-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Event rows use a genuinely light hover surface and a dark foreground. */
body.summer-refresh .event-list li:hover {
    background: rgba(119, 223, 202, 0.94);
    border-left-color: #07506c;
    color: #071827 !important;
    text-shadow: none;
}

body.summer-refresh .event-list li:hover .time,
body.summer-refresh .event-list li:hover * {
    color: #071827 !important;
    text-shadow: none;
}

/* Every surface with a hover response should also communicate interactivity. */
a,
button,
summary,
label[for],
input[type="button"],
input[type="submit"],
.info-card,
.day-block,
.event-list li,
.faq-item,
.participants-marquee,
.sponsors-marquee,
.sponsor-slot,
.venue-map,
.history-item,
.gallery-item,
.back-to-top {
    cursor: pointer;
}

@media (max-width: 760px) {
    body.summer-refresh .hero h1.glitch {
        -webkit-text-stroke-width: 1px;
        text-shadow:
            3px 3px 0 #71335d,
            6px 6px 0 #071827;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.summer-refresh .hero h1.glitch {
        animation: none;
        background-position: 42% 50%;
    }
}

/* ==========================================
   ASSET + UI POLISH — 2026-08-26
   ========================================== */

.summer-brand {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    overflow: hidden;
    flex: 0 0 38px;
}

.summer-brand img {
    display: block;
    width: 32px;
    height: 32px;
    max-width: 32px;
    max-height: 32px;
    object-fit: contain;
}

.footer-logo {
    display: block;
    width: 48px;
    height: 48px;
    max-width: 48px;
    max-height: 48px;
    margin: 0 auto 14px;
    object-fit: contain;
}

.social-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 0 !important;
    text-align: center !important;
    box-sizing: border-box;
}

.social-btn i {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: 1em;
    height: 1em;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    line-height: 1 !important;
    color: inherit;
}

.social-btn:hover,
.social-btn:focus-visible {
    color: #fff !important;
}

.social-btn:hover i,
.social-btn:focus-visible i {
    color: #fff !important;
}

/* Hard, game-UI edges throughout every page that loads this stylesheet. */
body *,
body *::before,
body *::after {
    border-radius: 0 !important;
}

@media (max-width: 760px) {
    .summer-brand {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .summer-brand img {
        width: 28px;
        height: 28px;
        max-width: 28px;
        max-height: 28px;
    }

    .footer-logo {
        width: 42px;
        height: 42px;
        max-width: 42px;
        max-height: 42px;
    }
}
