/* TankoGame - Elegant Retro Arcade Style */

/* CSS Variables */
:root {
    /* Colors - Elegant Retro Palette */
    --color-bg-primary: #0f0a1e;
    --color-bg-secondary: #1a1333;
    --color-bg-card: linear-gradient(135deg, rgba(26, 19, 51, 0.9) 0%, rgba(15, 10, 30, 0.9) 100%);

    --color-accent-pink: #d946a6;
    --color-accent-cyan: #22d3ee;
    --color-accent-amber: #fbbf24;
    --color-accent-purple: #a855f7;

    --color-text-primary: #f8fafc;
    --color-text-secondary: #cbd5e1;
    --color-text-muted: #94a3b8;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #d946a6 0%, #a855f7 100%);
    --gradient-secondary: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(217, 70, 166, 0.1);
    --shadow-md: 0 4px 16px rgba(217, 70, 166, 0.15);
    --shadow-lg: 0 8px 32px rgba(217, 70, 166, 0.2);
    --shadow-glow: 0 0 20px rgba(217, 70, 166, 0.3);

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;

    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Press Start 2P', 'Courier New', monospace;
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Retro Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(217, 70, 166, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(217, 70, 166, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 10, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(217, 70, 166, 0.3);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    gap: var(--spacing-lg);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-text-primary);
}

.logo i {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(217, 70, 166, 0.5));
}

.logo h1 {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-sm);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--color-text-secondary);
    font-size: 0.6rem;
    font-weight: 400;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--color-accent-pink);
    border-color: var(--color-accent-pink);
    background: rgba(217, 70, 166, 0.1);
    box-shadow: 0 0 10px rgba(217, 70, 166, 0.3);
}

.nav-link i {
    font-size: 0.8rem;
}

.search-toggle {
    background: transparent;
    border: 1px solid var(--color-accent-cyan);
    color: var(--color-accent-cyan);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-toggle:hover {
    background: rgba(34, 211, 238, 0.1);
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.3);
}

.search-toggle .fa-times {
    display: none;
}

.search-toggle.active .fa-search {
    display: none;
}

.search-toggle.active .fa-times {
    display: block;
}

.search-box {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    max-width: 400px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-accent-cyan);
    border-top: none;
    padding: var(--spacing-md);
    display: none;
    box-shadow: var(--shadow-lg);
}

.search-box.active {
    display: block;
}

.search-container {
    display: flex;
    gap: var(--spacing-sm);
}

.search-container input {
    flex: 1;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 4px;
    color: var(--color-text-primary);
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
}

.search-container input::placeholder {
    color: var(--color-text-muted);
}

.search-btn {
    padding: 10px 20px;
    background: var(--gradient-secondary);
    border: none;
    border-radius: 4px;
    color: var(--color-text-primary);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.5);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--color-accent-pink);
    color: var(--color-accent-pink);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle .fa-times {
    display: none;
}

.mobile-menu-toggle.active .fa-bars {
    display: none;
}

.mobile-menu-toggle.active .fa-times {
    display: block;
}

/* Hero Banner - Pixel World */
.pixel-world {
    margin-top: 70px;
    padding: 60px 0 40px;
    background: linear-gradient(180deg, #87CEEB 0%, #B0E0E6 50%, #98D8C8 100%);
    position: relative;
    overflow: hidden;
    min-height: 650px;
}

/* Pixel Sky */
.pixel-sky {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    pointer-events: none;
    z-index: 0;
}

.pixel-sun {
    position: absolute;
    top: 40px;
    right: 80px;
    width: 60px;
    height: 60px;
    background: #FFD700;
    border-radius: 50%;
    box-shadow:
        0 0 20px #FFD700,
        0 0 40px #FFA500;
    animation: sunGlow 3s ease-in-out infinite;
}

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

.pixel-cloud {
    position: absolute;
    width: 100px;
    height: 40px;
    background: #FFF;
    border-radius: 50px;
    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        inset 0 -5px 10px rgba(0, 0, 0, 0.1);
    animation: cloudFloat 20s linear infinite;
}

.pixel-cloud::before,
.pixel-cloud::after {
    content: '';
    position: absolute;
    background: #FFF;
    border-radius: 50%;
}

.pixel-cloud::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 10px;
}

