/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #6366f1;
    --primary-pink: #ec4899;
    --primary-gold: #f59e0b;
    --dark-bg: #0f0f23;
    --dark-surface: #1a1a2e;
    --light-surface: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-accent: #fbbf24;
    --gradient-primary: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    --gradient-gold: linear-gradient(135deg, #f59e0b, #fbbf24);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hard: 0 8px 32px rgba(0, 0, 0, 0.4);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    background: 
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, var(--dark-bg) 0%, #16213e 100%);
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 1;
}

/* ===== 8-BIT RETRO LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    visibility: visible;
    font-family: 'Courier New', 'Monaco', monospace;
    overflow: hidden;
}

/* 8-bit CRT effect background */
.loading-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 2px,
            rgba(0, 255, 0, 0.03) 2px,
            rgba(0, 255, 0, 0.03) 4px
        );
    animation: crt-flicker 0.15s linear infinite;
    pointer-events: none;
}

/* Pixel grid overlay */
.loading-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 50%, rgba(0, 255, 0, 0.02) 50%),
        linear-gradient(0deg, transparent 50%, rgba(0, 255, 0, 0.02) 50%);
    background-size: 4px 4px;
    pointer-events: none;
}

@keyframes crt-flicker {
    0% { opacity: 1; }
    98% { opacity: 1; }
    99% { opacity: 0.98; }
    100% { opacity: 1; }
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-content {
    text-align: center;
    color: #00ff00;
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 2rem;
}

/* Terminal window styling */
.terminal-window {
    background: #000011;
    border: 4px solid #00ff00;
    border-radius: 0;
    padding: 1.5rem;
    box-shadow: 
        inset 0 0 50px rgba(0, 255, 0, 0.1),
        0 0 20px rgba(0, 255, 0, 0.3);
    position: relative;
    margin-bottom: 2rem;
}

.terminal-window::before {
    content: '█';
    position: absolute;
    top: 8px;
    right: 12px;
    color: #00ff00;
    animation: cursor-blink 1s infinite;
    font-size: 1.2rem;
}

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

/* SOL spinner as 8 animated purple squares in clockwise sequence */
.sol-spinner {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.spinning-sol {
    width: 100%;
    height: 100%;
    position: relative;
    background: transparent;
}

/* Create all 8 squares using multiple pseudo-elements and box-shadows */
.spinning-sol::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: transparent;
    top: 0;
    left: 0;
    animation: square-rotation 2.4s linear infinite;
}

@keyframes square-rotation {
    0% { /* Top center visible */
        box-shadow: 
            34px 0px 0 0 #8b5cf6,     /* 1. top center - VISIBLE */
            56px 12px 0 0 transparent, /* 2. top right - hidden */
            56px 34px 0 0 transparent, /* 3. right center - hidden */
            56px 56px 0 0 transparent, /* 4. bottom right - hidden */
            34px 68px 0 0 transparent, /* 5. bottom center - hidden */
            12px 56px 0 0 transparent, /* 6. bottom left - hidden */
            12px 34px 0 0 transparent, /* 7. left center - hidden */
            12px 12px 0 0 transparent; /* 8. top left - hidden */
    }
    12.5% { /* Top right visible */
        box-shadow: 
            34px 0px 0 0 transparent,  /* 1. top center - hidden */
            56px 12px 0 0 #8b5cf6,     /* 2. top right - VISIBLE */
            56px 34px 0 0 transparent, /* 3. right center - hidden */
            56px 56px 0 0 transparent, /* 4. bottom right - hidden */
            34px 68px 0 0 transparent, /* 5. bottom center - hidden */
            12px 56px 0 0 transparent, /* 6. bottom left - hidden */
            12px 34px 0 0 transparent, /* 7. left center - hidden */
            12px 12px 0 0 transparent; /* 8. top left - hidden */
    }
    25% { /* Right center visible */
        box-shadow: 
            34px 0px 0 0 transparent,  /* 1. top center - hidden */
            56px 12px 0 0 transparent, /* 2. top right - hidden */
            56px 34px 0 0 #8b5cf6,     /* 3. right center - VISIBLE */
            56px 56px 0 0 transparent, /* 4. bottom right - hidden */
            34px 68px 0 0 transparent, /* 5. bottom center - hidden */
            12px 56px 0 0 transparent, /* 6. bottom left - hidden */
            12px 34px 0 0 transparent, /* 7. left center - hidden */
            12px 12px 0 0 transparent; /* 8. top left - hidden */
    }
    37.5% { /* Bottom right visible */
        box-shadow: 
            34px 0px 0 0 transparent,  /* 1. top center - hidden */
            56px 12px 0 0 transparent, /* 2. top right - hidden */
            56px 34px 0 0 transparent, /* 3. right center - hidden */
            56px 56px 0 0 #8b5cf6,     /* 4. bottom right - VISIBLE */
            34px 68px 0 0 transparent, /* 5. bottom center - hidden */
            12px 56px 0 0 transparent, /* 6. bottom left - hidden */
            12px 34px 0 0 transparent, /* 7. left center - hidden */
            12px 12px 0 0 transparent; /* 8. top left - hidden */
    }
    50% { /* Bottom center visible */
        box-shadow: 
            34px 0px 0 0 transparent,  /* 1. top center - hidden */
            56px 12px 0 0 transparent, /* 2. top right - hidden */
            56px 34px 0 0 transparent, /* 3. right center - hidden */
            56px 56px 0 0 transparent, /* 4. bottom right - hidden */
            34px 68px 0 0 #8b5cf6,     /* 5. bottom center - VISIBLE */
            12px 56px 0 0 transparent, /* 6. bottom left - hidden */
            12px 34px 0 0 transparent, /* 7. left center - hidden */
            12px 12px 0 0 transparent; /* 8. top left - hidden */
    }
    62.5% { /* Bottom left visible */
        box-shadow: 
            34px 0px 0 0 transparent,  /* 1. top center - hidden */
            56px 12px 0 0 transparent, /* 2. top right - hidden */
            56px 34px 0 0 transparent, /* 3. right center - hidden */
            56px 56px 0 0 transparent, /* 4. bottom right - hidden */
            34px 68px 0 0 transparent, /* 5. bottom center - hidden */
            12px 56px 0 0 #8b5cf6,     /* 6. bottom left - VISIBLE */
            12px 34px 0 0 transparent, /* 7. left center - hidden */
            12px 12px 0 0 transparent; /* 8. top left - hidden */
    }
    75% { /* Left center visible */
        box-shadow: 
            34px 0px 0 0 transparent,  /* 1. top center - hidden */
            56px 12px 0 0 transparent, /* 2. top right - hidden */
            56px 34px 0 0 transparent, /* 3. right center - hidden */
            56px 56px 0 0 transparent, /* 4. bottom right - hidden */
            34px 68px 0 0 transparent, /* 5. bottom center - hidden */
            12px 56px 0 0 transparent, /* 6. bottom left - hidden */
            12px 34px 0 0 #8b5cf6,     /* 7. left center - VISIBLE */
            12px 12px 0 0 transparent; /* 8. top left - hidden */
    }
    87.5% { /* Top left visible */
        box-shadow: 
            34px 0px 0 0 transparent,  /* 1. top center - hidden */
            56px 12px 0 0 transparent, /* 2. top right - hidden */
            56px 34px 0 0 transparent, /* 3. right center - hidden */
            56px 56px 0 0 transparent, /* 4. bottom right - hidden */
            34px 68px 0 0 transparent, /* 5. bottom center - hidden */
            12px 56px 0 0 transparent, /* 6. bottom left - hidden */
            12px 34px 0 0 transparent, /* 7. left center - hidden */
            12px 12px 0 0 #8b5cf6;     /* 8. top left - VISIBLE */
    }
    100% { /* Back to top center */
        box-shadow: 
            34px 0px 0 0 #8b5cf6,     /* 1. top center - VISIBLE */
            56px 12px 0 0 transparent, /* 2. top right - hidden */
            56px 34px 0 0 transparent, /* 3. right center - hidden */
            56px 56px 0 0 transparent, /* 4. bottom right - hidden */
            34px 68px 0 0 transparent, /* 5. bottom center - hidden */
            12px 56px 0 0 transparent, /* 6. bottom left - hidden */
            12px 34px 0 0 transparent, /* 7. left center - hidden */
            12px 12px 0 0 transparent; /* 8. top left - hidden */
    }
}

/* 8-bit title styling */
.loading-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #00ff00;
    text-shadow: 
        2px 0 0 #00aa00,
        0 2px 0 #00aa00,
        -2px 0 0 #00aa00,
        0 -2px 0 #00aa00;
    letter-spacing: 4px;
    font-family: 'Courier New', monospace;
    animation: title-glow 2s ease-in-out infinite alternate;
}

