/* =============================================
   JOGOS BÍBLICOS - ESTILO PRINCIPAL
   ============================================= */

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #0c0e1a 0%, #1a1f36 30%, #2d1b4e 60%, #1a1f36 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* ===== PARTÍCULAS ===== */
.particles {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    animation: float-particle 15s infinite linear;
}

.particles span:nth-child(1) { left: 5%; animation-delay: 0s; }
.particles span:nth-child(2) { left: 15%; animation-delay: 2s; width: 8px; height: 8px; }
.particles span:nth-child(3) { left: 25%; animation-delay: 4s; }
.particles span:nth-child(4) { left: 35%; animation-delay: 6s; width: 10px; height: 10px; }
.particles span:nth-child(5) { left: 45%; animation-delay: 8s; }
.particles span:nth-child(6) { left: 55%; animation-delay: 10s; width: 8px; height: 8px; }
.particles span:nth-child(7) { left: 65%; animation-delay: 12s; }
.particles span:nth-child(8) { left: 75%; animation-delay: 14s; width: 10px; height: 10px; }
.particles span:nth-child(9) { left: 85%; animation-delay: 3s; }
.particles span:nth-child(10) { left: 95%; animation-delay: 7s; width: 8px; height: 8px; }

@keyframes float-particle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    width: 100%;
    z-index: 1;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== GLASS EFFECT ===== */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* ===== LOGIN / HEADER ===== */
.glass-header {
    border-radius: 24px;
    padding: 20px 30px;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.glass-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    animation: rotate-glow 20s linear infinite;
}

@keyframes rotate-glow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.header-content {
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo i {
    font-size: 2.5rem;
    color: #f6c445;
    text-shadow: 0 0 30px rgba(246, 196, 69, 0.3);
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f6c445, #f9d976);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    letter-spacing: 3px;
    margin-top: 5px;
    text-transform: uppercase;
}

/* ===== STATS GRID ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
}

.stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: rgba(255, 215, 0, 0.15);
    color: #f6c445;
}

.stat-info {
    flex: 1;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.stat-value {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.stat-total {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 2px;
}

/* ===== LEVEL INFO ===== */
.level-info {
    border-radius: 16px;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.level-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.15);
    padding: 5px 18px;
    border-radius: 30px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.level-badge .number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f6c445;
    line-height: 1;
}

.level-badge .label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.level-progress {
    flex: 1;
    min-width: 100px;
}

.level-progress .bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.level-progress .bar .fill {
    height: 100%;
    background: linear-gradient(90deg, #f6c445, #f9d976);
    border-radius: 4px;
    transition: width 0.8s ease;
    width: 0%;
}

.level-progress .text {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

.level-stats {
    display: flex;
    gap: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.level-stats i {
    margin-right: 4px;
}

/* ===== TIMER ===== */
.timer-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timer-container .timer-icon {
    color: #f6c445;
    font-size: 1rem;
}

.timer-container .timer-text {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 35px;
    text-align: center;
}

.timer-container .timer-text.warning {
    color: #e74c3c;
}

/* ===== GAME AREA ===== */
.game-area {
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.game-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.03), transparent 50%);
    pointer-events: none;
}

/* ===== QUESTION TYPE ===== */
.question-type {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.1);
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 15px;
    color: #f6c445;
    font-weight: 500;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 215, 0, 0.15);
}

/* ===== QUESTION ===== */
.question-container {
    padding: 20px 0;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.question-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #fff;
    text-align: center;
}

.question-text .highlight {
    color: #f6c445;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-color: rgba(246, 196, 69, 0.3);
}

.question-reference {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 5px;
}

/* ===== OPTIONS ===== */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}

.option-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 500;
    color: #e8e8e8;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.option-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.1);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.option-btn:hover:not(:disabled) {
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.3);
}

.option-btn:hover:not(:disabled)::before {
    width: 300px;
    height: 300px;
}