.pixel-cloud::after {
    width: 60px;
    height: 40px;
    top: -15px;
    right: 10px;
}

.cloud-1 {
    top: 60px;
    left: -100px;
    animation-duration: 25s;
}

.cloud-2 {
    top: 120px;
    left: -150px;
    animation-duration: 30s;
    animation-delay: 5s;
}

.cloud-3 {
    top: 90px;
    left: -200px;
    animation-duration: 35s;
    animation-delay: 10s;
}

@keyframes cloudFloat {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(100vw + 200px)); }
}

/* Pixel Mountains */
.pixel-mountains {
    position: absolute;
    bottom: 200px;
    left: 0;
    right: 0;
    height: 150px;
    background:
        linear-gradient(135deg, transparent 49%, #8B7355 50%, #8B7355 51%, transparent 52%),
        linear-gradient(45deg, transparent 49%, #A0826D 50%, #A0826D 51%, transparent 52%);
    background-size: 200px 150px, 250px 150px;
    background-position: 0 0, 100px 0;
    background-repeat: repeat-x;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

/* Pixel Title */
.pixel-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.pixel-text-large {
    font-family: 'Press Start 2P', monospace;
    font-size: 3rem;
    color: #FFF;
    text-shadow:
        4px 4px 0 #d946a6,
        8px 8px 0 #22d3ee,
        4px 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: 8px;
    margin-bottom: 15px;
    animation: titleBounce 2s ease-in-out infinite;
}

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

.pixel-subtitle {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.9rem;
    color: #fbbf24;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    animation: blink 1.5s infinite;
}

/* Game World */
.game-world {
    position: relative;
    z-index: 10;
    margin-top: 40px;
}

.platform-layer {
    position: relative;
}

/* Main Platform */
.main-platform {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 40px;
    min-height: 350px;
}

/* Game Screen Block */
.game-screen-block {
    width: 500px;
    background: #8B4513;
    border: 6px solid #654321;
    border-radius: 8px;
    padding: 15px;
    box-shadow:
        0 8px 0 #3d2817,
        0 8px 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

.game-screen-block::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 20px solid #654321;
}

.screen-display {
    width: 100%;
    height: 300px;
    background: #000;
    border: 4px solid #333;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.screen-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: #654321;
    border: 2px solid #3d2817;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active,
.slider-dot:hover {
    background: #fbbf24;
    box-shadow: 0 0 10px #fbbf24;
}

/* Collectibles */
.collectible {
    position: absolute;
    width: 50px;
    height: 50px;
    background: #fbbf24;
    border: 4px solid #f59e0b;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow:
        0 6px 0 #d97706,
        0 6px 15px rgba(0, 0, 0, 0.4);
    animation: blockFloat 2s ease-in-out infinite;
}

.coin-block {
    background: #fbbf24;
    border-color: #f59e0b;
}

.coin-1 {
    top: 80px;
    left: 15%;
    animation-delay: 0s;
}

.coin-2 {
    top: 120px;
    left: 25%;
    animation-delay: 0.5s;
}

.mushroom-block {
    background: #ef4444;
    border-color: #dc2626;
    top: 60px;
    right: 25%;
    animation-delay: 1s;
}

.star-block {
    background: #a855f7;
    border-color: #9333ea;
    top: 100px;
    right: 15%;
    animation-delay: 1.5s;
}

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

.coin-spin,
.star-spin {
    animation: spin 2s linear infinite;
}

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

/* Question Blocks */
.question-block {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #fbbf24;
    border: 5px solid #f59e0b;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 0 #d97706,
        0 8px 20px rgba(0, 0, 0, 0.4);
    animation: questionBounce 1s ease-in-out infinite;
}

.qb-text {
    font-family: 'Press Start 2P', monospace;
    font-size: 2rem;
    color: #fff;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.qb-1 {
    top: 50px;
    left: 35%;
}

.qb-2 {
    top: 90px;
    right: 35%;
    animation-delay: 0.5s;
}

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

/* Ground Platform */
.ground-platform {
    position: relative;
    background: #8B4513;
    border: 6px solid #654321;
    border-radius: 12px;
    padding: 30px;
    box-shadow:
        0 10px 0 #3d2817,
        0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    z-index: 10;
}

/* Pixel Character */
.pixel-character {
    width: 80px;
    height: 100px;
    position: relative;
}

.character-sprite {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        transparent 0%, transparent 20%,
        #ef4444 20%, #ef4444 40%,
        #3b82f6 40%, #3b82f6 70%,
        #8B4513 70%, #8B4513 100%
    );
    border-radius: 8px;
    position: relative;
    animation: characterWalk 0.6s steps(2) infinite;
}

.character-sprite::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 20%;
    background: #fbbf24;
    border-radius: 50%;
}

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

/* Action Blocks */
.action-blocks {
    display: flex;
    gap: 20px;
    flex: 1;
    justify-content: center;
}

.action-block {
    width: 120px;
    height: 120px;
    background: linear-gradient(145deg, #d946a6 0%, #a855f7 100%);
    border: 5px solid;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.65rem;
    color: #fff;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    box-shadow:
        0 8px 0 rgba(0, 0, 0, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
    cursor: pointer;
}

.action-block:active {
    transform: translateY(6px);
    box-shadow:
        0 2px 0 rgba(0, 0, 0, 0.3),
        0 2px 10px rgba(0, 0, 0, 0.4);
}

.action-block i {
    font-size: 2rem;
}

.block-pink {
    background: linear-gradient(145deg, #d946a6 0%, #ec4899 100%);
    border-color: #be185d;
}

.block-pink:hover {
    background: linear-gradient(145deg, #ec4899 0%, #f472b6 100%);
    box-shadow:
        0 8px 0 rgba(0, 0, 0, 0.3),
        0 8px 30px rgba(217, 70, 166, 0.6);
}

.block-cyan {
    background: linear-gradient(145deg, #22d3ee 0%, #06b6d4 100%);
    border-color: #0891b2;
}

.block-cyan:hover {
    background: linear-gradient(145deg, #06b6d4 0%, #22d3ee 100%);
    box-shadow:
        0 8px 0 rgba(0, 0, 0, 0.3),
        0 8px 30px rgba(34, 211, 238, 0.6);
}

.block-amber {
    background: linear-gradient(145deg, #fbbf24 0%, #f59e0b 100%);
    border-color: #d97706;
}

.block-amber:hover {
    background: linear-gradient(145deg, #f59e0b 0%, #fbbf24 100%);
    box-shadow:
        0 8px 0 rgba(0, 0, 0, 0.3),
        0 8px 30px rgba(251, 191, 36, 0.6);
}

/* Flag Pole */
.flag-pole {
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flag {
    background: #ef4444;
    border: 3px solid #dc2626;
    border-radius: 6px;
    padding: 12px 15px;
    text-align: center;
    font-family: 'Press Start 2P', monospace;
    color: #fff;
    box-shadow:
        0 4px 0 #991b1b,
        0 4px 15px rgba(0, 0, 0, 0.4);
    margin-bottom: 10px;
    animation: flagWave 2s ease-in-out infinite;
}

.flag span {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.flag small {
    font-size: 0.5rem;
}

@keyframes flagWave {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.pole {
    width: 8px;
    height: 80px;
    background: linear-gradient(to right, #666, #999, #666);
    border-radius: 4px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
}

/* Brick Platform */
.brick-platform {
    height: 40px;
    background:
        repeating-linear-gradient(
            90deg,
            #8B4513 0px,
            #8B4513 60px,
            #654321 60px,
            #654321 62px
        ),
        repeating-linear-gradient(
            0deg,
            #8B4513 0px,
            #8B4513 18px,
            #654321 18px,
            #654321 20px
        );
    border: 4px solid #654321;
    border-radius: 8px;
    box-shadow:
        0 6px 0 #3d2817,
        0 6px 20px rgba(0, 0, 0, 0.5);
    margin-top: 20px;
}

/* Pixel Grass */
.pixel-grass {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: #22c55e;
    border-top: 4px solid #16a34a;
    z-index: 1;
}

.pixel-grass::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 8px,
        #16a34a 8px,
        #16a34a 10px,
        transparent 10px,
        transparent 12px,
        #16a34a 12px,
        #16a34a 14px
    );
}





.display-left {
    position: relative;
}

.screen-frame {
    position: relative;
    background: #000;
    border: 6px solid #2a1f3d;
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
        0 0 30px rgba(217, 70, 166, 0.3),
        inset 0 0 40px rgba(0, 0, 0, 0.9);
}

.screen-inner {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.screen-reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

/* Right Info Panel */
.display-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-panel {
    background: rgba(0, 0, 0, 0.5);
    border: 3px solid var(--color-accent-cyan);
    border-radius: 8px;
    padding: 30px;
    box-shadow:
        0 0 20px rgba(34, 211, 238, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.7);
}

.pixel-text {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.text-line {
    margin-bottom: 15px;
    color: var(--color-text-primary);
}

.bracket {
    color: var(--color-accent-amber);
}

.highlight {
    color: var(--color-accent-pink);
    text-shadow: 0 0 10px var(--color-accent-pink);
}

.label {
    color: var(--color-text-muted);
}

.value {
    color: var(--color-accent-cyan);
    margin-left: 10px;
}

.blink {
    animation: blink 1.5s infinite;
}

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

/* Insert Coin Section */
.insert-coin {
    text-align: center;
    padding: 20px;
    background: rgba(217, 70, 166, 0.1);
    border: 2px solid var(--color-accent-pink);
    border-radius: 8px;
    margin-bottom: 25px;
}

.coin-icon {
    font-size: 2rem;
    color: var(--color-accent-amber);
    display: block;
    margin-bottom: 10px;
    animation: coinBlink 2s infinite;
}

.coin-text {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8rem;
    color: var(--color-accent-pink);
    letter-spacing: 2px;
}

/* Control Buttons */
.control-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.retro-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: linear-gradient(180deg, #2a1f3d 0%, #1a1333 100%);
    border: 3px solid;
    border-radius: 6px;
    text-decoration: none;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.btn-start {
    border-color: var(--color-accent-pink);
    color: var(--color-accent-pink);
}

.btn-start:hover {
    background: rgba(217, 70, 166, 0.2);
    box-shadow:
        0 0 20px rgba(217, 70, 166, 0.5),
        inset 0 0 20px rgba(217, 70, 166, 0.2);
    transform: translateY(-2px);
}

.btn-select {
    border-color: var(--color-accent-cyan);
    color: var(--color-accent-cyan);
}

.btn-select:hover {
    background: rgba(34, 211, 238, 0.2);
    box-shadow:
        0 0 20px rgba(34, 211, 238, 0.5),
        inset 0 0 20px rgba(34, 211, 238, 0.2);
    transform: translateY(-2px);
}

.btn-search {
    border-color: var(--color-accent-amber);
    color: var(--color-accent-amber);
}

.btn-search:hover {
    background: rgba(251, 191, 36, 0.2);
    box-shadow:
        0 0 20px rgba(251, 191, 36, 0.5),
        inset 0 0 20px rgba(251, 191, 36, 0.2);
    transform: translateY(-2px);
}

/* Marquee Bottom */
.marquee-bottom {
    background: linear-gradient(180deg, #1a1333 0%, #2a1f3d 100%);
    padding: 15px;
    border-top: 3px solid var(--color-accent-pink);
}

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

.bottom-lights .light {
    width: 10px;
    height: 10px;
}

.hero {
    margin-top: 70px;
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, rgba(217, 70, 166, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border-bottom: 2px solid rgba(217, 70, 166, 0.2);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        transparent 1px,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 3px
    );
    pointer-events: none;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% { transform: translateY(0); }
    100% { transform: translateY(20px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-left {
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(217, 70, 166, 0.2);
    border: 1px solid var(--color-accent-pink);
    border-radius: 4px;
    color: var(--color-accent-pink);
    font-size: 0.6rem;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(217, 70, 166, 0.5));
}

.hero-description {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    font-family: 'Courier New', monospace;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
    border: 2px solid;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-text-primary);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(217, 70, 166, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(217, 70, 166, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--color-accent-cyan);
    border-color: var(--color-accent-cyan);
}

.btn-secondary:hover {
    background: rgba(34, 211, 238, 0.1);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}

/* Hero Showcase */
.hero-showcase {
    position: relative;
    z-index: 1;
}

.showcase-slider {
    position: relative;
    border: 3px solid var(--color-accent-pink);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(217, 70, 166, 0.4);
}

.showcase-slide {
    display: none;
    cursor: pointer;
}

.showcase-slide.active {
    display: block;
}

.showcase-slide img {
    width: 100%;
    display: block;
}

.slider-controls {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
}

.slider-dot {
    width: 12px;
    height: 12px;
    border: 2px solid var(--color-accent-pink);
    background: transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    background: var(--color-accent-pink);
    box-shadow: 0 0 10px rgba(217, 70, 166, 0.8);
}

/* Categories Section */
.categories {
    padding: var(--spacing-2xl) 0;
    background: var(--color-bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-family: 'Courier New', monospace;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.category-card {
    background: var(--color-bg-card);
    border: 2px solid rgba(217, 70, 166, 0.3);
    border-radius: 8px;
    padding: var(--spacing-lg);
    text-align: center;
    text-decoration: none;
    color: var(--color-text-primary);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(217, 70, 166, 0.2), transparent);
    transition: var(--transition-slow);
}

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

.category-card:hover {
    border-color: var(--color-accent-pink);
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(217, 70, 166, 0.4);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-name {
    font-size: 0.8rem;
    font-weight: 400;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.category-count {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    font-family: 'Courier New', monospace;
}

/* Games Section */
.games-section {
    padding: var(--spacing-2xl) 0;
    background: var(--color-bg-secondary);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.game-card {
    background: var(--color-bg-card);
    border: 2px solid rgba(217, 70, 166, 0.2);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text-primary);
    transition: var(--transition-normal);
    position: relative;
}

.game-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--color-accent-pink);
    border-radius: 8px;
    opacity: 0;
    transition: var(--transition-fast);
}

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

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(217, 70, 166, 0.4);
}

.game-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.game-card:hover .game-card-image img {
    transform: scale(1.1);
}

.game-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.game-card:hover .game-card-overlay {
    opacity: 1;
}

.play-icon {
    width: 60px;
    height: 60px;
    border: 3px solid var(--color-accent-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-accent-pink);
    background: rgba(217, 70, 166, 0.1);
    box-shadow: 0 0 20px rgba(217, 70, 166, 0.5);
    transition: var(--transition-fast);
}

.game-card:hover .play-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(217, 70, 166, 0.8);
}

.game-card-content {
    padding: var(--spacing-md);
}

.game-card-title {
    font-size: 0.7rem;
    font-weight: 400;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-card-category {
    font-size: 0.6rem;
    color: var(--color-accent-cyan);
    font-family: 'Courier New', monospace;
}

/* Horizontal Game Cards */
.games-horizontal {
    position: relative;
    margin-top: var(--spacing-lg);
}

.games-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent-pink) rgba(217, 70, 166, 0.1);
}

.games-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.games-scroll-container::-webkit-scrollbar-track {
    background: rgba(217, 70, 166, 0.1);
    border-radius: 4px;
}

.games-scroll-container::-webkit-scrollbar-thumb {
    background: var(--color-accent-pink);
    border-radius: 4px;
}

.games-horizontal-list {
    display: flex;
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-md);
}

.game-card-horizontal {
    flex: 0 0 300px;
    background: var(--color-bg-card);
    border: 2px solid rgba(34, 211, 238, 0.2);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text-primary);
    transition: var(--transition-normal);
}

.game-card-horizontal:hover {
    border-color: var(--color-accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.4);
}

/* Footer */
.footer {
    background: var(--color-bg-secondary);
    border-top: 2px solid rgba(217, 70, 166, 0.3);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand h3 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    font-family: 'Courier New', monospace;
}

.footer-column h4 {
    font-size: 0.7rem;
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent-cyan);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-column ul li a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.6rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a:hover {
    color: var(--color-accent-pink);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(217, 70, 166, 0.2);
}

.footer-bottom p {
    font-size: 0.6rem;
    color: var(--color-text-muted);
    font-family: 'Courier New', monospace;
}

/* Scroll Controls */
.scroll-controls {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: flex-end;
    margin-bottom: var(--spacing-md);
}

.scroll-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-accent-cyan);
    background: rgba(34, 211, 238, 0.1);
    color: var(--color-accent-cyan);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-btn:hover {
    background: rgba(34, 211, 238, 0.2);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.4);
}

.scroll-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}





/* ===========================
   NEW ARCADE CABINET STYLES
   =========================== */

/* Neon Sign */
.neon-sign {
    text-align: center;
    margin-bottom: 40px;
}

.neon-text {
    font-family: 'Press Start 2P', monospace;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.neon-flicker {
    color: var(--color-accent-amber);
    text-shadow:
        0 0 10px var(--color-accent-amber),
        0 0 20px var(--color-accent-amber),
        0 0 30px var(--color-accent-amber);
    animation: flicker 3s infinite alternate;
}

.neon-glow {
    color: var(--color-accent-pink);
    text-shadow:
        0 0 10px var(--color-accent-pink),
        0 0 20px var(--color-accent-pink),
        0 0 40px var(--color-accent-pink);
}

@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 1;
    }
    20%, 24%, 55% {
        opacity: 0.4;
    }
}

.coin-slot {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(217, 70, 166, 0.1);
    border: 2px solid var(--color-accent-pink);
    border-radius: 4px;
    color: var(--color-accent-cyan);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.coin-slot i {
    color: var(--color-accent-amber);
    animation: coinBlink 2s infinite;
}

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

/* Arcade Cabinet */
.arcade-cabinet {
    max-width: 800px;
    margin: 0 auto;
}

.cabinet-top {
    height: 30px;
    background: linear-gradient(180deg, #2a1f3d 0%, #1a1333 100%);
    border: 3px solid var(--color-accent-pink);
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    box-shadow:
        0 0 20px rgba(217, 70, 166, 0.3),
        inset 0 5px 15px rgba(0, 0, 0, 0.5);
}

.cabinet-screen {
    background: linear-gradient(135deg, #1a1333 0%, #0f0a1e 100%);
    border: 3px solid var(--color-accent-pink);
    border-top: none;
    border-bottom: none;
    padding: 30px;
    box-shadow:
        0 0 30px rgba(217, 70, 166, 0.4),
        inset 0 0 50px rgba(0, 0, 0, 0.7);
}

.screen-bezel {
    position: relative;
    background: #000;
    border: 5px solid #1a1333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
        inset 0 0 30px rgba(217, 70, 166, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.5);
}

.screen-content {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.screen-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        transparent 1px,
        transparent 2px,
        rgba(0, 0, 0, 0.15) 3px
    );
    pointer-events: none;
    animation: scanline 8s linear infinite;
}

.screen-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border: 2px solid var(--color-accent-pink);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover,
.slider-dot.active {
    background: var(--color-accent-pink);
    box-shadow: 0 0 15px var(--color-accent-pink);
}

/* Cabinet Control Panel */
.cabinet-panel {
    background: linear-gradient(180deg, #1a1333 0%, #0f0a1e 100%);
    border: 3px solid var(--color-accent-pink);
    border-top: none;
    border-bottom: none;
    padding: 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow:
        0 0 30px rgba(217, 70, 166, 0.4),
        inset 0 0 30px rgba(0, 0, 0, 0.7);
}

.control-stick {
    position: relative;
    width: 80px;
    height: 80px;
}

.stick-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #2a1f3d 0%, #1a1333 100%);
    border: 3px solid var(--color-accent-cyan);
    border-radius: 50%;
    box-shadow:
        0 0 20px rgba(34, 211, 238, 0.4),
        inset 0 -5px 15px rgba(0, 0, 0, 0.5);
}

.stick-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    background: linear-gradient(180deg, var(--color-accent-cyan) 0%, #1a1333 100%);
    border: 2px solid var(--color-accent-cyan);
    border-radius: 15px 15px 50% 50%;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.5);
}

.action-buttons {
    display: flex;
    gap: 20px;
}

.arcade-button {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 4px solid;
    transition: all 0.3s ease;
    box-shadow:
        0 5px 0 rgba(0, 0, 0, 0.5),
        0 0 20px currentColor;
}

.arcade-button:active {
    transform: translateY(3px);
    box-shadow:
        0 2px 0 rgba(0, 0, 0, 0.5),
        0 0 15px currentColor;
}

.btn-red {
    background: radial-gradient(circle at 30% 30%, #ff6b6b, #d946a6);
    color: #fff;
    border-color: #ff6b6b;
}

.btn-red:hover {
    box-shadow:
        0 5px 0 rgba(0, 0, 0, 0.5),
        0 0 30px #ff6b6b;
}

.btn-blue {
    background: radial-gradient(circle at 30% 30%, #4dabf7, #22d3ee);
    color: #fff;
    border-color: #4dabf7;
}

.btn-blue:hover {
    box-shadow:
        0 5px 0 rgba(0, 0, 0, 0.5),
        0 0 30px #4dabf7;
}

.btn-yellow {
    background: radial-gradient(circle at 30% 30%, #ffd43b, #fbbf24);
    color: #1a1333;
    border-color: #ffd43b;
}

.btn-yellow:hover {
    box-shadow:
        0 5px 0 rgba(0, 0, 0, 0.5),
        0 0 30px #ffd43b;
}

.cabinet-bottom {
    height: 40px;
    background: linear-gradient(180deg, #1a1333 0%, #0f0a1e 100%);
    border: 3px solid var(--color-accent-pink);
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow:
        0 0 20px rgba(217, 70, 166, 0.3),
        inset 0 -5px 15px rgba(0, 0, 0, 0.5);
}

/* TV Wall Categories */
.categories-tv-wall {
    padding: var(--spacing-3xl) 0;
}

.tv-wall-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.category-card {
    position: relative;
    background: #000;
    border: 5px solid #2a1f3d;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow:
        0 0 20px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(217, 70, 166, 0.1);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.03) 0px,
        transparent 2px
    );
    pointer-events: none;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent-pink);
    box-shadow:
        0 0 40px rgba(217, 70, 166, 0.6),
        inset 0 0 50px rgba(217, 70, 166, 0.2);
}

/* Cartridge Shelf */
.cartridge-shelf {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
}

.shelf-container {
    position: relative;
}

.shelf-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
}

.shelf-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(217, 70, 166, 0.1);
    border: 2px solid var(--color-accent-pink);
    border-radius: 4px;
    color: var(--color-accent-pink);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shelf-btn:hover {
    background: rgba(217, 70, 166, 0.2);
    box-shadow: 0 0 20px rgba(217, 70, 166, 0.4);
}

.shelf-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.shelf-scroll::-webkit-scrollbar {
    display: none;
}

.cartridge-list {
    display: flex;
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
}

.game-card-horizontal {
    flex: 0 0 280px;
}

.shelf-wood {
    height: 20px;
    background: linear-gradient(180deg, #3d2817 0%, #2a1810 100%);
    border: 2px solid #5a3a1f;
    border-radius: 4px;
    margin-top: var(--spacing-md);
    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.5),
        inset 0 2px 5px rgba(255, 255, 255, 0.1);
}

/* Game Select Grid */
.game-select-grid {
    padding: var(--spacing-3xl) 0;
}

.select-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.select-grid .game-card {
    position: relative;
    transition: all 0.3s ease;
}

.select-grid .game-card::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 3px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.select-grid .game-card:hover::after {
    border-color: var(--color-accent-amber);
    box-shadow:
        0 0 30px rgba(251, 191, 36, 0.6),
        inset 0 0 20px rgba(251, 191, 36, 0.2);
}

.select-grid .game-card:hover {
    transform: scale(1.05);
    z-index: 10;
}