/* ========================================
   PROMESSA DE HOJE — Design Premium
   ======================================== */

:root {
    --primary: #c5a55a;
    --primary-dark: #a88d3e;
    --primary-light: #e8d9a5;
    --accent: #7b68ae;
    --accent-dark: #5b4d89;
    --text-main: #f0ece2;
    --text-muted: #b8b0a0;
    --bg-deep: #0d0f1a;
    --bg-surface: #161830;
    --glass-bg: rgba(22, 24, 48, 0.7);
    --glass-border: rgba(197, 165, 90, 0.2);
    --glow-gold: rgba(197, 165, 90, 0.4);
    --glow-purple: rgba(123, 104, 174, 0.3);
}

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

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-deep);
    color: var(--text-main);
    position: relative;
    overflow-x: hidden;
    padding-top: 70px;
}

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

.particle {
    position: absolute;
    bottom: -10px;
    background: radial-gradient(circle, var(--primary-light), transparent);
    border-radius: 50%;
    animation: floatUp linear infinite;
    filter: blur(0.5px);
}

@keyframes floatUp {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-100vh) translateX(40px) scale(0.3);
        opacity: 0;
    }
}

/* ==========================================
   FUNDO ANIMADO
   ========================================== */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(123, 104, 174, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(197, 165, 90, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(123, 104, 174, 0.08) 0%, transparent 50%);
    animation: ambientShift 20s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

@keyframes ambientShift {
    0% {
        background:
            radial-gradient(ellipse at 20% 50%, rgba(123, 104, 174, 0.15) 0%, transparent 50%),
            radial-gradient(ellipse at 80% 20%, rgba(197, 165, 90, 0.1) 0%, transparent 50%),
            radial-gradient(ellipse at 50% 80%, rgba(123, 104, 174, 0.08) 0%, transparent 50%);
    }
    100% {
        background:
            radial-gradient(ellipse at 60% 30%, rgba(197, 165, 90, 0.12) 0%, transparent 50%),
            radial-gradient(ellipse at 30% 80%, rgba(123, 104, 174, 0.15) 0%, transparent 50%),
            radial-gradient(ellipse at 70% 60%, rgba(197, 165, 90, 0.08) 0%, transparent 50%);
    }
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(13, 15, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(197, 165, 90, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: 0.5px;
}

.logo-icon {
    filter: drop-shadow(0 0 8px var(--glow-gold));
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    line-height: 1.1;
}

.logo-text em {
    font-style: normal;
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.85em;
}

.nav-actions { display: flex; align-items: center; gap: 0.3rem; }
.nav-group { display: flex; align-items: center; gap: 0.4rem; }

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    transition: all 0.3s;
}
.nav-link:hover {
    background: rgba(197, 165, 90, 0.1);
    color: var(--primary);
}

.nav-avatar-link { display: flex; align-items: center; gap: 0.4rem; }
.nav-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 0 8px var(--glow-gold);
}
.nav-nome { font-weight: 500; font-size: 0.85rem; color: var(--primary); }

.btn-login {
    background: rgba(197, 165, 90, 0.15);
    color: var(--primary);
    border: 1px solid rgba(197, 165, 90, 0.4);
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.3s;
    white-space: nowrap;
}
.btn-login:hover { background: rgba(197, 165, 90, 0.25); box-shadow: 0 2px 10px rgba(197, 165, 90, 0.2); }

.btn-sair {
    background: transparent;
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    font-size: 0.9rem;
    width: auto;
    transition: all 0.3s;
}
.btn-sair:hover { background: rgba(255, 107, 107, 0.1); }

@media (max-width: 480px) {
    .nav-link-text { display: none; }
    .nav-nome { display: none; }
    .nav-logo { font-size: 0.95rem; }
}

/* ==========================================
   HERO ICON (Ícone do topo)
   ========================================== */
.hero-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto 10px;
    z-index: 1;
}

.hero-logo-icon {
    filter: drop-shadow(0 0 20px var(--glow-gold));
    animation: iconFloat 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.icon-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--glow-gold) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 3s ease-in-out infinite;
    z-index: 1;
}

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

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 0.8; }
}

/* ==========================================
   CONTAINER & HEADER
   ========================================== */
.container {
    width: 90%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 1;
    padding-bottom: 30px;
}

header {
    text-align: center;
    margin-bottom: 5px;
}

header h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: 1.5px;
    text-shadow: 0 0 30px var(--glow-gold);
    line-height: 1.2;
}

header h1 em {
    font-style: normal;
    font-weight: 400;
    color: var(--text-muted);
}

.subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 0.3px;
}