@keyframes title-glow {
    0% { 
        text-shadow: 
            2px 0 0 #00aa00,
            0 2px 0 #00aa00,
            -2px 0 0 #00aa00,
            0 -2px 0 #00aa00,
            0 0 10px #00ff00;
    }
    100% { 
        text-shadow: 
            2px 0 0 #00aa00,
            0 2px 0 #00aa00,
            -2px 0 0 #00aa00,
            0 -2px 0 #00aa00,
            0 0 20px #00ff00,
            0 0 30px #00ff0080;
    }
}

/* Boot sequence text */
.boot-sequence {
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #00cc00;
    font-family: 'Courier New', monospace;
}

.boot-line {
    opacity: 0;
    animation: type-in 0.5s ease-out forwards;
    margin-bottom: 0.3rem;
}

.boot-line:nth-child(1) { animation-delay: 0.5s; }
.boot-line:nth-child(2) { animation-delay: 1.2s; }
.boot-line:nth-child(3) { animation-delay: 1.9s; }
.boot-line:nth-child(4) { animation-delay: 2.6s; }
.boot-line:nth-child(5) { animation-delay: 3.3s; }

@keyframes type-in {
    0% { 
        opacity: 0; 
        transform: translateX(-10px); 
    }
    100% { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

/* 8-bit loading bar */
.loading-bar {
    width: 400px;
    height: 32px;
    background: #000033;
    border: 3px solid #00ff00;
    margin: 1.5rem auto;
    position: relative;
    overflow: hidden;
    box-shadow: 
        inset 0 0 0 1px #000,
        0 0 10px rgba(0, 255, 0, 0.5);
}

.loading-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 8px,
            rgba(0, 255, 0, 0.1) 8px,
            rgba(0, 255, 0, 0.1) 16px
        );
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            90deg,
            #00ff00 0px,
            #00cc00 4px,
            #00ff00 8px,
            #00cc00 12px
        );
    animation: 
        loading-fill 4s ease-out forwards,
        progress-pulse 0.5s ease-in-out infinite alternate;
    position: relative;
}

.loading-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
    animation: loading-sweep 1s linear infinite;
}

@keyframes loading-fill {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes progress-pulse {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.2); }
}

@keyframes loading-sweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(300%); }
}

/* Status text */
.loading-status {
    font-size: 1rem;
    color: #ffff00;
    margin-top: 1rem;
    animation: status-blink 1.5s ease-in-out infinite;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

@keyframes status-blink {
    0%, 70% { opacity: 1; }
    71%, 100% { opacity: 0.5; }
}

/* ===== APP CONTAINER ===== */
.app-container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== HEADER ===== */
.app-header {
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.player-stats {
    display: flex;
    gap: 1rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-surface);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stat-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.stat-value {
    font-weight: 700;
    color: var(--text-accent);
}

/* ===== ONE-PAGER COMPACT DESIGN ===== */
.game-arena.one-pager {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
}

.compact-header {
    text-align: center;
    margin-bottom: 20px;
    background: var(--gradient-secondary);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow-medium);
}

.main-title {
    font-family: var(--font-family);
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 5px 0;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0 0 15px 0;
    font-weight: 500;
}

.player-stats-inline {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

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

.stat-value {
    color: var(--accent-primary);
    font-size: 1.1rem;
    font-weight: 700;
}

/* ===== COMPACT GAME LAYOUT ===== */
.compact-game-layout {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 25px;
    background: var(--gradient-glass);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--shadow-large);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== INLINE COIN AREA ===== */
.inline-coin-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.inline-coin-area .sol-coin {
    width: 80px;
    height: 80px;
    position: relative;
    cursor: grab;
    transition: all 0.3s ease;
    user-select: none;
    z-index: 10;
    touch-action: none;
}

.inline-coin-area .sol-coin:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 5px 15px rgba(255, 215, 0, 0.3));
}

.inline-coin-area .sol-coin:active {
    cursor: grabbing;
}

.inline-coin-area .sol-coin[draggable="true"] {
    cursor: grab;
}

.inline-coin-area .sol-coin[draggable="true"]:active {
    cursor: grabbing;
}

.inline-coin-area .sol-coin.dragging {
    transition: none !important;
    opacity: 0 !important;
    cursor: grabbing !important;
}

/* Override dragging opacity when drag is cancelled */
.inline-coin-area .sol-coin.drag-cancelled {
    opacity: 1 !important;
}

/* Global cursor override during drag operations */
body.dragging-sol {
    cursor: grabbing !important;
}

body.dragging-sol * {
    cursor: grabbing !important;
}

.coin-hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
    text-align: center;
    animation: hintPulse 2s ease-in-out infinite;
}

@keyframes hintPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ===== COMPACT ARCADE MACHINE ===== */
.compact-arcade-machine {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.5),
        inset 0 2px 5px rgba(255, 255, 255, 0.1);
    border: 2px solid #444;
    position: relative;
    max-width: 650px;
    margin: 0 auto;
}

.compact-arcade-machine::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00, #ff00ff);
    border-radius: 23px;
    z-index: -1;
    opacity: 0.2;
    animation: arcadeGlow 3s ease-in-out infinite alternate;
}

/* ===== MINI NEON SIGN ===== */
.mini-neon-sign {
    text-align: center;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #1a1a1a, #333);
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #555;
}

.mini-neon-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #00ffff;
    text-shadow: 
        0 0 3px #00ffff,
        0 0 6px #00ffff,
        0 0 9px #00ffff;
    letter-spacing: 1px;
}

.mini-lights {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
}

.mini-light {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
}

