body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #1a1a1d;
    color: white;
    font-family: Arial, sans-serif;
}

.game-container {
    position: relative;
    width: 80%;
    height: 80%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.play-area {
    position: relative;
    width: 100%;
    height: 70%;
    border: 2px solid #ffffff;
    margin-top: 10px;
    background: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
    background-size: 200% 200%;
    animation: gradientBG 5s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.target {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    animation: scaleUp 0.3s;
}

.target.blue {
    background-color: blue;
}

.target.red {
    background-color: red;
}

.target.green {
    background-color: green;
}

.target.gold {
    background-color: gold;
}

.score-board {
    margin-top: 10px;
    font-size: 24px;
    display: flex;
    justify-content: space-between;
    width: 80%;
    background-color: #3c3f41;
    padding: 10px;
    border-radius: 5px;
}

.history-board {
    margin-top: 10px;
    font-size: 18px;
    width: 80%;
    display: none;
}

.controls {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#start-button, #restart-button, #main-menu-button {
    margin-top: 5px;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    background-color: #61dafb;
    border: none;
    border-radius: 5px;
    color: #1a1a1d;
}

#start-button:hover, #restart-button:hover, #main-menu-button:hover {
    background-color: #21a1f1;
}

#level-select {
    margin-top: 5px;
    padding: 5px;
    font-size: 16px;
    background-color: #61dafb;
    border: none;
    border-radius: 5px;
    color: #1a1a1d;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0.5);
    }
    to {
        transform: scale(1);
    }
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