.header-divider {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.header-divider::before,
.header-divider::after {
    content: '';
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.4;
}

.divider-ornament {
    color: var(--primary);
    font-size: 0.7rem;
    opacity: 0.7;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* ==========================================
   CARD DO VERSÍCULO — FATOR UAU
   ========================================== */
.card-container {
    perspective: 1200px;
}

.card {
    /* Glass + Depth */
    background: linear-gradient(160deg,
        rgba(18, 20, 42, 0.92),
        rgba(28, 31, 58, 0.78),
        rgba(22, 24, 48, 0.88));
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border: none;
    border-radius: 28px;
    padding: 55px 38px 45px;
    position: relative;
    overflow: hidden;
    cursor: pointer;

    /* Multi-layer celestial shadow */
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.6),
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(197, 165, 90, 0.08),
        0 0 80px rgba(197, 165, 90, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);

    transition:
        transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.175),
        box-shadow 0.5s ease,
        opacity 0.5s ease;
}

/* --- Animated Golden Gradient Border --- */
.card-border-glow {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 2px;
    pointer-events: none;
    z-index: 0;
}

.card-border-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 2px;
    background: linear-gradient(
        var(--border-angle, 0deg),
        var(--primary),
        rgba(232, 217, 165, 0.7),
        var(--accent),
        rgba(197, 165, 90, 0.3),
        var(--primary)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorder 6s linear infinite;
    opacity: 0.6;
    transition: opacity 0.4s;
}

.card:hover .card-border-glow::before {
    opacity: 1;
}

@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotateBorder {
    to { --border-angle: 360deg; }
}

/* Fallback for browsers without @property */
@supports not (background: paint(something)) {
    .card-border-glow::before {
        animation: rotateBorderFallback 6s linear infinite;
    }
    @keyframes rotateBorderFallback {
        0%   { background-position: 0% 50%; }
        50%  { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }
}

/* --- Internal Glow Orb --- */
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at 50% 50%,
        rgba(197, 165, 90, 0.06) 0%,
        rgba(123, 104, 174, 0.03) 30%,
        transparent 60%
    );
    animation: cardGlowShift 8s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes cardGlowShift {
    0%   { transform: translate(-15%, -10%) rotate(0deg); }
    100% { transform: translate(15%, 10%) rotate(5deg); }
}

/* --- Sweep Shine (hover highlight) --- */
.card-shine {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.04) 45%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.04) 55%,
        transparent 60%
    );
    pointer-events: none;
    z-index: 1;
    transition: none;
    transform: translateX(-100%) rotate(25deg);
}

.card:hover .card-shine {
    animation: sweepShine 1.5s ease-in-out;
}

@keyframes sweepShine {
    0%   { transform: translateX(-100%) rotate(25deg); }
    100% { transform: translateX(350%) rotate(25deg); }
}

/* --- Ornamentos nos cantos --- */
.corner-ornament {
    position: absolute;
    width: 32px;
    height: 32px;
    border-color: var(--primary);
    opacity: 0.25;
    transition: opacity 0.5s, filter 0.5s;
    z-index: 3;
}
.card:hover .corner-ornament {
    opacity: 0.7;
    filter: drop-shadow(0 0 4px var(--glow-gold));
}

.top-left {
    top: 16px; left: 16px;
    border-top: 2px solid;
    border-left: 2px solid;
    border-top-left-radius: 6px;
}
.top-right {
    top: 16px; right: 16px;
    border-top: 2px solid;
    border-right: 2px solid;
    border-top-right-radius: 6px;
}
.bottom-left {
    bottom: 16px; left: 16px;
    border-bottom: 2px solid;
    border-left: 2px solid;
    border-bottom-left-radius: 6px;
}
.bottom-right {
    bottom: 16px; right: 16px;
    border-bottom: 2px solid;
    border-right: 2px solid;
    border-bottom-right-radius: 6px;
}

