/* Importação da fonte Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

:root {
    --primary-color: #cb6443; /* Laranja */
    --secondary-color-1: #f0bc44; /* Amarelo */
    --secondary-color-2: #11c9b7; /* Ciano/Verde Água */
    --secondary-color-3: #0e231c; /* Verde Escuro (quase preto) */
    --text-light: #f9f9f9;
    --text-dark: #333;
    --bg-dark: #222;

    /* Novas variáveis para tema de game */
    --game-bg-color: #e8f5e9; /* Um verde claro suave para o fundo do quiz */
    --game-border-color: var(--secondary-color-2); /* Borda ciano/verde água */
    --game-question-bg: #ffffff; /* Fundo branco para bloco da questão */
    --game-option-bg: #f5f5f5; /* Fundo mais claro para opções */
    --game-option-hover: #e0e0e0; /* Hover mais escuro */
    --game-selected-option: var(--primary-color);
    --game-correct-feedback: #28a745; /* Verde para correto */
    --game-incorrect-feedback: #dc3545; /* Vermelho para incorreto */
    --game-button-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    --game-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background: url('../identidade_visual/background.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column; /* Coloca os filhos (popup, main-content, footer) em coluna */
    min-height: 100vh; /* Garante que o body ocupe no mínimo a altura da viewport */
    color: var(--text-dark);
}

.hidden {
    display: none !important;
}

/* --- Popup de Boas-Vindas (mantido) --- */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    width: 400px;
}

.popup-logo {
    max-width: 300px;
    margin-bottom: 20px;
}

.popup-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.popup-content p {
    color: var(--text-dark);
    margin-bottom: 25px;
}

#start-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

#start-button:hover {
    background-color: var(--secondary-color-1);
}

/* --- Container Principal (ajuste para alinhar com o footer) --- */
#main-content {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
    width: 95%; /* MUDANÇA: Use 95% para ser responsivo */
    max-width: 800px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 70vh; 
    flex-grow: 1; /* Permite que o main-content cresça para empurrar o footer para baixo */
    margin: 30px auto; /* Centraliza horizontalmente e adiciona margem superior/inferior */
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.header-logo {
    max-width: 200px;
    height: auto;
}

#course-title { /* no index.html */
    color: var(--secondary-color-3);
    font-size: 1.8em;
    text-align: right;
    flex-grow: 1;
    margin-left: 20px;
}
#quiz-course-title { /* no quiz.html */
    color: var(--secondary-color-3);
    font-size: 1.8em;
    text-align: center;
    flex-grow: 1;
    margin-left: 0;
}


/* --- Informações de Módulo e Aula (mantido para quiz-info) --- */
.course-info {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--secondary-color-3);
    font-weight: bold;
}
.quiz-info {
    font-size: 1.2em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}


/* --- Barra de Progresso (mantido para index.html, não usado no quiz.html) --- */
.progress-container {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 5px;
    height: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--secondary-color-2);
    border-radius: 5px;
    transition: width 0.4s ease-in-out;
}

#progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-dark);
    font-size: 0.9em;
    font-weight: bold;
}


/* --- Container do Slide (mantido para index.html, não usado no quiz.html) --- */
.slide-container {
    flex-grow: 1;
    padding: 20px;
    background-color: #fefefe;
    border-radius: 8px;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f0f0f0;
}

.slide-container::-webkit-scrollbar {
    width: 8px;
}

.slide-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.slide-container::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
    border: 2px solid #f0f0f0;
}


/* --- Estilos para o conteúdo dentro dos slides (mantido para index.html) --- */
.slide-content {
    max-width: 700px;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.slide-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color-1);
}

.slide-title {
    color: var(--primary-color);
    font-size: 2em;
    margin: 0;
    line-height: 1.2;
    text-align: center;
    flex-grow: 1;
}

.slide-subtitle {
    color: var(--secondary-color-3);
    font-size: 1.4em;
    margin-top: -15px;
    margin-bottom: 30px;
    font-weight: 400;
}

.main-title {
    font-size: 2.2em;
}

.slide-icon {
    max-width: 80px;
    height: auto;
    margin-left: 20px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.slide-icon-large {
    max-width: 120px;
    height: auto;
    margin-left: 20px;
    flex-shrink: 0;
}

.inline-logo {
    max-width: 100px;
    height: auto;
    margin: 0 15px;
    vertical-align: middle;
}

.intro-text {
    font-size: 1.15em;
    color: var(--secondary-color-3);
    font-weight: 500;
    margin-bottom: 25px;
    text-align: left;
    line-height: 1.5;
}

/* Ajustes para diagramação de parágrafos */
.slide-content p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-dark);
    text-align: left;
    font-size: 1.05em;
    word-break: break-word;
    overflow-wrap: break-word;
}

