/**
 * Battletips Splash Page Styles
 * World Cup 2026 Teaser — 3-Screen Layout
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    /* Colors */
    --splash-gold: #ffc107;
    --splash-gold-dark: #e6a800;
    --splash-gold-glow: rgba(255, 193, 7, 0.5);
    --splash-green: #2d8a3e;
    --splash-green-dark: #1a5c28;
    --splash-dark: #0a0a0a;
    --splash-darker: #050505;
    --splash-brown: #3d2817;
    --splash-text: #ffffff;
    --splash-text-muted: rgba(255, 255, 255, 0.7);

    /* Difficulty colors */
    --difficulty-easy: #4ade80;
    --difficulty-medium: #facc15;
    --difficulty-hard: #ef4444;

    /* Spacing */
    --content-max-width: 1300px;
    --section-padding: 4rem;

    /* Typography */
    --font-display: 'Oswald', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   Base Reset & Typography
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--splash-dark);
    color: var(--splash-text);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Language Toggle
   ======================================== */
.lang-toggle {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.lang-toggle a {
    color: var(--splash-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.lang-toggle a:hover,
.lang-toggle a.active {
    color: var(--splash-gold);
}

.lang-toggle span {
    color: var(--splash-text-muted);
}

/* ========================================
   Screen Layout
   ======================================== */
.screen {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

/* ========================================
   SCREEN 1: Stadium Hero
   ======================================== */
.screen-stadium {
    background: var(--splash-dark);
    padding: var(--section-padding) 2rem;
    justify-content: center;
}

.stadium-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/stadium-hero.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color: var(--splash-dark);
    z-index: 0;
}

.stadium-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 80% 60% at 50% 30%,
        transparent 20%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.85) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.stadium-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ========================================
   Logo
   ======================================== */
.logo-container {
    margin-bottom: 1.5rem;
    text-align: center;
}

.logo {
    max-width: 350px;
    height: auto;
    filter: drop-shadow(0 0 30px var(--splash-gold-glow))
            drop-shadow(0 0 60px var(--splash-gold-glow));
    animation: logoGlow 3s ease-in-out infinite alternate;
}

.logo-fallback {
    font-size: 4rem;
    color: var(--splash-gold);
    text-shadow: 0 0 30px var(--splash-gold-glow),
                 0 0 60px var(--splash-gold-glow);
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from {
        filter: drop-shadow(0 0 30px var(--splash-gold-glow))
                drop-shadow(0 0 60px rgba(255, 193, 7, 0.3));
    }
    to {
        filter: drop-shadow(0 0 40px var(--splash-gold-glow))
                drop-shadow(0 0 80px rgba(255, 193, 7, 0.5));
    }
}

/* ========================================
   Hero Subtitle
   ======================================== */
.hero-subtitle {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    color: var(--splash-text-muted);
    margin-bottom: 0.75rem;
    text-align: center;
}

.hero-signup-date {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--splash-gold);
    margin-bottom: 2.5rem;
    text-align: center;
    opacity: 0.9;
}

/* ========================================
   Countdown
   ======================================== */
.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 4rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    min-width: 90px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--splash-gold);
    line-height: 1;
    text-shadow: 0 0 20px var(--splash-gold-glow);
    font-variant-numeric: tabular-nums;
    min-width: 2ch;
    text-align: center;
}

.countdown-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--splash-text-muted);
    margin-top: 0.25rem;
}

.countdown-separator {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--splash-gold);
    opacity: 0.5;
    animation: separatorPulse 1s ease-in-out infinite;
}

@keyframes separatorPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ========================================
   Scroll CTA Button (Screen 1)
   ======================================== */
.scroll-cta-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, var(--splash-gold-dark), var(--splash-gold));
    color: var(--splash-dark);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 1rem;
    box-shadow: 0 0 30px var(--splash-gold-glow),
                0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-medium);
    animation: bunkerPulse 2s ease-in-out infinite;
}

.scroll-cta-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 50px var(--splash-gold-glow),
                0 15px 50px rgba(0, 0, 0, 0.4);
}

.scroll-cta-btn .btn-arrow {
    font-size: 1.5rem;
    animation: arrowBounce 1s ease-in-out infinite;
}

