* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Corpo/Areas principais da página */
body {
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

section {
    margin: 0 auto;
    padding: 5rem 2rem;
    position: relative;
}

/* Section Inicio  */
.inicio {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 2rem 60px;
    position: relative;
    overflow: hidden;
}

.inicio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 45, 149, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(107, 95, 255, 0.1) 0%, transparent 70%);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.inicio-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    max-width: 1200px;
    gap: 40px;
    text-align: center;
}

.inicio-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
    filter: drop-shadow(0 0 20px rgba(255, 45, 149, 0.3));
}

.inicio-content h2 {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.inicio-content h3 {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
    line-height: 1.8;
}

/* Area do Button  */
.area-button {
    width: 300px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.area-button .button {
    width: 90%;
    height: 100%;
    border: 2px solid var(--cyan);
    border-radius: 15px;
    background-color: transparent;
    font-size: 16px;
    font-weight: 600;
    color: var(--cyan);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.area-button .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--cyan);
    transition: left 0.3s ease;
    z-index: -1;
}

.area-button .button:hover::before {
    left: 0;
}

.area-button .button:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}

/* Conteudo Principal: Cards  */
.conteudo {
    max-width: 1400px;
    margin: 0 auto;
}

.area-infs {
    text-align: center;
    margin-bottom: 3rem;
}

.area-infs h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.area-infs p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.area-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    width: 100%;
    margin-top: 2rem;
}

/* Cards  */
.card-container {
    perspective: 1000px;
    height: 400px;
}