.slide-content p:last-of-type {
    margin-bottom: 0;
}

.highlight-text {
    font-weight: 700;
    color: var(--secondary-color-3);
    background-color: rgba(17, 201, 183, 0.1);
    padding: 8px 12px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    width: auto;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.info-list li {
    background-color: rgba(240, 188, 68, 0.1);
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 5px solid var(--secondary-color-1);
    color: var(--text-dark);
    font-size: 1em;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    word-break: break-word;
    overflow-wrap: break-word;
}

.list-emoji {
    font-size: 1.5em;
    margin-right: 10px;
    line-height: 1;
    flex-shrink: 0;
    padding-top: 2px;
}

.list-intro-text {
    display: inline;
}

.info-list li strong {
    display: block;
    line-height: 1.2;
    margin-top: 2px;
}


.slide-image-full {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    display: block;
}

.slide-image-half {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    display: block;
}

.image-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
    gap: 15px;
}


.checklist-slide h3 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.4em;
    text-align: left;
    border-bottom: 1px solid var(--secondary-color-1);
    padding-bottom: 5px;
}

.checklist-slide ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.checklist-slide ul li {
    background-color: #f0f8ff;
    padding: 10px 15px;
    margin-bottom: 8px;
    border-radius: 5px;
    border-left: none;
    color: var(--text-dark);
    font-size: 0.95em;
    line-height: 1.5;
}

/* --- Botões de Navegação (mantido para index.html) --- */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    width: 100%;
}

.nav-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-width: 120px;
    flex-grow: 1;
    margin: 0 5px;
}

.nav-button:hover {
    background-color: var(--secondary-color-1);
    transform: translateY(-2px);
}

.nav-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* --- ESTILOS DE GAME PARA O QUIZ (ATUALIZADOS) --- */
.quiz-container.game-style {
    background: linear-gradient(135deg, var(--game-bg-color) 0%, #d4e9d7 100%);
    border: none;
    border-radius: 20px;
    box-shadow: var(--game-card-shadow);
    padding: 35px;
    animation: fadeIn 0.8s ease-out;
}

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

.quiz-container.game-style header {
    border-bottom: none;
    margin-bottom: 10px;
}

.quiz-container.game-style .header-logo {
    max-width: 150px;
}

.quiz-info {
    font-size: 1.3em;
    color: var(--secondary-color-3);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.game-stats {
    display: flex;
    justify-content: space-around;
    background-color: var(--secondary-color-3);
    color: var(--text-light);
    padding: 18px 25px;
    border-radius: 12px;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 1.3em;
    border: none;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    animation: bounceIn 0.6s ease-out;
}

.game-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.game-stats .stat-item span {
    color: var(--secondary-color-1);
    font-size: 1.1em;
}
.game-stats .stat-item i {
    color: var(--secondary-color-1);
    font-size: 1.5em;
}

/* Feedback de resposta */
.feedback-area {
    margin-top: 15px;
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease-out;
    background-color: transparent;
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

#feedback-message {
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

#feedback-explanation {
    font-size: 1.1em;
    font-weight: normal;
    margin-top: 5px;
    color: white;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-transform: none;
    letter-spacing: normal;
    text-align: center;
}


.feedback-area.feedback-correct {
    background-color: var(--game-correct-feedback);
    color: white;
}

.feedback-area.feedback-incorrect {
    background-color: var(--game-incorrect-feedback);
    color: white;
}


.question-display {
    background-color: var(--game-question-bg);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: slideInUp 0.7s ease-out;
}

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

.question-display h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 30px;
    line-height: 1.6;
    text-align: left;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.question-display .options-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.question-display .options-list li {
    margin-bottom: 15px;
    position: relative;
}

.question-display .option-label {
    display: block;
    background-color: var(--game-option-bg);
    border: none;
    padding: 18px 25px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease, box-shadow 0.2s ease;
    font-size: 1.1em;
    color: var(--secondary-color-3);
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
    padding-left: 60px;
}

/* Para ocultar o radio button real */
.question-display input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}


.question-display .option-label::before { /* Estilo para o ponto/círculo personalizado */
    content: '';
    display: inline-block;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--secondary-color-1);
    border-radius: 50%;
    transition: all 0.2s ease;
    background-color: white;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

/* Estilo para quando a opção é selecionada (círculo preenchido) */
.question-display input[type="radio"]:checked + .option-label::before {
    background-color: var(--game-selected-option);
    border-color: var(--game-selected-option);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
}


.question-display .option-label:hover {
    background-color: var(--game-option-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}
.question-display .option-label:hover::before {
    border-color: var(--primary-color);
}


.question-display input[type="radio"]:checked + .option-label {
    background-color: var(--game-selected-option);
    color: white;
    border: none;
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
.question-display input[type="radio"]:checked + .option-label::before {
    background-color: white;
    border-color: white;
}

/* Estilo para opções desabilitadas */
.question-display .option-disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    pointer-events: none !important;
    background-color: #f0f0f0 !important;
    border: none !important;
    box-shadow: none !important;
    color: #666 !important;
}
/* Altera o estilo do círculo quando a opção é desabilitada */
.question-display .option-disabled::before {
    background-color: #e0e0e0 !important;
    border-color: #ccc !important;
}


/* Botões de Game */
.game-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    box-shadow: var(--game-button-shadow);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 25px;
}

.game-button:hover {
    background-color: var(--secondary-color-1);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}
.game-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: translateY(0);
}