.mini-light.red {
    background: radial-gradient(circle, #ff4444, #cc0000);
    animation: lightBlink 1s infinite;
}

.mini-light.green {
    background: radial-gradient(circle, #44ff44, #00cc00);
    animation: lightBlink 1.5s infinite 0.5s;
}

.mini-light.blue {
    background: radial-gradient(circle, #4444ff, #0000cc);
    animation: lightBlink 2s infinite 1s;
}

/* ===== CONTROLS ROW ===== */
.controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #333, #1a1a1a);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #444;
}

/* ===== MINI COIN SLOT ===== */
.mini-coin-slot {
    flex: 1;
    max-width: 100px;
}

.mini-slot-opening {
    background: linear-gradient(135deg, #1a1a1a, #000);
    border-radius: 8px;
    border: 2px solid #444;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.mini-slot-opening:hover {
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.mini-slot-opening.active {
    border-color: #ffff00;
    box-shadow: 
        0 0 20px rgba(255, 255, 0, 0.4),
        inset 0 0 15px rgba(255, 255, 0, 0.2);
    animation: slotPulse 0.5s ease-in-out infinite alternate;
}

@keyframes slotPulse {
    0% {
        box-shadow: 
            0 0 20px rgba(255, 255, 0, 0.4),
            inset 0 0 15px rgba(255, 255, 0, 0.2);
    }
    100% {
        box-shadow: 
            0 0 30px rgba(255, 255, 0, 0.6),
            inset 0 0 25px rgba(255, 255, 0, 0.3);
    }
}

/* Enhanced drop zone feedback */
.mini-coin-slot .drag-active {
    border-color: #00ffff !important;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5) !important;
}

.mini-coin-slot.drag-hover {
    border-color: #00ffff !important;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5) !important;
    animation: dragHoverPulse 0.8s ease-in-out infinite alternate;
}

.mini-coin-slot.drag-hover .mini-slot-opening {
    border-color: #00ffff !important;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5) !important;
}

@keyframes dragHoverPulse {
    0% {
        box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 35px rgba(0, 255, 255, 0.7);
        transform: scale(1.02);
    }
}

.mini-coin-slot .slot-inner.drag-over {
    background: linear-gradient(135deg, #ffff00, #ffd700);
    color: #000;
    transform: scale(1.05);
}

.mini-coin-slot .slot-inner {
    padding: 10px;
    text-align: center;
}

.mini-coin-slot .slot-icon {
    font-size: 1.2rem;
    margin-bottom: 3px;
    display: block;
}

.mini-coin-slot .slot-text {
    font-size: 0.7rem;
    color: #00ffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== MINI CREDIT DISPLAY ===== */
.mini-credit-display {
    flex: 1;
    max-width: 80px;
}

.mini-screen {
    background: #000;
    border: 2px solid #333;
    border-radius: 6px;
    padding: 8px;
    text-align: center;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.8);
}

.mini-screen .credit-label {
    font-family: 'Courier New', monospace;
    font-size: 0.6rem;
    color: #00ff00;
    display: block;
    margin-bottom: 2px;
}

.mini-screen .credit-value {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.8);
}

/* ===== MINI ARCADE BUTTON ===== */
.mini-arcade-button {
    background: linear-gradient(145deg, #ff4444, #cc0000);
    border: none;
    border-radius: 50%;
    width: 85px;
    height: 85px;
    cursor: pointer;
    position: relative;
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.4),
        inset 0 2px 3px rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mini-arcade-button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.5),
        inset 0 2px 3px rgba(255, 255, 255, 0.3);
}

.mini-arcade-button:active:not(:disabled) {
    transform: translateY(1px);
    box-shadow: 
        0 3px 6px rgba(0, 0, 0, 0.4),
        inset 0 2px 3px rgba(0, 0, 0, 0.3);
}

.mini-arcade-button:disabled {
    background: linear-gradient(145deg, #666, #444);
    cursor: not-allowed;
    opacity: 0.6;
}

.mini-button-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.mini-led {
    width: 6px;
    height: 6px;
    background: #ff0000;
    border-radius: 50%;
    margin-top: 3px;
    box-shadow: 0 0 3px #ff0000;
}

.mini-arcade-button:not(:disabled) .mini-led {
    background: #00ff00;
    box-shadow: 0 0 3px #00ff00;
}

/* ===== COMPACT DOME ===== */
.compact-dome {
    width: 100%;
    height: 240px;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(173, 216, 255, 0.25), transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(135, 206, 250, 0.15), transparent 50%),
        linear-gradient(to bottom, rgba(176, 224, 255, 0.2), rgba(70, 130, 180, 0.1));
    border-radius: 50% 50% 15px 15px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 
        inset 0 8px 25px rgba(173, 216, 255, 0.3),
        inset 0 -8px 25px rgba(0, 50, 100, 0.4),
        0 12px 30px rgba(0, 0, 0, 0.5),
        0 4px 15px rgba(0, 0, 0, 0.3);
    border: 3px solid #4682b4;
    
    /* Enhanced glass dome effect with blue tint */
    backdrop-filter: blur(1px);
}

.compact-dome::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 25% 25%, rgba(255, 255, 255, 0.4), rgba(173, 216, 255, 0.2) 40%, transparent 70%),
        radial-gradient(ellipse at 75% 15%, rgba(255, 255, 255, 0.25), rgba(135, 206, 250, 0.15) 30%, transparent 50%),
        linear-gradient(135deg, rgba(173, 216, 255, 0.15), transparent 60%);
    border-radius: inherit;
    pointer-events: none;
    z-index: 10;
}

.compact-dome::after {
    content: '';
    position: absolute;
    top: 12%;
    left: 18%;
    width: 40%;
    height: 50%;
    background: 
        radial-gradient(ellipse at 30% 30%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.3) 50%, rgba(173, 216, 255, 0.2) 70%, transparent),
        linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(173, 216, 255, 0.2) 60%, transparent);
    border-radius: 50%;
    filter: blur(8px);
    pointer-events: none;
    z-index: 11;
    transform: rotate(-15deg);
}

.compact-dome #three-canvas {
    width: 100% !important;
    height: 100% !important;
    border-radius: inherit;
}

/* ===== STANDARD GUMBALL CONTAINER ===== */
.gumball-container {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: inherit;
    overflow: hidden;
    z-index: 5;
}

.standard-gumball {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: 
        /* Main shadow for depth */
        0 8px 16px rgba(0, 0, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.3),
        /* Ground contact shadow */
        0 12px 20px rgba(0, 0, 0, 0.2),
        /* Inner shadows for 3D effect */
        inset -4px -6px 12px rgba(0, 0, 0, 0.3),
        inset 4px 4px 8px rgba(255, 255, 255, 0.4),
        /* Rim highlight */
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: gentleFloat 4s ease-in-out infinite;
    cursor: pointer;
    z-index: 6;
    
    /* Prize-like appearance */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.standard-gumball::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 7px;
    width: 12px;
    height: 12px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3) 60%, transparent);
    border-radius: 50%;
    filter: blur(1px);
    z-index: 1;
}

.standard-gumball::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    filter: blur(4px);
    z-index: -1;
}

.standard-gumball:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.5),
        0 6px 12px rgba(0, 0, 0, 0.4),
        0 16px 30px rgba(0, 0, 0, 0.3),
        inset -4px -6px 12px rgba(0, 0, 0, 0.3),
        inset 4px 4px 8px rgba(255, 255, 255, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

/* Stacking layers with different z-indexes */
.standard-gumball.layer-bottom {
    z-index: 3;
}

.standard-gumball.layer-middle {
    z-index: 4;
}

.standard-gumball.layer-top {
    z-index: 5;
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-3px) rotate(1deg);
    }
    50% {
        transform: translateY(-6px) rotate(0deg);
    }
    75% {
        transform: translateY(-3px) rotate(-1deg);
    }
}