.card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.card-container:hover .card {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

/* Frente do card */
.card-front {
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-container:hover .card-front {
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    border-color: var(--cyan);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-front h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.card-front p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Verso do card */
.card-back {
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Indicador de flip (Girar) */
.flip-indicator {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 0.8rem;
    color: var(--cyan);
    opacity: 0.6;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Section Cards Estatisticas */
.Numbers-infs {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    max-width: 1400px;
    gap: 40px;
    padding: 3rem 2rem;
}

/* Cards de números */
.area-cards-numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  
    gap: 1.5rem; 
    width: 100%;
}

.card-numbers {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 160px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.card-numbers::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

.card-numbers:hover::before {
    left: 100%;
}

.card-numbers:hover {
    transform: scale(1.05);
    border-color: var(--cyan);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.card-numbers h3,
.card-numbers p {
    position: relative;
    z-index: 1;
}

.card-numbers h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.card-numbers p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

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

/* Section Quiz  */
.section-quiz {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    max-width: 900px;
    gap: 40px;
    padding: 3rem 2rem;
    min-height: 100vh;
}

.area-quiz {
    width: 100%;
    max-width: 800px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.quiz-start {
    text-align: center;
}

.quiz-start-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.quiz-start-content i {
    font-size: 4rem;
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.quiz-start-content h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin: 0;
}

.quiz-start-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Botão do Quiz */
.quiz-button,
.quiz-btn {
    padding: 1rem 3rem;
    border: 2px solid var(--cyan);
    border-radius: 15px;
    background: transparent;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cyan);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.quiz-button::before,
.quiz-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--cyan);
    transition: left 0.3s ease;
    z-index: -1;
}

.quiz-button:hover::before,
.quiz-btn:hover::before {
    left: 0;
}

.quiz-button:hover,
.quiz-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}

.quiz-button:active,
.quiz-btn:active {
    transform: translateY(0);
}

/* Barra de Progresso */
.progresso {
    margin-bottom: 2rem;
}

.progress {
    width: 100%;
    height: 12px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progresso-fill {
    height: 100%;
    background: var(--color-gradient);
    border-radius: 10px;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.progresso-text {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Área da Pergunta */
.area-questoes {
    animation: fadeInUp 0.5s ease-out;
}

.questoes-quiz {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: center;
}

/* Opções */
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quiz-option {
    padding: 1.2rem 1.5rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    font-size: 1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.quiz-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.quiz-option:hover::before {
    left: 100%;
}

.quiz-option:hover {
    border-color: var(--cyan);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

.quiz-option.selected {
    background: var(--cyan);
    border-color: var(--cyan);
    color: #fff;
    transform: scale(1.02);
}

.quiz-option.correct {
    background: #00e676;
    border-color: #00e676;
    color: #fff;
    animation: correctPulse 0.6s ease;
}

.quiz-option.incorrect {
    background: #ff2d55;
    border-color: #ff2d55;
    color: #fff;
    animation: shake 0.5s ease;
}

.quiz-option.disabled {
    pointer-events: none;
    opacity: 0.6;
}

@keyframes correctPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.quiz-next-btn {
    width: 100%;
    margin-top: 1rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Resultado */
.resultado {
    text-align: center;
}

.result-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: fadeInUp 0.6s ease-out;
}

.result-icon {
    font-size: 5rem;
    animation: scaleIn 0.6s ease-out;
}

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

.result-content h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin: 0;
}

.result-score {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.score-number {
    font-size: 4rem;
    font-weight: 700;
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.score-total {
    font-size: 2rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.result-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.6;
    margin: 0;
}

/* Section logos  */
.parceiros-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.parceiros-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.parceiro-card {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.parceiro-card:hover {
    opacity: 0.7;
}

.parceiro-logo {
    max-width: 140px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
    animation: float 3s ease-in-out infinite;
}

/* Animação de flutuação das logos*/
.parceiro-card:nth-child(1) .parceiro-logo {
    animation-delay: 0s;
}

.parceiro-card:nth-child(2) .parceiro-logo {
    animation-delay: 0.5s;
}

.parceiro-card:nth-child(3) .parceiro-logo {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

[data-theme="light"] .parceiro-logo {
    opacity: 0.5;
}

.parceiro-card:hover .parceiro-logo {
    opacity: 0.9;
    filter: grayscale(0%);
}

/* Rodapé */
footer {
    width: 100%;
    height: 40px;
    background-color: var(--footer-bg);
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    bottom: 0;
    z-index: 999;
}

footer p {
    color: #818faa;
    font-size: 12px;
    text-align: center;
    padding: 0 15px;
}

[data-theme="light"] footer p {
    color: white;
}


/* Responsividade */
@media (max-width: 480px) {
    .section-quiz {
        padding: 2rem 1rem;
    }
    .area-quiz {
        padding: 1.5rem 1rem;
    }
    .questoes-quiz {
        font-size: 1.1rem;
    }
    .quiz-option {
        padding: 0.9rem;
        font-size: 0.9rem;
    }
    .result-icon {
        font-size: 3rem;
    }
    .score-number {
        font-size: 2.5rem;
    }
    .score-total {
        font-size: 1.2rem;
    }
    .parceiros-section {
        padding: 2rem 1rem;
    }
    .parceiros-container {
        gap: 1.5rem;
    }
    .parceiro-logo {
        max-width: 90px;
        max-height: 40px;
    }
    .area-infs h2 {
        font-size: 2rem;
    }
    .card-container {
        height: 420px;
    }
}

@media (max-width: 768px) {
    .area-quiz {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    .quiz-start-content i {
        font-size: 3rem;
    }
    .quiz-start-content h3 {
        font-size: 1.5rem;
    }
    .quiz-start-content p {
        font-size: 1rem;
    }
    .questoes-quiz {
        font-size: 1.2rem;
    }
    .quiz-option {
        padding: 1rem;
        font-size: 0.95rem;
    }
    .quiz-button,
    .quiz-btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    .result-icon {
        font-size: 4rem;
    }
    .result-content h3 {
        font-size: 1.5rem;
    }
    .score-number {
        font-size: 3rem;
    }
    .score-total {
        font-size: 1.5rem;
    }
    .result-content p {
        font-size: 1rem;
    }
    .parceiros-container {
        gap: 2rem;
    }
    .parceiro-logo {
        max-width: 110px;
        max-height: 50px;
    }
    .area-cards {
        grid-template-columns: 1fr;
    }
    .card-container {
        height: 380px;
    }
    .card-front h3 {
        font-size: 1.3rem;
    }
    .card-front p {
        font-size: 0.9rem;
    }
}

@media (max-width: 968px) {
    .area-cards-numbers {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Matheus Manja  */