.option-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.option-btn.correct {
    background: rgba(46, 204, 113, 0.25) !important;
    border-color: #2ecc71 !important;
    color: #2ecc71 !important;
    box-shadow: 0 0 30px rgba(46, 204, 113, 0.2);
    animation: pulse-correct 0.6s ease;
}

.option-btn.wrong {
    background: rgba(231, 76, 60, 0.25) !important;
    border-color: #e74c3c !important;
    color: #e74c3c !important;
    animation: shake 0.5s ease;
}

@keyframes pulse-correct {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-10px); }
    40% { transform: translateX(10px); }
    60% { transform: translateX(-10px); }
    80% { transform: translateX(10px); }
}

/* ===== FEEDBACK ===== */
.feedback {
    margin-top: 20px;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback.hidden {
    display: none;
}

.feedback.success {
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.feedback.error {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(135deg, #f6c445, #f9d976);
    color: #1a1f36;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 10px 30px -8px rgba(246, 196, 69, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -8px rgba(246, 196, 69, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-danger {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-danger:hover {
    background: rgba(231, 76, 60, 0.3);
}

.btn-logout {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
    padding: 8px 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

.btn-logout:hover {
    background: rgba(231, 76, 60, 0.25);
}

/* ===== RESULT AREA ===== */
.result-area {
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    display: none;
    animation: fadeInUp 0.6s ease-out;
}

.result-area .icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.result-area h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.result-area p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

.result-area .stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin: 25px 0;
}

.result-area .stats .stat {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.result-area .stats .stat .number {
    font-size: 2rem;
    font-weight: 700;
    color: #f6c445;
}

.result-area .stats .stat .label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-area .buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* ===== RANKING ===== */
.ranking-section {
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
}

.ranking-section .ranking-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ranking-section .ranking-item:last-child {
    border-bottom: none;
}

.ranking-section .position {
    font-weight: 700;
    min-width: 28px;
    color: rgba(255, 255, 255, 0.4);
}

.ranking-section .position.gold { color: #f6c445; }
.ranking-section .position.silver { color: #bdc3c7; }
.ranking-section .position.bronze { color: #cd7f32; }

.ranking-section .name {
    flex: 1;
    color: #fff;
    font-size: 0.9rem;
}

.ranking-section .points {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.ranking-section .online {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.ranking-section .online.online { background: #2ecc71; }
.ranking-section .online.offline { background: #e74c3c; }

/* ===== RANKING SIDE ===== */
.ranking-side {
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.ranking-box {
    border-radius: 24px;
    padding: 20px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.ranking-box::-webkit-scrollbar { width: 4px; }
.ranking-box::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 4px; }
.ranking-box::-webkit-scrollbar-thumb { background: rgba(246, 196, 69, 0.3); border-radius: 4px; }

.ranking-box h3 {
    color: #f6c445;
    font-size: 1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ranking-box .live-indicator {
    font-size: 0.7rem;
    color: #2ecc71;
    animation: pulse-live 1.5s infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.ranking-box .ranking-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    margin-bottom: 5px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.ranking-box .ranking-item.destaque {
    border: 2px solid #e74c3c !important;
    background: rgba(231, 76, 60, 0.15) !important;
    animation: pulse-border 1.5s infinite;
}

@keyframes pulse-border {
    0%, 100% { border-color: #e74c3c; box-shadow: 0 0 20px rgba(231, 76, 60, 0.2); }
    50% { border-color: #f6c445; box-shadow: 0 0 40px rgba(246, 196, 69, 0.3); }
}

.ranking-box .position {
    font-weight: 700;
    font-size: 0.85rem;
    min-width: 25px;
    color: rgba(255, 255, 255, 0.4);
}

.ranking-box .position.gold { color: #f6c445; }
.ranking-box .position.silver { color: #bdc3c7; }
.ranking-box .position.bronze { color: #cd7f32; }

.ranking-box .name {
    flex: 1;
    color: #fff;
    font-size: 0.85rem;
}

.ranking-box .points {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.ranking-box .status { font-size: 0.7rem; }
.ranking-box .status.online { color: #2ecc71; }
.ranking-box .status.duelo { color: #e74c3c; }

/* ===== GAME CARDS ===== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.game-card {
    border-radius: 18px;
    padding: 25px 20px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.4);
}

.game-card .icon { font-size: 2.5rem; margin-bottom: 10px; }
.game-card .icon.bible { color: #f6c445; }
.game-card .icon.challenge { color: #3498db; }
.game-card .icon.knowledge { color: #2ecc71; }
.game-card .icon.culture { color: #9b59b6; }

.game-card h4 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.game-card p { color: rgba(255, 255, 255, 0.4); font-size: 0.75rem; }

.game-card .badge {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    margin-top: 8px;
}

.game-card .badge.locked { background: rgba(231, 76, 60, 0.2); color: #e74c3c; }
.game-card .badge.unlocked { background: rgba(46, 204, 113, 0.2); color: #2ecc71; }

/* ===== COMPETITION CARDS ===== */
.competition-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.competition-card {
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.competition-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.2);
    background: rgba(255, 215, 0, 0.05);
}

.competition-card .icon { font-size: 1.8rem; margin-bottom: 5px; }
.competition-card h4 { color: #fff; font-size: 0.9rem; }
.competition-card p { color: rgba(255, 255, 255, 0.4); font-size: 0.7rem; }

/* ===== LOADING ===== */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #f6c445;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== FLOWERS (CELEBRAÇÃO) ===== */
.flower {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    font-size: 2rem;
    animation: flowerFall linear forwards;
}

.flower:nth-child(odd) { animation-duration: 3s; }
.flower:nth-child(even) { animation-duration: 4s; }

@keyframes flowerFall {
    0% { transform: translateY(-100px) rotate(0deg) scale(0); opacity: 1; }
    20% { transform: translateY(20vh) rotate(72deg) scale(1.2); opacity: 1; }
    100% { transform: translateY(110vh) rotate(360deg) scale(0.5); opacity: 0; }
}

.celebration-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    text-align: center;
    animation: celebrationPop 1s ease forwards;
    pointer-events: none;
}

.celebration-message h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: #f6c445;
    text-shadow: 0 0 50px rgba(246, 196, 69, 0.5);
    margin-bottom: 10px;
}

.celebration-message p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes celebrationPop {
    0% { transform: translate(-50%, -50%) scale(0) rotate(-10deg); opacity: 0; }
    60% { transform: translate(-50%, -50%) scale(1.2) rotate(3deg); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 992px) {
    .container { grid-template-columns: 1fr; }
    .ranking-side { position: relative; top: 0; }
    .games-grid { grid-template-columns: repeat(2, 1fr); }
    .competition-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }
    .header .game-info {
        flex-wrap: wrap;
        justify-content: center;
    }
    .level-info {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .level-stats {
        justify-content: center;
    }
    .options-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .question-text {
        font-size: 1.3rem;
    }
    .result-area .stats {
        grid-template-columns: 1fr;
    }
    .timer-container {
        justify-content: center;
    }
    .celebration-message h1 {
        font-size: 2.5rem;
    }
    .celebration-message p {
        font-size: 1.2rem;
    }
    .games-grid { grid-template-columns: 1fr; }
    .competition-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .question-text {
        font-size: 1.1rem;
    }
    .option-btn {
        font-size: 0.95rem;
        padding: 14px 16px;
    }
    .result-area .buttons {
        flex-direction: column;
    }
    .celebration-message h1 {
        font-size: 2rem;
    }
    .stats-grid { grid-template-columns: 1fr; }
    .logo h1 { font-size: 1.5rem; }
    .logo i { font-size: 2rem; }
    .login-box { padding: 20px 15px; }
    .form-options { flex-direction: column; gap: 10px; }
}