/* Estilo específico para o botão Próxima Questão */
#next-question-btn {
    background-color: var(--secondary-color-1);
    color: var(--secondary-color-3);
}

#next-question-btn:hover {
    background-color: var(--primary-color);
    color: white;
}


/* Estilos de resultados */
.quiz-results {
    text-align: center;
    background: linear-gradient(45deg, var(--secondary-color-2), var(--game-border-color));
    color: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--game-card-shadow);
    margin-top: 40px;
    animation: zoomIn 0.7s ease-out;
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.quiz-results h2 {
    color: white;
    margin-bottom: 25px;
    font-size: 3em;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    letter-spacing: 1px;
}

.quiz-results p {
    font-size: 2em;
    margin-bottom: 35px;
    color: var(--text-light);
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}
.quiz-results p span {
    color: var(--secondary-color-1);
    font-size: 1.3em;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.quiz-results .game-button {
    margin: 0 15px;
    padding: 15px 35px;
}


/* --- Rodapé do Site (NOVO) --- */
.site-footer {
    background-color: var(--primary-color); /* Cor de fundo primária */
    color: white;
    padding: 30px 20px;
    width: 100%; /* Garante que ocupe 100% da largura */
    box-sizing: border-box; /* Inclui padding na largura total */
    text-align: center;
    margin-top: auto; /* Empurra o rodapé para o final da página quando o conteúdo é curto */
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2); /* Sombra para destacar */
}

.footer-content {
    display: flex;
    flex-wrap: wrap; /* Permite que os itens quebrem para a linha de baixo em telas pequenas */
    justify-content: space-around; /* Espaçamento entre os blocos */
    align-items: center;
    max-width: 900px; /* Limita a largura do conteúdo do rodapé */
    margin: 0 auto; /* Centraliza o conteúdo do rodapé */
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Linha divisória sutil */
    margin-bottom: 20px;
}

.footer-brand,
.footer-contact {
    flex: 1; /* Permite que eles ocupem espaço igual */
    min-width: 250px; /* Largura mínima para evitar colapso total */
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

.footer-logo {
    max-width: 255px; /* Logotipo pequeno e discreto */
    height: auto;
    margin-bottom: 10px;
}

.footer-course-name {
    font-size: 1.2em;
    font-weight: 700;
    margin: 0;
    color: var(--text-light);
}

.footer-contact h4 {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: var(--secondary-color-1); /* Amarelo para o título de contato */
}

.footer-contact p {
    margin-bottom: 8px;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza o texto de contato */
}

.footer-contact p i {
    margin-right: 10px;
    font-size: 1.2em;
    color: var(--secondary-color-2); /* Ciano/Verde Água para ícones de contato */
}

.footer-contact a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--secondary-color-1); /* Amarelo no hover */
}

.footer-copyright {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7); /* Cor mais suave para o copyright */
}

