/* Space Shooter Game Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.game-container {
    position: relative;
    background: #111;
    border: 2px solid #333;
    border-radius: 8px;
    overflow: hidden;
}

#gameCanvas {
    display: block;
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #000 100%);
}


/* Screen Overlays */
.pause-screen, .game-over-screen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.pause-content, .game-over-content {
    text-align: center;
    padding: 40px;
    background: #222;
    border: 2px solid #555;
    border-radius: 12px;
    min-width: 300px;
}

.pause-content h2, .game-over-content h2 {
    margin-bottom: 30px;
    color: #fff;
    font-size: 28px;
}

.pause-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Store specific styles */
.points {
    font-size: 18px;
    margin-bottom: 25px;
    color: #ff0;
}


/* Buttons */
.btn {
    padding: 12px 24px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn:hover {
    background: #0088ff;
}

.btn:disabled {
    background: #666;
    cursor: not-allowed;
}


/* Game Over */
.final-score {
    font-size: 24px;
    color: #ff0;
    margin-bottom: 30px;
}

/* Utility classes */
.hidden {
    display: none !important;
}

/* Instructions */
.instructions {
    margin-top: 20px;
    max-width: 800px;
    background: #222;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #555;
}

.instructions h3 {
    margin-bottom: 15px;
    color: #0ff;
}

.instructions ul {
    list-style: none;
}

.instructions li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.instructions li::before {
    content: "•";
    color: #0ff;
    position: absolute;
    left: 0;
}

.instructions strong {
    color: #ff0;
}

/* Responsive Design */
@media (max-width: 900px) {
    body {
        padding: 10px;
    }

    #gameCanvas {
        width: 100%;
        height: auto;
        max-width: 800px;
    }

    .top-bar {
        font-size: 14px;
        padding: 10px 15px;
    }

    .health-info {
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .pause-content, .game-over-content {
        padding: 20px;
        min-width: 280px;
    }

}
