.quiz-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 140px);
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.badge {
    display: inline-block;
    background: #fce7f3;
    color: #db2777;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.quiz-titles h1 {
    color: var(--heading-color, #111);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.quiz-titles p {
    color: var(--text-muted, #666);
    font-size: 1.1rem;
}

.scoreboard-card {
    background: var(--card-bg, #ffffff);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color, #e5e7eb);
    text-align: center;
    min-width: 150px;
}

.scoreboard-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color, #333);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.score-display {
    font-size: 2rem;
    font-weight: 700;
    color: #db2777;
    margin-bottom: 0.5rem;
}

.text-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.8rem;
    text-decoration: underline;
    cursor: pointer;
}

.text-btn:hover {
    color: #ef4444;
}

.settings-card {
    background: #f8fafc;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 4px solid #db2777;
}

.difficulty-select {
    padding: 0.5rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
}

.difficulty-select:focus {
    outline: none;
    border-color: #db2777;
}

.game-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.trophy-display-card {
    background: var(--card-bg, #ffffff);
    border-radius: 16px;
    border: 1px solid var(--border-color, #e5e7eb);
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
}

.trophy-image-container {
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trophy-image-container svg {
    max-width: 100%;
    max-height: 100%;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
}

.silhouette-mode svg path,
.silhouette-mode svg rect,
.silhouette-mode svg circle,
.silhouette-mode svg polygon {
    fill: #1e293b !important;
}

/* Result Banner */
.result-banner {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

.result-banner.correct {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.result-banner.incorrect {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.hidden {
    display: none !important;
}

/* Interaction Area */
.interaction-area {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.options-grid {
    display: grid;
    gap: 1rem;
}

.option-btn {
    background: var(--card-bg, #ffffff);
    border: 2px solid var(--border-color, #e2e8f0);
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color, #333);
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.option-btn:hover:not(:disabled) {
    border-color: #db2777;
    background: #fdf2f8;
    color: #be185d;
}

.option-btn.selected-correct {
    background: #dcfce7;
    border-color: #22c55e;
    color: #166534;
}

.option-btn.selected-incorrect {
    background: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

.option-btn.missed-correct {
    background: #f0fdf4;
    border-color: #4ade80;
    color: #166534;
}

.option-btn:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

/* Info Card */
.trophy-info-card {
    background: var(--card-bg, #ffffff);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color, #e5e7eb);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.trophy-info-card h2 {
    color: #db2777;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-details p {
    margin-bottom: 0.5rem;
    color: var(--text-color, #333);
}

.credit-text {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted, #666) !important;
}

.primary-btn {
    margin-top: 1.5rem;
    width: 100%;
    background: #db2777;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.primary-btn:hover {
    background: #be185d;
}

/* Dark Mode Overrides */
body:not(.light-theme) .scoreboard-card,
body:not(.light-theme) .trophy-display-card,
body:not(.light-theme) .option-btn,
body:not(.light-theme) .trophy-info-card {
    background: var(--card-bg, #1f2937);
    border-color: #374151;
}

body:not(.light-theme) .settings-card {
    background: #111827;
    border-left-color: #be185d;
}

body:not(.light-theme) .difficulty-select {
    background: #374151;
    color: #f3f4f6;
    border-color: #4b5563;
}

body:not(.light-theme) .option-btn:hover:not(:disabled) {
    background: #4c1d95;
    border-color: #8b5cf6;
    color: #ddd6fe;
}

body:not(.light-theme) .silhouette-mode svg path,
body:not(.light-theme) .silhouette-mode svg rect,
body:not(.light-theme) .silhouette-mode svg circle,
body:not(.light-theme) .silhouette-mode svg polygon {
    fill: #000000 !important;
}

body:not(.light-theme) .result-banner.correct {
    background: #064e3b;
    color: #6ee7b7;
    border-color: #047857;
}

body:not(.light-theme) .result-banner.incorrect {
    background: #7f1d1d;
    color: #fca5a5;
    border-color: #b91c1c;
}

body:not(.light-theme) .option-btn.selected-correct,
body:not(.light-theme) .option-btn.missed-correct {
    background: #064e3b;
    border-color: #059669;
    color: #6ee7b7;
}

body:not(.light-theme) .option-btn.selected-incorrect {
    background: #7f1d1d;
    border-color: #dc2626;
    color: #fca5a5;
}

@media (max-width: 768px) {
    .game-area {
        grid-template-columns: 1fr;
    }
}