/* --- Hover Elevation --- */
.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.6),
        0 25px 60px rgba(0, 0, 0, 0.35),
        0 0 50px rgba(197, 165, 90, 0.15),
        0 0 120px rgba(197, 165, 90, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card:active {
    transform: translateY(-2px) scale(0.99);
    transition-duration: 0.1s;
}

/* --- Card Inner --- */
.card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* --- Slot Window (vertical mask for spin) --- */
.slot-window {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slot-content {
    transition: transform 0.08s linear, filter 0.15s ease;
}

/* --- Quote Icons --- */
.quote-icon {
    font-size: 1.8rem;
    color: var(--primary);
    opacity: 0.35;
    filter: drop-shadow(0 0 10px var(--glow-gold));
    transition: opacity 0.5s, transform 0.5s;
}

.start-quote {
    align-self: flex-start;
    margin-bottom: -8px;
}

.end-quote {
    align-self: flex-end;
    margin-top: -3px;
}

/* --- Verse Text --- */
#texto-versiculo {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    line-height: 1.8;
    margin: 20px 5px;
    font-style: italic;
    color: var(--text-main);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.3px;
    transition: opacity 0.3s, filter 0.3s, transform 0.3s;
}

/* --- Referência --- */
.referencia {
    margin-top: 18px;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    text-shadow: 0 0 15px var(--glow-gold);
    transition: opacity 0.3s, filter 0.3s, transform 0.3s;
}

/* ==========================================
   BREATHING PULSE — "Me Clique"
   ========================================== */
.card.card-breathe {
    animation: cardBreathe 3.5s ease-in-out infinite;
}

@keyframes cardBreathe {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 4px 15px rgba(0, 0, 0, 0.6),
            0 15px 40px rgba(0, 0, 0, 0.4),
            0 0 30px rgba(197, 165, 90, 0.08),
            0 0 80px rgba(197, 165, 90, 0.04),
            inset 0 1px 0 rgba(255, 255, 255, 0.07);
    }
    50% {
        transform: scale(1.018);
        box-shadow:
            0 8px 25px rgba(0, 0, 0, 0.5),
            0 20px 55px rgba(0, 0, 0, 0.35),
            0 0 60px rgba(197, 165, 90, 0.18),
            0 0 120px rgba(197, 165, 90, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
}

.card.card-breathe .card-border-glow::before {
    animation:
        rotateBorder 6s linear infinite,
        borderPulse 3.5s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 0.9; }
}

/* ==========================================
   ROLETA / SPINNING — Slot Machine
   ========================================== */
.card.spinning {
    cursor: pointer;
    animation: none !important; /* Override breathe */
    transform: scale(1);
}

.card.spinning .slot-content {
    animation: slotBlur 0.12s linear infinite;
}

.card.spinning #texto-versiculo {
    filter: blur(1.8px);
    opacity: 0.7;
}

.card.spinning .referencia {
    filter: blur(1.2px);
    opacity: 0.5;
}

.card.spinning .quote-icon {
    opacity: 0.15;
}

.card.spinning .card-border-glow::before {
    animation: rotateBorder 1.5s linear infinite;
    opacity: 0.9;
}

@keyframes slotBlur {
    0%   { transform: translateY(-3px); }
    25%  { transform: translateY(2px); }
    50%  { transform: translateY(-1px); }
    75%  { transform: translateY(3px); }
    100% { transform: translateY(-3px); }
}

/* ==========================================
   DRAMATIC REVEAL — Prize!
   ========================================== */
.card.revealed {
    animation: prizeReveal 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.card.revealed .slot-content {
    animation: none;
}

.card.revealed #texto-versiculo {
    filter: blur(0);
    opacity: 1;
    animation: textReveal 0.8s ease-out 0.15s both;
}

.card.revealed .referencia {
    filter: blur(0);
    opacity: 1;
    animation: refReveal 0.7s ease-out 0.4s both;
}

.card.revealed .quote-icon {
    opacity: 0.5;
    transition: opacity 0.6s 0.2s;
}

.card.revealed .card-border-glow::before {
    opacity: 1;
    animation:
        rotateBorder 6s linear infinite,
        goldenFlash 1s ease-out forwards;
}

.card.revealed .corner-ornament {
    opacity: 0.8;
    filter: drop-shadow(0 0 6px var(--glow-gold));
    transition: all 0.6s 0.3s;
}

@keyframes prizeReveal {
    0%   { transform: scale(0.97); }
    40%  { transform: scale(1.045); }
    70%  { transform: scale(0.995); }
    100% { transform: scale(1); }
}

