@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    background: linear-gradient(to right, #74ebd5, #acb6e5);
    color: #333;
    padding: 20px 0;
}

.container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    margin: auto;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

#settings {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

#duration-slider {
    margin-left: 10px;
}

#game-area {
    margin-top: 20px;
}

#box {
    width: 100%;
    height: 300px;
    background-color: #4CAF50;
    margin: 20px auto;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.1s ease, background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5em;
    color: white;
    user-select: none;
}

#box:active {
    transform: scale(0.95);
}

#result {
    margin-top: 20px;
}

#reset-button {
    padding: 15px 30px;
    font-size: 1.2em;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#reset-button:hover {
    background-color: #45a049;
}

#leaderboard {
    margin-top: 40px;
}

#leaderboard h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

#leaderboard-list {
    list-style-type: none;
    padding: 0;
}

#leaderboard-list li {
    font-size: 1.2em;
    margin-bottom: 10px;
    background: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
}

footer {
    margin-top: 50px;
    font-size: 0.8em;
    color: #888;
}
