/* Crypto Quiz – mobile-first game stage */
.game-stage {
    --game-max-width: 480px;
    --game-aspect: 4 / 3;
    max-width: var(--game-max-width);
    margin: 0 auto;
    aspect-ratio: var(--game-aspect);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-sizing: border-box;
}

.game-stage .question-image {
    width: 100%;
    max-height: 45vh;
    object-fit: contain;
    border-radius: 1rem;
    background: rgba(255,255,255,0.05);
}

.game-stage .choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    width: 100%;
    max-width: 400px;
    margin-top: 1.5rem;
}

.game-stage .choice-btn {
    min-height: 48px;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 0.75rem;
    border: 2px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.game-stage .choice-btn:hover,
.game-stage .choice-btn:focus {
    background: rgba(255,255,255,0.1);
    border-color: rgba(249, 115, 22, 0.5);
    outline: none;
}

.game-stage .choice-btn.correct {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.2);
}

.game-stage .choice-btn.wrong {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.2);
}

.game-stage .choice-btn:disabled {
    cursor: default;
    opacity: 0.8;
}

.game-stage .score-bar {
    width: 100%;
    max-width: 400px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
}

.game-stage .score-bar progress {
    flex: 1;
    height: 6px;
    margin: 0 0.75rem;
    border-radius: 3px;
    background: rgba(255,255,255,0.1);
}

.game-stage .score-bar progress::-webkit-progress-bar { background: rgba(255,255,255,0.1); border-radius: 3px; }
.game-stage .score-bar progress::-webkit-progress-value { background: #f97316; border-radius: 3px; }
.game-stage .score-bar progress::-moz-progress-bar { background: #f97316; border-radius: 3px; }

.game-stage .result-screen {
    text-align: center;
    padding: 1.5rem;
}

.game-stage .result-screen h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.game-stage .result-screen p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}

.game-stage .result-screen .play-again {
    min-height: 48px;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    border: none;
    background: #f97316;
    color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.game-stage .result-screen .play-again:hover {
    background: #ea580c;
}

.game-stage .start-screen {
    text-align: center;
    padding: 1rem;
}

.game-stage .start-screen h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.game-stage .start-screen p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.game-stage .start-screen .start-btn {
    min-height: 48px;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    border: none;
    background: #f97316;
    color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.game-stage .start-screen .start-btn:hover {
    background: #ea580c;
}

.game-stage [data-screen] { display: none; }
.game-stage [data-screen].active { display: flex; flex-direction: column; align-items: center; width: 100%; }