@keyframes bunkerPulse {
    0%, 100% {
        box-shadow: 0 0 30px var(--splash-gold-glow),
                    0 10px 40px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 50px var(--splash-gold-glow),
                    0 10px 40px rgba(0, 0, 0, 0.3);
    }
}

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

/* ========================================
   First Prize Badge
   ======================================== */
.prize-badge {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 1rem;
    max-width: 320px;
    animation: prizeFadeIn 1s ease-out 0.5s both;
}

.prize-badge-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.prize-badge-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.prize-badge-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--splash-gold);
    margin-bottom: 0.25rem;
}

.prize-badge-text {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--splash-text-muted);
    margin: 0;
}

@keyframes prizeFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Prize Modal */
.prize-modal-content {
    max-width: 360px;
    text-align: center;
}

.prize-modal-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
}

.prize-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(255, 193, 7, 0.3));
}

.prize-modal-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    color: var(--splash-gold);
    margin-bottom: 0.75rem;
}

.prize-modal-text {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--splash-text-muted);
    margin: 0;
}

/* Mobile: top-left, aligned with language pill */
@media (max-width: 768px) {
    .prize-badge {
        display: flex !important;
        top: 1rem;
        bottom: auto;
        left: 1rem;
        right: auto;
        padding: 0.75rem 1rem;
        max-width: 280px;
        gap: 0.75rem;
        z-index: 50;
    }

    .prize-badge-image {
        width: 50px;
        height: 50px;
    }

    .prize-badge-label {
        font-size: 0.65rem;
    }

    .prize-badge-text {
        font-size: 0.7rem;
        line-height: 1.3;
    }
}

/* ========================================
   SCREEN 2: Features + Bots
   ======================================== */
.screen-features {
    background: var(--splash-dark);
    padding: var(--section-padding) 2rem;
}

.features-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/stadium-hero.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color: var(--splash-dark);
    z-index: 0;
}

/* Darker vignette for features screen to improve readability */
.features-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 80% 60% at 50% 30%,
        rgba(0, 0, 0, 0.5) 20%,
        rgba(0, 0, 0, 0.7) 60%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

.features-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.features-columns {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: start;
}

.features-column {
    display: flex;
    flex-direction: column;
}

.column-title {
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    color: var(--splash-gold);
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255, 193, 7, 0.3);
}

.column-divider {
    width: 2px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 193, 7, 0.4) 20%,
        rgba(255, 193, 7, 0.4) 80%,
        transparent 100%
    );
    align-self: stretch;
}

/* Back to Stadium Button (Screen 2) */
.back-to-stadium {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    color: var(--splash-text);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
}

.back-to-stadium.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-stadium:hover {
    background: rgba(255, 193, 7, 0.2);
    border-color: var(--splash-gold);
    color: var(--splash-gold);
}

.back-to-stadium .btn-arrow {
    font-size: 1.25rem;
}

/* ========================================
   Feature Cards (New Design)
   ======================================== */
.features-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-card-new {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all var(--transition-medium);
}

.feature-card-new:hover {
    border-color: rgba(255, 193, 7, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-card-new:hover .feature-card-image {
    transform: scale(1.05);
}

.feature-card-image {
    position: relative;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 1rem;
    gap: 0.75rem;
    transition: transform 8s ease-out;
    overflow: hidden;
}

.feature-icon-large {
    font-size: 1.25rem;
    opacity: 0.9;
    filter: none;
    flex-shrink: 0;
}

.feature-title-overlay {
    font-size: 1rem;
    font-weight: 600;
    color: var(--splash-text);
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.feature-desc {
    padding: 1rem;
    font-size: 0.875rem;
    color: var(--splash-text-muted);
    line-height: 1.5;
}

/* ========================================
   Bots Column
   ======================================== */
.bots-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.bot-card {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 1rem;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-medium);
}

.bot-card:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 193, 7, 0.3);
    transform: translateX(-5px);
}

.bot-avatar {
    width: 70px;
    height: 70px;
    border-radius: 0.75rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 193, 7, 0.3);
}

.bot-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bot-placeholder {
    font-size: 2rem;
}

.bot-info {
    min-width: 0;
}

.bot-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.bot-name .fi {
    margin-left: 10px;
}

.bot-difficulty {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
}

.difficulty-easy {
    background: rgba(74, 222, 128, 0.2);
    color: var(--difficulty-easy);
}

