/* Basic styles for the whole page */
body {
    /* Subtle dark gradient background */
    background-color: #283618; /* Fallback color */
    background-image: linear-gradient(to bottom, #3a4a2a, #283618);
    /* Light text color for contrast */
    color: #FEFAE0;
    /* --- FONT CHANGE: Reverted to standard sans-serif --- */
    font-family: sans-serif;
    /* --- End of Font Change --- */
    letter-spacing: 1px; /* Keep this? Adjust if needed */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Style the header area */
header {
    background-color: #606C38;
    width: 100%;
    padding: 15px 0;
    margin-bottom: 25px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    border-bottom: 4px solid #dda15e;
}

header h1 {
    margin: 0;
    font-size: 3em; /* Keep size, but font will change */
    color: #FEFAE0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
     /* --- FONT NOTE: Will inherit from body --- */
}

/* Style for the mascot placeholder */
#dino-mascot-placeholder {
    width: 50px;
    height: 50px;
    background-color: #dda15e;
    border-radius: 50%;
    margin-right: 15px;
    background-image: url('../images/dino.png');
    background-size: cover;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

/* Style the selection area */
#selection-area {
    background-color: rgba(96, 108, 56, 0.8);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#selection-area label {
    margin: 0 10px 0 15px;
    font-weight: bold; /* Re-add bold maybe? Or keep as is? Let's try bold */
    font-size: 1.1em;
    color: #FEFAE0;
     /* --- FONT NOTE: Will inherit from body --- */
}

#selection-area select {
    padding: 8px 12px;
    border-radius: 5px;
    border: 2px solid #dda15e;
    background-color: #FEFAE0;
    color: #283618;
    font-family: sans-serif; /* Keep standard font for dropdowns */
    font-size: 0.9em;
    cursor: pointer;
    margin: 0 5px;
}

#selection-area select:focus {
    outline: 2px solid #bc6c25;
    box-shadow: 0 0 5px #dda15e;
}


/* Style the main game area */
main#game-area {
    background-color: rgba(40, 54, 24, 0.85);
    padding: 25px 30px;
    border-radius: 15px;
    width: 85%;
    max-width: 650px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    border: 2px solid #606C38;
     /* --- FONT NOTE: Will inherit from body --- */
}

/* Problem display styling */
#problem-container {
    margin-bottom: 25px;
}

#problem-text {
    font-size: 1.6em;
    color: #FEFAE0;
    margin-bottom: 10px;
     /* --- FONT NOTE: Will inherit from body --- */
}

#problem-values {
    font-size: 2.2em;
    color: #dda15e;
    font-weight: bold;
    background-color: rgba(96, 108, 56, 0.5);
    padding: 15px;
    border-radius: 8px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
     /* --- FONT NOTE: Will inherit from body --- */
}
#problem-values .number {
     color: #FEFAE0;
     margin: 0 5px;
}
.symbol-placeholder {
    display: inline-block; width: 60px; border-bottom: 3px solid #FEFAE0; margin: 0 10px; vertical-align: middle;
}


/* Shape & Clock Display Containers */
#shape-display-container, #clock-display-container {
    margin: 15px auto; background-color: #FEFAE0; border-radius: 8px; padding: 10px; width: 150px; height: 150px; display: flex; justify-content: center; align-items: center; box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
#clock-display-container { border-radius: 50%; border: 4px solid #606C38; width: 180px; height: 180px;}

#shape-display-container svg { width: 80%; height: 80%; }
#clock-display-container svg { width: 100%; height: 100%; overflow: visible; }

/* SVG Element Styles */
#shape-display-container svg .shape-element { fill: #dda15e; stroke: #283618; stroke-width: 3; }
.clock-face { fill: #FEFAE0; stroke: #283618; stroke-width: 2; }
.center-dot { fill: #283618; }
.hour-hand { stroke: #283618; stroke-width: 6; stroke-linecap: round; }
.minute-hand { stroke: #283618; stroke-width: 4; stroke-linecap: round; }
.clock-tick { stroke: #606C38; stroke-width: 1; }


/* Style the options container */
#options-container {
    margin-bottom: 25px;
    min-height: 50px;
}

/* Style option buttons */
button.option {
    background-color: #dda15e;
    color: #283618;
    border: 3px solid #bc6c25;
    padding: 15px 25px;
    margin: 8px;
    /* --- FONT CHANGE: Reverted to standard sans-serif --- */
    font-family: sans-serif;
    font-weight: bold; /* Add bold back */
    /* --- End of Font Change --- */
    font-size: 1.6em;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

button.option:hover {
    background-color: #bc6c25;
    color: #FEFAE0;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}
button.option:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
button.option:disabled {
     background-color: #a9a591;
     border-color: #7a7666;
     color: #e0ddd7;
     cursor: not-allowed;
     box-shadow: none;
     transform: none;
}


/* Style symbol/time options slightly differently if needed */
button.symbol-option { font-size: 1.8em; padding: 12px 20px; }
/* button.time-option { font-size: 1.2em; font-family: monospace; } */


/* Style the feedback area */
#feedback-container {
    min-height: 1.5em;
    font-size: 1.4em;
    font-weight: bold; /* Add bold back */
    margin-bottom: 20px;
    color: #FEFAE0;
    transition: color 0.3s ease;
     /* --- FONT NOTE: Will inherit from body --- */
}

/* Style the score area */
#score-container {
    font-size: 1.4em;
    font-weight: bold; /* Add bold back */
    color: #FEFAE0;
    margin-bottom: 15px;
     /* --- FONT NOTE: Will inherit from body --- */
}

/* Style for the reset button */
#reset-score-button {
    background-color: #bc6c25;
    color: #FEFAE0;
    border: none;
    padding: 8px 15px;
    margin-top: 15px;
    /* --- FONT CHANGE: Reverted to standard sans-serif --- */
    font-family: sans-serif;
    font-weight: bold; /* Add bold back */
     /* --- End of Font Change --- */
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    opacity: 0.8;
}
#reset-score-button:hover {
    background-color: #a05e21;
    opacity: 1;
}


/* Style the footer */
footer {
    margin-top: 30px;
    color: #a9a591;
    font-size: 0.9em;
    padding-bottom: 20px;
     /* --- FONT NOTE: Will inherit from body --- */
}