.standard-gumball.shake {
    animation: prizeShake 0.8s ease-in-out;
}

@keyframes prizeShake {
    0%, 100% { transform: translateX(0) translateY(0); }
    10% { transform: translateX(-2px) translateY(-1px); }
    20% { transform: translateX(2px) translateY(1px); }
    30% { transform: translateX(-3px) translateY(-2px); }
    40% { transform: translateX(3px) translateY(2px); }
    50% { transform: translateX(-2px) translateY(-1px); }
    60% { transform: translateX(2px) translateY(1px); }
    70% { transform: translateX(-1px) translateY(-1px); }
    80% { transform: translateX(1px) translateY(1px); }
    90% { transform: translateX(-1px) translateY(0px); }
}

.compact-dome .dome-reflection {
    position: absolute;
    top: 8%;
    left: 12%;
    width: 30%;
    height: 35%;
    background: 
        radial-gradient(ellipse at 40% 30%, rgba(255, 255, 255, 0.7), rgba(173, 216, 255, 0.4) 40%, rgba(135, 206, 250, 0.2) 60%, transparent 80%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.6), rgba(173, 216, 255, 0.3) 50%, transparent);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(3px);
    z-index: 12;
    transform: rotate(-20deg);
    animation: glint 4s ease-in-out infinite;
}

/* Additional glint effect */
.compact-dome .dome-reflection::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 15%;
    width: 8px;
    height: 25px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(173, 216, 255, 0.6), transparent);
    border-radius: 4px;
    filter: blur(1px);
    animation: sparkle 3s ease-in-out infinite;
}

/* Secondary glint */
.compact-dome .dome-reflection::after {
    content: '';
    position: absolute;
    bottom: 30%;
    left: 10%;
    width: 12px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    filter: blur(1px);
    animation: shimmer 2.5s ease-in-out infinite;
}

@keyframes glint {
    0%, 100% {
        opacity: 0.8;
        transform: rotate(-20deg) scale(1);
    }
    50% {
        opacity: 1;
        transform: rotate(-18deg) scale(1.05);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.6;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

/* Blue Glass Overlay */
.blue-glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 60% 40%, rgba(135, 206, 250, 0.15), transparent 70%),
        linear-gradient(to bottom, rgba(173, 216, 255, 0.1), rgba(70, 130, 180, 0.05)),
        linear-gradient(45deg, transparent 30%, rgba(173, 216, 255, 0.08) 50%, transparent 70%);
    border-radius: inherit;
    pointer-events: none;
    z-index: 13;
    mix-blend-mode: multiply;
}

/* ===== MINI PRIZE CHUTE ===== */
.mini-prize-chute {
    text-align: center;
    background: linear-gradient(135deg, #222, #111);
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #333;
}

.mini-chute-opening {
    background: #000;
    border-radius: 6px;
    height: 25px;
    margin-bottom: 5px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.8);
    position: relative;
}

.mini-chute-opening::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00ff00, transparent);
    animation: chuteGlow 2s ease-in-out infinite;
}

.chute-label {
    font-family: 'Courier New', monospace;
    font-size: 0.6rem;
    color: #00ff00;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* ===== INLINE PRIZE AREA ===== */
.inline-prize-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 150px;
}

.inline-prize-area h4 {
    margin: 0 0 15px 0;
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
}

.inline-prize-area .prize-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 100px;
    width: 100%;
}

/* ===== COMPACT FOOTER ===== */
.compact-footer {
    text-align: center;
    padding: 15px;
    margin-top: auto;
}

.mini-disclaimer {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
    opacity: 0.7;
}

/* ===== RESPONSIVE ONE-PAGER ===== */
@media (max-width: 768px) {
    .compact-game-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 20px;
        padding: 20px;
    }
    
    .inline-coin-area {
        order: 1;
    }
    
    .compact-arcade-machine {
        order: 2;
        max-width: 100%;
    }
    
    .inline-prize-area {
        order: 3;
        min-width: auto;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .compact-dome {
        height: 150px;
    }
    
    .controls-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .controls-row > * {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .game-arena.one-pager {
        padding: 15px;
        gap: 15px;
    }
    
    .compact-header {
        padding: 15px;
    }
    
    .main-title {
        font-size: 1.8rem;
    }
    
    .player-stats-inline {
        gap: 20px;
    }
    
    .compact-game-layout {
        padding: 15px;
    }
    
    .inline-coin-area .sol-coin {
        width: 60px;
        height: 60px;
    }
    
    .compact-dome {
        height: 120px;
    }
    
    .mini-arcade-button {
        width: 60px;
        height: 60px;
    }
}

.game-arena {
    flex: 1;
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* ===== SOL COIN AREA ===== */
.sol-coin-area {
    position: sticky;
    top: 120px;
}

.coin-container {
    background: var(--light-surface);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.sol-coin {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    cursor: grab;
    transition: var(--transition);
}

.sol-coin:hover {
    transform: scale(1.05);
}

.sol-coin:active {
    cursor: grabbing;
    transform: scale(0.95);
}

.coin-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 8px 24px rgba(245, 158, 11, 0.4));
    pointer-events: none;
    user-select: none;
}

.coin-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: coinGlow 3s ease-in-out infinite;
}

@keyframes coinGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.drag-hint {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-surface);
    color: var(--text-accent);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    animation: hintPulse 4s ease-in-out infinite;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

@keyframes hintPulse {
    0%, 80%, 100% { opacity: 0; transform: translateX(-50%) translateY(0); }
    10%, 70% { opacity: 1; transform: translateX(-50%) translateY(-10px); }
}

.hint-arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
}

