/* =============================================================
   1. CSS CUSTOM PROPERTIES (THEMING + FELLOU EXTENSIONS)
   ============================================================= */
:root {
    --clr-bg: #000000;
    --clr-surface: #111827;
    --clr-surface-2: #1f2937;
    --clr-text: #f3f4f6;
    --clr-text-muted: #9ca3af;
    --clr-text-dim: #6b7280;
    --clr-gold: #D4AF37;
    --clr-gold-bright: #FCD116;
    --clr-red: #CE1126;
    --clr-green: #009E49;
    --clr-deep-green: #004d25;
    --clr-border: rgba(255, 255, 255, 0.1);
    --clr-border-gold: rgba(212, 175, 55, 0.3);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Fellou extensions */
    --fellou-dark: #0d0d12;
    --fellou-surface: rgba(255,255,255,0.03);
    --fellou-border: rgba(255,255,255,0.08);
    --fellou-border-hover: rgba(212,175,55,0.4);
}

/* =============================================================
   2. CROSS-BROWSER SCROLLBAR
   ============================================================= */
html { scrollbar-width: thin; scrollbar-color: #D4AF37 #004d25; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #004d25; }
::-webkit-scrollbar-thumb { background: #D4AF37; border-radius: 5px; }

/* =============================================================
   3. BASE UTILITIES
   ============================================================= */
/* Safari iOS border-radius overflow fix during image scaling */
.overflow-hidden { -webkit-mask-image: -webkit-radial-gradient(white, black); }

/* The doctrine sticky wrapper must NOT have a mask-image — it creates a
   compositing context that flattens preserve-3d on mobile WebKit/Blink,
   breaking backface-visibility on the 3D prism faces.
   NOTE: Do NOT add transform-style: preserve-3d here — it breaks
   position:sticky on mobile WebKit/Blink. The 3D context starts
   fresh at .doctrine-scene (which has its own perspective). */
.doctrine-sticky-wrap {
    -webkit-mask-image: none !important;
}

/* =============================================================
   4. PAGE SCROLL BAR
   ============================================================= */
.page-scroll-bar {
    position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
    background: linear-gradient(90deg, #009E49, #FCD116, #CE1126);
    width: 0; transition: width 0.1s linear;
}

/* =============================================================
   5. NAV (transparent + scrolled state + shimmer + fellou links)
   ============================================================= */
#navbar {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    transition: all 0.4s ease;
}
#navbar.nav-scrolled {
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    background: rgba(0,0,0,0.82);
    border-bottom: 1px solid rgba(212,175,55,0.12);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.shimmer-text {
    background: linear-gradient(110deg, #D4AF37 0%, #FCD116 30%, #fff 50%, #FCD116 70%, #D4AF37 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerMove 3s linear infinite;
}
@keyframes shimmerMove { 0%{background-position:100% 0} 100%{background-position:-100% 0} }

.fellou-nav-link { position: relative; }
.fellou-nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 50%; width: 0; height: 2px;
    background: linear-gradient(90deg, #FCD116, #D4AF37);
    transition: width 0.3s ease, left 0.3s ease;
}
.fellou-nav-link:hover::after { width: 100%; left: 0; }

/* =============================================================
   6. HERO (kenburns, orbs, badge, shimmer, typing, chevron, fadeUp)
   ============================================================= */
.hero-pattern {
    background-color: #000000;
    opacity: 0.7;
    background-image: radial-gradient(#D4AF37 0.5px, transparent 0.5px),
                      radial-gradient(#D4AF37 0.5px, #000000 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.hero-kenburns {
    animation: kenBurns 22s ease-in-out infinite alternate;
}
@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15) translate(-1.5%,-1%); }
}
.hero-orb {
    position: absolute; border-radius: 50%; pointer-events: none;
    mix-blend-mode: screen; filter: blur(60px);
}
.hero-orb-green { width: 400px; height: 400px; background: radial-gradient(circle, rgba(0,158,73,0.4), transparent 70%); top: -10%; left: -5%; animation: orbFloat 12s ease-in-out infinite; }
.hero-orb-gold { width: 350px; height: 350px; background: radial-gradient(circle, rgba(252,209,22,0.3), transparent 70%); bottom: -10%; right: -5%; animation: orbFloat 15s ease-in-out infinite reverse; }
@keyframes orbFloat { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-30px)} }

#hero-particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    padding: 0.4rem 1rem; border-radius: 9999px;
    font-size: 0.75rem; color: rgba(255,255,255,0.8); letter-spacing: 0.1em; text-transform: uppercase;
}
.hero-badge img { height: 1rem; width: auto; }

.typing-cursor {
    display: inline-block; color: #FCD116; font-weight: 300;
    animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-up-1 { animation: fadeUp 0.8s ease forwards; animation-delay: 0.1s; opacity: 0; }
.fade-up-2 { animation: fadeUp 0.8s ease forwards; animation-delay: 0.25s; opacity: 0; }
.fade-up-3 { animation: fadeUp 0.8s ease forwards; animation-delay: 0.4s; opacity: 0; }
.fade-up-4 { animation: fadeUp 0.8s ease forwards; animation-delay: 0.55s; opacity: 0; }
.fade-up-5 { animation: fadeUp 0.8s ease forwards; animation-delay: 0.7s; opacity: 0; }

@keyframes bounceDown { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }
.scroll-chevron { animation: bounceDown 2s ease infinite; }

.shimmer-hero {
    background: linear-gradient(110deg, #D4AF37 0%, #FCD116 30%, #fff 50%, #FCD116 70%, #D4AF37 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerMove 3s linear infinite;
}

/* =============================================================
   7. SHIMMER UTILITIES
   ============================================================= */
.gold-gradient-text {
    background: linear-gradient(to right, #FCD116, #D4AF37, #FCD116);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================================
   8. MARQUEE
   ============================================================= */
.fellou-marquee-wrap {
    overflow: hidden; position: relative;
    padding: 1rem 0;
    background: rgba(0,0,0,0.5);
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.fellou-marquee-wrap::before, .fellou-marquee-wrap::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none;
}
.fellou-marquee-wrap::before { left: 0; background: linear-gradient(to right, #000, transparent); }
.fellou-marquee-wrap::after { right: 0; background: linear-gradient(to left, #000, transparent); }
.fellou-marquee-track {
    display: flex; white-space: nowrap; animation: marqueeScroll 28s linear infinite;
}
@keyframes marqueeScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.fellou-marquee-item {
    display: inline-flex; align-items: center; gap: 0.75rem;
    font-family: 'Cinzel', serif; font-size: 0.85rem; color: rgba(255,255,255,0.4);
    text-transform: uppercase; letter-spacing: 0.15em; padding: 0 2rem;
}
.fellou-marquee-dot { color: #D4AF37; font-size: 0.6rem; }

/* =============================================================
   9. SECTION LABELS
   ============================================================= */
.fellou-section-label {
    display: inline-block; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.2em;
    color: #D4AF37; margin-bottom: 0.75rem;
    padding: 0.3rem 0.8rem; border: 1px solid rgba(212,175,55,0.3);
    border-radius: 9999px; background: rgba(212,175,55,0.08);
}
.fellou-divider { width: 48px; height: 3px; background: linear-gradient(90deg, #D4AF37, #FCD116); margin: 1rem auto 0; border-radius: 2px; }

/* =============================================================
   10. SECTION BACKGROUNDS
   ============================================================= */
/* (handled via Tailwind utility classes in HTML) */

/* =============================================================
   11. SCROLL REVEAL
   ============================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.95); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* =============================================================
   12. BUTTONS (primary, outline, red, filter, ripple)
   ============================================================= */
.fellou-btn-primary {
    display: inline-block; padding: 0.75rem 2rem; border-radius: 9999px;
    background: linear-gradient(135deg, #FCD116, #D4AF37); color: #000;
    font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
    border: none; cursor: pointer; position: relative; overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fellou-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,175,55,0.4); }

.fellou-btn-outline {
    display: inline-block; padding: 0.75rem 2rem; border-radius: 9999px;
    background: transparent; color: #FCD116;
    font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
    border: 2px solid rgba(252,209,22,0.5); cursor: pointer; position: relative; overflow: hidden;
    transition: all 0.3s ease;
}
.fellou-btn-outline:hover { background: rgba(252,209,22,0.1); border-color: #FCD116; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(252,209,22,0.15); }

.fellou-btn-red {
    display: inline-block; padding: 0.75rem 2rem; border-radius: 9999px;
    background: #CE1126; color: #fff;
    font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
    border: none; cursor: pointer; position: relative; overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fellou-btn-red:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(206,17,38,0.5); }

.fellou-filter-active {
    background: linear-gradient(135deg, #FCD116, #D4AF37); color: #000;
    padding: 0.5rem 1.5rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; border: none; cursor: pointer;
}
.fellou-filter-inactive {
    background: transparent; color: rgba(255,255,255,0.5);
    padding: 0.5rem 1.5rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.15); cursor: pointer;
    transition: all 0.3s ease;
}
.fellou-filter-inactive:hover { color: #fff; border-color: rgba(255,255,255,0.3); }

.magnetic-btn { position: relative; overflow: hidden; }
.magnetic-ripple {
    position: absolute; border-radius: 50%; background: rgba(255,255,255,0.3);
    width: 0; height: 0; transform: translate(-50%,-50%);
    animation: rippleOut 0.6s ease forwards; pointer-events: none;
}
@keyframes rippleOut { to { width: 200px; height: 200px; opacity: 0; } }

/* =============================================================
   13. FORM CARDS & INPUTS
   ============================================================= */
.fellou-form-card {
    background: rgba(255,255,255,0.03); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 1.25rem; padding: 2rem;
    transition: border-color 0.3s ease;
}
.fellou-form-card:hover { border-color: rgba(212,175,55,0.2); }

.fellou-input {
    width: 100%; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.6rem; padding: 0.75rem 1rem; color: #fff; font-size: 0.9rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease; outline: none;
}
.fellou-input:focus {
    border-color: rgba(212,175,55,0.5);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}

/* =============================================================
   14. MEDIA CARD
   ============================================================= */
.fellou-media-card {
    border-radius: 1.25rem; border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5); overflow: hidden;
}

/* =============================================================
   15. BELIEF CARDS
   ============================================================= */
.fellou-belief-card {
    background: rgba(255,255,255,0.04); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 1rem; padding: 1.5rem;
    transition: all 0.3s ease;
}
.fellou-belief-card:hover { transform: translateY(-4px); border-color: rgba(212,175,55,0.4); box-shadow: 0 12px 30px rgba(0,0,0,0.3); }

/* =============================================================
   16. VIDEO EMBED
   ============================================================= */
.video-responsive { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; background: #000; }
.video-responsive iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* =============================================================
   17. PAGE TRANSITIONS
   ============================================================= */
.page-view { transition: opacity 0.3s ease-in-out; }
.hidden-page { display: none; opacity: 0; }

/* =============================================================
   18. GLASS PANEL
   ============================================================= */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* =============================================================
   19. MISC ANIMATIONS
   ============================================================= */
@keyframes pulse-red {
    0%   { box-shadow: 0 0 0 0   rgba(220, 38, 38, 0.7); }
    70%  { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);   }
    100% { box-shadow: 0 0 0 0   rgba(220, 38, 38, 0);   }
}
.live-pulse { animation: pulse-red 2s infinite; }

/* Lightning card border effect */
@property --lightning-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@property --lightning-color  { syntax: '<color>';  initial-value: #CE1126; inherits: true; }

@keyframes lightning-spin { 0% { --lightning-angle: 0deg; } 100% { --lightning-angle: 360deg; } }

.lightning-card {
    --lightning-color: #CE1126;
    position: relative;
    border-radius: 1rem;
    z-index: 1;
}
.lightning-card::before,
.lightning-card::after {
    content: "";
    position: absolute;
    inset: -4px;
    z-index: -1;
    border-radius: 1.2rem;
    background: conic-gradient(
        from var(--lightning-angle),
        transparent 0%,
        transparent 20%,
        var(--lightning-color) 40%,
        #ffffff 50%,
        var(--lightning-color) 60%,
        transparent 80%,
        transparent 100%
    );
    animation: lightning-spin 2s linear infinite;
}
.lightning-card::after { filter: blur(20px); opacity: 0.8; }

/* Smooth hover states */
a, button {
    transition: color var(--transition-base),
                background-color var(--transition-base),
                border-color var(--transition-base),
                opacity var(--transition-base),
                transform 0.2s ease,
                box-shadow var(--transition-base);
}
/* Announcement cards already have translate via Tailwind; ensure consistent easing */
.group.hover\:-translate-y-2 { transition: transform 0.35s var(--ease-smooth); }

/* =============================================================
   20. RANGE SLIDER
   ============================================================= */
input[type=range] { -webkit-appearance: none; background: transparent; }

/* Webkit thumb */
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 14px; width: 14px;
    border-radius: 50%;
    background: var(--clr-gold, #FCD116);
    cursor: pointer;
    margin-top: -5px;
    box-shadow: 0 0 6px rgba(212,175,55,0.5);
    transition: transform 0.15s ease;
}
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.25); }

/* Webkit track */
input[type=range]::-webkit-slider-runnable-track {
    width: 100%; height: 4px;
    cursor: pointer;
    border-radius: 2px;
}

/* Firefox */
input[type=range]::-moz-range-thumb {
    border: none;
    height: 14px; width: 14px;
    border-radius: 50%;
    background: var(--clr-gold, #FCD116);
    cursor: pointer;
}
input[type=range]::-moz-range-track {
    width: 100%; height: 4px;
    cursor: pointer;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
}
input[type=range]::-moz-range-progress {
    height: 4px;
    background: var(--clr-gold, #D4AF37);
    border-radius: 2px;
}

/* Progress bar specific */
#progress-bar {
    background: linear-gradient(to right, #D4AF37 0%, rgba(255,255,255,0.15) 0%);
}

#volume-slider { width: 80px; }

/* =============================================================
   21. SPARKLE TEXT ANIMATION
   ============================================================= */
.letter-sparkle {
    display: inline-block;
    color: rgba(212, 175, 55, 0.2);
    animation: letter-glow 3.5s linear infinite;
}
@keyframes letter-glow {
    0%, 20%, 100% {
        color: rgba(212, 175, 55, 0.2);
        text-shadow: none;
        transform: scale(1);
    }
    10% {
        color: #ffffff;
        text-shadow: 0 0 10px #ffffff, 0 0 20px #FCD116, 0 0 30px #FCD116;
        transform: scale(1.15);
    }
}

/* =============================================================
   22. MINISTRY AURORA
   ============================================================= */
#ministry-cards {
    position: relative;
}
#ministry-cards::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background: radial-gradient(600px circle at var(--grid-x, 50%) var(--grid-y, 50%), rgba(212,175,55,0.06), transparent 50%);
    transition: background 0.15s ease;
}
.ministry-card-front::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 3;
    background: radial-gradient(400px circle at var(--card-x, 50%) var(--card-y, 50%), rgba(255,255,255,0.05), transparent 50%);
    opacity: 0; transition: opacity 0.3s ease;
}
.ministry-flip-card:hover .ministry-card-front::after { opacity: 1; }

/* =============================================================
   23. MINISTRY CARDS (magnetic glow + flip card + fullpage overlay)
   ============================================================= */
#ministry-cards:hover .glow-card::before { opacity: 1; }

.glow-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    position: relative;
    padding: 1px;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.glow-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.5);
}
.glow-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(252, 209, 22, 0.45), transparent 40%);
    opacity: 0;
    transition: opacity 500ms ease;
    border-radius: inherit;
    z-index: 1;
    pointer-events: none;
}
.glow-card-content {
    background-color: #111827;
    border-radius: inherit;
    height: 100%;
    position: relative;
    z-index: 2;
    overflow: hidden;
}
.glow-card-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 500ms ease;
    z-index: 3;
    pointer-events: none;
}
.glow-card:hover .glow-card-content::before { opacity: 1; }
.glow-card-content > * { position: relative; z-index: 10; }

/* Page-turn to fullscreen */
.ministry-flip-card {
    perspective: 1200px;
    cursor: pointer;
}

.ministry-card-front {
    background: #111827;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
    transform-origin: left center;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.3s ease,
                opacity 0.25s ease;
}

/* Fold-open transition (slower, cinematic) */
.ministry-flip-card.flipping .ministry-card-front {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.35s ease,
                opacity 0.5s ease 0.1s;
}

/* Hover lift + gold border glow */
.ministry-flip-card:not(.flipping):hover .ministry-card-front {
    transform: translateY(-6px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.4);
}

/* Phase 1: Card folds open like a book page (0-600ms) */
.ministry-flip-card.flipping .ministry-card-front {
    transform: perspective(1200px) rotateY(-70deg) scale(0.92);
    box-shadow: -20px 8px 60px rgba(0, 0, 0, 0.7);
    opacity: 0;
}

/* Fullscreen Ministry Page */
.ministry-fullpage {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    visibility: hidden;
}
.ministry-fullpage.active {
    pointer-events: auto;
    visibility: visible;
}

/* Phase 2: Backdrop fades in */
.ministry-fullpage-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.ministry-fullpage.active .ministry-fullpage-backdrop {
    background: rgba(0, 0, 0, 0.96);
}

/* Phase 3: Panel slides up + fades in */
.ministry-fullpage-panel {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1),
                opacity  0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.ministry-fullpage.stage-panel .ministry-fullpage-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Scrollbar for fullscreen panel */
.ministry-fullpage-panel::-webkit-scrollbar { width: 6px; }
.ministry-fullpage-panel::-webkit-scrollbar-track { background: transparent; }
.ministry-fullpage-panel::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.3); border-radius: 3px; }

/* Close / back button */
.ministry-fullpage-close {
    position: fixed;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 110;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    padding: 0.5rem 1.25rem;
    cursor: pointer;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s, background 0.2s;
}
.ministry-fullpage.stage-panel .ministry-fullpage-close {
    opacity: 1;
    transform: translateX(0);
}
.ministry-fullpage-close:hover {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.7);
}

/* Keep fullpage visible throughout the closing animation */
.ministry-fullpage.closing {
    visibility: visible;
    pointer-events: none;
}

/* Closing transitions (reverse) */
.ministry-fullpage.closing .ministry-fullpage-backdrop {
    background: rgba(0, 0, 0, 0);
    transition: background 0.45s cubic-bezier(0.23, 1, 0.32, 1) 0.1s;
}
.ministry-fullpage.closing .ministry-fullpage-panel {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                opacity  0.25s ease;
}
.ministry-fullpage.closing .ministry-fullpage-close {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

/* Hero section inside fullscreen page */
.ministry-hero {
    position: relative;
    height: 45vh;
    min-height: 280px;
    overflow: hidden;
}
.ministry-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ministry-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #000 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.2) 100%);
}

/* Stats bar */
.ministry-stats-bar {
    display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
    padding: 2rem; margin-top: 3rem;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1rem; backdrop-filter: blur(10px);
}
.ministry-stat { text-align: center; }
.counter-num { font-family: 'Cinzel', serif; font-size: 2.5rem; font-weight: 700; color: #FCD116; }
.ministry-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.25rem; }

/* =============================================================
   24. MINISTRY EVENTS / GALLERY
   ============================================================= */
/* Section transition animations */
.ministry-section-exit {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.ministry-section-enter {
    animation: sectionSlideIn 0.35s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
@keyframes sectionSlideIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Event cards grid */
.ministry-events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 640px) {
    .ministry-events-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .ministry-events-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Individual event card */
.ministry-event-card {
    background: #111827;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ministry-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
}
.ministry-event-card:active {
    transform: translateY(-2px) scale(0.98);
}

/* Event card cover image */
.ministry-event-cover {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.ministry-event-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.ministry-event-card:hover .ministry-event-cover img {
    transform: scale(1.05);
}
.ministry-event-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
}

/* Photo count badge */
.ministry-event-photo-count {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    padding: 0.3rem 0.65rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Event card info */
.ministry-event-info {
    padding: 1rem 1.25rem;
}
.ministry-event-date {
    display: block;
    font-size: 0.75rem;
    color: rgba(212, 175, 55, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.35rem;
}
.ministry-event-title {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}
.ministry-event-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Event Photo Gallery sub-view */
.ministry-event-gallery {
    padding: 1.5rem 2rem 3rem;
}
.ministry-event-gallery-header {
    margin-bottom: 2rem;
}
.ministry-event-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(212, 175, 55, 0.8);
    font-size: 0.9rem;
    padding: 0.5rem 0;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.2s;
    margin-bottom: 1rem;
}
.ministry-event-back-btn:hover { color: #d4af37; }

.ministry-event-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
@media (min-width: 640px) {
    .ministry-event-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .ministry-event-gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Gallery grid inside fullscreen page */
.ministry-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .ministry-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .ministry-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.ministry-gallery-item {
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    aspect-ratio: 16/10;
}
.ministry-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.ministry-gallery-item:hover img {
    transform: scale(1.06);
}

/* Subfolder Cards */
.ministry-subfolder-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    grid-column: 1 / -1;
}
.ministry-subfolder-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.ministry-subfolder-icon {
    width: 60px;
    height: 60px;
    border-radius: 0.75rem;
    background: rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    flex-shrink: 0;
    transition: background 0.3s ease;
}
.ministry-subfolder-card:hover .ministry-subfolder-icon {
    background: rgba(212, 175, 55, 0.2);
}
.ministry-subfolder-info {
    flex: 1;
    min-width: 0;
}
.ministry-subfolder-name {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: white;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.ministry-subfolder-count {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.15rem;
    display: block;
}

.ministry-event-photo {
    aspect-ratio: 1;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.ministry-event-photo:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.ministry-event-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Invisible overlay on gallery photos to block interactions */
.ministry-event-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Video badge overlay */
.ministry-event-video {
    position: relative;
}
.ministry-event-video-badge {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    color: white;
    pointer-events: none;
    transition: background 0.3s ease;
}
.ministry-event-video:hover .ministry-event-video-badge {
    background: rgba(0, 0, 0, 0.15);
}

/* =============================================================
   25. PHOTO LIGHTBOX
   ============================================================= */
.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
}
.photo-lightbox.active {
    opacity: 1;
    visibility: visible;
}
.photo-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
}
.photo-lightbox-img-wrap {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0.5rem;
}
.photo-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transition: transform 0.15s ease;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}
/* Invisible shield over image to block right-click / drag / save */
.photo-lightbox-img-shield {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
}
.photo-lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 10;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.photo-lightbox-close:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

/* Zoom toolbar */
.photo-lightbox-toolbar {
    position: absolute;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 0.35rem 0.75rem;
}
.photo-lightbox-toolbar button {
    color: rgba(255, 255, 255, 0.7);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background 0.2s;
}
.photo-lightbox-toolbar button:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.photo-lightbox-nav {
    position: absolute;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, opacity 0.3s;
}
.photo-lightbox-nav:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
/* Hide nav buttons when zoomed in */
.photo-lightbox.zoomed .photo-lightbox-nav { opacity: 0; pointer-events: none; }
.photo-lightbox-prev { left: 1rem; }
.photo-lightbox-next { right: 1rem; }
.photo-lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

/* =============================================================
   26. DOCTRINE SECTION -- CINEMATIC 3D PRISM (PRESERVED 100%)
   ============================================================= */

/* Step text container uses CSS grid stacking so all items
   occupy the same cell; the tallest drives container height */
.step-text-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}
.step-text-item {
    grid-column: 1;
    grid-row: 1;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s cubic-bezier(0.4,0,0.2,1),
                transform 0.55s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
}
.step-text-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* The scene container provides perspective for the 3D prism */
.doctrine-scene {
    perspective: 900px;
    perspective-origin: center center;
    transform-style: preserve-3d;
}

/* The 3D prism -- holds three faces arranged at 120 degree intervals */
.doctrine-prism {
    --doctrine-depth: 45px;
    position: relative;
    width: 13rem;   /* 208px */
    height: 18rem;  /* 288px */
    transform-style: preserve-3d;
    transform-origin: center center;
    will-change: transform;
}
@media (min-width: 768px) {
    .doctrine-prism {
        --doctrine-depth: 83px;
        width: 18rem;   /* 288px */
        height: 24rem;  /* 384px */
        /* Smooth micro-transitions only on desktop — on mobile the CSS
           transition fights with JS scroll-driven updates and causes the
           prism to lag behind then "fast-forward" when frames catch up. */
        transition: transform 0.06s linear;
    }
}

/* Each face of the triangular prism.
   CRITICAL: No filter, no pseudo-elements, no mix-blend-mode --
   anything that creates a compositing context breaks backface-visibility. */
.doctrine-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    pointer-events: none;
    /* Edge glow via box-shadow -- travels with face in 3D,
       hidden automatically by backface-visibility.
       JS drives --glow-color and --glow-spread dynamically. */
    box-shadow:
        0 0 12px 1px rgba(206, 17, 38, 0.25),
        inset 0 0 30px rgba(0, 0, 0, 0.6);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.doctrine-face[data-face="0"] { transform: rotateY(0deg)   translateZ(var(--doctrine-depth)); }
.doctrine-face[data-face="1"] { transform: rotateY(120deg) translateZ(var(--doctrine-depth)); }
.doctrine-face[data-face="2"] { transform: rotateY(240deg) translateZ(var(--doctrine-depth)); }

/* Ambient glow -- fully outside the 3D hierarchy, just a colored blob */
.doctrine-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 0;
    will-change: transform, opacity;
    background: radial-gradient(circle, #CE1126 0%, transparent 70%);
    filter: blur(40px);
    opacity: 0.2;
    transition: opacity 0.15s ease, transform 0.15s ease;
}
@media (min-width: 768px) {
    .doctrine-glow {
        width: 400px;
        height: 400px;
        filter: blur(50px);
    }
}

/* Step progress dots */
.step-dot {
    height: 8px;
    width: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease, background 0.3s ease;
}
.step-dot.active {
    width: 24px;
    background: var(--clr-gold, #D4AF37);
}

/* Doctrine float wrap — must preserve 3D context for child prism */
.doctrine-float-wrap {
    animation: doctrine-float 6s ease-in-out infinite;
    transform-style: preserve-3d;
}
@keyframes doctrine-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* =============================================================
   27. GIVE PAGE (hero, rings, cards)
   ============================================================= */
.give-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #004d25 0%, #001a0d 40%, #180600 75%, #000000 100%);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 1.5rem;
    padding: 3.5rem 2rem;
}
.give-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(212,175,55,0.07) 0%, transparent 60%);
    pointer-events: none;
}

/* Give rings */
.give-ring {
    position: absolute; border-radius: 50%; border: 1px solid rgba(212,175,55,0.2);
    top: 50%; left: 50%; transform: translate(-50%,-50%);
    animation: giveRingPulse 3s ease-out infinite;
    pointer-events: none;
}
@keyframes giveRingPulse {
    0% { transform: translate(-50%,-50%) scale(0.8); opacity: 0.6; }
    100% { transform: translate(-50%,-50%) scale(2.2); opacity: 0; }
}
.give-ring:nth-child(1) { animation-delay: 0s; }
.give-ring:nth-child(2) { animation-delay: 0.8s; }
.give-ring:nth-child(3) { animation-delay: 1.6s; }

.give-card {
    border-radius: 1.25rem;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.give-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.45);
}
.give-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 1.25rem 1.25rem 0 0;
}

