/* Estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    background-size: 600% 600%;
    animation: gradientBG 15s ease infinite;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

@keyframes gradientBG {
    0% {background-position: 0% 50%}
    50% {background-position: 100% 50%}
    100% {background-position: 0% 50%}
}

.container {
    max-width: 800px;
    width: 100%;
}

.game-screen {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    margin: 0 auto;
}

.hidden {
    display: none !important;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Botões */
.btn {
    background-color: #ffd700;
    color: #000;
    border: none;
    padding: 12px 24px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    margin: 10px 0;
}

.btn:hover {
    background-color: #ffed4a;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

/* Tela Inicial */
.trophy {
    font-size: 5rem;
    color: #ffd700;
    margin: 20px 0;
    animation: pulse 2s infinite;
}

.trophy-big {
    font-size: 8rem;
    color: #ffd700;
    margin: 20px 0;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {transform: scale(1)}
    50% {transform: scale(1.1)}
    100% {transform: scale(1)}
}

/* Tela de Jogo */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.score {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffd700;
}

.progress-container {
    width: 50%;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #444;
    border-radius: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #ffd700;
    width: 0%;
    transition: width 0.5s ease;
}

.question-container {
    margin-top: 20px;
}

.options-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 20px;
}

.option-btn {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 15px;
    font-size: 1.1rem;
    color: white;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.correct {
    background-color: rgba(0, 255, 0, 0.3);
    border-color: #00ff00;
}

.incorrect {
    background-color: rgba(255, 0, 0, 0.3);
    border-color: #ff0000;
}

/* Tela de Feedback */
.feedback {
    margin-bottom: 20px;
}

#correct-feedback h2 {
    color: #00ff00;
}

#incorrect-feedback h2 {
    color: #ff0000;
}

/* Tela de Resultado */
#result-title {
    margin-bottom: 30px;
}

#result-message {
    font-size: 1.4rem;
    margin: 20px 0;
}

/* Responsividade */
@media (min-width: 768px) {
    .options-container {
        grid-template-columns: 1fr 1fr;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }
    
    p {
        font-size: 1.3rem;
    }
    
    .btn {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .game-screen {
        padding: 20px 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .trophy {
        font-size: 4rem;
    }
    
    .trophy-big {
        font-size: 6rem;
    }
    
    .header {
        flex-direction: column;
        gap: 10px;
    }
    
    .progress-container {
        width: 100%;
        order: 3;
    }
}