body {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f2f5;
    margin: 0;
    color: #333;
}

.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 500px;
}

h1 {
    color: #007bff;
    margin-bottom: 25px;
    font-size: 2.2em;
}

.settings {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.settings label {
    font-size: 1.1em;
    font-weight: bold;
    color: #555;
}

.settings input[type="number"] {
    padding: 10px 15px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 1.1em;
    width: 80px;
    text-align: center;
    transition: border-color 0.3s ease;
}

.settings input[type="number"]:focus {
    border-color: #007bff;
    outline: none;
}

.settings button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.settings button:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.settings button:active {
    transform: translateY(0);
}

.test-area {
    margin-bottom: 30px;
}

.click-circle {
    width: 180px;
    height: 180px;
    background-color: #007bff;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    transition: background-color 0.3s ease, transform 0.1s ease, box-shadow 0.3s ease;
    user-select: none; /* Prevent text selection */
}

.click-circle:hover:not(.disabled) {
    background-color: #0056b3;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

.click-circle.disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    box-shadow: none;
}

.test-area p {
    font-size: 1.3em;
    font-weight: bold;
    color: #555;
}

#currentCpsDisplay {
    color: #007bff;
    font-size: 1.5em;
}

.results {
    background-color: #e9f5ff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #cceeff;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-top: 25px;
}

.results.hidden {
    display: none;
}

.results h2 {
    color: #007bff;
    margin-top: 0;
    font-size: 1.8em;
}

.results p {
    font-size: 1.2em;
    color: #444;
    margin: 10px 0;
}

#finalCpsDisplay, #animalEmojiDisplay, #speedRatingDisplay, #starRatingDisplay {
    font-weight: bold;
    color: #28a745;
    font-size: 1.3em;
}

#animalEmojiDisplay {
    font-size: 1.6em; /* Make emoji larger */
    vertical-align: middle;
    margin-right: 5px;
}