.give-card-online {
    background: linear-gradient(145deg, rgba(0,77,37,0.3) 0%, rgba(0,0,0,0.55) 100%);
    border: 1px solid rgba(0,158,73,0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.give-card-online:hover { border-color: rgba(212,175,55,0.55); }
.give-card-online::before { background: linear-gradient(to right, #009E49, #FCD116); }

.give-card-bank {
    background: linear-gradient(145deg, rgba(212,175,55,0.12) 0%, rgba(0,0,0,0.55) 100%);
    border: 1px solid rgba(212,175,55,0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.give-card-bank:hover { border-color: rgba(212,175,55,0.55); }
.give-card-bank::before { background: linear-gradient(to right, #D4AF37, #CE1126); }

.give-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 1rem;
}

/* =============================================================
   28. MUSIC PLAYER BAR
   ============================================================= */
#music-player-bar {
    background: linear-gradient(135deg, #0a0808 0%, #001a0d 50%, #0a0a12 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.18);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 -4px 30px rgba(0,0,0,0.5);
}

/* Album art placeholder */
.player-album-art {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: linear-gradient(135deg, #004d25, #1a0600);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
}
.player-album-art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212,175,55,0.12) 0%, transparent 60%);
}

/* Control buttons */
.player-control-btn {
    transition: color var(--transition-base), transform 0.15s ease;
}
.player-control-btn:hover {
    color: #ffffff !important;
    transform: scale(1.12);
}

/* Play/Pause button */
.player-play-btn {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #D4AF37, #FCD116);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.player-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 22px rgba(212, 175, 55, 0.55);
}

/* =============================================================
   29. HOVER UTILS
   ============================================================= */
.hover-lift {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.3);
}

/* Footer social hovers */
footer a[href*="facebook"]:hover { color: #1877f2 !important; filter: drop-shadow(0 0 8px rgba(24,119,242,0.5)); }
footer a[href*="youtube"]:hover { color: #ff0000 !important; filter: drop-shadow(0 0 8px rgba(255,0,0,0.5)); }
footer a[href*="instagram"]:hover, footer a:last-child:hover { color: #e4405f !important; filter: drop-shadow(0 0 8px rgba(228,64,95,0.5)); }

/* =============================================================
   30. LIGHT MODE (device preference)
   ============================================================= */
/* LIGHT MODE: moved to themed architecture at end of file */

/* =============================================================
   31. GLOBAL IMAGE PROTECTION
   ============================================================= */
img {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}
.ministry-event-photo img,
.ministry-gallery-item img,
.ministry-hero img {
    pointer-events: none;
}

/* =============================================================
   32. MOBILE PERFORMANCE & LAYOUT OPTIMIZATIONS
   ============================================================= */
@media (max-width: 767px) {
    /* Prevent horizontal overflow from widening the layout viewport on
       mobile.  CRITICAL: Do NOT set overflow-x on <html> — both "hidden"
       and "clip" break position:sticky on Android Chrome/WebView.
       Instead we use a wrapper div (#site-wrap) around all body content
       with overflow-x:clip to contain overflowing children without
       affecting the scroll container hierarchy. */
    html { max-width: 100vw !important; }

    #site-wrap {
        overflow-x: clip;
        width: 100%;
        max-width: 100vw;
    }

    /* Disable smooth scroll on mobile — it causes perceived "sticking" and
       laggy scroll behaviour on Android WebView/Chrome. */
    html { scroll-behavior: auto !important; }

    /* iOS Safari: background-attachment:fixed forces expensive repaints on scroll */
    .bg-fixed { background-attachment: scroll !important; }

    /* Hero background: disable continuous pulse animation and fixed attachment */
    .hero-bg {
        animation: none !important;
        transform: none !important;
        background-attachment: scroll !important;
    }

    /* Hero orbs are 420px wide — wider than most mobile viewports.
       Even with overflow-hidden on #home, Android Chrome expands the
       layout viewport to fit them.  Hide on mobile. */
    .hero-orb { display: none !important; }

    /* Ken Burns animation scales the bg to 1.15x, pushing it beyond the
       viewport.  Disable on mobile to prevent layout viewport expansion. */
    .hero-kenburns { animation: none !important; transform: none !important; }

    /* Doctrine section: hide costly blur + mix-blend-screen decorative blobs */
    #doctrine .blur-3xl { display: none; }

    /* NOTE: Do NOT add overflow-x:hidden to #doctrine — it creates a new
       block formatting context that breaks position:sticky on the child
       wrapper, causing the prism to scroll away instead of sticking.
       The html,body overflow-x:hidden at the top of this media query
       handles any horizontal leak from the 3D prism faces. */

    /* Doctrine ambient glow: hide entirely on mobile — the radial-gradient
       is rebuilt every scroll frame in JS and causes heavy repaints. */
    .doctrine-glow { display: none !important; }

    /* Disable the float animation on mobile — CSS-animated transform on
       the wrapper conflicts with JS-driven transform on the child prism,
       causing compositing thrash and frame drops during scroll. */
    .doctrine-float-wrap { animation: none !important; }

    /* GPU compositing hints for elements that transition during scroll.
       CRITICAL: will-change must NOT be on .doctrine-face — it promotes
       each face to its own layer, flattening the preserve-3d context and
       breaking backface-visibility on mobile WebKit/Blink. */
    .step-text-item { will-change: transform, opacity; }
    .doctrine-prism { will-change: transform; }

    /* Disable CSS transitions on step text on mobile — the JS toggles
       the active class on scroll and CSS transitions add latency. */
    .step-text-item { transition-duration: 0.3s; }

    /* Side scroll-progress bar is not visible/useful on narrow screens */
    #scroll-progress { display: none; }

    /* Give page: tighter hero padding on small screens */
    .give-hero { padding: 2rem 1.25rem; }

    /* Comfortable minimum tap target size for nav links */
    #mobile-menu a { min-height: 44px; display: flex; align-items: center; justify-content: center; }
}

/* =============================================================
   33. FIREFOX FIXES
   ============================================================= */
@-moz-document url-prefix() {
    .hero-orb { filter: blur(40px); }
    .fellou-form-card { backdrop-filter: none; background: rgba(13,13,18,0.95); }
}

/* =============================================================
   34. MUSIC SEARCH
   ============================================================= */
.music-search-container {
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.music-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  transition: all 0.25s ease;
}

.music-search-wrapper:focus-within {
  background: rgba(255,255,255,0.1);
  border-color: rgba(212,175,55,0.4);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}

.music-search-icon {
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,0.4);
  margin-right: 10px;
  flex-shrink: 0;
}

.music-search-wrapper input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  width: 100%;
  font-family: 'Lato', sans-serif;
}

.music-search-wrapper input::placeholder {
  color: rgba(255,255,255,0.35);
}

.music-search-clear {
  background: rgba(255,255,255,0.1);
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  flex-shrink: 0;
}

.music-search-clear:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.music-search-stats {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  padding: 6px 4px 0;
  text-align: center;
}

/* =============================================================
   35. ENHANCED PLAYER VISUALIZER
   ============================================================= */
.player-viz-overlay {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.player-viz-overlay.active {
  opacity: 1;
}

.viz-bar {
  width: 3px;
  background: linear-gradient(to top, #D4AF37, #FCD116);
  border-radius: 2px;
  animation: vizBar 0.8s ease-in-out infinite;
}

.viz-bar:nth-child(1) { height: 30%; animation-delay: 0s; }
.viz-bar:nth-child(2) { height: 60%; animation-delay: 0.15s; }
.viz-bar:nth-child(3) { height: 100%; animation-delay: 0.3s; }
.viz-bar:nth-child(4) { height: 50%; animation-delay: 0.1s; }
.viz-bar:nth-child(5) { height: 80%; animation-delay: 0.25s; }

@keyframes vizBar {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

.player-viz-overlay.paused .viz-bar {
  animation-play-state: paused;
}

/* =============================================================
   36. ENHANCED PLAYER CONTROLS
   ============================================================= */
.player-progress-container {
  position: relative;
}

.player-progress-tooltip {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.9);
  color: #D4AF37;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  border: 1px solid rgba(212,175,55,0.3);
}

.player-progress-container:hover .player-progress-tooltip {
  opacity: 1;
}

#shuffle-btn.text-guyana-gold,
#repeat-btn.text-guyana-gold {
  color: #D4AF37 !important;
}

/* No results message */
.music-no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: rgba(255,255,255,0.4);
}

.music-no-results i {
  margin-bottom: 1rem;
  opacity: 0.4;
}

/* Player visualizer canvas */
.player-visualizer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
  opacity: 0.6;
}

/* =============================================================
   34. FEATURE SHOWCASE — Apple-Style Pinned Scroll Section
   ============================================================= */
.feature-showcase {
    position: relative;
    width: 100%;
    height: 400vh; /* Creates scroll distance */
    background: #000;
}

.feature-showcase-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(0,77,37,0.15) 0%, rgba(0,0,0,1) 70%);
}

.showcase-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    opacity: 0;
}

.showcase-slide:first-child { opacity: 1; }

.showcase-icon {
    width: 100px;
    height: 100px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(0,158,73,0.2));
    border: 1px solid rgba(212,175,55,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    color: #FCD116;
    box-shadow: 0 8px 40px rgba(212,175,55,0.15);
}

.showcase-icon i { width: 48px; height: 48px; }

.showcase-slide h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FCD116, #D4AF37, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 800px;
    line-height: 1.2;
}

.showcase-slide p {
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    line-height: 1.7;
    font-weight: 300;
}

.showcase-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.showcase-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transition: all 0.3s ease;
    cursor: pointer;
}

.showcase-dot.active {
    background: #D4AF37;
    width: 24px;
    border-radius: 4px;
}

.showcase-progress-bar {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    z-index: 10;
    overflow: hidden;
}

.showcase-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #D4AF37, #FCD116);
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* Subtle glow animation behind showcase slides */
.showcase-slide::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: -1;
    animation: showcaseGlow 8s ease-in-out infinite;
}

@keyframes showcaseGlow {
    0%, 100% { transform: translate(-20px, -20px) scale(1); opacity: 0.5; }
    50% { transform: translate(20px, 20px) scale(1.1); opacity: 0.8; }
}

/* =============================================================
   35. MOBILE: FEATURE SHOWCASE OPTIMIZATIONS
   ============================================================= */
@media (max-width: 767px) {
    .feature-showcase {
        height: 300vh; /* Shorter scroll distance on mobile */
    }

    .showcase-icon {
        width: 72px;
        height: 72px;
        border-radius: 20px;
        margin-bottom: 1.5rem;
    }

    .showcase-icon i { width: 36px; height: 36px; }

    .showcase-slide p {
        max-width: 90%;
        padding: 0 1rem;
    }

    /* Disable glow on mobile for performance */
    .showcase-slide::before { display: none; }

    /* Adjust dots position for smaller screens */
    .showcase-dots { bottom: 40px; }
    .showcase-progress-bar { bottom: 28px; }
}

/* =============================================================
   36. LENIS SMOOTH SCROLL FIXES
   ============================================================= */

/* Prevent Lenis from interfering with page-view hidden states */
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

/* Ensure page views properly hide/show with Lenis active */
.page-view.hidden-page {
  display: none !important;
}

/* When not on home page, ensure body has proper dark background */
/* (Lenis can sometimes interfere with bg color inheritance) */
body {
  background-color: #000000 !important;
}

#site-wrap {
  background-color: #000000 !important;
}

/* Force dark background on ministry and sub-pages using pseudo-element overlay */
#view-ministries::before,
#view-history::before,
#view-archive::before,
#view-music::before,
#view-give::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000000;
  z-index: -1;
}

/* Ensure page views stack properly */
.page-view {
  position: relative;
  z-index: 1;
}

/* Lenis smooth scroll wrapper fixes */
html.lenis, html.lenis body {
  height: auto;
}

