body {
    background: #000000;
    min-height: 100vh;
    padding-top: 70px;
}

.game-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.game-header {
    text-align: center;
    margin-bottom: 30px;
}

.game-title {
    color: #00d4ff;
    font-size: 3em;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    margin-bottom: 10px;
}

.game-subtitle {
    color: #ffffff;
    font-size: 1.2em;
    opacity: 0.8;
}

.game-panel {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
    text-align: center;
}

#game-canvas {
    background: #0f0f1e;
    border: 3px solid #00d4ff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    display: block;
    margin: 0 auto 20px;
}

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

.game-controls .btn {
    padding: 12px 25px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 10px;
    border: none;
    transition: all 0.3s ease;
}

.game-controls .btn-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    color: #0f0f1e;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.game-controls .btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 212, 255, 0.5);
}

.game-controls .btn-warning {
    background: linear-gradient(135deg, #ffcc00 0%, #ff9900 100%);
    color: #0f0f1e;
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

.game-controls .btn-warning:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(255, 204, 0, 0.5);
}

.game-controls .btn-success {
    background: linear-gradient(135deg, #00ff88 0%, #00cc66 100%);
    color: #0f0f1e;
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.game-controls .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 255, 136, 0.5);
}

.game-controls .btn-info {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.game-controls .btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 212, 255, 0.5);
}

.game-controls .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.instructions {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
}

.instructions h4 {
    color: #00d4ff;
    margin-bottom: 15px;
}

.control-item {
    color: #ffffff;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.key {
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    color: #0f0f1e;
    padding: 5px 12px;
    border-radius: 5px;
    font-weight: bold;
    min-width: 60px;
    display: inline-block;
    text-align: center;
}

.side-panel {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
    text-align: center;
    margin-bottom: 20px;
}

.side-panel h3 {
    color: #00d4ff;
    margin-bottom: 15px;
    font-weight: bold;
}

#next-canvas {
    background: #0f0f1e;
    border: 2px solid #00d4ff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.score-panel {
    position: sticky;
    top: 90px;
}

.score-value,
.lines-value,
.level-value {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    font-size: 2.5em;
    font-weight: bold;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .game-title {
        font-size: 2em;
    }

    #game-canvas {
        width: 100%;
        height: auto;
    }

    .score-panel {
        position: static;
    }

    .side-panel {
        margin-top: 20px;
    }
    
    #scroll-lock-btn {
        width: 100%;
        margin-top: 10px;
        font-size: 1.1em;
        padding: 15px;
    }
}
