:root {
    --bg-dark-blue: #092e52;
    --game-box-blue: #16487e;
    --accent: #f4d35e;
    --text-light: #ffffff;
    --bevel-border: 2px solid white;
    --bevel-shadow: -2px -2px 5px rgba(255, 255, 255, 0.4) inset, 
                     2px 2px 5px rgba(0, 0, 0, 0.4) inset;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--bg-dark-blue);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-light);
}

#game-container {
    background-color: var(--game-box-blue);
    border-radius: 12px;
    border: var(--bevel-border);
    box-shadow: var(--bevel-shadow);
    width: 90%;
    max-width: 800px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#stat-question {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: none;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-light);
}

#stat-question #current-stat-name {
    color: var(--accent);
    background-color: transparent;
    padding: 0;
}

#pokemon-area {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 1.5rem;
}

.pokemon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.pokemon-card:hover:not(.disabled) {
    transform: scale(1.05);
}

.pokemon-sprite {
    width: 150px;
    height: 150px;
    border: 3px solid var(--text-light);
    border-radius: 50%;
    background-color: #ffffff33;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.pokemon-sprite img {
    width: 100%;
}

.pokemon-name {
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: capitalize;
    margin-top: 0.5rem;
    color: var(--text-light);
}

.stat-value {
    font-weight: bold;
    font-size: 1.5rem;
    margin-top: 0.25rem;
    display: none;
    color: var(--accent);
}

.guess-button {
    margin-top: 0.5rem;
    background-color: white;
    border: 2px solid #000;
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

#next-button {
    background-color: white;
    color: #000;
    border: 2px solid #000;
    padding: 0.75rem 2rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    display: none;
}

.correct { color: #2ecc71; font-weight: bold; font-size: 1.5rem; }
.incorrect { color: #e74c3c; font-weight: bold; font-size: 1.5rem; }

.winner .pokemon-sprite { border-color: #2ecc71; box-shadow: 0 0 15px rgba(46, 204, 113, 0.7); }
.loser { opacity: 0.6; }
.disabled { cursor: default; }

@media (max-width: 600px) or (orientation: portrait) {
    #pokemon-area { flex-direction: column; gap: 1.5rem; }
    .pokemon-card { width: 80%; }
}