html.lenis body {
  background-color: #000000;
}

/* =============================================================
   37. IMMERSIVE PHONE STORY
   ============================================================= */
.feature-showcase {
  position: relative;
  height: 440vh;
  min-height: 2600px;
  background: #020403;
  isolation: isolate;
}

.feature-showcase-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 76% 50%, rgba(0, 158, 73, .14), transparent 68%),
    radial-gradient(ellipse 45% 55% at 18% 70%, rgba(212, 175, 55, .07), transparent 70%),
    linear-gradient(135deg, #020403 0%, #000 48%, #031009 100%);
}

.feature-showcase-sticky::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.showcase-ambient {
  position: absolute;
  width: min(58vw, 820px);
  aspect-ratio: 1;
  right: -4vw;
  top: 50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 158, 73, .24), rgba(212, 175, 55, .07) 34%, transparent 68%);
  transform: translate3d(0, -50%, 0);
  filter: blur(32px);
  opacity: .72;
  will-change: transform, opacity;
}

.showcase-layout {
  width: min(100% - 3rem, 1260px);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(390px, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  position: relative;
  z-index: 2;
}

.showcase-copy-stage {
  position: relative;
  height: min(630px, 72vh);
  display: flex;
  align-items: center;
}

.showcase-eyebrow {
  position: absolute;
  top: 2rem;
  left: 0;
  display: flex;
  align-items: center;
  gap: .7rem;
  color: rgba(255, 255, 255, .55);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.showcase-eyebrow span {
  width: 28px;
  height: 1px;
  background: #d4af37;
  box-shadow: 0 0 12px rgba(212, 175, 55, .7);
}

.showcase-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 46px, 0);
  transition: opacity .5s ease, transform .7s cubic-bezier(.22, 1, .36, 1), visibility .5s;
  pointer-events: none;
}