.difficulty-medium {
    background: rgba(250, 204, 21, 0.2);
    color: var(--difficulty-medium);
}

.difficulty-hard {
    background: rgba(239, 68, 68, 0.2);
    color: var(--difficulty-hard);
}

.bot-bio {
    font-size: 0.8rem;
    color: var(--splash-text-muted);
    line-height: 1.4;
}

.bot-stats-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid rgba(255, 193, 7, 0.5);
    color: var(--splash-gold);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.bot-stats-btn:hover {
    background: var(--splash-gold);
    color: var(--splash-dark);
}

/* ========================================
   Enter Bunker Button
   ======================================== */
.enter-bunker-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, var(--splash-gold-dark), var(--splash-gold));
    color: var(--splash-dark);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 1rem;
    box-shadow: 0 0 30px var(--splash-gold-glow),
                0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-medium);
    animation: bunkerPulse 2s ease-in-out infinite;
    align-self: center;
}

.enter-bunker-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 50px var(--splash-gold-glow),
                0 15px 50px rgba(0, 0, 0, 0.4);
}

.enter-bunker-btn .btn-arrow {
    font-size: 1.5rem;
    animation: arrowBounce 1s ease-in-out infinite;
}

/* ========================================
   Scroll Animations
   ======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay, 0s);
}

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

/* ========================================
   SCREEN 3: Underground Bunker
   ======================================== */
.screen-bunker {
    min-height: 100vh;
    padding: 2rem;
}

.underground-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/backgrounds/bunkerroom_background.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}


.back-to-features {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    color: var(--splash-text);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
}

.back-to-features.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-features:hover {
    background: rgba(255, 193, 7, 0.2);
    border-color: var(--splash-gold);
    color: var(--splash-gold);
}

.back-to-features .btn-arrow {
    font-size: 1.25rem;
}

.bunker-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1320px; /* Match bunker background dimensions exactly */
    margin: 0 auto;
    padding-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bunker-title {
    font-size: 2rem;
    letter-spacing: 0.15em;
    color: var(--splash-gold);
    text-shadow: 0 0 20px var(--splash-gold-glow);
    margin-bottom: 1rem;
    text-align: center;
}

.bunker-intro {
    max-width: 1100px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 1.25rem 2.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 0.75rem;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.15),
                inset 0 0 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
}

/* Desktop bunker visible, mobile hidden */
.bunker-desktop {
    display: flex;
}

.bunker-mobile {
    display: none;
}

/* ========================================
   Bunker Room
   ======================================== */
.bunker-room-container {
    position: relative;
    width: 100%;
    max-width: 1320px;
    border-radius: 1rem;
    overflow: hidden;
    /* Border as box-shadow so it doesn't affect dimensions */
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.5),
                inset 0 0 100px rgba(0, 0, 0, 0.3),
                inset 0 0 0 3px rgba(255, 193, 7, 0.3);
}

.bunker-room {
    position: relative;
    width: 100%;
    aspect-ratio: 1320 / 634;
}

.bunker-room-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* ========================================
   Bot Hotspots
   ======================================== */
.bot-hotspot {
    position: absolute;
    cursor: pointer;
    z-index: 10;
}

.hotspot-character {
    display: block;
    height: auto;
    transition: filter var(--transition-medium);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

.bot-hotspot:hover .hotspot-character {
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5))
            drop-shadow(0 0 15px var(--splash-gold-glow))
            drop-shadow(0 0 30px var(--splash-gold-glow));
}

/* Legacy avatar styles (for fallback) */
.hotspot-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--splash-gold-glow) 0%, transparent 70%);
    border-radius: 50%;
    animation: hotspotPulse 2s ease-in-out infinite;
    pointer-events: none;
}

.hotspot-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--splash-gold);
    object-fit: cover;
    background: rgba(0, 0, 0, 0.5);
    transition: all var(--transition-medium);
    z-index: 1;
}

.bot-hotspot:hover .hotspot-avatar {
    box-shadow: 0 0 30px var(--splash-gold-glow);
}

@keyframes hotspotPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* ========================================
   Mini-Me Easter Egg Hotspot
   ======================================== */

/* ========================================
   Speech Bubble (Idle Banter)
   ======================================== */
