@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* --- Basic Reset & Body --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #1a1a2e; /* Dark navy background */
    color: #e0e0e0; /* Light text */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* --- Game Container --- */
.game-container {
    background-color: #16213e; /* Slightly lighter navy */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    text-align: center;
    width: 100%;
    max-width: 600px;
    border: 2px solid #0f3460;
}

h1 {
    color: #e94560; /* Vibrant pink/red */
    margin-bottom: 25px;
    font-size: 2.5rem;
}

/* --- Scoreboard --- */
.scoreboard {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.score {
    background-color: #1a1a2e;
    padding: 10px 20px;
    border-radius: 8px;
    min-width: 120px;
}

.score-label {
    display: block;
    font-weight: 700;
    color: #e94560;
    margin-bottom: 5px;
}

#player-score,
#computer-score {
    font-size: 2rem;
    font-weight: 700;
}

.round-tracker {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f0a500; /* Amber */
}

/* --- Results --- */
.results {
    margin: 20px 0;
    min-height: 50px; /* Prevents layout shift */
    display: flex;
    justify-content: center;
    align-items: center;
}

#result-text {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
}

/* --- Choices & Buttons --- */
.choices {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.choice-btn {
    font-size: 3rem;
    padding: 15px;
    width: 100px;
    height: 100px;
    border: 3px solid #0f3460;
    background-color: #16213e;
    color: #e0e0e0;
    border-radius: 50%; /* Circular buttons */
    cursor: pointer;
    transition: all 0.2s ease;
}

.choice-btn:hover {
    background-color: #0f3460;
    transform: translateY(-5px);
    border-color: #e94560;
}

.choice-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

#restart-btn {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    background-color: #f0a500; /* Amber */
    color: #16213e; /* Dark text */
    cursor: pointer;
    transition: all 0.2s ease;
}

#restart-btn:hover {
    background-color: #ffc107; /* Lighter amber */
    transform: scale(1.05);
}