.showcase-copy.active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.showcase-number {
  color: #d4af37;
  font: 700 .7rem/1 'Lato', sans-serif;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.showcase-copy h2 {
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: clamp(2.55rem, 5vw, 5.7rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.showcase-copy h2 em {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  color: #f1d26b;
  text-shadow: 0 0 34px rgba(212, 175, 55, .2);
}

.showcase-copy p {
  max-width: 520px;
  margin: 1.7rem 0 0;
  color: rgba(255, 255, 255, .59);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 300;
  line-height: 1.75;
}

.showcase-feature-pill {
  width: fit-content;
  margin-top: 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem 1rem;
  border: 1px solid rgba(212, 175, 55, .22);
  border-radius: 999px;
  color: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .045);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.showcase-feature-pill svg { width: 15px; height: 15px; color: #fcd116; }
.showcase-feature-action { cursor: pointer; transition: color .25s, background .25s, border-color .25s, transform .25s; }
.showcase-feature-action:hover { color: #000; background: #f1d26b; border-color: #f1d26b; transform: translateY(-2px); }
.showcase-feature-action:hover svg { color: #000; }

.showcase-device-stage {
  position: relative;
  min-width: 0;
  height: min(760px, 88vh);
  display: grid;
  place-items: center;
  perspective: 1500px;
  perspective-origin: 50% 50%;
}

.showcase-phone {
  --phone-w: min(25vw, 340px);
  width: var(--phone-w);
  aspect-ratio: .486 / 1;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(2deg) rotateY(-18deg) rotateZ(-1.5deg);
  will-change: transform;
  backface-visibility: hidden;
}

.phone-shell {
  position: absolute;
  inset: 0;
  border-radius: calc(var(--phone-w) * .115);
  padding: calc(var(--phone-w) * .025);
  background: linear-gradient(145deg, #595d58 0%, #111 13%, #020202 54%, #343733 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .34),
    inset 0 0 0 3px rgba(0, 0, 0, .8),
    0 55px 95px rgba(0, 0, 0, .7),
    0 0 70px rgba(0, 158, 73, .12);
  transform: translateZ(12px);
  overflow: hidden;
}

.phone-shell::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(110deg, rgba(255,255,255,.15), transparent 13%, transparent 83%, rgba(212,175,55,.1));
  pointer-events: none;
  z-index: 20;
}

.phone-side {
  position: absolute;
  top: 10%;
  height: 80%;
  width: 24px;
  background: linear-gradient(90deg, #090909, #4d504c 52%, #0b0b0b);
  z-index: -1;
}
.phone-side-left { left: -7px; transform: rotateY(90deg) translateZ(-4px); }
.phone-side-right { right: -7px; transform: rotateY(90deg) translateZ(4px); }

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--phone-w) * .095);
  background: #05100a;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

.phone-speaker {
  position: absolute;
  z-index: 30;
  top: calc(var(--phone-w) * .045);
  left: 50%;
  width: 28%;
  height: calc(var(--phone-w) * .067);
  border-radius: 999px;
  transform: translateX(-50%);
  background: #020302;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.09);
}

.phone-status {
  position: absolute;
  z-index: 12;
  top: 0;
  left: 0;
  right: 0;
  height: 7.5%;
  padding: 0 7.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,.82);
  font: 700 calc(var(--phone-w) * .032)/1 'Lato', sans-serif;
}
.phone-status span:last-child { display: flex; gap: 5px; }
.phone-status svg { width: calc(var(--phone-w) * .041); height: auto; }

.phone-panel {
  position: absolute;
  inset: 0;
  padding: 11% 7.5% 8%;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 16px, 0) scale(.985);
  transition: opacity .42s ease, transform .55s cubic-bezier(.22,1,.36,1), visibility .42s;
  overflow: hidden;
}
.phone-panel.active { opacity: 1; visibility: visible; transform: translate3d(0,0,0) scale(1); }

.phone-mini-nav {
  position: absolute;
  z-index: 4;
  left: 5%;
  right: 5%;
  bottom: 2.3%;
  height: 7.3%;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: calc(var(--phone-w) * .055);
  background: rgba(3, 8, 5, .82);
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 10px 35px rgba(0,0,0,.38);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.phone-mini-nav svg { width: 6.5%; color: rgba(255,255,255,.38); }
.phone-panel-live .phone-mini-nav svg:first-child, .phone-mini-nav svg.active { color: #f1d26b; filter: drop-shadow(0 0 7px rgba(212,175,55,.45)); }

.phone-panel-live { background: linear-gradient(to bottom, rgba(0,0,0,.02), #010302), url('https://images.unsplash.com/photo-1438232992991-995b7058bbb3?auto=format&fit=crop&w=700&q=80') center/cover; }
.phone-panel-live::after { content:''; position:absolute; inset:0; background:linear-gradient(to bottom, rgba(0,16,8,.2), rgba(0,0,0,.28) 35%, #020503 87%); }
.phone-panel-live > * { position: relative; z-index: 2; }
.phone-brand { display:flex; align-items:center; gap:7px; margin-top:3%; color:#fff; font:700 calc(var(--phone-w)*.04)/1 'Cinzel',serif; letter-spacing:.09em; }
.phone-brand-mark { width:calc(var(--phone-w)*.085); aspect-ratio:1; display:grid; place-items:center; border:1px solid rgba(212,175,55,.6); border-radius:50%; color:#f1d26b; }
.phone-live-visual { position:absolute!important; left:8%; right:8%; bottom:13%; }
.phone-live-badge { display:inline-flex; align-items:center; gap:6px; padding:5px 8px; border-radius:99px; background:rgba(206,17,38,.9); color:#fff; font:700 calc(var(--phone-w)*.027)/1 'Lato',sans-serif; text-transform:uppercase; letter-spacing:.1em; }
.phone-live-badge b { width:5px; aspect-ratio:1; border-radius:50%; background:#fff; animation:phoneLivePulse 1.5s ease infinite; }
.phone-live-visual p { margin:14px 0 4px; color:#f1d26b; font:700 calc(var(--phone-w)*.03)/1 'Lato',sans-serif; letter-spacing:.12em; text-transform:uppercase; }
.phone-live-visual h3 { margin:0; color:#fff; font:700 calc(var(--phone-w)*.085)/1.03 'Cinzel',serif; letter-spacing:-.04em; }
.phone-live-visual button { margin-top:15px; padding:10px 14px; border-radius:99px; background:#f1d26b; color:#091008; font:700 calc(var(--phone-w)*.03)/1 'Lato',sans-serif; display:flex; align-items:center; gap:6px; }
.phone-live-visual button svg { width:12px; fill:currentColor; }

.phone-panel-events { background:linear-gradient(160deg,#09140d,#020504 62%,#120f05); }
.phone-screen-heading { margin-top:10%; }
.phone-screen-heading span,.phone-kicker { color:#d4af37; font:700 calc(var(--phone-w)*.026)/1 'Lato',sans-serif; letter-spacing:.16em; text-transform:uppercase; }
.phone-screen-heading h3 { color:#fff; margin:6px 0 10%; font:700 calc(var(--phone-w)*.068)/1.08 'Cinzel',serif; letter-spacing:-.03em; }
.phone-date-card { min-height:13%; margin-bottom:5%; padding:5%; border:1px solid rgba(255,255,255,.08); border-radius:calc(var(--phone-w)*.052); background:rgba(255,255,255,.045); display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:7%; color:#fff; }
.phone-date-card.featured { color:#071109; background:linear-gradient(135deg,#f6de82,#cda433); box-shadow:0 15px 35px rgba(212,175,55,.14); }
.phone-date-card b { font:700 calc(var(--phone-w)*.075)/1 'Cinzel',serif; }
.phone-date-card span { font:700 calc(var(--phone-w)*.029)/1.25 'Lato',sans-serif; text-transform:uppercase; }
.phone-date-card small { opacity:.62; font-size:calc(var(--phone-w)*.026); text-transform:none; font-weight:400; }
.phone-date-card svg { width:calc(var(--phone-w)*.047); }

.phone-panel-music { text-align:center; background:radial-gradient(circle at 50% 36%,rgba(212,175,55,.18),transparent 34%),linear-gradient(160deg,#06120b,#020403 70%); }
.phone-panel-music .phone-screen-heading { text-align:left; }
.phone-album-art { position:relative; width:72%; aspect-ratio:1; margin:0 auto 7%; border-radius:10%; display:grid; place-items:center; background:linear-gradient(rgba(0,10,5,.15),rgba(0,0,0,.4)),url('assets/worship-player-art.webp') center/cover; box-shadow:0 25px 45px rgba(0,0,0,.48),0 0 0 1px rgba(255,255,255,.1); overflow:hidden; }
.phone-album-art > svg { width:18%; height:auto; color:#fff; filter:drop-shadow(0 3px 10px #000); }
.phone-panel-music h4 { margin:0; color:#fff; font:700 calc(var(--phone-w)*.046)/1.2 'Cinzel',serif; }
.phone-panel-music > p { margin:5px 0 7%; color:rgba(255,255,255,.48); font-size:calc(var(--phone-w)*.03); }
.phone-track-line { height:3px; border-radius:3px; background:rgba(255,255,255,.12); overflow:hidden; }
.phone-track-line span { display:block; width:58%; height:100%; background:#f1d26b; }
.phone-music-controls { display:flex; justify-content:center; align-items:center; gap:14%; margin-top:7%; color:#fff; }
.phone-music-controls svg { width:calc(var(--phone-w)*.052); fill:currentColor; }
.phone-music-controls b { width:calc(var(--phone-w)*.14); aspect-ratio:1; display:grid; place-items:center; border-radius:50%; color:#071109; background:#f1d26b; }
.phone-music-controls b svg { width:42%; }

.phone-panel-prayer { padding-top:25%; text-align:center; background:radial-gradient(circle at 50% 28%,rgba(0,158,73,.3),transparent 31%),linear-gradient(160deg,#06140d,#020403 72%); }
.phone-prayer-glow { width:34%; aspect-ratio:1; margin:0 auto 9%; display:grid; place-items:center; border:1px solid rgba(212,175,55,.28); border-radius:50%; color:#f1d26b; background:rgba(212,175,55,.08); box-shadow:0 0 42px rgba(0,158,73,.25); }
.phone-prayer-glow svg { width:42%; height:auto; }
.phone-panel-prayer h3 { color:#fff; margin:7% 0; font:700 calc(var(--phone-w)*.073)/1.08 'Cinzel',serif; letter-spacing:-.035em; }
.phone-panel-prayer > p { color:rgba(255,255,255,.55); font-size:calc(var(--phone-w)*.032); line-height:1.55; }
.phone-panel-prayer > button { width:100%; margin-top:9%; padding:5% 7%; border-radius:99px; background:#f1d26b; color:#071109; display:flex; align-items:center; justify-content:space-between; font:700 calc(var(--phone-w)*.032)/1 'Lato',sans-serif; }
.phone-panel-prayer > button svg { width:7%; }

.phone-shadow { position:absolute; width:min(28vw,400px); height:10%; bottom:3%; border-radius:50%; background:rgba(0,0,0,.88); filter:blur(24px); transform:scaleX(1.1); will-change:transform,opacity; }

.showcase-progress { position:absolute; z-index:5; left:50%; bottom:3.5%; width:min(100% - 3rem,1260px); transform:translateX(-50%); display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:1.2rem; }
.showcase-progress-label { color:rgba(255,255,255,.35); font:700 .6rem/1 'Lato',sans-serif; letter-spacing:.2em; text-transform:uppercase; }
.showcase-progress-bar { position:relative; inset:auto; transform:none; width:100%; height:1px; background:rgba(255,255,255,.12); overflow:visible; }
.showcase-progress-fill { height:2px; width:100%; margin-top:-.5px; background:linear-gradient(90deg,#009e49,#f1d26b); box-shadow:0 0 12px rgba(212,175,55,.55); transition:none; transform:scaleX(0); transform-origin:left center; }
.showcase-dots { position:relative; inset:auto; transform:none; display:flex; gap:7px; }
.showcase-dot { display:block; width:5px; height:5px; border-radius:50%; background:rgba(255,255,255,.25); transition:width .35s ease,background .35s ease; }
.showcase-dot.active { width:19px; border-radius:99px; background:#f1d26b; }

@keyframes phoneLivePulse { 50% { transform:scale(1.6); opacity:.4; } }

/* =============================================================
   38. IMMERSIVE FULL-SCREEN MUSIC PLAYER
   ============================================================= */
.full-music-player {
  --track-accent: #d4af37;
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-rows: auto 1fr;
  color: #fff;
  background: #020503;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 24px, 0) scale(1.015);
  transition: opacity .48s ease, transform .62s cubic-bezier(.22,1,.36,1), visibility .48s;
  overflow: hidden;
  isolation: isolate;
}

.full-music-player.active { opacity:1; visibility:visible; transform:translate3d(0,0,0) scale(1); }
body.music-player-open { overflow:hidden!important; }
body.music-player-open #navbar { opacity:0; pointer-events:none; transform:translateY(-100%); }

.full-player-backdrop {
  position:absolute;
  inset:-5%;
  z-index:-3;
  background:linear-gradient(rgba(0,5,3,.35),rgba(0,0,0,.72)),url('assets/worship-player-art.webp') center/cover no-repeat;
  filter:blur(28px) saturate(1.12);
  transform:scale(1.08);
  opacity:.72;
}

.full-music-player::before { content:''; position:absolute; inset:0; z-index:-2; background:radial-gradient(circle at 28% 44%,color-mix(in srgb,var(--track-accent) 24%,transparent),transparent 34%),linear-gradient(90deg,rgba(0,0,0,.25),rgba(0,0,0,.76)); }
.full-music-player::after { content:''; position:absolute; inset:0; z-index:-1; opacity:.16; pointer-events:none; background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E"); mix-blend-mode:soft-light; }
.full-player-light { position:absolute; z-index:-1; border-radius:50%; filter:blur(70px); opacity:.22; pointer-events:none; }
.full-player-light-one { width:42vw; height:42vw; left:-15vw; bottom:-20vw; background:#009e49; }
.full-player-light-two { width:32vw; height:32vw; right:-12vw; top:-15vw; background:var(--track-accent); opacity:.13; }

.full-player-header { width:min(100% - 3rem,1440px); margin:0 auto; padding:clamp(1.1rem,3vh,2.1rem) 0; display:grid; grid-template-columns:44px 1fr 44px; align-items:center; text-align:center; position:relative; z-index:4; }
.full-player-header div { display:flex; flex-direction:column; gap:3px; }
.full-player-header span { color:rgba(255,255,255,.45); font:700 .58rem/1 'Lato',sans-serif; letter-spacing:.22em; text-transform:uppercase; }
.full-player-header strong { color:rgba(255,255,255,.82); font:700 .72rem/1.2 'Cinzel',serif; letter-spacing:.08em; }
.full-player-icon-btn { width:44px; height:44px; border:1px solid rgba(255,255,255,.12); border-radius:50%; display:grid; place-items:center; color:#fff; background:rgba(255,255,255,.055); transition:background .25s,transform .25s,border-color .25s; }
.full-player-icon-btn:hover { background:rgba(255,255,255,.12); border-color:rgba(212,175,55,.4); transform:scale(1.05); }
.full-player-icon-btn svg { width:19px; }

.full-player-menu { position:absolute; z-index:8; top:78px; right:max(1.5rem,calc((100vw - 1440px)/2)); width:190px; padding:.55rem; border:1px solid rgba(255,255,255,.12); border-radius:16px; background:rgba(5,11,7,.92); box-shadow:0 18px 55px rgba(0,0,0,.48); -webkit-backdrop-filter:blur(20px); backdrop-filter:blur(20px); opacity:0; visibility:hidden; transform:translateY(-8px); transition:.25s ease; }
.full-player-menu.open { opacity:1; visibility:visible; transform:translateY(0); }
.full-player-menu button { width:100%; padding:.7rem .8rem; border-radius:10px; display:flex; align-items:center; gap:.7rem; color:rgba(255,255,255,.75); font-size:.78rem; }
.full-player-menu button:hover { color:#fff; background:rgba(255,255,255,.07); }
.full-player-menu svg { width:16px; }

.full-player-content { width:min(100% - 4rem,1260px); height:100%; min-height:0; margin:0 auto; padding:0 0 clamp(1.5rem,4vh,3.4rem); display:grid; grid-template-columns:minmax(320px,.92fr) minmax(360px,1.08fr); align-items:center; gap:clamp(3rem,8vw,8.5rem); }
.full-player-art-wrap { display:grid; place-items:center; perspective:1000px; }
.full-player-art { position:relative; width:min(53vh,520px,100%); aspect-ratio:1; overflow:hidden; border-radius:clamp(22px,3vw,42px); background:#08120c; box-shadow:0 40px 100px rgba(0,0,0,.62),0 0 0 1px rgba(255,255,255,.12),0 0 80px color-mix(in srgb,var(--track-accent) 16%,transparent); transform:translateZ(0); }
.full-player-art img { width:100%; height:100%; object-fit:cover; object-position:center 37%; opacity:.95; transform:scale(1.03); transition:transform 8s ease-out; }
.full-music-player.active .full-player-art img { transform:scale(1.1); }
.full-player-art::after { content:''; position:absolute; inset:0; background:linear-gradient(140deg,transparent 42%,rgba(0,0,0,.32)),linear-gradient(to top,rgba(0,0,0,.3),transparent 50%); }
.full-player-art-shine { position:absolute; z-index:2; inset:-45% 25% -45% -15%; transform:rotate(22deg); background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent); animation:artShine 7s ease-in-out infinite; }
.full-player-equalizer { position:absolute; z-index:3; left:8%; bottom:8%; height:38px; display:flex; align-items:flex-end; gap:5px; opacity:.85; }
.full-player-equalizer span { width:3px; height:32%; border-radius:99px; background:#f6de82; transform-origin:bottom; animation:fullEq .9s ease-in-out infinite alternate; animation-play-state:paused; }
.full-player-equalizer.playing span { animation-play-state:running; }
.full-player-equalizer span:nth-child(2) { height:85%; animation-delay:-.4s; }.full-player-equalizer span:nth-child(3) { height:52%; animation-delay:-.7s; }.full-player-equalizer span:nth-child(4) { height:100%; animation-delay:-.2s; }.full-player-equalizer span:nth-child(5) { height:45%; animation-delay:-.6s; }.full-player-equalizer span:nth-child(6) { height:72%; animation-delay:-.1s; }.full-player-equalizer span:nth-child(7) { height:35%; animation-delay:-.5s; }

.full-player-controls { min-width:0; }
.full-player-track-meta { display:grid; grid-template-columns:1fr auto; gap:2rem; align-items:end; margin-bottom:clamp(2rem,5vh,3.5rem); }
.full-player-overline { display:block; margin-bottom:1rem; color:var(--track-accent); font:700 .63rem/1 'Lato',sans-serif; letter-spacing:.22em; text-transform:uppercase; }
.full-player-track-meta h2 { margin:0; max-width:620px; color:#fff; font:700 clamp(2.4rem,5vw,5.2rem)/1.02 'Cinzel',serif; letter-spacing:-.045em; text-wrap:balance; }
.full-player-track-meta p { margin:.75rem 0 0; color:rgba(255,255,255,.46); font-size:clamp(.88rem,1.3vw,1.05rem); letter-spacing:.06em; }
.full-player-like { width:48px; height:48px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.13); border-radius:50%; color:rgba(255,255,255,.62); transition:.25s ease; }
.full-player-like:hover,.full-player-like[aria-pressed="true"] { color:#f1d26b; border-color:rgba(212,175,55,.5); background:rgba(212,175,55,.08); transform:scale(1.05); }
.full-player-like[aria-pressed="true"] svg { fill:currentColor; }
.full-player-like svg { width:19px; }

.full-player-timeline input,.full-player-volume input { width:100%; height:4px; appearance:none; -webkit-appearance:none; border-radius:99px; outline:none; background:linear-gradient(to right,var(--track-accent) 0%,rgba(255,255,255,.16) 0%); cursor:pointer; }
.full-player-timeline input::-webkit-slider-thumb,.full-player-volume input::-webkit-slider-thumb { width:14px; height:14px; appearance:none; -webkit-appearance:none; border:3px solid #fff; border-radius:50%; background:var(--track-accent); box-shadow:0 2px 12px rgba(0,0,0,.4); }
.full-player-timeline input::-moz-range-thumb,.full-player-volume input::-moz-range-thumb { width:8px; height:8px; border:3px solid #fff; border-radius:50%; background:var(--track-accent); box-shadow:0 2px 12px rgba(0,0,0,.4); }
.full-player-timeline > div { margin-top:.65rem; display:flex; justify-content:space-between; color:rgba(255,255,255,.35); font:700 .63rem/1 'Lato',sans-serif; letter-spacing:.06em; }

.full-player-main-controls { margin:clamp(1.6rem,4vh,2.7rem) auto; display:flex; align-items:center; justify-content:center; gap:clamp(1.4rem,4vw,3rem); }
.full-player-main-controls > button { color:rgba(255,255,255,.58); transition:color .2s,transform .2s; }
.full-player-main-controls > button:hover { color:#fff; transform:scale(1.1); }
.full-player-main-controls > button svg { width:21px; height:21px; }
.full-player-main-controls > button:nth-child(2) svg,.full-player-main-controls > button:nth-child(4) svg { fill:currentColor; width:26px; height:26px; }
.full-player-main-controls .full-player-play { width:clamp(64px,6vw,78px); height:clamp(64px,6vw,78px); border-radius:50%; display:grid; place-items:center; color:#071109; background:linear-gradient(145deg,#fff7d7,#d4af37); box-shadow:0 15px 36px rgba(212,175,55,.24),inset 0 1px 0 #fff; }
.full-player-main-controls .full-player-play:hover { color:#071109; box-shadow:0 19px 44px rgba(212,175,55,.38),inset 0 1px 0 #fff; }
.full-player-main-controls .full-player-play svg { width:29%; height:29%; fill:currentColor; }
.full-player-main-controls > button.active { color:var(--track-accent); }

.full-player-volume { display:grid; grid-template-columns:auto minmax(80px,1fr) auto; gap:1rem; align-items:center; color:rgba(255,255,255,.4); }
.full-player-volume button:hover { color:#fff; }
.full-player-volume svg { width:16px; }
.full-player-volume input { height:3px; }
.full-player-volume input::-webkit-slider-thumb { width:11px; height:11px; border-width:2px; }
.full-player-volume input::-moz-range-thumb { width:7px; height:7px; border-width:2px; }
.full-player-queue-label { display:flex; align-items:center; gap:.5rem; color:rgba(255,255,255,.48); font:700 .66rem/1 'Lato',sans-serif; letter-spacing:.08em; text-transform:uppercase; }

.player-album-art img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.64; }
.player-album-art > i { filter:drop-shadow(0 2px 4px #000); }
#music-player-bar { cursor:default; }

@keyframes fullEq { from { transform:scaleY(.28); } to { transform:scaleY(1); } }
@keyframes artShine { 0%,68%,100% { transform:translateX(-150%) rotate(22deg); opacity:0; } 78% { opacity:.7; } 92% { transform:translateX(180%) rotate(22deg); opacity:0; } }

/* Firefox-compatible fallback for color-mix/backdrop-filter */
@supports not (color: color-mix(in srgb, white, black)) {
  .full-music-player::before { background:radial-gradient(circle at 28% 44%,rgba(212,175,55,.2),transparent 34%),linear-gradient(90deg,rgba(0,0,0,.25),rgba(0,0,0,.76)); }
  .full-player-art { box-shadow:0 40px 100px rgba(0,0,0,.62),0 0 0 1px rgba(255,255,255,.12),0 0 80px rgba(212,175,55,.14); }
}

@media (max-width: 900px) {
  .feature-showcase { height:390vh; min-height:2200px; }
  .showcase-layout { width:min(100% - 2rem,680px); grid-template-columns:1fr; grid-template-rows:42% 58%; gap:0; }
  .showcase-copy-stage { height:100%; align-items:flex-end; padding-top:5rem; }
  .showcase-copy { justify-content:flex-end; padding-bottom:1.2rem; text-align:center; align-items:center; }
  .showcase-eyebrow { top:4.7rem; left:50%; transform:translateX(-50%); white-space:nowrap; }
  .showcase-copy h2 { font-size:clamp(2.1rem,8vw,3.8rem); line-height:1; }
  .showcase-copy p { margin-top:1rem; max-width:560px; font-size:.92rem; line-height:1.55; }
  .showcase-feature-pill { margin-top:1rem; padding:.58rem .85rem; }
  .showcase-number { margin-bottom:.8rem; }
  .showcase-device-stage { height:100%; align-items:start; padding-top:.7rem; }
  .showcase-phone { --phone-w:min(43vw,230px); }
  .phone-shadow { width:230px; bottom:5%; }
  .showcase-progress { bottom:2.4%; width:calc(100% - 2rem); }

  .full-player-content { width:min(100% - 3rem,680px); padding-bottom:2rem; grid-template-columns:1fr; grid-template-rows:minmax(0,45%) minmax(0,55%); gap:1.2rem; overflow-y:auto; scrollbar-width:none; }
  .full-player-content::-webkit-scrollbar { display:none; }
  .full-player-art { width:min(35vh,310px,70vw); border-radius:26px; }
  .full-player-track-meta { margin:0 0 1.4rem; }
  .full-player-track-meta h2 { font-size:clamp(1.85rem,6vw,3.2rem); }
  .full-player-main-controls { margin:1.4rem auto; }
  .full-player-volume { display:none; }
}

@media (max-width: 560px) {
  .feature-showcase { height:370vh; min-height:2100px; }
  .showcase-layout { grid-template-rows:44% 56%; }
  .showcase-copy-stage { padding-top:4rem; }
  .showcase-eyebrow { top:4rem; font-size:.56rem; }
  .showcase-copy { padding-bottom:.55rem; }
  .showcase-copy h2 { font-size:clamp(1.95rem,10vw,2.8rem); }
  .showcase-copy p { display:none; }
  .showcase-feature-pill { font-size:.57rem; }
  .showcase-phone { --phone-w:min(49vw,208px); }
  .showcase-progress-label { display:none; }
  .showcase-progress { grid-template-columns:1fr auto; }

  .full-player-header { width:calc(100% - 1.5rem); padding:1rem 0 .5rem; }
  .full-player-header strong { font-size:.65rem; }
  .full-player-icon-btn { width:40px; height:40px; }
  .full-player-menu { top:62px; right:.75rem; }
  .full-player-content { width:calc(100% - 2rem); grid-template-rows:minmax(230px,44%) 1fr; padding-bottom:max(1rem,env(safe-area-inset-bottom)); gap:.5rem; }
  .full-player-art { width:min(34vh,72vw,300px); border-radius:24px; }
  .full-player-track-meta { margin-bottom:1rem; gap:1rem; }
  .full-player-overline { margin-bottom:.6rem; font-size:.54rem; }
  .full-player-track-meta h2 { font-size:clamp(1.6rem,7.8vw,2.35rem); }
  .full-player-track-meta p { margin-top:.4rem; font-size:.78rem; }
  .full-player-like { width:42px; height:42px; }
  .full-player-main-controls { margin:1rem auto; gap:1.35rem; }
  .full-player-main-controls > button svg { width:18px; height:18px; }
  .full-player-main-controls > button:nth-child(2) svg,.full-player-main-controls > button:nth-child(4) svg { width:22px; height:22px; }
  .full-player-main-controls .full-player-play { width:62px; height:62px; }
  #music-player-bar .max-w-7xl { padding-bottom:max(.75rem,env(safe-area-inset-bottom)); }
}

/* Short landscape/tablet screens need room for a long track name without
   placing the title over the artwork or hiding playback below the viewport. */
@media (min-width: 650px) and (max-height: 700px) {
  .full-player-header { padding:.75rem 0; }
  .full-player-content {
    width:min(100% - 3rem,1260px);
    grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
    grid-template-rows:1fr;
    gap:clamp(1.5rem,4vw,3rem);
    padding-bottom:1rem;
    overflow:hidden;
  }
  .full-player-art { width:min(45vh,100%); }
  .full-player-controls { min-width:0; }
  .full-player-track-meta { gap:1rem; margin-bottom:1rem; }
  .full-player-track-meta h2 { font-size:clamp(1.4rem,2.5vw,2.4rem); overflow-wrap:anywhere; }
  .full-player-overline { margin-bottom:.5rem; }
  .full-player-main-controls { margin:1rem auto; }
}
@media (max-width: 649px) and (max-height: 620px) {
  .full-player-content { grid-template-rows:minmax(0,34%) minmax(0,66%); gap:0; }
  .full-player-art { width:min(25vh,60vw); }
  .full-player-track-meta { margin-bottom:.6rem; }
  .full-player-overline { margin-bottom:.35rem; }
  .full-player-track-meta h2 { font-size:clamp(1.4rem,6vw,1.85rem); }
  .full-player-main-controls { margin:.5rem auto; }
  .full-player-main-controls .full-player-play { width:56px; height:56px; }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-copy,.phone-panel,.full-music-player,.full-player-art img { transition-duration:.01ms!important; }
  .showcase-ambient,.showcase-phone,.phone-shadow { will-change:auto!important; }
  .full-player-art-shine,.full-player-equalizer span,.phone-live-badge b { animation:none!important; }
}

/* =============================================================
   39. SHARP DOCTRINE STAGE + PROJECTED PHONE HOLOGRAM
   ============================================================= */
#doctrine {
  position: relative;
  z-index: 2;
  background-color: transparent !important;
  background-image: none !important;
}

/* The phone scene sits under the last viewport of the prism.
   As the prism dissolves, the phone is already there — no blank band,
   no chopped card. */
#feature-showcase {
  margin-top: -100vh;
  position: relative;
  z-index: 1;
}

#doctrine .doctrine-sticky-wrap {
  opacity: calc(1 - var(--doctrine-exit, 0));
  pointer-events: none;
}

#doctrine .doctrine-sticky-wrap {
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 34%, rgba(0, 158, 73, .105) 0 1px, transparent 32%),
    radial-gradient(circle at 84% 68%, rgba(206, 17, 38, .075) 0 1px, transparent 31%),
    linear-gradient(118deg, #030806 0%, #010202 49%, #080302 100%);
}

#doctrine .doctrine-sticky-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 50%, #000 18%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 75% at 50% 50%, #000 18%, transparent 78%);
}

#doctrine .doctrine-sticky-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  box-shadow: inset 0 0 150px 38px rgba(0,0,0,.72);
}

#doctrine .doctrine-sticky-wrap > .blur-3xl { display: none !important; }
#doctrine .doctrine-glow { filter: blur(22px); opacity: .12; }

.showcase-device-stage {
  perspective: 1800px;
  perspective-origin: 58% 48%;
}

.showcase-phone {
  position: absolute;
  z-index: 5;
  right: 0;
  transform: rotateX(7deg) rotateY(56deg) rotateZ(-2deg);
  filter: drop-shadow(-20px 34px 25px rgba(0,0,0,.46));
}

.showcase-phone .phone-shell {
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.34),
    inset 0 0 0 3px rgba(0,0,0,.82),
    -24px 48px 85px rgba(0,0,0,.64),
    -8px 0 36px rgba(0,158,73,.16);
}

.showcase-hologram {
  --holo-w: min(26vw, 350px);
  position: absolute;
  z-index: 3;
  left: -2%;
  width: var(--holo-w);
  aspect-ratio: .74 / 1;
  padding: calc(var(--holo-w) * .075);
  border: 1px solid rgba(114, 255, 187, .24);
  border-radius: calc(var(--holo-w) * .055);
  color: #effff6;
  background:
    linear-gradient(180deg, rgba(9, 43, 26, .24), rgba(0, 10, 6, .5)),
    repeating-linear-gradient(0deg, rgba(126,255,190,.025) 0 1px, transparent 1px 4px);
  box-shadow:
    inset 0 0 36px rgba(65, 255, 157, .08),
    0 0 0 1px rgba(212,175,55,.035),
    0 0 45px rgba(0,158,73,.14),
    16px 24px 70px rgba(0,0,0,.32);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  backdrop-filter: blur(8px) saturate(1.1);
  transform: rotateX(1deg) rotateY(-8deg) translateZ(46px);
  transform-origin: right center;
  transform-style: preserve-3d;
  opacity: .84;
  overflow: hidden;
  will-change: transform, opacity;
}

.showcase-hologram::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 84% 52%, rgba(93,255,172,.13), transparent 34%),
    linear-gradient(110deg, transparent 0 44%, rgba(255,255,255,.055) 49%, transparent 54% 100%);
  background-size: 100% 100%, 220% 100%;
  animation: holoSurfaceSweep 5.5s linear infinite;
}

.showcase-hologram::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(212,175,55,.06);
}

.hologram-header,
.hologram-footer {
  position: absolute;
  z-index: 4;
  left: 7.5%;
  right: 7.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(194,255,219,.47);
  font: 700 calc(var(--holo-w) * .023)/1 'Lato',sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hologram-header { top: 4.2%; }
.hologram-header b { color: #f1d26b; font-weight: 700; }
.hologram-footer { bottom: 4.2%; }
.hologram-footer i { height: 1px; flex: 1; margin: 0 8%; background: linear-gradient(90deg, transparent, rgba(101,255,176,.38), transparent); }

.hologram-corners { position: absolute; inset: 3%; z-index: 6; pointer-events: none; }
.hologram-corners i { position:absolute; width:12%; aspect-ratio:1; border-color:rgba(241,210,107,.66); }
.hologram-corners i:nth-child(1) { top:0; left:0; border-top:1px solid; border-left:1px solid; }
.hologram-corners i:nth-child(2) { top:0; right:0; border-top:1px solid; border-right:1px solid; }
.hologram-corners i:nth-child(3) { bottom:0; right:0; border-bottom:1px solid; border-right:1px solid; }
.hologram-corners i:nth-child(4) { bottom:0; left:0; border-bottom:1px solid; border-left:1px solid; }

.hologram-scan {
  position: absolute;
  z-index: 7;
  left: 2%;
  right: 2%;
  height: 2px;
  top: -3%;
  pointer-events: none;
  background: linear-gradient(90deg,transparent,rgba(177,255,215,.8),#fff7cb,rgba(177,255,215,.8),transparent);
  box-shadow: 0 0 13px rgba(108,255,181,.74);
  opacity: .65;
  animation: hologramScan 3.3s linear infinite;
}

.holo-panel {
  position: absolute;
  z-index: 3;
  inset: 11% 8% 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(18px,0,0) scale(.97);
  transition: opacity .35s ease, transform .55s cubic-bezier(.22,1,.36,1), visibility .35s;
}
.holo-panel.active { opacity: 1; visibility: visible; transform: translate3d(0,0,0) scale(1); }
.holo-panel > small { color:#f1d26b; font:700 calc(var(--holo-w)*.026)/1 'Lato',sans-serif; letter-spacing:.15em; text-transform:uppercase; }
.holo-panel h3 { margin:6% 0; color:#f4fff8; font:700 calc(var(--holo-w)*.08)/1.02 'Cinzel',serif; letter-spacing:-.045em; text-shadow:0 0 22px rgba(113,255,181,.22); }
.holo-panel > p { margin:0; max-width:90%; color:rgba(222,255,236,.54); font-size:calc(var(--holo-w)*.033); line-height:1.55; }

.holo-orbit {
  position: relative;
  width: 28%;
  aspect-ratio: 1;
  margin-bottom: 8%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(241,210,107,.36);
  border-radius: 50%;
  color:#f1d26b;
  box-shadow:inset 0 0 20px rgba(212,175,55,.08),0 0 28px rgba(0,158,73,.12);
}
.holo-orbit svg { width:34%; height:auto; }
.holo-orbit span { position:absolute; inset:-12%; border:1px dashed rgba(104,255,179,.22); border-radius:50%; animation:holoOrbit 9s linear infinite; }

.holo-action {
  width: fit-content;
  margin-top: 10%;
  padding: 4% 6%;
  border: 1px solid rgba(241,210,107,.3);
  border-radius:999px;
  display:flex;
  align-items:center;
  gap:8px;
  color:#f6dc7a;
  background:rgba(212,175,55,.06);
  font:700 calc(var(--holo-w)*.025)/1 'Lato',sans-serif;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.holo-action svg { width:calc(var(--holo-w)*.036); height:auto; }

.holo-event-row {
  min-height: 15%;
  margin-bottom:4%;
  padding:4% 5%;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:7%;
  border:1px solid rgba(129,255,188,.13);
  border-radius:calc(var(--holo-w)*.032);
  background:rgba(111,255,181,.035);
}
.holo-event-row.featured { border-color:rgba(241,210,107,.32); background:linear-gradient(110deg,rgba(212,175,55,.18),rgba(0,158,73,.06)); }
.holo-event-row > b { color:#f1d26b; font:700 calc(var(--holo-w)*.06)/1 'Cinzel',serif; }
.holo-event-row > span { color:rgba(241,255,247,.82); font:700 calc(var(--holo-w)*.027)/1.15 'Lato',sans-serif; text-transform:uppercase; }
.holo-event-row small { display:block; margin-top:3px; color:rgba(217,255,233,.42); font-size:calc(var(--holo-w)*.023); font-weight:400; text-transform:none; }
.holo-event-row svg { width:calc(var(--holo-w)*.04); }

.holo-track { margin:3% 0 8%; display:grid; grid-template-columns:30% 1fr; align-items:center; gap:7%; }
.holo-cover { position:relative; aspect-ratio:1; border-radius:12%; overflow:hidden; display:grid; place-items:center; border:1px solid rgba(241,210,107,.24); }
.holo-cover img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.72; }
.holo-cover svg { position:relative; z-index:2; width:28%; filter:drop-shadow(0 2px 6px #000); }
.holo-track > div:last-child { display:flex; flex-direction:column; gap:5px; min-width:0; }
.holo-track b { color:#fff; font:700 calc(var(--holo-w)*.034)/1.2 'Cinzel',serif; }
.holo-track span { color:rgba(214,255,231,.43); font-size:calc(var(--holo-w)*.027); }
.holo-wave { height:12%; display:flex; align-items:center; gap:2.2%; }
.holo-wave i { width:4px; height:34%; border-radius:3px; background:linear-gradient(to top,#009e49,#f1d26b); animation:holoWave .9s ease-in-out infinite alternate; }
.holo-wave i:nth-child(2n) { height:72%; animation-delay:-.3s; }.holo-wave i:nth-child(3n) { height:100%; animation-delay:-.6s; }.holo-wave i:nth-child(5n) { height:52%; animation-delay:-.15s; }

.hologram-beams {
  position:absolute;
  z-index:2;
  left:40%;
  right:15%;
  top:16%;
  bottom:16%;
  pointer-events:none;
  opacity:.36;
  transform:translateZ(18px);
  filter:drop-shadow(0 0 10px rgba(90,255,170,.15));
}
.hologram-beams::before,
.hologram-beams::after {
  content:'';
  position:absolute;
  inset:6% 0;
  clip-path:polygon(0 8%,100% 42%,100% 58%,0 92%);
  background:linear-gradient(90deg,rgba(103,255,178,.015),rgba(103,255,178,.14),rgba(241,210,107,.03));
}
.hologram-beams::after { inset:14% 0; opacity:.42; clip-path:polygon(0 28%,100% 45%,100% 55%,0 72%); }
.hologram-beams span { position:absolute; left:0; right:0; height:1px; transform-origin:right; background:linear-gradient(90deg,rgba(141,255,197,.08),rgba(141,255,197,.55)); box-shadow:0 0 8px rgba(95,255,172,.36); }
.hologram-beams span:nth-child(1) { top:15%; transform:rotate(18deg); }.hologram-beams span:nth-child(2) { top:50%; transform:rotate(0); opacity:.45; }.hologram-beams span:nth-child(3) { bottom:15%; transform:rotate(-18deg); }

.showcase-hologram.switching { animation:holoSwitch .52s cubic-bezier(.22,1,.36,1); }

@keyframes hologramScan { from { transform:translateY(0); } to { transform:translateY(calc(var(--holo-w) * 1.35)); } }
@keyframes holoSurfaceSweep { from { background-position:0 0,-80% 0; } to { background-position:0 0,180% 0; } }
@keyframes holoOrbit { to { transform:rotate(360deg); } }
@keyframes holoWave { from { transform:scaleY(.35); opacity:.48; } to { transform:scaleY(1); opacity:1; } }
@keyframes holoSwitch { 0% { opacity:.88; filter:brightness(1); } 28% { opacity:.45; filter:brightness(1.9); } 55% { opacity:1; filter:brightness(1.35); } 100% { opacity:.9; filter:brightness(1); } }

@media (max-width: 900px) {
  .showcase-hologram { --holo-w:min(43vw,270px); left:2%; }
  .showcase-phone { --phone-w:min(29vw,175px); right:3%; }
  .hologram-beams { left:43%; right:18%; top:10%; bottom:20%; }
  .phone-shadow { width:min(34vw,200px); right:0; bottom:4%; }
}

@media (max-width: 560px) {
  #doctrine .doctrine-sticky-wrap::before { background-size:32px 32px; opacity:.55; }
  #doctrine .doctrine-glow { display:none!important; }
  .showcase-device-stage { padding-top:.2rem; }
  .showcase-hologram { --holo-w:min(49vw,192px); left:0; }
  .showcase-phone { --phone-w:min(36vw,142px); right:0; }
  .hologram-beams { left:41%; right:18%; top:8%; bottom:23%; opacity:.28; }
  .hologram-header,.hologram-footer { letter-spacing:.1em; }
  .holo-panel h3 { font-size:calc(var(--holo-w)*.075); }
  .holo-panel > p { display:none; }
  .holo-action { margin-top:7%; }
  .holo-event-row { margin-bottom:3%; }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-hologram,.holo-panel { transition-duration:.01ms!important; }
  .hologram-scan,.showcase-hologram::before,.holo-orbit span,.holo-wave i { animation:none!important; }
}

/* =============================================================
   40. FIXED PROJECTOR POSE + LIGHT-MAGIC PROJECTION
   ============================================================= */
.showcase-phone {
  right: -1%;
  transform: rotateX(7deg) rotateY(-58deg) rotateZ(2.25deg);
  transform-origin: center center;
  filter: drop-shadow(22px 34px 26px rgba(0,0,0,.5));
}

.showcase-phone::after {
  content: '';
  position: absolute;
  z-index: 8;
  left: -3px;
  top: 7%;
  width: 5px;
  height: 86%;
  border-radius: 999px;
  background: linear-gradient(to bottom,transparent,rgba(215,248,255,.9) 18%,#fffbdc 50%,rgba(98,255,180,.72) 82%,transparent);
  box-shadow: -8px 0 22px rgba(192,244,255,.55),-18px 0 44px rgba(80,255,170,.24);
  filter: blur(.35px);
  opacity: .68;
  pointer-events: none;
}

.showcase-phone .phone-shell {
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.36),
    inset 0 0 0 3px rgba(0,0,0,.82),
    22px 48px 85px rgba(0,0,0,.68),
    9px 0 38px rgba(0,158,73,.13);
}

/* The information no longer lives in a rectangular HUD. It floats inside
   a soft volume of light coming from the physical phone screen. */
.showcase-hologram {
  left: -1%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transform: rotateX(-1deg) rotateY(7deg) translateZ(48px);
  overflow: visible;
  opacity: .94;
}

.showcase-hologram::before {
  inset: -14% -18%;
  z-index: -2;
  border-radius: 46%;
  background:
    radial-gradient(ellipse at 60% 50%,rgba(226,250,255,.17) 0 7%,rgba(110,255,190,.13) 20%,rgba(0,158,73,.08) 43%,transparent 72%),
    conic-gradient(from 255deg at 75% 52%,transparent 0 7%,rgba(188,245,255,.09) 8% 9%,transparent 10% 14%,rgba(241,210,107,.08) 15% 16%,transparent 17% 100%);
  background-size: 100% 100%;
  filter: blur(14px) saturate(1.18);
  mix-blend-mode: screen;
  animation: none;
  opacity: .95;
}

.showcase-hologram::after {
  inset: -8% -12%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 67% 50%,rgba(246,255,250,.075),transparent 34%),
    repeating-conic-gradient(from 260deg at 78% 50%,transparent 0deg 5deg,rgba(97,255,177,.035) 5.5deg 6deg,transparent 6.5deg 13deg);
  box-shadow: none;
  -webkit-mask-image: radial-gradient(ellipse,#000 0 36%,transparent 74%);
  mask-image: radial-gradient(ellipse,#000 0 36%,transparent 74%);
  opacity: .78;
}

.hologram-header,
.hologram-footer,
.hologram-corners { display: none; }

.holo-panel {
  inset: 8% 5%;
  padding: 8%;
  border-radius: 18%;
  filter: drop-shadow(0 0 13px rgba(79,255,168,.14));
}

.holo-panel::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 4% 0;
  border-radius: 42%;
  background: radial-gradient(ellipse,rgba(0,54,29,.2),rgba(0,16,9,.08) 48%,transparent 74%);
  filter: blur(9px);
  pointer-events: none;
}

.holo-panel h3 {
  color: rgba(244,255,249,.94);
  text-shadow: 0 0 8px rgba(224,255,239,.13),0 0 28px rgba(72,255,161,.16);
}
.holo-panel > p { color:rgba(226,255,238,.62); text-shadow:0 0 12px rgba(75,255,163,.13); }
.holo-event-row { background:rgba(23,118,70,.045); box-shadow:0 0 18px rgba(54,255,149,.025); }

.hologram-scan {
  left: -5%;
  right: -5%;
  top: 4%;
  height: 3px;
  opacity: 0;
  animation: none;
  background: linear-gradient(90deg,transparent,rgba(179,244,255,.55),#fff,rgba(241,210,107,.85),rgba(92,255,173,.55),transparent);
  box-shadow: 0 0 18px rgba(194,250,255,.75),0 0 34px rgba(65,255,158,.38);
}

.hologram-beams {
  left: 35%;
  right: 8%;
  top: 9%;
  bottom: 9%;
  opacity: .6;
  filter: drop-shadow(0 0 14px rgba(169,239,255,.18));
  transform-origin: right center;
}

.hologram-beams::before,
.hologram-beams::after {
  inset: 2% 0;
  clip-path: polygon(0 2%,100% 45%,100% 55%,0 98%);
  background:
    radial-gradient(ellipse at 100% 50%,rgba(255,255,238,.5),rgba(181,242,255,.2) 8%,rgba(78,255,168,.11) 28%,transparent 70%),
    linear-gradient(90deg,rgba(67,255,157,.035),rgba(178,246,255,.14) 72%,rgba(255,251,218,.46));
  filter: blur(7px);
}
.hologram-beams::after {
  inset: 12% 0;
  opacity: .7;
  clip-path: polygon(0 23%,100% 47%,100% 53%,0 77%);
  filter: blur(3px);
}
.hologram-beams span {
  left: 0;
  right: 0;
  background: linear-gradient(90deg,rgba(77,255,166,.04),rgba(178,242,255,.22) 68%,rgba(255,255,237,.9));
  box-shadow: 0 0 10px rgba(191,247,255,.48),0 0 22px rgba(72,255,161,.22);
}

/* Brief analog-horror interference on a content change, then complete calm. */
.showcase-hologram.switching {
  animation: magicEmitterGlitch .72s steps(1,end) both;
}
.showcase-hologram.switching .holo-panel.active {
  animation: magicContentGlitch .72s steps(1,end) both;
}
.showcase-hologram.switching .hologram-scan {
  animation: magicScanCrash .72s steps(1,end) both;
}
.showcase-hologram.switching::before {
  animation: magicAuraKick .72s steps(1,end) both;
}

@keyframes magicEmitterGlitch {
  0%   { opacity:.08; filter:brightness(2.4) contrast(1.6); }
  6%   { opacity:.9; transform:translate3d(-7px,2px,48px) rotateY(7deg) skewX(1.8deg); filter:brightness(1.8) contrast(1.35) hue-rotate(18deg); }
  11%  { opacity:.28; transform:translate3d(5px,-2px,48px) rotateY(7deg) skewX(-2deg); filter:brightness(2.2) contrast(1.6); }
  17%  { opacity:1; transform:translate3d(-3px,1px,48px) rotateY(7deg); filter:brightness(1.45) contrast(1.2); }
  24%  { opacity:.56; transform:translate3d(2px,0,48px) rotateY(7deg); filter:brightness(1.7); }
  34%  { opacity:.96; transform:translate3d(0,0,48px) rotateY(7deg); filter:brightness(1.15); }
  48%,100% { opacity:.94; transform:translate3d(0,0,48px) rotateX(-1deg) rotateY(7deg); filter:none; }
}

@keyframes magicContentGlitch {
  0%   { opacity:0; transform:translate3d(-13px,0,0) scale(.985); filter:drop-shadow(-7px 0 rgba(214,20,73,.75)) drop-shadow(7px 0 rgba(57,235,255,.7)); clip-path:inset(0 0 74% 0); }
  6%   { opacity:1; transform:translate3d(8px,-2px,0) skewX(3deg); filter:drop-shadow(-4px 0 rgba(214,20,73,.65)) drop-shadow(5px 0 rgba(57,235,255,.7)); clip-path:inset(18% 0 35% 0); }
  11%  { opacity:.3; transform:translate3d(-5px,2px,0); filter:brightness(2.1); clip-path:inset(56% 0 8% 0); }
  17%  { opacity:1; transform:translate3d(3px,0,0) skewX(-1.5deg); filter:drop-shadow(-2px 0 rgba(214,20,73,.45)) drop-shadow(3px 0 rgba(57,235,255,.45)); clip-path:inset(0); }
  24%  { opacity:.62; transform:translate3d(-2px,0,0); filter:brightness(1.45) blur(.45px); }
  34%  { opacity:1; transform:translate3d(1px,0,0); filter:brightness(1.08); }
  48%,100% { opacity:1; transform:translate3d(0,0,0) scale(1); filter:drop-shadow(0 0 13px rgba(79,255,168,.14)); clip-path:inset(0); }
}

@keyframes magicScanCrash {
  0% { opacity:0; transform:translateY(0); }
  6% { opacity:1; transform:translateY(calc(var(--holo-w)*.18)); }
  11% { opacity:.25; transform:translateY(calc(var(--holo-w)*.42)); }
  17% { opacity:.9; transform:translateY(calc(var(--holo-w)*.68)); }
  24% { opacity:.4; transform:translateY(calc(var(--holo-w)*.92)); }
  34% { opacity:.7; transform:translateY(calc(var(--holo-w)*1.18)); }
  48%,100% { opacity:0; transform:translateY(calc(var(--holo-w)*1.35)); }
}

@keyframes magicAuraKick {
  0% { opacity:.18; filter:blur(8px) brightness(2.2); }
  11% { opacity:1; filter:blur(20px) brightness(1.7) hue-rotate(14deg); }
  24% { opacity:.58; filter:blur(11px) brightness(1.3); }
  48%,100% { opacity:.95; filter:blur(14px) saturate(1.18); }
}

@media (max-width:900px) {
  .showcase-phone { right:1%; }
  .hologram-beams { left:36%; right:8%; top:4%; bottom:15%; }
}

@media (max-width:560px) {
  .showcase-phone { right:-1%; }
  .showcase-hologram { left:-2%; }
  .hologram-beams { left:34%; right:8%; top:3%; bottom:19%; opacity:.48; }
}

@media (prefers-reduced-motion:reduce) {
  .showcase-hologram.switching,
  .showcase-hologram.switching .holo-panel.active,
  .showcase-hologram.switching .hologram-scan,
  .showcase-hologram.switching::before { animation:none!important; }
}

/* =============================================================
   41. DEEPER PROJECTOR ANGLE + VISIBLE SCREEN EMISSION
   ============================================================= */
.showcase-phone {
  transform: rotateX(10deg) rotateY(-75deg) rotateZ(5deg);
}

/* Concentrated flare attached to the screen glass itself. */
.showcase-phone::before {
  display: none;
}

.showcase-phone .phone-screen {
  filter: brightness(1.16) saturate(1.08);
  box-shadow: inset 0 0 0 1px rgba(226,250,255,.1), inset 8px 0 24px rgba(179,245,255,.07);
}

.showcase-phone .phone-screen::after {
  content: '';
  position: absolute;
  z-index: 40;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(90deg,rgba(221,251,255,.22),rgba(119,255,188,.075) 16%,transparent 42%),
    radial-gradient(ellipse at 0 50%,rgba(255,253,220,.2),transparent 32%);
  box-shadow: inset 5px 0 17px rgba(215,249,255,.16);
  mix-blend-mode: screen;
}

.showcase-phone::after {
  width: 7px;
  left: -5px;
  opacity: .9;
  background: linear-gradient(to bottom,transparent,rgba(218,249,255,.98) 15%,#fffdec 50%,rgba(102,255,184,.85) 85%,transparent);
  box-shadow: -8px 0 25px rgba(210,249,255,.8),-22px 0 55px rgba(78,255,168,.4);
}

.hologram-beams {
  left: -4%;
  right: 46%;
  top: 5%;
  bottom: 5%;
  filter: drop-shadow(0 0 18px rgba(178,242,255,.28)) drop-shadow(0 0 34px rgba(64,255,157,.13));
}

.hologram-beams::before,
.hologram-beams::after {
  background:
    radial-gradient(ellipse at 100% 50%,rgba(255,255,242,.88) 0 2%,rgba(199,245,255,.48) 7%,rgba(87,255,173,.2) 24%,transparent 69%),
    linear-gradient(90deg,rgba(55,255,153,.045),rgba(152,238,255,.2) 72%,rgba(255,253,224,.74));
}

.hologram-beams span {
  background: linear-gradient(90deg,rgba(77,255,166,.05),rgba(184,245,255,.28) 68%,rgba(255,255,239,1));
  box-shadow: 0 0 13px rgba(205,250,255,.68),0 0 28px rgba(72,255,161,.3);
}

.showcase-hologram::before {
  background:
    radial-gradient(ellipse at 68% 50%,rgba(238,253,255,.24) 0 6%,rgba(116,255,193,.17) 21%,rgba(0,158,73,.09) 45%,transparent 74%),
    conic-gradient(from 255deg at 82% 52%,transparent 0 7%,rgba(199,247,255,.13) 8% 9%,transparent 10% 14%,rgba(241,210,107,.1) 15% 16%,transparent 17% 100%);
}

@media (max-width:900px) {
  .hologram-beams { left:-3%; right:36%; top:1%; bottom:11%; }
}

@media (max-width:560px) {
  .hologram-beams { left:-3%; right:36%; top:0; bottom:15%; }
}

/* =============================================================
   42. FEATHERED LIGHT-MAGIC PROJECTION
   ============================================================= */
.hologram-beams {
  mix-blend-mode: screen;
  filter:
    blur(.7px)
    drop-shadow(0 0 20px rgba(214,250,255,.42))
    drop-shadow(0 0 48px rgba(70,255,164,.24));
}

.hologram-beams::before,
.hologram-beams::after {
  background:
    radial-gradient(ellipse at 100% 50%,rgba(255,255,248,.9) 0 1.5%,rgba(210,249,255,.36) 8%,rgba(97,255,180,.13) 28%,rgba(36,207,124,.045) 52%,transparent 76%),
    linear-gradient(90deg,transparent 0%,rgba(65,255,166,.025) 20%,rgba(156,241,255,.09) 72%,rgba(255,255,239,.34) 100%);
}

.hologram-beams::before {
  opacity: .5;
  filter: blur(18px) saturate(1.22) brightness(1.08);
  animation: projectorGlowBreath 4.2s ease-in-out infinite;
}

.hologram-beams::after {
  opacity: .34;
  filter: blur(9px) saturate(1.15);
}

.hologram-beams span {
  opacity: .38;
  filter: blur(.55px);
  background: linear-gradient(90deg,transparent,rgba(177,248,255,.22) 74%,rgba(255,255,244,.9));
  box-shadow: 0 0 15px rgba(218,251,255,.72),0 0 34px rgba(72,255,164,.36);
}

.showcase-phone .phone-screen {
  filter: brightness(1.22) saturate(1.1);
}

.showcase-phone::after {
  opacity: .96;
  filter: blur(.45px);
  box-shadow: -10px 0 30px rgba(222,251,255,.9),-30px 0 70px rgba(73,255,169,.52);
}

@keyframes projectorGlowBreath {
  0%,100% { opacity:.44; filter:blur(18px) saturate(1.2) brightness(1); }
  50% { opacity:.58; filter:blur(22px) saturate(1.28) brightness(1.18); }
}

@media (prefers-reduced-motion:reduce) {
  .hologram-beams::before { animation:none; }
}

/* =============================================================
   43. GOOGLE DRIVE VIDEO ARCHIVE
   ============================================================= */
.video-archive-status-row {
  min-height: 1.4em;
  margin: -1.4rem auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
}

.video-archive-status {
  margin: 0;
  color: rgba(222,232,227,.55);
  font: 500 .76rem/1.4 'Lato',sans-serif;
  letter-spacing: .08em;
  text-align: center;
}

.video-archive-refresh {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .42rem .62rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: rgba(255,255,255,.66);
  background: rgba(255,255,255,.035);
  font: 700 .58rem/1 'Lato',sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: color .25s ease,border-color .25s ease,background .25s ease;
}
.video-archive-refresh:hover { color:#f1d26b; border-color:rgba(241,210,107,.3); background:rgba(212,175,55,.06); }
.video-archive-refresh svg { width:12px; height:12px; }

.video-archive-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(1.25rem,2.4vw,2rem);
  max-width: 76rem;
  margin-inline: auto;
  align-items: start;
  justify-items: center;
}

.archive-video-card {
  position: relative;
  width: 100%;
  max-width: 44rem;
  container-type: inline-size;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.105);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 85% 8%,rgba(0,158,73,.12),transparent 34%),
    linear-gradient(145deg,rgba(17,24,20,.98),rgba(5,8,6,.98));
  box-shadow: 0 18px 52px rgba(0,0,0,.38);
  transition: transform .45s cubic-bezier(.22,1,.36,1),border-color .35s ease,box-shadow .35s ease;
}

.archive-video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(241,210,107,.34);
  box-shadow: 0 26px 70px rgba(0,0,0,.52),0 0 34px rgba(0,158,73,.08);
}

.archive-video-card:last-child:nth-child(odd) { grid-column:1/-1; }

.archive-video-shell {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16/9;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%,rgba(0,158,73,.25),transparent 34%),
    linear-gradient(135deg,#06120b,#020403);
}

.archive-video-shell::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom,rgba(0,0,0,.04),transparent 42%,rgba(0,0,0,.74));
}

.archive-video-shell > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .76;
  filter: saturate(.82) contrast(1.06);
  transform: scale(1.015);
  transition: transform .8s cubic-bezier(.22,1,.36,1),opacity .45s ease,filter .45s ease;
}

.archive-video-card:hover .archive-video-shell > img {
  opacity: .9;
  filter: saturate(1) contrast(1.08);
  transform: scale(1.055);
}

.archive-video-category,
.archive-video-ready {
  position: absolute;
  z-index: 3;
  top: .9rem;
  left: .9rem;
  padding: .46rem .72rem;
  border: 1px solid rgba(241,210,107,.26);
  border-radius: 999px;
  color: #f1d26b;
  background: rgba(4,9,6,.74);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font: 700 .61rem/1 'Lato',sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.archive-video-quality-badge {
  position: absolute;
  z-index: 3;
  top: .9rem;
  right: .9rem;
  padding: .45rem .62rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  background: rgba(4,9,6,.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font: 800 .59rem/1 'Lato',sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.archive-video-ready {
  top: auto;
  left: auto;
  right: .9rem;
  bottom: .85rem;
  border-color: transparent;
  color: rgba(255,255,255,.72);
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.archive-video-play {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: clamp(3.4rem,5vw,4.25rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  color: #071008;
  background: linear-gradient(145deg,#fff4b0,#d4af37);
  box-shadow: 0 0 0 10px rgba(255,255,255,.06),0 14px 36px rgba(0,0,0,.45),0 0 38px rgba(241,210,107,.22);
  transform: translate(-50%,-50%);
  transition: transform .3s cubic-bezier(.22,1,.36,1),box-shadow .3s ease;
}

.archive-video-play::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(241,210,107,.24);
  border-radius: inherit;
  animation: archivePlayPulse 2.6s ease-out infinite;
}

.archive-video-play svg { width: 30%; height: auto; margin-left: 4%; fill: currentColor; }
.archive-video-play:hover { transform:translate(-50%,-50%) scale(1.1); box-shadow:0 0 0 13px rgba(255,255,255,.08),0 18px 42px rgba(0,0,0,.5),0 0 44px rgba(241,210,107,.34); }
.archive-video-play:focus-visible,.archive-video-expand:focus-visible { outline:2px solid #fff; outline-offset:3px; }

.archive-video-copy { padding: 1.25rem 1.25rem 1.45rem; }
.archive-video-copy > span { display:block; margin-bottom:.5rem; color:#d4af37; font:700 .62rem/1 'Lato',sans-serif; letter-spacing:.13em; text-transform:uppercase; }
.archive-video-copy h2 { margin:0; color:#fff; font:600 clamp(1.05rem,1.6vw,1.28rem)/1.2 'Cinzel',serif; }
.archive-video-copy p { margin:.65rem 0 0; color:rgba(222,232,227,.48); font-size:.76rem; line-height:1.5; }

.archive-video-shell.is-playing { background:#000; }
.archive-video-shell.is-playing::after { display:none; }
.archive-video-shell iframe,
.archive-video-shell video { position:absolute; inset:0; width:100%; height:100%; border:0; background:#000; }
.archive-video-shell video { object-fit:contain; }

.archive-video-expand {
  position: absolute;
  z-index: 6;
  right: .7rem;
  top: .7rem;
  display: flex;
  align-items: center;
  gap: .42rem;
  padding: .55rem .72rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(0,0,0,.78);
  box-shadow: 0 6px 24px rgba(0,0,0,.4);
  font: 700 .62rem/1 'Lato',sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.archive-video-expand svg { width:14px; height:14px; }

.archive-video-shell:fullscreen,
.archive-video-shell:-webkit-full-screen { width:100vw; height:100vh; aspect-ratio:auto; background:#000; }

.archive-empty-state {
  grid-column: 1/-1;
  min-height: 19rem;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed rgba(241,210,107,.18);
  border-radius: 1.5rem;
  background: radial-gradient(circle at 50% 42%,rgba(0,158,73,.1),transparent 40%);
}
.archive-empty-icon { width:4.25rem; aspect-ratio:1; display:grid; place-items:center; margin-bottom:1.35rem; border:1px solid rgba(241,210,107,.2); border-radius:50%; color:#f1d26b; background:rgba(212,175,55,.055); box-shadow:0 0 42px rgba(0,158,73,.1); }
.archive-empty-icon svg { width:1.55rem; height:1.55rem; }
.archive-empty-state h2 { margin:0; color:#fff; font:600 1.35rem/1.2 'Cinzel',serif; }
.archive-empty-state p { max-width:32rem; margin:.85rem 0 0; color:rgba(222,232,227,.54); line-height:1.65; }
.archive-empty-state button { margin-top:1.35rem; padding:.75rem 1rem; display:flex; align-items:center; gap:.5rem; border:1px solid rgba(241,210,107,.32); border-radius:999px; color:#f1d26b; background:rgba(212,175,55,.055); font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.archive-empty-state button svg { width:14px; }

.archive-video-skeleton {
  overflow: hidden;
  min-height: 19rem;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 1.25rem;
  background:#080d0a;
}
.archive-video-skeleton span,.archive-video-skeleton i,.archive-video-skeleton b { display:block; background:linear-gradient(90deg,rgba(255,255,255,.035),rgba(255,255,255,.085),rgba(255,255,255,.035)); background-size:220% 100%; animation:archiveSkeleton 1.7s ease-in-out infinite; }
.archive-video-skeleton span { aspect-ratio:16/9; }
.archive-video-skeleton i { width:30%; height:.55rem; margin:1.2rem 1.2rem .7rem; border-radius:999px; }
.archive-video-skeleton b { width:68%; height:1.15rem; margin:0 1.2rem; border-radius:999px; }

@keyframes archivePlayPulse { 0%{opacity:.7;transform:scale(.82)} 72%,100%{opacity:0;transform:scale(1.35)} }
@keyframes archiveSkeleton { 0%{background-position:100% 0} 100%{background-position:-120% 0} }

@media (max-width:900px) { .video-archive-grid { grid-template-columns:minmax(0,1fr); max-width:44rem; } }
@media (max-width:600px) {
  .video-archive-grid { grid-template-columns:1fr; gap:1.15rem; }
  .video-archive-status-row { margin-top:-1rem; flex-direction:column; }
  .archive-video-card:hover { transform:none; }
  .archive-video-expand span { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  .archive-video-play::before,.archive-video-skeleton span,.archive-video-skeleton i,.archive-video-skeleton b { animation:none; }
  .archive-video-card,.archive-video-shell > img { transition:none; }
}

/* =============================================================
   44. LEGIBLE WEEKLY SCHEDULE
   ============================================================= */
.holo-events .holo-event-row {
  min-height: 17%;
  padding: 4.5% 5.5%;
  gap: 6%;
}

.holo-events .holo-event-row > b {
  min-width: 2.7em;
  font-size: clamp(1.05rem,calc(var(--holo-w)*.07),1.55rem);
}

.holo-events .holo-event-row > span {
  font-size: clamp(.76rem,calc(var(--holo-w)*.038),.92rem);
  line-height: 1.15;
}

.holo-events .holo-event-row small {
  margin-top: 5px;
  font-size: clamp(.66rem,calc(var(--holo-w)*.03),.76rem);
  line-height: 1.25;
}

.holo-events .holo-event-row svg {
  width: clamp(1rem,calc(var(--holo-w)*.047),1.25rem);
}

.phone-panel-events .phone-date-card b {
  min-width: 2.6em;
  font-size: clamp(.72rem,calc(var(--phone-w)*.065),1.25rem);
}

.phone-panel-events .phone-date-card span {
  font-size: clamp(.58rem,calc(var(--phone-w)*.032),.78rem);
}

.phone-panel-events .phone-date-card small {
  font-size: clamp(.54rem,calc(var(--phone-w)*.028),.68rem);
}

/* =============================================================
   45. CINEMATIC ARCHIVE PLAYER
   ============================================================= */
.archive-player-loader {
  position: absolute;
  z-index: 8;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  color: rgba(255,255,255,.72);
  background: radial-gradient(circle,rgba(0,48,25,.32),rgba(0,0,0,.58));
  font: 700 .65rem/1 'Lato',sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease,visibility .2s ease;
}

.archive-player-loader span {
  width: 2.35rem;
  aspect-ratio: 1;
  border: 2px solid rgba(255,255,255,.14);
  border-top-color: #f1d26b;
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(241,210,107,.12);
  animation: archivePlayerSpin .8s linear infinite;
}

.archive-video-shell.is-loading .archive-player-loader { opacity:1; visibility:visible; }
.archive-video-shell.is-loading video { opacity:.7; }

.archive-player-controls {
  position: absolute;
  z-index: 9;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem .8rem .72rem;
  color: #fff;
  background: linear-gradient(to bottom,transparent,rgba(0,0,0,.48) 26%,rgba(0,0,0,.92));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease,transform .25s ease;
}

.archive-video-shell.controls-visible .archive-player-controls,
.archive-player-controls:focus-within { opacity:1; transform:translateY(0); }

.archive-player-timeline {
  --video-progress: 0%;
  width: 100%;
  height: 4px;
  display: block;
  margin: 0 0 .65rem;
  border: 0;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background: linear-gradient(to right,#f1d26b 0 var(--video-progress),rgba(255,255,255,.22) var(--video-progress) 100%);
  box-shadow: 0 0 12px rgba(241,210,107,.08);
}

.archive-player-timeline::-webkit-slider-thumb,
.archive-player-volume::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid #171408;
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background: #f1d26b;
  box-shadow: 0 0 0 3px rgba(241,210,107,.18);
}

.archive-player-timeline::-moz-range-thumb,
.archive-player-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 2px solid #171408;
  border-radius: 50%;
  background: #f1d26b;
  box-shadow: 0 0 0 3px rgba(241,210,107,.18);
}

.archive-player-timeline::-moz-range-progress { height:4px; border-radius:999px; background:#f1d26b; }
.archive-player-timeline::-moz-range-track { height:4px; border-radius:999px; background:rgba(255,255,255,.22); }

.archive-player-control-row {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .58rem;
}

.archive-player-control-row button {
  flex: 0 0 auto;
  width: 2rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.065);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  transition: color .2s ease,background .2s ease,border-color .2s ease,transform .2s ease;
}

.archive-player-control-row button:hover { color:#0b100c; border-color:#f1d26b; background:#f1d26b; transform:scale(1.08); }
.archive-player-control-row button:focus-visible,.archive-player-timeline:focus-visible,.archive-player-volume:focus-visible { outline:2px solid #fff; outline-offset:2px; }
.archive-player-control-row button svg { width:14px; height:14px; }
.archive-player-time { flex:0 0 auto; min-width:5.7rem; color:rgba(255,255,255,.72); font:700 .61rem/1 'Lato',sans-serif; font-variant-numeric:tabular-nums; }
.archive-player-control-row strong { min-width:0; margin-right:auto; overflow:hidden; color:rgba(255,255,255,.86); font:600 .68rem/1.2 'Cinzel',serif; text-overflow:ellipsis; white-space:nowrap; }

.archive-player-quality {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .52rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: rgba(255,255,255,.56);
  background: rgba(255,255,255,.055);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.archive-player-quality > span {
  font: 700 .52rem/1 'Lato',sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.archive-player-quality select {
  max-width: 7.4rem;
  border: 0;
  outline: 0;
  color: #f1d26b;
  background: transparent;
  cursor: pointer;
  font: 800 .58rem/1 'Lato',sans-serif;
}

.archive-player-quality select option { color:#fff; background:#090d0a; }
.archive-player-quality:focus-within { border-color:rgba(241,210,107,.48); box-shadow:0 0 0 2px rgba(241,210,107,.11); }

.archive-player-volume {
  width: 3.6rem;
  height: 3px;
  flex: 0 0 auto;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255,255,255,.28);
}

.archive-video-shell:fullscreen .archive-player-controls,
.archive-video-shell:-webkit-full-screen .archive-player-controls { padding:5rem 2rem 1.5rem; }
.archive-video-shell:fullscreen .archive-player-control-row button,
.archive-video-shell:-webkit-full-screen .archive-player-control-row button { width:2.65rem; }
.archive-video-shell:fullscreen .archive-player-time,
.archive-video-shell:-webkit-full-screen .archive-player-time { font-size:.75rem; }

@keyframes archivePlayerSpin { to { transform:rotate(360deg); } }

@media (max-width:600px) {
  .archive-player-controls { padding:2rem .58rem .48rem; }
  .archive-player-control-row { gap:.38rem; }
  .archive-player-control-row strong,.archive-player-volume { display:none; }
  .archive-player-control-row [data-player-mute] { display:none; }
  .archive-player-time { min-width:0; margin-right:auto; font-size:.58rem; }
  .archive-player-control-row button { width:1.9rem; }
  .archive-player-quality { padding:.36rem .42rem; }
  .archive-player-quality > span { display:none; }
  .archive-player-quality select { max-width:5.8rem; font-size:.55rem; }
}

@container (max-width: 34rem) {
  .archive-player-control-row strong { display:none; }
  .archive-player-volume { display:none; }
}

@container (max-width: 27rem) {
  .archive-player-control-row [data-player-mute] { display:none; }
  .archive-player-control-row { gap:.34rem; }
  .archive-player-time { min-width:0; margin-right:auto; }
  .archive-player-quality > span { display:none; }
}

@media (prefers-reduced-motion:reduce) {
  .archive-player-loader span { animation:none; }
  .archive-player-controls { transition:none; }
}

/* =============================================================
   46. OPEN-BIBLE ANNOUNCEMENTS
   ============================================================= */
.announcement-bible-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 40%,rgba(0,105,51,.2),transparent 48%),
    radial-gradient(ellipse at 50% 100%,rgba(212,175,55,.08),transparent 40%),
    linear-gradient(180deg,#070b08,#010302 78%);
}

.announcement-bible-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse,#000,transparent 76%);
  mask-image: radial-gradient(ellipse,#000,transparent 76%);
}

.announcement-bible-wrap { position:relative; z-index:1; width:min(100%,94rem); }
.announcement-bible-stage { position:relative; min-height:38rem; padding:0 3.8rem 3rem; }

.announcement-book-loading,
.announcement-book-empty {
  min-height: 34rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(255,255,255,.48);
  text-align: center;
}
.announcement-book-loading svg,.announcement-book-empty svg { width:3rem; height:3rem; color:#d4af37; filter:drop-shadow(0 0 20px rgba(212,175,55,.18)); }
.announcement-book-empty h3 { margin:0; color:#fff; font:600 1.4rem/1.2 'Cinzel',serif; }
.announcement-book-empty p { margin:0; }

.announcement-bible {
  position: relative;
  width: 100%;
  max-width: 82rem;
  margin: 0 auto;
  outline: none;
  perspective: 3000px;
}

.announcement-bible:focus-visible .announcement-book-cover { box-shadow:0 0 0 2px rgba(241,210,107,.7),0 34px 95px rgba(0,0,0,.7),0 0 100px rgba(0,158,73,.1); }

.announcement-book-cover {
  position: relative;
  padding: clamp(.75rem,1.5vw,1.3rem);
  border: 1px solid rgba(241,210,107,.42);
  border-radius: 1.4rem 1.4rem 1.05rem 1.05rem;
  background:
    linear-gradient(100deg,rgba(255,255,255,.06),transparent 8% 92%,rgba(0,0,0,.26)),
    repeating-linear-gradient(93deg,rgba(255,255,255,.025) 0 1px,transparent 1px 5px),
    radial-gradient(ellipse at 50% 0,rgba(132,75,30,.34),transparent 46%),
    linear-gradient(145deg,#4a2611,#160904 48%,#3b1c0b);
  box-shadow:
    inset 0 0 0 3px rgba(37,14,5,.78),
    inset 0 0 0 6px rgba(212,175,55,.2),
    inset 0 0 42px rgba(0,0,0,.48),
    0 34px 95px rgba(0,0,0,.7),
    0 0 100px rgba(0,158,73,.09);
}

.announcement-book-cover::before,
.announcement-book-cover::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 2%;
  right: 2%;
  bottom: -10px;
  height: 18px;
  border-radius: 0 0 45% 45%;
  background: linear-gradient(180deg,#251006,#090402);
  box-shadow: 0 18px 30px rgba(0,0,0,.5);
}
.announcement-book-cover::after { bottom:-5px; left:4%; right:4%; height:9px; background:rgba(212,175,55,.18); box-shadow:none; }

.announcement-book-pages {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) 14px minmax(0,1fr);
  height: clamp(37rem,48vw,43rem);
  min-height: 0;
  transform-style: preserve-3d;
  isolation: isolate;
}

.announcement-book-pages::after {
  content:'';
  position:absolute;
  z-index:24;
  inset:.28rem;
  pointer-events:none;
  border:1px solid rgba(190,143,50,.22);
  border-radius:.52rem;
  box-shadow:inset 0 0 0 1px rgba(255,246,206,.26),inset 0 0 24px rgba(120,76,25,.08);
}

.announcement-paper {
  position: relative;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  contain: layout paint;
  color: #2e261c;
  background:
    radial-gradient(circle at 20% 12%,rgba(255,255,255,.62),transparent 28%),
    radial-gradient(circle at 78% 72%,rgba(127,85,36,.045) 0 1px,transparent 2px),
    repeating-linear-gradient(0deg,rgba(77,52,25,.025) 0 1px,transparent 1px 5px),
    linear-gradient(105deg,#eee2c9,#fffaf0 45%,#e1d0ae);
  background-size:auto,19px 23px,auto,auto;
  box-shadow: inset 0 0 54px rgba(91,58,26,.16),inset 0 0 0 1px rgba(103,70,35,.2);
}

.announcement-paper-image { border-radius:.72rem 0 0 .72rem; display:grid; grid-template-rows:auto minmax(0,1fr) auto; padding:clamp(1.15rem,2.4vw,2.2rem); padding-right:clamp(1.4rem,3vw,2.8rem); box-shadow:inset -1px 0 rgba(104,68,27,.18),inset 0 -4px rgba(192,143,47,.24),-2px 2px 0 rgba(177,129,39,.32); }
.announcement-paper-copy { border-radius:0 .72rem .72rem 0; padding:clamp(2rem,4vw,4.1rem) clamp(1.8rem,3.6vw,3.8rem) clamp(1.8rem,3vw,3rem); display:flex; flex-direction:column; box-shadow:inset 1px 0 rgba(104,68,27,.18),inset 0 -4px rgba(192,143,47,.24),2px 2px 0 rgba(177,129,39,.32); }

.announcement-paper::before {
  content: '';
  position: absolute;
  inset: .8rem;
  pointer-events: none;
  border: 1px solid rgba(126,89,43,.22);
  border-radius: .25rem;
  box-shadow:inset 0 0 0 3px rgba(255,250,229,.34),inset 0 0 0 4px rgba(126,89,43,.07);
}

.announcement-paper-copy::after {
  content:'✝';
  position:absolute;
  right:8%;
  bottom:12%;
  color:rgba(129,91,37,.045);
  font:400 clamp(8rem,16vw,14rem)/1 Georgia,serif;
  pointer-events:none;
  transform:rotate(-2deg);
}

.announcement-bible-running-head { position:relative; z-index:3; display:flex; align-items:center; justify-content:center; gap:.7rem; margin:-.25rem 0 .8rem; color:rgba(126,90,36,.72); font:700 .56rem/1 'Cinzel',serif; letter-spacing:.14em; text-transform:uppercase; white-space:nowrap; }
.announcement-bible-running-head::before,.announcement-bible-running-head::after { content:''; width:min(3rem,12%); height:1px; background:linear-gradient(90deg,transparent,rgba(141,101,41,.42)); }
.announcement-bible-running-head::after { background:linear-gradient(90deg,rgba(141,101,41,.42),transparent); }
.announcement-bible-running-head i { color:#9a7229; font:400 .82rem/1 Georgia,serif; }
.announcement-paper-copy > .announcement-bible-running-head { margin:-1rem 0 1.55rem; }

.announcement-page-edge { position:absolute; z-index:2; top:0; bottom:0; width:16%; pointer-events:none; }
.announcement-paper-image .announcement-page-edge { right:0; background:linear-gradient(90deg,transparent,rgba(68,44,22,.12)); }
.announcement-paper-copy .announcement-page-edge { left:0; background:linear-gradient(90deg,rgba(68,44,22,.14),transparent); }

.announcement-image-frame {
  position: relative;
  z-index: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(.55rem,1.2vw,1rem);
  border: 1px solid rgba(107,75,38,.25);
  border-radius: .35rem;
  background:
    radial-gradient(circle at 50% 38%,rgba(212,175,55,.12),transparent 48%),
    #17140f;
  box-shadow: inset 0 0 0 5px rgba(255,250,235,.55),0 15px 35px rgba(67,39,18,.16);
}

.announcement-image-frame img { display:block; width:100%; height:100%; object-fit:contain; filter:saturate(.96) contrast(1.02); contain:size layout paint; }
.announcement-image-fallback { display:flex; flex-direction:column; align-items:center; gap:.8rem; color:rgba(241,210,107,.62); font:700 .68rem/1 'Lato',sans-serif; letter-spacing:.14em; text-transform:uppercase; }
.announcement-image-fallback[hidden],.announcement-image-frame img[hidden] { display:none; }
.announcement-image-fallback svg { width:2.3rem; height:2.3rem; }

.announcement-image-caption { position:relative; z-index:2; min-height:4.25rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem .35rem 0; border-top:1px solid rgba(104,71,35,.13); color:#6d5234; }
.announcement-image-caption span { font:800 .68rem/1 'Lato',sans-serif; letter-spacing:.14em; text-transform:uppercase; }
.announcement-image-caption b { font:600 .75rem/1 'Lato',sans-serif; }

.announcement-copy-kicker { display:flex; align-items:center; gap:.6rem; color:#8b641f; font:800 .7rem/1 'Lato',sans-serif; letter-spacing:.17em; text-transform:uppercase; }
.announcement-copy-kicker svg { width:1.05rem; height:1.05rem; }
.announcement-paper-copy time { margin-top:1.1rem; color:#8a7459; font:700 .76rem/1 'Lato',sans-serif; letter-spacing:.1em; text-transform:uppercase; }
.announcement-paper-copy h3 { max-width:95%; margin:1.1rem 0 1.25rem; color:#251c12; font:700 clamp(2rem,3.1vw,3.15rem)/1.04 'Cinzel',serif; letter-spacing:-.035em; text-wrap:balance; }
.announcement-copy-rule { display:flex; align-items:center; gap:.65rem; width:min(17rem,70%); margin-bottom:1.25rem; color:#a87921; }
.announcement-copy-rule span { height:1px; flex:1; background:linear-gradient(90deg,transparent,currentColor); }
.announcement-copy-rule span:last-child { background:linear-gradient(90deg,currentColor,transparent); }
.announcement-copy-rule i { width:.42rem; aspect-ratio:1; background:currentColor; transform:rotate(45deg); }
.announcement-copy-body { position:relative; z-index:2; flex:1 1 auto; min-height:0; padding-right:.55rem; overflow:auto; overscroll-behavior:contain; color:#493d30; font:400 clamp(1.02rem,1.35vw,1.2rem)/1.78 Georgia,'Times New Roman',serif; scrollbar-color:rgba(139,100,31,.4) transparent; }
.announcement-copy-body p { margin:0 0 1rem; }
.announcement-copy-body p:first-child::first-letter { float:left; margin:.1em .12em 0 0; color:#8b641f; font:700 3.15em/.78 'Cinzel',serif; }
.announcement-paper-copy footer { position:relative; z-index:2; margin-top:auto; padding-top:1.15rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; border-top:1px solid rgba(105,73,39,.18); color:#7e6a50; font:700 .59rem/1.45 'Lato',sans-serif; letter-spacing:.1em; text-transform:uppercase; }
.announcement-paper-copy footer b { color:#8b641f; font-weight:900; }
.announcement-paper-copy footer svg { width:1rem; color:#9b7228; }
.announcement-page-number { position:absolute; z-index:3; bottom:.62rem; color:rgba(82,60,34,.45); font:600 .62rem/1 Georgia,serif; }
.announcement-paper-image .announcement-page-number { left:50%; }
.announcement-paper-copy .announcement-page-number { right:50%; }

.announcement-book-spine { position:relative; z-index:6; background:linear-gradient(90deg,rgba(53,31,15,.2),rgba(255,252,242,.65) 42%,rgba(74,45,21,.32) 52%,rgba(255,252,242,.6) 64%,rgba(53,31,15,.18)); box-shadow:inset 0 0 8px rgba(50,27,11,.2); }
.announcement-book-spine i { position:absolute; top:3%; bottom:3%; left:50%; width:1px; background:rgba(78,49,23,.22); box-shadow:0 0 9px rgba(50,27,11,.34); }
.announcement-book-spine::after { content:''; position:absolute; z-index:8; top:0; left:50%; width:1.05rem; height:calc(100% + 2.4rem); background:linear-gradient(90deg,#521013,#a72d31 48%,#5e1114); box-shadow:0 2px 7px rgba(37,4,6,.42); clip-path:polygon(0 0,100% 0,100% 100%,50% 88%,0 100%); transform:translateX(-50%); opacity:.9; }

.announcement-page-arrow {
  position: absolute;
  z-index: 30;
  top: 50%;
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .8rem;
  border: 1px solid rgba(241,210,107,.42);
  border-radius: 999px;
  color:#161107;
  background:linear-gradient(145deg,#fff0a1,#d4af37);
  box-shadow:0 12px 35px rgba(0,0,0,.45),0 0 32px rgba(212,175,55,.16);
  transform:translateY(-50%);
  transition:transform .25s ease,opacity .25s ease,box-shadow .25s ease;
}
.announcement-page-arrow svg { width:1.45rem; height:1.45rem; }
.announcement-page-arrow span { font:800 .58rem/1 'Lato',sans-serif; letter-spacing:.09em; text-transform:uppercase; }
.announcement-page-prev { left:-3.3rem; }
.announcement-page-next { right:-3.3rem; }
.announcement-page-arrow:hover:not(:disabled) { transform:translateY(-50%) scale(1.08); box-shadow:0 16px 40px rgba(0,0,0,.5),0 0 40px rgba(212,175,55,.25); }
.announcement-page-arrow:focus-visible { outline:2px solid #fff; outline-offset:4px; }
.announcement-page-arrow:disabled { opacity:.2; cursor:not-allowed; filter:grayscale(.5); }

.announcement-book-position { display:flex; align-items:center; justify-content:center; gap:1rem; margin-top:1.65rem; color:rgba(255,255,255,.52); font:700 .63rem/1 'Lato',sans-serif; letter-spacing:.12em; text-transform:uppercase; }
.announcement-book-position > div { display:flex; align-items:center; gap:.32rem; max-width:16rem; overflow:hidden; }
.announcement-book-position i { width:.34rem; height:.34rem; flex:0 0 auto; border-radius:50%; background:rgba(255,255,255,.2); transition:width .3s ease,background .3s ease; }
.announcement-book-position i.active { width:1.25rem; border-radius:999px; background:#d4af37; }

.announcement-turn-sheet {
  position: absolute;
  z-index: 20;
  top: 0;
  bottom: 0;
  right: 0;
  width: calc((100% - 14px)/2);
  opacity: 0;
  pointer-events: none;
  transform:translate3d(0,0,0);
  transform-style: preserve-3d;
  transform-origin: left center;
  will-change: transform, opacity;
  contain: layout paint style;
  -webkit-transform-style: preserve-3d;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  border-radius:.7rem;
}

.announcement-turn-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 3rem;
  overflow: hidden;
  color:#473723;
  text-align:center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background:
    radial-gradient(circle at 25% 18%,rgba(255,255,255,.72),transparent 25%),
    repeating-linear-gradient(0deg,rgba(76,52,27,.026) 0 1px,transparent 1px 5px),
    linear-gradient(105deg,#f2e7d0,#fffaf0 58%,#dfcfb1);
  box-shadow:inset 0 0 45px rgba(81,50,20,.14);
}
.announcement-turn-face::after { content:''; position:absolute; top:0; bottom:0; width:16%; right:0; background:linear-gradient(90deg,transparent,rgba(44,26,12,.24)); }
.announcement-turn-face::before { content:''; position:absolute; z-index:2; inset:-8% -45%; pointer-events:none; opacity:0; background:linear-gradient(104deg,transparent 38%,rgba(255,252,232,.58) 49%,transparent 61%); transform:translate3d(55%,0,0); will-change:transform,opacity; }
.announcement-turn-cross { position:relative; width:1.45rem; height:1.9rem; opacity:.72; filter:drop-shadow(0 1px rgba(255,255,255,.5)); }
.announcement-turn-cross::before,.announcement-turn-cross::after { content:''; position:absolute; left:50%; top:0; background:#9a7229; border-radius:1px; transform:translateX(-50%); }
.announcement-turn-cross::before { width:.2rem; height:100%; }
.announcement-turn-cross::after { top:.47rem; width:100%; height:.2rem; }
.announcement-turn-face > span { color:#9a7229; font:800 .66rem/1 'Lato',sans-serif; letter-spacing:.18em; text-transform:uppercase; }
.announcement-turn-face strong { max-width:90%; font:700 clamp(1.7rem,2.5vw,2.65rem)/1.08 'Cinzel',serif; text-wrap:balance; }
.announcement-turn-face small { color:#806b50; font:700 .72rem/1 'Lato',sans-serif; letter-spacing:.1em; text-transform:uppercase; }
.announcement-turn-back { transform:rotateY(180deg); }

.announcement-bible.turning-next .announcement-turn-sheet { opacity:1; box-shadow:-22px 14px 42px rgba(0,0,0,.32); will-change:transform,opacity; backface-visibility:hidden; transform-style:preserve-3d; animation:announcementCurlNext .92s cubic-bezier(.16,.84,.26,1) both; }
.announcement-bible.turning-previous .announcement-turn-sheet { left:0; right:auto; opacity:1; transform-origin:right center; box-shadow:22px 14px 42px rgba(0,0,0,.32); will-change:transform,opacity; backface-visibility:hidden; transform-style:preserve-3d; animation:announcementCurlPrevious .92s cubic-bezier(.16,.84,.26,1) both; }
.announcement-bible.turning-next .announcement-turn-face::before { animation:announcementGleamNext .82s ease-out both; }
.announcement-bible.turning-previous .announcement-turn-face::before { animation:announcementGleamPrevious .82s ease-out both; }

@keyframes announcementCurlNext {
  0% { transform:rotateY(0deg) translate3d(0,0,1px) scaleX(1); }
  14% { transform:rotateY(-18deg) translate3d(-2px,-1px,24px) scaleX(.996); }
  38% { transform:rotateY(-55deg) translate3d(-6px,-3px,55px) scaleX(.975); }
  50% { transform:rotateY(-91deg) translate3d(-8px,-4px,72px) scaleX(.95); }
  62% { transform:rotateY(-127deg) translate3d(-6px,-3px,55px) scaleX(.975); }
  86% { transform:rotateY(-162deg) translate3d(-2px,-2px,24px) scaleX(.996); }
  100% { transform:rotateY(-180deg) translate3d(0,0,1px) scaleX(1); }
}

@keyframes announcementCurlPrevious {
  0% { transform:rotateY(0deg) translate3d(0,0,1px) scaleX(1); }
  14% { transform:rotateY(18deg) translate3d(2px,-1px,24px) scaleX(.996); }
  38% { transform:rotateY(55deg) translate3d(6px,-3px,55px) scaleX(.975); }
  50% { transform:rotateY(91deg) translate3d(8px,-4px,72px) scaleX(.95); }
  62% { transform:rotateY(127deg) translate3d(6px,-3px,55px) scaleX(.975); }
  86% { transform:rotateY(162deg) translate3d(2px,-2px,24px) scaleX(.996); }
  100% { transform:rotateY(180deg) translate3d(0,0,1px) scaleX(1); }
}

@keyframes announcementGleamNext {
  0%,18% { opacity:0; transform:translate3d(58%,0,0); }
  50% { opacity:.7; transform:translate3d(0,0,0); }
  100% { opacity:0; transform:translate3d(-58%,0,0); }
}

@keyframes announcementGleamPrevious {
  0%,18% { opacity:0; transform:translate3d(-58%,0,0) scaleX(-1); }
  50% { opacity:.7; transform:translate3d(0,0,0) scaleX(-1); }
  100% { opacity:0; transform:translate3d(58%,0,0) scaleX(-1); }
}

@media (max-width:900px) {
  .announcement-bible-stage { padding-inline:2.9rem; }
  .announcement-page-prev { left:-2.55rem; }
  .announcement-page-next { right:-2.55rem; }
  .announcement-page-arrow span { display:none; }
  .announcement-paper-copy h3 { font-size:clamp(1.7rem,3.3vw,2.35rem); }
  .announcement-copy-body { font-size:1rem; }
}

@media (max-width:700px) {
  .announcement-bible-section { padding-top:3.5rem; padding-bottom:5rem; }
  .announcement-bible-stage { min-height:0; padding:0 0 4.5rem; }
  .announcement-book-pages { grid-template-columns:1fr; height:auto; min-height:0; }
  .announcement-paper-image { height:clamp(22rem,100vw,24rem); min-height:0; padding:1rem; border-radius:.65rem .65rem 0 0; }
  .announcement-image-frame { min-height:0; }
  .announcement-paper-copy { height:31rem; min-height:0; padding:2.2rem 1.55rem 2.3rem; border-radius:0 0 .65rem .65rem; }
  .announcement-bible-running-head { gap:.4rem; font-size:.47rem; letter-spacing:.09em; }
  .announcement-paper-copy > .announcement-bible-running-head { margin:-.9rem 0 1.35rem; }
  .announcement-book-spine { width:100%; height:12px; background:linear-gradient(180deg,rgba(53,31,15,.2),rgba(255,252,242,.7) 40%,rgba(74,45,21,.3) 52%,rgba(255,252,242,.62) 65%,rgba(53,31,15,.16)); }
  .announcement-book-spine i { top:50%; bottom:auto; left:3%; right:3%; width:auto; height:1px; }
  .announcement-book-spine::after { display:none; }
  .announcement-paper-image .announcement-page-edge,.announcement-paper-copy .announcement-page-edge { left:0; right:0; width:auto; height:10%; }
  .announcement-paper-image .announcement-page-edge { top:auto; bottom:0; background:linear-gradient(180deg,transparent,rgba(68,44,22,.12)); }
  .announcement-paper-copy .announcement-page-edge { top:0; bottom:auto; background:linear-gradient(180deg,rgba(68,44,22,.13),transparent); }
  .announcement-paper-copy h3 { max-width:100%; font-size:clamp(1.75rem,8vw,2.45rem); }
  .announcement-copy-body { max-height:none; font-size:1.05rem; }
  .announcement-page-arrow { top:auto; bottom:-3.95rem; transform:none; }
  .announcement-page-arrow:hover:not(:disabled) { transform:scale(1.08); }
  .announcement-page-prev { left:.35rem; }
  .announcement-page-next { right:.35rem; }
  .announcement-page-arrow span { display:inline; }
  .announcement-turn-sheet { left:0!important; right:0!important; width:100%; transform-origin:left center; }
  .announcement-bible.turning-previous .announcement-turn-sheet { transform-origin:right center; }
  .announcement-book-position { margin-top:4.8rem; }
}

@media (prefers-reduced-motion:reduce) {
  .announcement-turn-sheet { animation:none!important; }
  .announcement-page-arrow,.announcement-book-position i { transition:none; }
}

/* Mobile hologram schedule: preserve the larger type without collisions. */
@media (max-width:560px) {
  .showcase-hologram { --holo-w:min(54vw,212px); left:-4%; }
  .holo-events { inset:4% 1%; padding:4%; }
  .holo-events > small { font-size:clamp(.5rem,calc(var(--holo-w)*.026),.62rem); }
  .holo-events h3 { margin:4% 0 6%; font-size:clamp(.92rem,calc(var(--holo-w)*.068),1.12rem); line-height:1.05; }
  .holo-events .holo-event-row {
    min-height: 18%;
    margin-bottom: 3%;
    padding: 4% 4.5%;
    grid-template-columns: 2.4rem minmax(0,1fr) .8rem;
    gap: 3%;
  }
  .holo-events .holo-event-row > b {
    min-width: 0;
    font-size: .82rem;
    line-height: 1;
  }
  .holo-events .holo-event-row > span {
    min-width: 0;
    font-size: .61rem;
    line-height: 1.05;
    white-space: nowrap;
  }
  .holo-events .holo-event-row small {
    margin-top: 3px;
    overflow: hidden;
    font-size: .51rem;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .holo-events .holo-event-row svg { width:.72rem; height:.72rem; }
}

/* === MIGRATION PERF FIX: showcase section transition lag === */
@media (max-width: 768px) {
  .showcase-hologram,
  .showcase-feature-pill,
  .phone-mini-nav {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(10, 14, 23, .82) !important;
  }
  .holo-orbit span,
  .holo-wave i {
    animation-duration: 9s !important;
  }
  .showcase-phone {
    transform: rotateX(0) rotateY(0) rotateZ(0) !important;
  }
}
/* Desktop: reduce hologram animation costs slightly */
.hologram-scan, .holo-orbit span, .holo-wave i, .hologram-beams::before {
  will-change: transform, opacity;
}

.archive-video-thumb-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;background:linear-gradient(135deg,#111827 0%,#1f2937 60%,#0a0a0a 100%);color:#D4AF37}
.archive-video-thumb-placeholder svg{width:2.5rem;height:2.5rem}
.archive-video-thumb-placeholder span{font-size:.65rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;opacity:.8}

/* =============================================================
   BIBLE VIEW — always-dark reader (pin text colors; immune to light mode)
   ============================================================= */
#view-bible { background-color:#000000 !important; color:#f3f4f6; }
#view-bible .text-white { color:#f3f4f6 !important; }
#view-bible .text-gray-300,
#view-bible .text-gray-400 { color:#d1d5db !important; }
#view-bible .text-gray-500 { color:#9ca3af !important; }
#view-bible p { color:#e5e7eb; }
#view-bible .text-guyana-gold { color:#f1d26b !important; }
#view-bible input#bible-search-input { background-color:#0d1220 !important; color:#ffffff !important;
    border:1px solid rgba(255,255,255,0.25) !important; }
#view-bible input#bible-search-input::placeholder { color:#6b7280; }
#view-bible #bible-status { color:#9ca3af !important; }
#view-bible .bg-white\/5 { background-color:rgba(255,255,255,0.07) !important; }
#view-bible .border-white\/10 { border-color:rgba(255,255,255,0.15) !important; }
#view-bible .border-l-4 { border-left-color:#f1d26b !important; }
#view-bible .font-heading, #view-bible h1 { color:#ffffff !important; }


/* =============================================================
   LIGHT MODE — toggleable theme (09-17)
   JS adds .light-mode to <html>. Default = follow system.
   Persisted in localStorage('popg-theme'). Bible view stays dark (pinned).
   ============================================================= */
html.light-mode {
    --clr-bg: #fdf9f0;
    --clr-surface: #ffffff;
    --clr-surface-2: #f5efe0;
    --clr-text: #1a1206;
    --clr-text-muted: #4b5563;
    --clr-text-dim: #6b7280;
    --clr-border: rgba(0, 0, 0, 0.08);
    --clr-border-gold: rgba(180, 140, 20, 0.45);
    background-color: #fdf9f0;
}
html.light-mode body {
    background-color: var(--clr-bg) !important;
    color: var(--clr-text) !important;
}

/* Navigation */
html.light-mode #navbar {
    background-color: rgba(253, 249, 240, 0.97) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08) !important;
}
html.light-mode #navbar a { color: #374151 !important; }
html.light-mode #navbar .text-white { color: #1a1206 !important; }
html.light-mode #navbar .text-gray-300 { color: #374151 !important; }
html.light-mode #mobile-menu { background-color: rgba(250, 247, 235, 0.98) !important; }
html.light-mode #mobile-menu a { color: #1a1206 !important; }

/* Sections */
html.light-mode .bg-guyana-black { background-color: var(--clr-bg) !important; }
html.light-mode .bg-neutral-900 { background-color: #f0ebe0 !important; }
html.light-mode section.bg-black { background-color: #ede8db !important; }
html.light-mode .bg-gray-900 { background-color: var(--clr-surface) !important; }

/* Text */
html.light-mode .text-gray-100 { color: var(--clr-text) !important; }
html.light-mode .text-gray-300 { color: var(--clr-text-muted) !important; }
html.light-mode .text-gray-400 { color: var(--clr-text-dim) !important; }
html.light-mode .text-gray-500 { color: #6b7280 !important; }
html.light-mode .text-white { color: var(--clr-text) !important; }

/* Hero — keep the dark image + overlay (white text stays readable) */
html.light-mode #home .text-white { color: #ffffff !important; }
html.light-mode #home .text-gray-100 { color: #f3f4f6 !important; }
html.light-mode #home .bg-black { background-color: rgba(0,0,0,0.55) !important; }

/* Glass panel */
html.light-mode .glass-panel {
    background: rgba(255,255,255,0.8) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-color: var(--clr-border-gold) !important;
}

/* Form inputs */
html.light-mode input[type="text"], html.light-mode input[type="tel"],
html.light-mode input[type="date"], html.light-mode textarea {
    background-color: rgba(0,0,0,0.04) !important;
    color: var(--clr-text) !important;
    border-color: rgba(0,0,0,0.18) !important;
}

/* Cards */
html.light-mode .glow-card-content {
    background-color: var(--clr-surface) !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07) !important;
}
html.light-mode .glow-card-content .text-gray-400 { color: #6b7280 !important; }
html.light-mode .glow-card-content .text-white { color: #1a1206 !important; }
html.light-mode .bg-white\/5 { background-color: rgba(0,0,0,0.04) !important; }
html.light-mode .bg-black\/40 { background-color: rgba(0,0,0,0.06) !important; }
html.light-mode .border-white\/10 { border-color: rgba(0,0,0,0.1) !important; }
html.light-mode .border-white\/20 { border-color: rgba(0,0,0,0.15) !important; }

/* Give page */
html.light-mode #view-give .text-white { color: var(--clr-text) !important; }

/* History page */
html.light-mode #view-history .text-white { color: var(--clr-text) !important; }
html.light-mode #view-history .bg-black { background-color: var(--clr-bg) !important; }

/* Footer + music player stay dark (brand anchor) */
html.light-mode footer { background-color: #0a0a0a !important; }
html.light-mode footer .text-white { color: #f3f4f6 !important; }

/* Theme toggle button */
.theme-toggle {
    position: fixed !important;
    bottom: 1.25rem !important;
    right: 1.25rem !important;
    z-index: 90 !important;
    width: 2.9rem !important;
    height: 2.9rem !important;
    border-radius: 9999px !important;
    border: 1px solid var(--clr-border-gold) !important;
    background: rgba(20,20,20,0.85) !important;
    color: #f1d26b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.35) !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
}
html.light-mode .theme-toggle {
    background: rgba(255,255,255,0.92) !important;
    color: #8a6d1d !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12) !important;
}
.theme-toggle:hover { transform: scale(1.08) !important; }
.theme-toggle svg { width: 1.3rem; height: 1.3rem; }
/* Light mode: soften the big showcase panels (they were pure dark by default) */
html.light-mode .showcase-gradient,
html.light-mode [class*="bg-gradient-to"] {
    filter: brightness(1.35) saturate(0.9);
}
html.light-mode section[style*="background-image"] {
    background-color: #f5efe0 !important;
}
html.light-mode #doctrine, html.light-mode #events-showcase {
    background-color: #f5efe0 !important;
}
/* The doctrine's sticky child owns the visible light-mode background. Its
   parent must stay transparent while that child fades, or this higher-z-index
   section hides the overlapping feature showcase behind a blank cream panel. */
html.light-mode #doctrine {
    background-color: transparent !important;
}
html.light-mode #doctrine *, html.light-mode #events-showcase * {
    --tw-gradient-from: rgba(255,255,255,0.2);
}

/* Light mode: hardcoded dark components (09-17 scan) */
html.light-mode .ministry-card-front {
    background: #ffffff !important;
    border-color: rgba(0,0,0,0.1) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
}
html.light-mode .ministry-card-front .text-white { color: #1a1206 !important; }
html.light-mode .ministry-card-front .text-gray-400 { color: #6b7280 !important; }
html.light-mode .ministry-card-front::after {
    background: radial-gradient(400px, rgba(212,175,55,0.08), rgba(0,0,0,0)) !important;
}
html.light-mode .ministry-card-front img + div {
    background-image: linear-gradient(to top, rgba(255,255,255,0.9), rgba(0,0,0,0)) !important;
}
html.light-mode .ministry-event-card { background: #ffffff !important; border-color: rgba(0,0,0,0.1) !important; }
html.light-mode .glow-card-content { background: #ffffff !important; color: #1a1206 !important; }
html.light-mode .feature-showcase { background: #f5efe0 !important; }
html.light-mode .doctrine-face { background: #f5efe0 !important; color: #1a1206 !important; }
html.light-mode .doctrine-face .text-white,
html.light-mode .doctrine-face h2,
html.light-mode .doctrine-face h3 { color: #1a1206 !important; }
html.light-mode .archive-video-thumb-placeholder { background: #e8e0d0 !important; }

/* Light mode: kill the fixed black overlays used on inner views */
html.light-mode div[style*="position:fixed"][style*="background-color:#000000"] {
    background-color: transparent !important;
}
/* Ministries hero gradient → light wash */
html.light-mode #view-ministries div[style*="radial-gradient"] {
    background: radial-gradient(ellipse at top, rgba(0,77,37,0.08) 0%, transparent 60%) !important;
}

/* ALV-29: the wrapper and view backdrops were permanently black, even when
   the document and section utilities were light. Keep the photographic hero,
   broadcasts and Bible reader intentionally dark. */
html.light-mode #site-wrap,
html.light-mode .page-view { background-color: var(--clr-bg) !important; }
html.light-mode #view-ministries::before,
html.light-mode #view-history::before,
html.light-mode #view-archive::before,
html.light-mode #view-music::before,
html.light-mode #view-give::before { background-color: var(--clr-bg); }
html.light-mode .doctrine-sticky-wrap {
  background: radial-gradient(circle at 18% 34%, rgba(0,158,73,.08), transparent 32%),
              linear-gradient(118deg, #f5efe0, #eee8d9) !important;
}
html.light-mode #doctrine .step-text-item h3,
html.light-mode #doctrine .doctrine-face h4 { color: #172e22 !important; }
html.light-mode #doctrine .step-text-item p,
html.light-mode #doctrine .doctrine-face p { color: #425448 !important; }
html.light-mode #doctrine .doctrine-face { border-color: #b4c2b2 !important; box-shadow: 0 12px 35px rgba(20,50,32,.13) !important; }
html.light-mode #events-showcase .text-white,
html.light-mode #events-showcase .text-gray-300,
html.light-mode #events-showcase .text-gray-400 { color: #f6f4e9 !important; }
html.light-mode #home .text-guyana-gold { color: #fcd116 !important; }
html.light-mode #navbar .shimmer-text { color: #25533b !important; background: none !important; -webkit-text-fill-color: currentColor !important; }
html.light-mode #navbar .text-guyana-gold { color: #76561d !important; }
html.light-mode #view-bible,
html.light-mode #view-bible * { color-scheme: dark; }
@media (prefers-reduced-motion: reduce) {
  .doctrine-float-wrap { animation: none !important; }
}

/* Light mode review: dark artwork stays dark, but its type must not inherit
   the page's dark text. Small gold labels on cream use a deeper pigment. */
html.light-mode #view-give .give-hero .text-white { color: #fff !important; }
html.light-mode #view-give .give-hero .text-gray-300 { color: #e3e9dd !important; }
html.light-mode #view-give .give-hero .text-guyana-gold { color: #e4c66a !important; }
html.light-mode #view-give .give-hero .text-gray-400 { color: #d0d9ce !important; }
html.light-mode #view-home .fellou-section-label,
html.light-mode .page-view:not(#view-bible) .fellou-section-label { color: #785819 !important; }
html.light-mode #view-home #home .fellou-section-label { color: #fcd116 !important; }
html.light-mode #view-history .fellou-belief-card .text-guyana-gold,
html.light-mode #view-give .counter-num,
html.light-mode #view-give .text-guyana-gold { color: #785819 !important; }

html.light-mode #view-ministries .shimmer-text {
  background: none !important; color: #193625 !important;
  -webkit-text-fill-color: currentColor !important;
}
html.light-mode #contact .glass-panel { background: #fffdf8 !important; color: #193625 !important; }
html.light-mode #contact .glass-panel .text-white { color: #193625 !important; }
html.light-mode #contact .glass-panel .text-gray-300 { color: #40584a !important; }
html.light-mode #contact .glass-panel .text-guyana-gold { color: #785819 !important; }
html.light-mode #contact .glass-panel label { color: #785819 !important; }
html.light-mode #contact .glass-panel .fellou-btn-outline { border-color: #17492f !important; color: #17492f !important; }
html.light-mode #contact .glass-panel .fellou-btn-outline:hover { background:#17492f !important; color:#fff !important; }
html.light-mode #contact .glass-panel .bg-guyana-red .text-white,
html.light-mode #contact .glass-panel .bg-blue-600 .text-white { color:#fff !important; }
html.light-mode #media .fellou-media-card,
html.light-mode #media #standby-sunday { background-color:#11251b !important; }
html.light-mode #media #standby-sunday .text-white,
html.light-mode #media #standby-sunday .text-gray-300 { color:#f3f4f0 !important; }
html.light-mode #media #standby-sunday .bg-black\/50 { background-color:rgba(0,0,0,.45) !important; }

/* Third review: the hero and phone story need true light compositions, not
   dark islands with a light navigation bar. Keep moving type and device art. */
html.light-mode #home > .bg-gradient-to-b {
  background: linear-gradient(180deg,rgba(249,246,226,.86),rgba(245,240,217,.80) 54%,#f5efe0) !important;
  filter: none !important;
}
html.light-mode #home .text-white,
html.light-mode #home .text-gray-100 { color:#173725 !important; }
html.light-mode #home .text-guyana-gold { color:#6b4c13 !important; }
html.light-mode #home .gold-gradient-text {
  background:linear-gradient(95deg,#895f13,#174d2e,#895f13) !important;
  background-clip:text !important; -webkit-background-clip:text !important;
  -webkit-text-fill-color:transparent !important;
}
html.light-mode #home .typing-cursor { color:#174d2e !important; -webkit-text-fill-color:#174d2e !important; }
html.light-mode #home .hero-badge { background:rgba(255,253,247,.8) !important; border-color:#889b7d !important; }
html.light-mode #home .hero-badge span { color:#193625 !important; }
html.light-mode #home .fellou-btn-outline { color:#17492f !important; border-color:#17492f !important; }
html.light-mode #home .fellou-btn-primary { color:#17492f !important; border-color:#17492f !important; }
html.light-mode #home .fellou-btn-red { color:#fff !important; }
html.light-mode #home .fellou-btn-outline:hover,
html.light-mode #home .fellou-btn-primary:hover { background:#17492f !important; color:#fff !important; }
html.light-mode #home .hero-orb { opacity:.12 !important; }

html.light-mode .feature-showcase-sticky {
  background:radial-gradient(ellipse 70% 60% at 75% 45%,rgba(21,111,65,.12),transparent 70%),
             linear-gradient(135deg,#f7f1e2,#e9efdf 55%,#f7f1e2) !important;
}
html.light-mode .showcase-ambient { opacity:.25 !important; }
html.light-mode .showcase-eyebrow,
html.light-mode .showcase-progress-label { color:#435e4a; }
html.light-mode .showcase-number { color:#785819; }
html.light-mode .showcase-copy h2 { color:#193625; }
html.light-mode .showcase-copy h2 em { color:#76551b; text-shadow:none; }
html.light-mode .showcase-copy p { color:#40584a; }
html.light-mode .showcase-feature-pill { color:#193625 !important; border-color:#9bb9a4 !important; background:rgba(255,255,255,.82) !important; }
html.light-mode .showcase-feature-pill svg { color:#76551b !important; }
html.light-mode .showcase-feature-action:hover { background:#17492f; color:#fff; }

html.light-mode #site-wrap > footer { background:#f2ecdc !important; border-color:#b7c7b1 !important; }
html.light-mode #site-wrap > footer .text-white { color:#193625 !important; }
html.light-mode #site-wrap > footer .text-gray-500,
html.light-mode #site-wrap > footer .text-gray-700,
html.light-mode #site-wrap > footer .text-gray-400 { color:#40584a !important; }

/* ALV-29 review: the projected type needs a readable core even on cream.
   Preserve the light spill and the phone, but not low-opacity microcopy. */
.holo-panel::after {
  background: radial-gradient(ellipse at center,rgba(3,30,19,.94) 0%,rgba(3,30,19,.88) 55%,rgba(3,30,19,.65) 76%,transparent 100%);
  filter: blur(4px);
}
.holo-panel > small { color:#ffe59a; font-size:clamp(.65rem,calc(var(--holo-w)*.035),.85rem); letter-spacing:.09em; }
.holo-panel h3 { color:#fffdf4; text-shadow:0 1px 5px #071e13; }
.holo-panel > p { color:#f0f8ef; font-size:clamp(.72rem,calc(var(--holo-w)*.041),.9rem); line-height:1.42; text-shadow:0 1px 4px #071e13; }
.holo-action { color:#fff0b5; background:rgba(3,30,19,.72); font-size:clamp(.58rem,calc(var(--holo-w)*.029),.76rem); letter-spacing:.04em; }
.holo-track span { color:#e8f5e9; font-size:clamp(.68rem,calc(var(--holo-w)*.036),.82rem); }
.holo-track b { font-size:clamp(.72rem,calc(var(--holo-w)*.043),.93rem); }
.holo-events .holo-event-row { background:rgba(3,30,19,.8); }
.holo-events .holo-event-row > span { color:#f7fff9; }
.holo-events .holo-event-row small { color:#e1f4e5; }
/* Keep a brief emitter flicker; do not clip or blur the words themselves. */
.showcase-hologram.switching .holo-panel.active { animation:none; }
@media (max-width:560px) {
  .holo-panel > p { display:block; font-size:.68rem; line-height:1.3; }
  .holo-events .holo-event-row small { font-size:.57rem; }
}

/* Bible reader: per-site theme and scalable Scripture type. */
#view-bible { --bible-font-size: 1rem; }
#view-bible #bible-results p { font-size:var(--bible-font-size) !important; line-height:1.75; }
.bible-reader-tools { display:flex; flex-wrap:wrap; gap:.6rem; align-items:center; justify-content:center; margin:-.4rem auto 1.1rem; font:700 .82rem 'Lato',sans-serif; }
.bible-reader-tools button { border:1px solid currentColor; color:inherit; padding:.45rem .8rem; min-width:44px; min-height:44px; border-radius:.4rem; }
.bible-reader-tools button:focus-visible { outline:3px solid #a88020; outline-offset:3px; }
html.light-mode #view-bible { background:#f5efe0 !important; color:#193625; }
html.light-mode #view-bible .text-white,
html.light-mode #view-bible .font-heading,
html.light-mode #view-bible h1 { color:#193625 !important; }
html.light-mode #view-bible p,
html.light-mode #view-bible .text-gray-300,
html.light-mode #view-bible .text-gray-400,
html.light-mode #view-bible .text-gray-500,
html.light-mode #view-bible #bible-status { color:#40584a !important; }
html.light-mode #view-bible .text-guyana-gold { color:#785819 !important; }
html.light-mode #view-bible .bg-white\/5 { background:#fffdf8 !important; }
html.light-mode #view-bible .border-white\/10 { border-color:#c1d0bd !important; }
html.light-mode #view-bible select,
html.light-mode #view-bible input#bible-search-input { background:#fffdf8 !important; color:#193625 !important; border:1px solid #768d79 !important; color-scheme:light; }
html.light-mode #view-bible input#bible-search-input::placeholder { color:#526a59; }
html.light-mode #view-bible .bg-guyana-gold { background:#b99530 !important; }
html.light-mode #view-bible .bg-guyana-gold.text-black,
html.light-mode #view-bible .bg-guyana-gold .text-black { color:#172819 !important; }

