/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(180deg, #0b0c10, #1f2833);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.game-section h2 {
    font-size: 3rem;
    color: #38ef7d;
    margin-bottom: 20px;
    text-align: center;
}

.game-container {
    position: relative;
    width: 500px;
    height: 500px;
    background: #1f2833;
    border: 5px solid #38ef7d;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

#gameCanvas {
    width: 100%;
    height: 100%;
}

.score-container {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #ffffff;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
}

.button-container {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

#startButton,
#restartButton {
    padding: 10px 20px;
    font-size: 1.2rem;
    color: #ffffff;
    background: #11998e;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#startButton:hover,
#restartButton:hover {
    background: #38ef7d;
}

.instructions {
    font-size: 1rem;
    color: #ffffff;
    margin-top: 10px;
}
