.neonbreaker-game-page {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: #0a0a0f;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

#neon-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.game-header {
    padding: 20px;
    background: linear-gradient(180deg, rgba(10,10,15,0.95) 0%, rgba(10,10,15,0.8) 100%);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.game-header-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.back-link {
    color: #0ff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.back-link:hover {
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.back-arrow {
    font-size: 18px;
}

.game-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(90deg, #0ff, #f0f, #0ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    text-shadow: none;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

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

.game-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.game-genre {
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.separator {
    color: #444;
}

.game-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-status.live {
    background: rgba(0, 255, 100, 0.15);
    color: #0f8;
    border: 1px solid rgba(0, 255, 100, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 100, 0.2);
}

.game-main {
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.game-frame {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 4/3;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.2),
        0 0 60px rgba(255, 0, 255, 0.1),
        inset 0 0 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 255, 255, 0.3);
}

#gameCanvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: none;
}

.fullscreen-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 50;
    background: rgba(0, 0, 0, 0.6);
    color: #0ff;
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.fullscreen-btn:hover {
    background: rgba(0, 255, 255, 0.15);
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10;
    transition: opacity 0.3s ease;
}

.game-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.overlay-content {
    text-align: center;
    padding: 40px;
    max-width: 450px;
}

.overlay-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 10px 0;
    background: linear-gradient(90deg, #0ff, #f0f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5));
}

.tagline {
    color: #888;
    font-size: 16px;
    margin: 0 0 30px 0;
    font-style: italic;
}

.score-display {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.score-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.score-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.score-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #0ff;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

.btn {
    background: transparent;
    border: 2px solid #0ff;
    color: #0ff;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

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

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

.btn:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-emoji {
    margin-right: 8px;
}

.controls-hint {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.controls-hint p {
    color: #666;
    font-size: 13px;
    margin: 8px 0;
}

.hud {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    z-index: 5;
    pointer-events: none;
}

.hud-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.hud-label {
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.hud-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0ff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

@media (max-width: 600px) {
    .game-header-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .game-title {
        font-size: 22px;
    }
    
    .overlay-content {
        padding: 20px;
    }
    
    .overlay-content h2 {
        font-size: 30px;
    }
    
    .score-display {
        gap: 15px;
    }
    
    .score-value {
        font-size: 24px;
    }
    
    .btn {
        padding: 12px 28px;
        font-size: 14px;
    }
    
    .hud-item {
        padding: 6px 10px;
    }
    
    .hud-value {
        font-size: 14px;
    }
}