.speech-bubble {
    position: absolute;
    min-width: 180px;
    max-width: 250px;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--splash-dark);
    font-size: 0.875rem;
    line-height: 1.4;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    z-index: 15;
}

.speech-bubble.visible {
    opacity: 1;
    visibility: visible;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20px;
    border: 10px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.95);
    border-bottom: 0;
}

/* Arrow on right side (for Dr. Evil) */
.speech-bubble.arrow-right::after {
    left: auto;
    right: 20px;
}

.speech-bubble .bot-name {
    font-weight: 700;
    color: var(--splash-gold-dark);
    margin-bottom: 0.25rem;
    display: block;
}

/* Object Click & Easter Egg - Interrupted/Annoyed Style */
.speech-bubble.object-click,
.speech-bubble.easter-egg {
    border: 2px solid var(--splash-gold);
    animation: bubbleShake 0.4s ease;
}

.speech-bubble.object-click .interrupt-icon,
.speech-bubble.easter-egg .interrupt-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1em;
    height: 1.1em;
    background: var(--splash-gold);
    color: var(--splash-dark);
    font-weight: 900;
    font-size: 0.75em;
    border-radius: 50%;
    margin-right: 0.25em;
    vertical-align: middle;
}

@keyframes bubbleShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-3px) rotate(-1deg); }
    40% { transform: translateX(3px) rotate(1deg); }
    60% { transform: translateX(-2px) rotate(-0.5deg); }
    80% { transform: translateX(2px) rotate(0.5deg); }
}

/* ========================================
   Typing Dots Indicator
   ======================================== */
.typing-dots {
    position: absolute;
    display: flex;
    gap: 4px;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 14;
}

.typing-dots.visible {
    opacity: 1;
    visibility: visible;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: #666;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
    40% { transform: translateY(-6px); opacity: 1; }
}

/* ========================================
   Object Hotspots
   ======================================== */
.object-hotspot {
    position: absolute;
    cursor: pointer;
    z-index: 5;
    transition: all var(--transition-fast);
    border-radius: 0.25rem;
}

.object-hotspot:hover {
    transform: scale(1.05);
    z-index: 8;
}

.object-hotspot:hover::after {
    content: '';
    position: absolute;
    inset: -3px;
    border: 2px solid var(--splash-gold);
    border-radius: 0.5rem;
    box-shadow: 0 0 15px var(--splash-gold-glow);
    animation: objectPulse 1s ease-in-out infinite;
}

.object-hotspot .object-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

@keyframes objectPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Mini-Me bot hotspot - constrain to natural image size */
.bot-hotspot--mini .hotspot-character {
    max-width: 112px;
    max-height: 149px;
}

/* ========================================
   Easter Egg Bubble
   ======================================== */
.easter-egg-bubble {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    max-width: 400px;
    padding: 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 3px solid var(--splash-gold);
    border-radius: 1rem;
    box-shadow: 0 0 60px var(--splash-gold-glow),
                0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    text-align: center;
    font-size: 1.5rem;
    font-family: var(--font-display);
    color: var(--splash-gold);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
}

.easter-egg-bubble.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* ========================================
   Bunker Notice
   ======================================== */
