:root {
    --field-size: 500px;
    --dot-size: 40px;
}

body {
    font-family: 'Verdana', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #34495e; /* Dark background */
    color: #ecf0f1;
}

#game-container {
    background-color: #2c3e50;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    text-align: center;
    max-width: 600px;
    width: 90%;
}

h1 {
    color: #f1c40f; /* Yellow */
    margin-bottom: 20px;
}

#status-area {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
}

/* --- Playing Field --- */
#playing-field {
    width: var(--field-size);
    height: var(--field-size);
    margin: 0 auto;
    border: 3px solid #bdc3c7;
    background-color: #34495e;
    position: relative; /* CRUCIAL for absolute positioning of the dot */
    overflow: hidden;
}

/* --- Target Dot --- */
#target-dot {
    width: var(--dot-size);
    height: var(--dot-size);
    background-color: #e74c3c; /* Bright Red target */
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
    display: none; /* Hidden by default */
}

/* --- Controls and Feedback --- */
#feedback-message {
    min-height: 20px;
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 1.1em;
}

#start-button {
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#start-button:hover:not(:disabled) {
    background-color: #2980b9;
}