.coin-description {
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== MACHINE AREA ===== */
.machine-area {
    position: relative;
}

.machine-header {
    text-align: center;
    margin-bottom: 2rem;
}

.machine-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.machine-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

/* ===== ARCADE MACHINE STYLES ===== */
.arcade-machine {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 25px;
    padding: 25px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        inset 0 2px 10px rgba(255, 255, 255, 0.1),
        inset 0 -2px 10px rgba(0, 0, 0, 0.3);
    border: 3px solid #444;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.arcade-machine::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00, #ff00ff);
    border-radius: 30px;
    z-index: -1;
    opacity: 0.3;
    animation: arcadeGlow 3s ease-in-out infinite alternate;
}

@keyframes arcadeGlow {
    0% { opacity: 0.2; }
    100% { opacity: 0.5; }
}

/* ===== ARCADE HEADER ===== */
.arcade-header {
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a1a1a, #333);
    border-radius: 15px;
    padding: 15px;
    border: 2px solid #555;
}

.neon-sign {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.neon-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: #00ffff;
    text-shadow: 
        0 0 5px #00ffff,
        0 0 10px #00ffff,
        0 0 15px #00ffff,
        0 0 20px #00ffff;
    animation: neonFlicker 2s infinite alternate;
    letter-spacing: 2px;
}

@keyframes neonFlicker {
    0%, 100% { 
        text-shadow: 
            0 0 5px #00ffff,
            0 0 10px #00ffff,
            0 0 15px #00ffff,
            0 0 20px #00ffff;
    }
    50% { 
        text-shadow: 
            0 0 2px #00ffff,
            0 0 5px #00ffff,
            0 0 8px #00ffff,
            0 0 12px #00ffff;
    }
}

.arcade-lights {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.arcade-lights .light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #333;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

.arcade-lights .light.red {
    background: radial-gradient(circle, #ff4444, #cc0000);
    animation: lightBlink 1s infinite;
}

.arcade-lights .light.yellow {
    background: radial-gradient(circle, #ffff44, #cccc00);
    animation: lightBlink 1.5s infinite 0.25s;
}

.arcade-lights .light.green {
    background: radial-gradient(circle, #44ff44, #00cc00);
    animation: lightBlink 2s infinite 0.5s;
}

.arcade-lights .light.blue {
    background: radial-gradient(circle, #4444ff, #0000cc);
    animation: lightBlink 2.5s infinite 0.75s;
}

@keyframes lightBlink {
    0%, 80% { opacity: 0.3; }
    90%, 100% { opacity: 1; }
}

/* ===== COIN SLOT SECTION ===== */
.coin-slot-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #333, #1a1a1a);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid #444;
}

.arcade-coin-slot {
    flex: 1;
    max-width: 250px;
}

.slot-bezel {
    background: linear-gradient(145deg, #666, #333);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 
        inset 0 4px 8px rgba(0, 0, 0, 0.6),
        0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.slot-opening {
    background: linear-gradient(135deg, #1a1a1a, #000);
    border-radius: 12px;
    border: 3px solid #444;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.slot-opening:hover {
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.slot-opening.active {
    border-color: #ffff00;
    box-shadow: 0 0 25px rgba(255, 255, 0, 0.5);
    background: linear-gradient(135deg, #333, #1a1a1a);
}

.arcade-coin-slot .slot-inner {
    padding: 15px;
    text-align: center;
    position: relative;
}

.arcade-coin-slot .slot-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.arcade-coin-slot .slot-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #00ffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.slot-guide {
    margin-top: 10px;
    opacity: 0.7;
}

.guide-line {
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffff00, transparent);
    margin: 5px auto;
    border-radius: 1px;
}

.guide-text {
    font-size: 0.7rem;
    color: #ffff00;
    font-weight: 500;
}

.coin-path {
    margin-top: 10px;
    text-align: center;
}

.path-track {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-bottom: 5px;
}

.path-segment {
    width: 4px;
    height: 15px;
    background: linear-gradient(to bottom, #ffff00, #cc9900);
    border-radius: 2px;
    animation: pathFlow 1s infinite;
}

.path-segment:nth-child(2) { animation-delay: 0.2s; }
.path-segment:nth-child(3) { animation-delay: 0.4s; }

@keyframes pathFlow {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

.path-arrow {
    font-size: 1.2rem;
    color: #ffff00;
    animation: arrowBounce 1.5s ease-in-out infinite;
}

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

/* ===== CREDIT DISPLAY ===== */
.credit-display {
    flex-shrink: 0;
    margin-left: 20px;
}

.credit-screen {
    background: #000;
    border: 3px solid #333;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    box-shadow: 
        inset 0 2px 10px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(0, 255, 0, 0.3);
}

.screen-border {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid #00ff00;
    border-radius: 8px;
    opacity: 0.5;
}

.screen-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.credit-label {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: #00ff00;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.credit-value {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
    min-height: 1.5rem;
}

.screen-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 0, 0.1) 2px,
        rgba(0, 255, 0, 0.1) 4px
    );
    pointer-events: none;
    animation: scanlines 0.1s linear infinite;
}

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

@keyframes coinInsertFlash {
    0% { background: linear-gradient(135deg, #1a1a1a, #000); }
    50% { background: linear-gradient(135deg, #ffff00, #ffaa00); }
    100% { background: linear-gradient(135deg, #1a1a1a, #000); }
}

/* ===== CONTROL PANEL ===== */
.control-panel {
    background: linear-gradient(135deg, #333, #1a1a1a);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid #444;
    margin-bottom: 20px;
}

.panel-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.arcade-button {
    background: linear-gradient(145deg, #ff4444, #cc0000);
    border: none;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    cursor: pointer;
    position: relative;
    box-shadow: 
        0 8px 15px rgba(0, 0, 0, 0.4),
        inset 0 2px 5px rgba(255, 255, 255, 0.3),
        inset 0 -2px 5px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.arcade-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 20px rgba(0, 0, 0, 0.5),
        inset 0 2px 5px rgba(255, 255, 255, 0.3),
        inset 0 -2px 5px rgba(0, 0, 0, 0.3);
}

.arcade-button:active:not(:disabled) {
    transform: translateY(2px);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.4),
        inset 0 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 -2px 5px rgba(255, 255, 255, 0.2);
}

.arcade-button:disabled {
    background: linear-gradient(145deg, #666, #444);
    cursor: not-allowed;
    opacity: 0.6;
}

.button-surface {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

.button-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    letter-spacing: 1px;
}

.button-led {
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    margin-top: 5px;
    box-shadow: 
        0 0 5px #ff0000,
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    animation: ledBlink 2s infinite;
}

@keyframes ledBlink {
    0%, 50% { opacity: 0.3; }
    75%, 100% { opacity: 1; }
}

.arcade-button:not(:disabled) .button-led {
    background: #00ff00;
    box-shadow: 
        0 0 5px #00ff00,
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.instruction-panel {
    text-align: center;
}

.instruction-text {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #00ff00;
    margin: 0;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.status-lights {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.status-light {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #333;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.status-light::after {
    content: attr(data-label);
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    color: #666;
    white-space: nowrap;
}

.status-light.ready {
    background: radial-gradient(circle, #ffff00, #cccc00);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(255, 255, 0, 0.5);
}

.status-light.play {
    background: radial-gradient(circle, #00ff00, #00cc00);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(0, 255, 0, 0.5);
}

.status-light.win {
    background: radial-gradient(circle, #ff00ff, #cc00cc);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(255, 0, 255, 0.5);
    animation: winPulse 0.5s infinite alternate;
}

@keyframes winPulse {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* ===== PRIZE CHUTE ===== */
.prize-chute {
    text-align: center;
    background: linear-gradient(135deg, #222, #111);
    border-radius: 10px;
    padding: 15px;
    border: 2px solid #333;
}

.chute-opening {
    background: #000;
    border-radius: 8px;
    height: 40px;
    position: relative;
    margin-bottom: 10px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.8);
}

.chute-door {
    background: linear-gradient(135deg, #444, #222);
    height: 100%;
    width: 80%;
    margin: 0 auto;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
}

.chute-lights {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff00, transparent);
    animation: chuteGlow 2s ease-in-out infinite;
}

@keyframes chuteGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.chute-label {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: #00ff00;
    font-weight: bold;
    letter-spacing: 1px;
}

/* ===== DOME ENHANCEMENTS ===== */
.arcade-machine .machine-dome {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.1));
    border: 3px solid #444;
    box-shadow: 
        inset 0 5px 15px rgba(255, 255, 255, 0.1),
        inset 0 -5px 15px rgba(0, 0, 0, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.dome-reflection {
    position: absolute;
    top: 10%;
    left: 20%;
    width: 30%;
    height: 40%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(10px);
}

.dome-frame {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid #666;
    border-radius: inherit;
    pointer-events: none;
}

.gumball-machine {
    background: var(--light-surface);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow-hard);
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.machine-dome {
    height: 300px;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    overflow: hidden;
}

#three-canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.dome-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 30%, rgba(255, 255, 255, 0.3), transparent 60%),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.machine-controls {
    padding: 2rem;
    background: var(--dark-surface);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* ===== COIN SLOT ===== */
.coin-slot {
    margin-bottom: 2rem;
    position: relative;
}

.slot-inner {
    background: linear-gradient(145deg, #111, #222);
    border: 2px dashed rgba(245, 158, 11, 0.3);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.slot-inner.active {
    border-color: var(--primary-gold);
    background: linear-gradient(145deg, #1a1a0a, #2a2a0a);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.slot-inner.active .slot-glow {
    opacity: 1;
}

.slot-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.slot-text {
    color: var(--text-secondary);
    font-weight: 600;
    transition: var(--transition);
}

.slot-inner.active .slot-text {
    color: var(--text-accent);
}

.slot-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.2), transparent);
    opacity: 0;
    transition: var(--transition);
}

.slot-inner.active .slot-glow {
    animation: slotGlow 2s ease-in-out infinite;
}

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

/* ===== SPIN BUTTON ===== */
.spin-area {
    text-align: center;
    margin-bottom: 2rem;
}

.spin-button {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-primary);
    color: white;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: 1rem;
}

.spin-button:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: var(--shadow-hard);
}

.spin-button:active:not(:disabled) {
    transform: scale(0.95);
}

.spin-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(145deg, #333, #222);
}

.spin-button.spinning {
    animation: buttonSpin 2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes buttonSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(720deg) scale(1.1); }
    100% { transform: rotate(1440deg) scale(1); }
}

.button-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.button-icon {
    font-size: 2rem;
}

.button-text {
    font-weight: 700;
    font-size: 1rem;
}

.button-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-gold);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.spin-button:hover:not(:disabled) .button-glow {
    opacity: 0.5;
    animation: buttonGlow 1.5s ease-in-out infinite;
}

@keyframes buttonGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.spin-instruction {
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
}

/* ===== PRIZE SLOT ===== */
.prize-slot {
    text-align: center;
}

.slot-opening {
    width: 100px;
    height: 40px;
    background: linear-gradient(145deg, #000, #111);
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.5);
}

.opening-lights {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-gold);
    border-radius: 20px;
    opacity: 0;
    transition: var(--transition);
}

.prize-slot.active .opening-lights {
    opacity: 0.7;
    animation: openingPulse 1s ease-in-out infinite;
}

@keyframes openingPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* ===== DROP ZONE ===== */
.drop-zone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 3px dashed rgba(245, 158, 11, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 50;
}

.drop-zone.active {
    opacity: 1;
    border-color: var(--primary-gold);
    background: rgba(245, 158, 11, 0.1);
    transform: translate(-50%, -50%) scale(1.1);
    animation: dropZoneRipple 1.5s ease-in-out infinite;
}

@keyframes dropZoneRipple {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
    100% { box-shadow: 0 0 0 30px rgba(245, 158, 11, 0); }
}

.drop-content {
    text-align: center;
    color: var(--text-accent);
}

.drop-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: dropBounce 1s ease-in-out infinite;
}

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

.drop-text {
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===== PRIZE AREA ===== */
.prize-area {
    position: sticky;
    top: 120px;
    background: var(--light-surface);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    display: none;
}

.prize-area.active {
    display: block;
    animation: prizeSlideIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes prizeSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.prize-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.prize-container {
    margin-bottom: 1.5rem;
}

.prize-ball {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-soft);
    animation: prizePulse 2s ease-in-out infinite;
}

.prize-ball::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 25%;
    width: 40%;
    height: 40%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    filter: blur(15px);
}

.prize-ball::after {
    content: '🎁';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    z-index: 2;
}

.prize-ball:hover {
    transform: scale(1.1);
    animation: none;
    box-shadow: var(--shadow-hard), 0 0 30px rgba(245, 158, 11, 0.5);
}

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

/* Gumball Style Prize Balls */
.prize-ball.gumball-style {
    background: none;
    border: none;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.prize-ball.gumball-style::before {
    display: none;
}

.prize-ball.gumball-style::after {
    display: none;
}

.prize-ball.gumball-style .prize-ball-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gumball-shine {
    position: absolute;
    top: 15%;
    left: 20%;
    width: 30%;
    height: 30%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    border-radius: 50%;
    z-index: 1;
}

.prize-ball.gumball-style .prize-preview {
    font-size: 2.5rem;
    z-index: 2;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.prize-ball.gumball-style:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.6),
        inset 0 -2px 0 rgba(0, 0, 0, 0.3),
        0 0 20px rgba(245, 158, 11, 0.4);
}

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

/* ===== FOOTER ===== */
.app-footer {
    margin-top: auto;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
}

.gumball-machine {
    background: linear-gradient(145deg, #ff6b6b, #ee5a52);
    border-radius: 25px;
    padding: 0;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
    position: relative;
    width: 350px;
    height: 500px;
    transition: all 0.3s ease;
    border: 4px solid #fff;
    overflow: hidden;
}

.gumball-machine.active {
    animation: machineShake 0.6s ease-in-out;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 215, 0, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

/* Three.js Container */
.threejs-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    border-radius: 25px 25px 0 0;
    overflow: hidden;
    z-index: 1;
}

.threejs-container canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* ===== PRIZE MODAL ===== */
.prize-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.prize-modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-hard);
    animation: modalSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.7) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.close-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.reveal-header h2 {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.reveal-content {
    text-align: center;
    margin-bottom: 2rem;
}

.prize-item {
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.prize-emoji {
    font-size: 5rem;
    margin-bottom: 1rem;
    display: block;
    animation: prizeReveal 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes prizeReveal {
    from {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.prize-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.prize-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.5;
}

.reveal-actions {
    text-align: center;
}

.play-again-button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.play-again-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .game-arena {
        grid-template-columns: 280px 1fr 280px;
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .game-arena {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .sol-coin-area,
    .prize-area {
        position: static;
    }
    
    .machine-title {
        font-size: 2rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .app-header {
        padding: 1rem;
    }
    
    .brand-logo {
        font-size: 1.5rem;
    }
    
    .game-arena {
        padding: 1rem;
    }
    
    .machine-title {
        font-size: 1.8rem;
    }
    
    .sol-coin {
        width: 120px;
        height: 120px;
    }
    
    .spin-button {
        width: 100px;
        height: 100px;
    }
    
    .prize-ball {
        width: 100px;
        height: 100px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .reveal-header h2 {
        font-size: 2rem;
    }
    
    .prize-title {
        font-size: 1.5rem;
    }
    
    .prize-emoji {
        font-size: 4rem;
    }
}

/* ===== UTILITIES ===== */
.hidden {
    display: none !important;
}

.no-scroll {
    overflow: hidden;
}

/* ===== PARTICLE EFFECTS ===== */
.particle {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    font-size: 1.5rem;
    animation: particleFloat 3s ease-out forwards;
}

@keyframes particleFloat {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) rotate(360deg) scale(0.5);
    }
}

/* ===== FLASH EFFECTS ===== */
.screen-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9997;
    animation: flashEffect 0.3s ease-out;
}

@keyframes flashEffect {
    0% { opacity: 0; }
    50% { opacity: 0.3; }
    100% { opacity: 0; }
}

/* Responsive Design */

.glass-dome {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 30%, rgba(255, 255, 255, 0.8), transparent 60%),
        radial-gradient(ellipse at 70% 70%, rgba(255, 255, 255, 0.4), transparent 40%);
    border-radius: inherit;
    position: relative;
}

.dome-reflection {
    position: absolute;
    top: 10%;
    left: 20%;
    width: 40%;
    height: 60%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, transparent 50%);
    border-radius: 60% 20% 60% 40%;
    transform: rotate(-20deg);
}

.gumballs {
    position: absolute;
    top: 25px;
    left: 25px;
    right: 25px;
    bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-around;
    gap: 5px;
}

.gumball {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    box-shadow: 
        inset -4px -4px 8px rgba(0, 0, 0, 0.3), 
        inset 4px 4px 8px rgba(255, 255, 255, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.2);
    animation: gumballFloat 5s ease-in-out infinite;
    position: relative;
}

.gumball::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 25%;
    width: 30%;
    height: 30%;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    filter: blur(2px);
}

.gumball:nth-child(even) {
    animation-delay: -2.5s;
}

.gumball:nth-child(3n) {
    animation-delay: -1.5s;
}

.gumball.red { background: linear-gradient(135deg, #ff4757, #c44569); }
.gumball.blue { background: linear-gradient(135deg, #3742fa, #2f3542); }
.gumball.green { background: linear-gradient(135deg, #2ed573, #1e90ff); }
.gumball.yellow { background: linear-gradient(135deg, #ffa502, #ff6348); }
.gumball.purple { background: linear-gradient(135deg, #a55eea, #8854d0); }
.gumball.orange { background: linear-gradient(135deg, #ff6348, #ff4757); }
.gumball.pink { background: linear-gradient(135deg, #fd79a8, #e84393); }
.gumball.cyan { background: linear-gradient(135deg, #00cec9, #00b894); }

@keyframes gumballFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-5px) rotate(120deg); }
    66% { transform: translateY(5px) rotate(240deg); }
}

/* Machine Body */
.machine-body {
    background: linear-gradient(145deg, #f8f9ff, #e2e8f0);
    border-radius: 0 0 20px 20px;
    padding: 2rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    box-shadow: 
        inset 0 4px 8px rgba(255, 255, 255, 0.5),
        inset 0 -4px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.coin-slot {
    background: linear-gradient(145deg, #2d3748, #1a202c);
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border: 3px dashed #4a5568;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.coin-slot.active::before {
    left: 100%;
}

.coin-slot.active {
    border-color: #ffd700;
    background: linear-gradient(145deg, #744210, #8b4513);
    box-shadow: 
        0 0 25px rgba(255, 215, 0, 0.5),
        inset 0 2px 4px rgba(255, 215, 0, 0.3);
}

.slot-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.slot-text {
    color: #a0aec0;
    font-weight: 600;
    font-size: 1rem;
}

.coin-slot.active .slot-text {
    color: #ffd700;
}

/* Dial Section */
.dial-section {
    text-align: center;
    margin-bottom: 1.5rem;
}

.dial {
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, #ff6b6b, #ee5a52);
    border-radius: 50%;
    margin: 0 auto 1rem;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 4px solid #fff;
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.dial:hover {
    transform: scale(1.05);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 107, 107, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.dial.spinning {
    animation: dialSpin 2.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes dialSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(540deg) scale(1.1); }
    100% { transform: rotate(1080deg) scale(1); }
}

.dial-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dial-handle {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 50px;
    background: linear-gradient(145deg, #4a5568, #2d3748);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid #fff;
}

.dial-center {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.dial-instruction {
    color: #4a5568;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* Dispenser */
.dispenser {
    background: linear-gradient(145deg, #2d3748, #1a202c);
    border-radius: 15px;
    height: 50px;
    position: relative;
    box-shadow: 
        inset 0 4px 8px rgba(0, 0, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.2);
}

.dispenser-opening {
    width: 80px;
    height: 25px;
    background: #000;
    border-radius: 12px;
    margin: 0 auto;
    position: relative;
    top: 12px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
}

.opening-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.5), transparent);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.machine-base {
    margin-top: 1rem;
    text-align: center;
}

.base-legs {
    width: 60px;
    height: 20px;
    background: linear-gradient(145deg, #4a5568, #2d3748);
    border-radius: 10px;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Drop Zone Overlay */
.drop-zone-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: rgba(255, 215, 0, 0.1);
    border: 4px dashed rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 30;
}

.drop-zone-overlay.drag-over {
    opacity: 1;
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
    transform: translate(-50%, -50%) scale(1.1);
    animation: dropZonePulse 1s ease-in-out infinite;
}

@keyframes dropZonePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    50% { box-shadow: 0 0 0 20px rgba(255, 215, 0, 0); }
}

.drop-zone-content {
    text-align: center;
    color: #ffd700;
}

.drop-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 1s ease-in-out infinite;
}

.drop-zone-content p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

/* Prize Display */
.prize-display {
    margin-top: 3rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 2rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
    max-width: 400px;
    display: none;
}

.prize-display.active {
    display: block;
    animation: prizeSlideUp 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes prizeSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.prize-header h3 {
    color: #ffd700;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.prize-ball-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.prize-instructions {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-style: italic;
}

.prize-ball {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.4),
        inset 0 4px 8px rgba(255, 255, 255, 0.3);
    animation: prizeBounce 2s ease-in-out infinite, prizeGlow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    border: 3px solid #fff;
}

.prize-ball::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 35%;
    height: 35%;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    filter: blur(8px);
}

.prize-ball::after {
    content: '🎁';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    z-index: 2;
}

.prize-ball:hover {
    transform: scale(1.15);
    animation: none;
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 215, 0, 0.8),
        inset 0 4px 8px rgba(255, 255, 255, 0.3);
}

@keyframes prizeBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes prizeGlow {
    0%, 100% { 
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), inset 0 4px 8px rgba(255, 255, 255, 0.3); 
    }
    50% { 
        box-shadow: 
            0 10px 20px rgba(0, 0, 0, 0.4), 
            0 0 40px rgba(255, 215, 0, 0.7), 
            inset 0 4px 8px rgba(255, 255, 255, 0.3); 
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .game-stage {
        padding: 1rem;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .gumball-machine {
        width: 300px;
        height: 450px;
    }
    
    .machine-title h2 {
        font-size: 2rem;
    }
    
    .sol-token {
        width: 80px;
        height: 80px;
    }
    
    .game-hud {
        padding: 1rem;
    }
    
    .hud-left {
        gap: 1rem;
    }
}
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

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

.modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: #ffd700;
    transform: scale(1.2);
}

.prize-content h2 {
    color: #fff;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.prize-item {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.prize-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.prize-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.prize-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.play-again-btn {
    background: linear-gradient(145deg, #ff6b6b, #ee5a52);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.play-again-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 107, 107, 0.4);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-links a:hover {
    color: #ffd700;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .game-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .gumball-machine {
        width: 250px;
        padding: 1.5rem;
    }
    
    .machine-top {
        height: 150px;
    }
    
    .sol-image {
        width: 120px;
        height: 120px;
    }
    
    .social-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Particle Effect */
.particle {
    position: fixed;
    pointer-events: none;
    z-index: 1500;
    font-size: 1.5rem;
    animation: particleFloat 3s ease-out forwards;
}

@keyframes particleFloat {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) rotate(360deg);
    }
}

/* ===== ACTION BUTTONS ===== */
.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
}

.action-buttons.floating {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    margin: 0;
    flex-direction: row;
    gap: 10px;
}

.action-btn {
    padding: 8px 16px;
    border: 3px solid #444;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 80px;
    height: 36px;
    background: linear-gradient(145deg, #333, #1a1a1a);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.6),
        inset 0 1px 2px rgba(255, 255, 255, 0.1),
        inset 0 -1px 2px rgba(0, 0, 0, 0.3);
}

.floating .action-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
    min-width: 70px;
    height: 32px;
    border: 2px solid #444;
}

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

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

.action-btn:hover {
    transform: translateY(-1px);
    border-color: #666;
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.7),
        inset 0 1px 2px rgba(255, 255, 255, 0.2),
        inset 0 -1px 2px rgba(0, 0, 0, 0.4);
}

.action-btn:active {
    transform: translateY(1px);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.6),
        inset 0 1px 2px rgba(0, 0, 0, 0.3),
        inset 0 -1px 2px rgba(255, 255, 255, 0.1);
}

.pumpfun-btn {
    color: #ffaa00;
    text-shadow: 
        0 0 3px #ffaa00,
        0 1px 2px rgba(0, 0, 0, 0.8);
    border-color: #ffaa00;
}

.pumpfun-btn:hover {
    color: #ffcc33;
    border-color: #ffcc33;
    text-shadow: 
        0 0 5px #ffaa00,
        0 0 8px #ffaa00,
        0 1px 2px rgba(0, 0, 0, 0.8);
}

.xcomms-btn {
    color: #00aaff;
    text-shadow: 
        0 0 3px #00aaff,
        0 1px 2px rgba(0, 0, 0, 0.8);
    border-color: #00aaff;
}

.xcomms-btn:hover {
    color: #33bbff;
    border-color: #33bbff;
    text-shadow: 
        0 0 5px #00aaff,
        0 0 8px #00aaff,
        0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Responsive action buttons */
@media (max-width: 768px) {
    .action-buttons.floating {
        top: 15px;
        right: 15px;
        gap: 8px;
    }
    
    .floating .action-btn {
        padding: 5px 10px;
        font-size: 0.7rem;
        min-width: 60px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .action-buttons.floating {
        top: 10px;
        right: 10px;
        gap: 6px;
    }
    
    .floating .action-btn {
        padding: 4px 8px;
        font-size: 0.65rem;
        min-width: 50px;
        height: 24px;
        border: 1px solid #444;
    }
}

/* ===== LIVE FEED SECTION ===== */
.live-feed-section {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 20px;
}

.live-feed-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #1a1a1a, #333);
    border-radius: 15px;
    border: 2px solid #444;
}

.live-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff4444;
    box-shadow: 
        0 0 5px #ff4444,
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 
            0 0 5px #ff4444,
            inset 0 1px 2px rgba(255, 255, 255, 0.3);
    }
    50% {
        opacity: 0.6;
        box-shadow: 
            0 0 15px #ff4444,
            0 0 25px rgba(255, 68, 68, 0.4),
            inset 0 1px 2px rgba(255, 255, 255, 0.3);
    }
}

.live-feed-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #00ffff;
    text-shadow: 
        0 0 5px #00ffff,
        0 0 10px #00ffff;
    margin: 0;
    letter-spacing: 1px;
}

.live-feed-title .live-text {
    color: #ff4444;
    text-shadow: 
        0 0 5px #ff4444,
        0 0 10px #ff4444;
}

.live-feed-container {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid #444;
    max-height: 300px;
    overflow-y: auto;
    position: relative;
}

/* Custom scrollbar */
.live-feed-container::-webkit-scrollbar {
    width: 8px;
}

.live-feed-container::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.live-feed-container::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

.live-feed-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #333, #222);
    border-radius: 10px;
    border: 1px solid #444;
    opacity: 0;
    transform: translateY(20px);
    animation: feedItemSlideIn 0.5s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.feed-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.feed-item.fresh::before {
    left: 100%;
}

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

.visitor-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #667eea);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.visitor-details {
    flex: 1;
}

.visitor-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #00ffff;
    margin: 0 0 4px 0;
    text-shadow: 0 0 3px rgba(0, 255, 255, 0.5);
}

.visitor-action {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #ffff00;
    margin: 0;
    text-shadow: 0 0 3px rgba(255, 255, 0, 0.5);
}

.action-timestamp {
    font-size: 0.75rem;
    color: #888;
    margin-left: auto;
    white-space: nowrap;
    flex-shrink: 0;
}

.sol-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin: 0 2px;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.empty-feed {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

.empty-feed-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-feed-text {
    font-size: 1.1rem;
    margin: 0;
}

/* Feed animations */
.feed-item.new {
    animation: newItemGlow 1s ease-out;
}

@keyframes newItemGlow {
    0% {
        border-color: #00ffff;
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    }
    100% {
        border-color: #444;
        box-shadow: none;
    }
}

/* Responsive design for live feed */
@media (max-width: 768px) {
    .live-feed-section {
        margin: 1.5rem auto 0;
        padding: 0 15px;
    }
    
    .live-feed-header {
        padding: 12px 15px;
    }
    
    .live-feed-title {
        font-size: 1.3rem;
    }
    
    .live-feed-container {
        padding: 15px;
        max-height: 250px;
    }
    
    .feed-item {
        gap: 12px;
        padding: 10px 12px;
    }
    
    .visitor-avatar {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .visitor-name {
        font-size: 0.9rem;
    }
    
    .visitor-action {
        font-size: 0.8rem;
    }
    
    .action-timestamp {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .live-feed-header {
        gap: 8px;
        padding: 10px 12px;
    }
    
    .live-feed-title {
        font-size: 1.1rem;
    }
    
    .live-feed-container {
        padding: 12px;
        max-height: 200px;
    }
    
    .feed-item {
        gap: 10px;
        padding: 8px 10px;
    }
    
    .visitor-avatar {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .visitor-name {
        font-size: 0.85rem;
    }
    
    .visitor-action {
        font-size: 0.75rem;
    }
    
    .sol-icon {
        width: 16px;
        height: 16px;
        font-size: 0.7rem;
    }
}

/* ===== EASTER EGG HINT STYLES ===== */
.easter-egg-hint-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: easterHintFloat 3s ease-in-out infinite;
}

.easter-egg-hint-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, #9333ea, #f97316);
}

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

.easter-egg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.easter-egg-overlay.show {
    opacity: 1;
    visibility: visible;
}

.easter-egg-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #8b5cf6;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: easterSlideIn 0.4s ease-out;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@keyframes easterSlideIn {
    from {
        transform: scale(0.8) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.easter-close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.easter-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.easter-egg-content h3 {
    color: #fbbf24;
    font-size: 24px;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.easter-egg-content p {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.konami-sequence {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
    align-items: center;
}

.key-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #374151, #1f2937);
    border: 2px solid #6b7280;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.key:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.hint-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-style: italic;
    margin-top: 15px;
}

/* Mobile responsiveness for easter egg */
@media (max-width: 768px) {
    .easter-egg-hint-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 15px;
        left: 15px;
    }
    
    .easter-egg-content {
        padding: 25px 20px;
        margin: 20px;
    }
    
    .easter-egg-content h3 {
        font-size: 20px;
    }
    
    .key {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .konami-sequence {
        gap: 12px;
    }
    
    .key-group {
        gap: 8px;
    }
}