.bunker-notice {
    margin-top: 2rem;
    text-align: center;
    color: var(--splash-text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

/* ========================================
   Mobile Locked Bunker
   ======================================== */
.bunker-locked {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 2rem;
}

.bunker-door {
    position: relative;
    width: 200px;
    height: 280px;
    background: linear-gradient(180deg, #4a4a4a 0%, #2a2a2a 100%);
    border-radius: 1rem 1rem 0 0;
    border: 4px solid #1a1a1a;
    margin-bottom: 2rem;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5),
                0 10px 40px rgba(0, 0, 0, 0.5);
}

.door-rivet {
    position: absolute;
    width: 16px;
    height: 16px;
    background: radial-gradient(circle at 30% 30%, #6a6a6a 0%, #3a3a3a 100%);
    border-radius: 50%;
    border: 2px solid #2a2a2a;
}

.door-rivet:nth-child(1) { top: 20px; left: 20px; }
.door-rivet:nth-child(2) { top: 20px; right: 20px; }
.door-rivet:nth-child(3) { bottom: 20px; left: 20px; }
.door-rivet:nth-child(4) { bottom: 20px; right: 20px; }

.door-handle {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 60px;
    background: linear-gradient(90deg, #5a5a5a 0%, #3a3a3a 100%);
    border-radius: 5px;
    border: 2px solid #2a2a2a;
}

.door-lock {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.5));
}

.bunker-locked-title {
    font-size: 1.5rem;
    color: var(--splash-gold);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--splash-gold-glow);
}

.bunker-locked-desc {
    color: var(--splash-text-muted);
    font-size: 1rem;
    max-width: 300px;
}

/* ========================================
   Modals
   ======================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
}

.modal.visible {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: 1rem;
    border: 1px solid rgba(255, 193, 7, 0.3);
    padding: 2rem;
    transform: translateY(20px);
    transition: all var(--transition-medium);
}

.modal.visible .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--splash-text-muted);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--splash-text);
}

/* ========================================
   Bot Modal
   ======================================== */
.bot-modal-content {
    max-width: 450px;
}

.bot-modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.bot-modal-avatar-large {
    width: 180px;
    height: 180px;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid var(--splash-gold);
    box-shadow: 0 0 30px var(--splash-gold-glow);
}

.bot-modal-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bot-modal-name {
    font-size: 1.5rem;
    color: var(--splash-gold);
    margin: 0;
}

.bot-modal-name .fi {
    margin-left: 10px;
}

.bot-modal-difficulty {
    display: inline-block;
    padding: 0.25rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 0.25rem;
}

.stats-title {
    font-size: 1rem;
    color: var(--splash-gold);
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
}

.bot-stats-table {
    width: 100%;
    border-collapse: collapse;
}

.bot-stats-table td {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bot-stats-table td:first-child {
    color: var(--splash-text-muted);
    font-size: 0.875rem;
}

.bot-stats-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--splash-gold);
}

.bot-stats-table tr:last-child td {
    border-bottom: none;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .features-columns {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .column-divider {
        display: none;
    }

    .features-column {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .bot-card:hover {
        transform: none;
    }

    .feature-card-new:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 2rem;
    }

    .logo {
        max-width: 280px;
    }

    .logo-fallback {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 0.15em;
    }

    .hero-signup-date {
        font-size: 0.9rem;
    }

    .countdown {
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-bottom: 3rem;
    }

    .countdown-item {
        padding: 0.75rem 1rem;
        min-width: 70px;
    }

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

    .countdown-separator {
        font-size: 1.5rem;
    }

    .scroll-cta-btn {
        padding: 1.25rem 2rem;
        font-size: 1rem;
    }

    .feature-card-image {
        height: 40px;
    }

    .bot-card {
        grid-template-columns: 60px 1fr;
        align-items: start;
    }

    .bot-stats-btn {
        grid-column: 1 / -1;
        margin-top: 0.5rem;
    }

    .bot-avatar {
        width: 60px;
        height: 60px;
    }

    .enter-bunker-btn {
        padding: 1.25rem 2rem;
        font-size: 1rem;
    }

    .bunker-title {
        font-size: 1.5rem;
    }

    .bunker-intro {
        font-size: 1rem;
        padding: 1rem 1.5rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    /* Swap desktop/mobile bunker */
    .bunker-desktop {
        display: none;
    }

    .bunker-mobile {
        display: flex;
    }

    .bot-hotspot {
        display: none;
    }

    .speech-bubble {
        display: none;
    }

    .object-hotspot {
        display: none;
    }

    .typing-dots {
        display: none;
    }
}

@media (max-width: 480px) {
    .screen-stadium {
        padding: 1.5rem 1rem;
    }

    .logo {
        max-width: 220px;
    }

    .hero-signup-date {
        font-size: 0.8rem;
    }

    .countdown-item {
        min-width: 60px;
        padding: 0.5rem 0.75rem;
    }

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

    .countdown-label {
        font-size: 0.65rem;
    }

    .column-title {
        font-size: 1rem;
    }

    .lang-toggle {
        top: 1rem;
        right: 1rem;
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }

    .back-to-stadium,
    .back-to-features {
        top: 1rem;
        left: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .modal-content {
        padding: 1.5rem;
    }

    .bunker-door {
        width: 160px;
        height: 220px;
    }

    .bunker-locked-title {
        font-size: 1.25rem;
    }
}