/* --- Responsividade Geral --- */
@media (max-width: 768px) {
    #main-content {
        margin: 20px auto; /* Reduz margem em telas menores */
        padding: 20px;
    }
    .footer-content {
        flex-direction: column; /* Pilha os itens do rodapé em mobile */
        text-align: center;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    .footer-brand,
    .footer-contact {
        min-width: unset; /* Remove a largura mínima em mobile */
        width: 100%; /* Ocupa a largura total */
        margin-bottom: 20px; /* Espaçamento entre blocos empilhados */
    }
    .footer-brand:last-child,
    .footer-contact:last-child {
        margin-bottom: 0;
    }
    .footer-contact p {
        justify-content: center; /* Mantém contato centralizado */
    }

    /* Responsividade para o Quiz (mantido) */
    .quiz-container.game-style {
        padding: 25px;
        border-radius: 15px;
    }
    .quiz-container #quiz-course-title {
        font-size: 1.5em;
    }
    .quiz-info {
        font-size: 1.1em;
        margin-bottom: 20px;
    }
    .game-stats {
        font-size: 1.1em;
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }
    .game-stats .stat-item i {
        font-size: 1.2em;
    }

    .feedback-area {
        margin-top: 15px;
        margin-bottom: 20px;
        padding: 15px;
    }
    #feedback-message {
        font-size: 1.8em;
        margin-bottom: 10px;
    }
    #feedback-explanation {
        font-size: 1em;
        margin-top: 5px;
    }

    .question-display {
        padding: 25px;
        min-height: 250px;
        margin-bottom: 20px;
    }
    .question-display h3 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
    .question-display .option-label {
        padding: 15px 20px;
        font-size: 1em;
        padding-left: 55px;
    }
    .question-display .option-label::before {
        width: 18px;
        height: 18px;
        margin-right: 10px;
        left: 15px;
    }
    .game-button {
        font-size: 1em;
        padding: 12px 25px;
        margin-top: 20px;
    }
    .quiz-results {
        padding: 40px 30px;
        border-radius: 15px;
    }
    .quiz-results h2 {
        font-size: 2.5em;
    }
    .quiz-results p {
        font-size: 1.8em;
    }
    .quiz-results .game-button {
        font-size: 1em;
        padding: 12px 25px;
        margin: 0 8px;
    }
}

@media (max-width: 480px) {
    #main-content {
        margin: 15px auto;
        padding: 15px;
        border-radius: 0;
        width: 100%;
        min-height: 100vh; /* Ocupa a altura total em mobile */
    }
    body {
        align-items: flex-start; /* Alinha o conteúdo ao topo em mobile */
        justify-content: flex-start; /* Ajuste para evitar centralização vertical */
    }

    .popup-content h2 {
        font-size: 1.3em;
    }
    .header-logo {
        max-width: 80px;
    }
    .quiz-container header {
        flex-direction: column;
        text-align: center;
    }
    .quiz-container .header-logo {
        max-width: 100px;
        margin-bottom: 10px;
    }
    .quiz-container #quiz-course-title {
        font-size: 1.4em;
        margin-left: 0;
        text-align: center;
    }
    .quiz-info {
        font-size: 1em;
        margin-bottom: 15px;
    }
    .game-stats {
        font-size: 0.95em;
        padding: 10px 15px;
        border-width: 1px;
        margin-bottom: 15px;
    }
    .game-stats .stat-item i {
        font-size: 1em;
    }

    .feedback-area {
        margin-top: 10px;
        margin-bottom: 15px;
        padding: 10px;
    }
    #feedback-message {
        font-size: 1.5em;
        margin-bottom: 10px;
    }
    #feedback-explanation {
        font-size: 0.9em;
        margin-top: 5px;
    }

    .question-display {
        padding: 20px;
        min-height: 180px;
        margin-bottom: 15px;
    }
    .question-display h3 {
        font-size: 1.3em;
        margin-bottom: 15px;
    }
    .question-display .option-label {
        font-size: 0.9em;
        padding: 12px 15px;
        padding-left: 45px;
    }
    .question-display .option-label::before {
        width: 16px;
        height: 16px;
        margin-right: 8px;
        left: 10px;
    }
    .game-button {
        font-size: 0.9em;
        padding: 10px 20px;
        margin-top: 15px;
    }
    .quiz-results {
        padding: 30px 20px;
        border-radius: 10px;
    }
    .quiz-results h2 {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .quiz-results p {
        font-size: 1.5em;
        margin-bottom: 25px;
    }
    .quiz-results .game-button {
        flex-grow: 1;
        margin: 5px 0;
        padding: 10px 20px;
    }
}