/* ===================================
   Santuario Espiritual — Shared Styles
   =================================== */

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #181611;
}
::-webkit-scrollbar-thumb {
    background: #393528;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #f2b90d;
}

/* === Base === */
html {
    scroll-behavior: smooth;
}

/* === Glass Panel === */
.glass-panel {
    background: rgba(24, 22, 17, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(242, 185, 13, 0.1);
}

/* === Gold Gradient Text === */
.text-gold-gradient {
    background: linear-gradient(135deg, #f2b90d 0%, #ffe58f 50%, #b3890a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === WhatsApp CTA Button === */
.wa-conversion-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.wa-conversion-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}
.wa-conversion-btn:hover::before {
    left: 100%;
}
.wa-conversion-btn:hover {
    box-shadow: 0 0 25px rgba(242, 185, 13, 0.5);
    transform: translateY(-2px);
}

/* === FAQ Accordion === */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.faq-input:checked ~ .faq-answer {
    max-height: 500px;
}
.faq-input:checked ~ .faq-label .faq-icon {
    transform: rotate(180deg);
}

/* ===================================================================
   Pulse Scale Animation — GPU-composited (V2 fix)
   Replaces Tailwind's animate-pulse that animates `opacity` directly,
   forcing repaints. This version uses transform + opacity only,
   keeping the animation on the compositor thread.
   =================================================================== */
@keyframes pulseScale {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.12);
        opacity: 0.8;
    }
}

.pulse-scale {
    animation: pulseScale 2s ease-in-out infinite;
    will-change: transform, opacity;
}
