:root {
    /* Cores mais suaves para não cansar a vista */
    --bg-gradient-start: #0f172a; /* Azul noite suave */
    --bg-gradient-end: #1e293b;   /* Slate escuro */
    --text-light: #e2e8f0;        /* Cinza bem claro, melhor que branco puro */
    --gold: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(212, 175, 55, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    color: var(--text-light);
    font-family: 'Lora', serif;
    min-height: 100vh;
    overflow-x: hidden;
    background-attachment: fixed; /* Mantém o fundo estático na rolagem */
}

h1, h2, h3, .btn-primary {
    font-family: 'Cinzel', serif;
}

.flex-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    width: 100%;
    background: var(--card-bg);
    padding: 45px;
    border-radius: 24px;
    backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

.hidden { display: none !important; }

/* Animações */
.fade-in { animation: fadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 var(--gold-glow); }
    70% { box-shadow: 0 0 15px 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* Textos da Tela Inicial */
h1 { font-size: 3.2rem; color: var(--gold); margin-bottom: 15px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.subtitle { font-size: 1.25rem; line-height: 1.7; margin-bottom: 35px; color: #cbd5e1; }

/* Botões */
button {
    cursor: pointer;
    border: none;
    padding: 16px 35px;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    outline: none;
}

.btn-primary {
    background-color: var(--gold);
    color: #0f172a;
    font-weight: bold;
    animation: pulse-glow 2s infinite;
}
.btn-primary:hover { 
    background-color: #fce698; 
    transform: scale(1.05); 
    animation: none;
    box-shadow: 0 10px 20px var(--gold-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    margin-top: 25px;
}
.btn-secondary:hover { background: var(--gold); color: #0f172a; }

/* Quiz */
.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    margin-bottom: 35px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #b8860b, var(--gold));
    border-radius: 10px;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 10px var(--gold-glow);
}

.question-title { 
    font-size: 1.8rem; 
    margin-bottom: 30px; 
    text-align: center; 
    color: var(--gold); 
    line-height: 1.4;
}

.options-grid { display: flex; flex-direction: column; gap: 16px; }
.option-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: left;
    transition: all 0.25s ease;
}
.option-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Resultado */
.result-card { text-align: center; }
.pre-title { font-size: 1.2rem; opacity: 0.7; letter-spacing: 2px; text-transform: uppercase; }
.saint-name { font-size: 2.8rem; color: var(--gold); margin: 15px 0 5px 0; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.saint-title { font-style: italic; margin-bottom: 30px; font-size: 1.2rem; color: #cbd5e1; }

.saint-img-container {
    margin: 0 auto 30px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(135deg, var(--gold), #8b6508);
    animation: float 4s ease-in-out infinite; /* Efeito levitando */
}

.saint-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--bg-gradient-start);
}

.result-content { 
    text-align: left; 
    margin-top: 20px; 
    background: rgba(0,0,0,0.2);
    padding: 25px;
    border-radius: 16px;
}
.result-content h3 { color: var(--gold); margin-bottom: 12px; margin-top: 20px; font-size: 1.4rem;}
.result-content p { line-height: 1.6; font-size: 1.1rem; }
.result-content ul { padding-left: 20px; margin-top: 15px; }
.result-content li { margin-bottom: 12px; line-height: 1.5; font-size: 1.1rem; }

/* Loader */
.spinner {
    width: 60px; height: 60px;
    border: 4px solid rgba(255,255,255,0.05);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    margin-bottom: 25px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Responsividade Mobile */
@media (max-width: 600px) {
    h1 { font-size: 2.4rem; }
    .container { padding: 30px 20px; border-radius: 20px; }
    .question-title { font-size: 1.4rem; }
    .option-btn { font-size: 1rem; padding: 16px; }
    .saint-name { font-size: 2.2rem; }
    .saint-img-container { width: 180px; height: 180px; }
}

/* --- ADICIONE ESTE CÓDIGO AO FINAL DO SEU STYLE.CSS --- */

.tabs-container {
    width: 100%;
    margin-top: 25px;
}

.tabs-menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: -1px;
    position: relative;
    z-index: 2;
}

.tab-btn {
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-light);
    border: 1px solid var(--card-border);
    border-bottom: none;
    padding: 12px 20px;
    border-radius: 12px 12px 0 0;
    font-size: 1rem;
    font-family: 'Cinzel', serif;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.tab-btn:hover {
    opacity: 1;
    background: rgba(212, 175, 55, 0.1);
}

.tab-btn.active {
    background: rgba(0, 0, 0, 0.2);
    color: var(--gold);
    opacity: 1;
    border-color: var(--gold);
    box-shadow: 0 -5px 15px rgba(212, 175, 55, 0.1);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.fade-in-tab {
    animation: fadeInTab 0.4s ease forwards;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mt-4 { margin-top: 20px !important; }

.oracao-box {
    background: linear-gradient(to right, rgba(212, 175, 55, 0.05), transparent);
    border-left: 4px solid var(--gold);
    padding: 20px;
    margin-top: 10px;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

@media (max-width: 600px) {
    .tabs-menu { flex-direction: column; gap: 5px; }
    .tab-btn { border-radius: 8px; border-bottom: 1px solid var(--card-border); }
    .tab-btn.active { border-color: var(--gold); }
}