@keyframes textReveal {
    0%   { opacity: 0; transform: translateY(15px); filter: blur(4px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes refReveal {
    0%   { opacity: 0; transform: translateY(10px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes goldenFlash {
    0%   { opacity: 1; filter: brightness(2.5) drop-shadow(0 0 20px var(--primary)); }
    30%  { opacity: 1; filter: brightness(1.5) drop-shadow(0 0 10px var(--primary)); }
    100% { opacity: 0.6; filter: brightness(1) drop-shadow(0 0 0 transparent); }
}

/* Golden flash overlay on reveal */
.card.revealed .card-glow {
    animation: glowFlash 0.8s ease-out forwards;
}

@keyframes glowFlash {
    0%   { background: radial-gradient(circle at 50% 50%, rgba(197, 165, 90, 0.25) 0%, transparent 50%); }
    100% { background: radial-gradient(circle at 50% 50%, rgba(197, 165, 90, 0.06) 0%, transparent 60%); }
}

/* ==========================================
   AÇÕES (BOTÕES)
   ========================================== */
.acoes {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* --- Dica "Toque aqui" with golden pulse --- */
.dica-roleta {
    text-align: center;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-shadow: 0 0 18px var(--glow-gold);
    animation: dicaPulse 2.5s ease-in-out infinite;
}

.dica-roleta i {
    display: inline-block;
    animation: handPoke 1.5s ease-in-out infinite;
    margin-right: 4px;
}

@keyframes dicaPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50%      { opacity: 1; transform: scale(1.03); }
}

@keyframes handPoke {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    30%      { transform: translateY(-5px) rotate(-8deg); }
    60%      { transform: translateY(0) rotate(0deg); }
}

button {
    border: none;
    border-radius: 14px;
    padding: 16px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    width: 100%;
}

/* --- Unified Action Button (Compartilhar / Girar) --- */
.btn-action {
    background: rgba(197, 165, 90, 0.08);
    color: var(--primary);
    border: 1px solid rgba(197, 165, 90, 0.2);
    border-radius: 50px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    letter-spacing: 0.5px;
}

.btn-action:hover {
    background: rgba(197, 165, 90, 0.16);
    border-color: rgba(197, 165, 90, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 165, 90, 0.15);
}

.btn-action:active {
    transform: translateY(1px);
}

/* --- "Quer Mais?" Golden CTA (Google Login) --- */
.btn-quer-mais {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--bg-deep);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 25px rgba(197, 165, 90, 0.4);
    position: relative;
    overflow: hidden;
    animation: ctaPulse 2.5s infinite ease-in-out;
}

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

.btn-quer-mais:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 35px rgba(197, 165, 90, 0.55);
    animation: none;
}

.btn-quer-mais:hover::before {
    left: 100%;
}

.btn-quer-mais:active {
    transform: translateY(1px);
}

@keyframes ctaPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 25px rgba(197, 165, 90, 0.4);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 4px 35px rgba(197, 165, 90, 0.7);
    }
}

.btn-girar i {
    font-size: 1.2rem;
    transition: transform 0.4s ease;
}

.btn-girar:hover i {
    transform: rotate(180deg);
}

/* ==========================================
   ARTE DO VERSÍCULO PARA DOWNLOAD
   ========================================== */
.arte-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: fadeInUp 0.6s ease;
}

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

#canvas-arte {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(197, 165, 90, 0.15);
}

.arte-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: -5px;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    margin-top: 40px;
    padding-bottom: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    z-index: 1;
}

.footer-ornament {
    color: var(--primary);
    font-size: 0.6rem;
    letter-spacing: 8px;
    margin-bottom: 8px;
    opacity: 0.4;
}

/* ==========================================
   RESPONSIVIDADE — Mobile First
   ========================================== */
@media (max-width: 480px) {
    .container {
        width: 92%;
    }

    header h1 {
        font-size: 1.65rem;
    }

    .subtitle {
        font-size: 0.85rem;
    }

    #texto-versiculo {
        font-size: 1.2rem;
        line-height: 1.75;
        margin: 15px 2px;
        letter-spacing: 0.2px;
    }

    .card {
        padding: 45px 24px 38px;
        border-radius: 22px;
        min-height: 260px;
    }

    /* Larger tap target */
    .card:active {
        transform: scale(0.97);
        transition-duration: 0.08s;
    }

    .hero-logo-icon {
        width: 48px;
        height: 48px;
    }

    .icon-glow {
        width: 80px;
        height: 80px;
    }

    .corner-ornament {
        width: 24px;
        height: 24px;
    }

    .quote-icon {
        font-size: 1.5rem;
    }

    .dica-roleta {
        font-size: 1rem;
        padding: 8px 0;
    }

    .referencia {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 360px) {
    header h1 {
        font-size: 1.4rem;
    }

    .card {
        padding: 38px 18px 32px;
        border-radius: 18px;
    }

    #texto-versiculo {
        font-size: 1.1rem;
    }
}

/* ==========================================
   FOOTER
   ========================================== */
.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.6;
    margin-top: 4px;
}

.footer-copy a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-copy a:hover { opacity: 1; }

/* ==========================================
   ANIMAÇÃO DE ENTRADA GLOBAL
   ========================================== */
.hero-icon,
header,
.card-container,
.acoes,
footer {
    animation: revealUp 0.8s ease-out both;
}

header { animation-delay: 0.1s; }
.card-container { animation-delay: 0.25s; }
.acoes { animation-delay: 0.4s; }
footer { animation-delay: 0.55s; }

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