/* ═══════════════════════════════════════════════════════════════
   DISPLAY MASJID PREMIUM v4 — BRIGHT PREMIUM THEME
   Glassmorphism • Neon Glow • Animated Borders • Particles
   Target: 1920×1080 landscape TV
   ═══════════════════════════════════════════════════════════════ */

/* ─── Reset & Base ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-primary: #0c1425;
    --bg-secondary: #111c33;
    --bg-card: rgba(18, 30, 55, 0.78);
    --bg-card-solid: #142040;
    --bg-card-alt: rgba(30, 45, 78, 0.6);
    --bg-glass: rgba(18, 30, 55, 0.55);
    --accent: #10b981;
    --accent-light: #34d399;
    --accent-bright: #6ee7b7;
    --accent-glow: rgba(16, 185, 129, 0.4);
    --accent-bg: rgba(16, 185, 129, 0.08);
    --accent-dim: #059669;
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --gold-bright: #fcd34d;
    --gold-glow: rgba(245, 158, 11, 0.3);
    --cyan: #22d3ee;
    --cyan-dim: #06b6d4;
    --cyan-glow: rgba(34, 211, 238, 0.25);
    --purple: #a78bfa;
    --purple-glow: rgba(167, 139, 250, 0.2);
    --text-primary: #f8fafc;
    --text-secondary: #b0bdd0;
    --text-dim: #7b8ca6;
    --danger: #f87171;
    --border: rgba(255, 255, 255, 0.09);
    --border-accent: rgba(16, 185, 129, 0.18);
    --border-gold: rgba(245, 158, 11, 0.15);
    --radius: 18px;
    --radius-sm: 12px;
    --font: 'Outfit', 'Inter', -apple-system, sans-serif;
    --font-arab: 'Amiri', 'Traditional Arabic', serif;
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
    --blur: blur(20px);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── Container ─── */
.display-container {
    width: 1920px;
    height: 1080px;
    display: flex;
    flex-direction: column;
    background: 
        radial-gradient(ellipse 90% 60% at 15% 30%, rgba(16, 185, 129, 0.09) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 15%, rgba(34, 211, 238, 0.06) 0%, transparent 45%),
        radial-gradient(ellipse 60% 70% at 50% 90%, rgba(245, 158, 11, 0.05) 0%, transparent 45%),
        radial-gradient(ellipse 40% 40% at 70% 60%, rgba(167, 139, 250, 0.04) 0%, transparent 40%),
        linear-gradient(160deg, #0c1425 0%, #111c33 25%, #0f1a30 50%, #0d162b 75%, #0c1425 100%);
    position: relative;
    overflow: hidden;
}

/* ─── Animated Star Field ─── */
.display-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 15%, rgba(255,255,255,0.15) 0%, transparent 100%),
        radial-gradient(2px 2px at 65% 42%, rgba(255,255,255,0.1) 0%, transparent 100%),
        radial-gradient(1px 1px at 40% 68%, rgba(255,255,255,0.12) 0%, transparent 100%),
        radial-gradient(1px 1px at 85% 25%, rgba(255,255,255,0.08) 0%, transparent 100%),
        radial-gradient(2px 2px at 10% 80%, rgba(255,255,255,0.06) 0%, transparent 100%),
        radial-gradient(1px 1px at 55% 10%, rgba(255,255,255,0.1) 0%, transparent 100%),
        radial-gradient(1px 1px at 92% 72%, rgba(255,255,255,0.08) 0%, transparent 100%),
        radial-gradient(2px 2px at 30% 90%, rgba(16,185,129,0.15) 0%, transparent 100%),
        radial-gradient(1px 1px at 75% 85%, rgba(245,158,11,0.1) 0%, transparent 100%);
    background-size: 200% 200%;
    animation: star-drift 120s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes star-drift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

/* ─── Floating Orbs ─── */
.display-container::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.02) 40%, transparent 70%);
    top: -200px;
    right: -150px;
    animation: orb-float 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    25% { transform: translate(-80px, 50px) scale(1.15); opacity: 1; }
    50% { transform: translate(-40px, 100px) scale(0.9); opacity: 0.7; }
    75% { transform: translate(50px, 40px) scale(1.1); opacity: 0.9; }
}

.display-main::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, rgba(245, 158, 11, 0.01) 40%, transparent 70%);
    bottom: -250px;
    left: -150px;
    animation: orb-float-2 30s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    filter: blur(50px);
}

@keyframes orb-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -60px) scale(1.2); }
    66% { transform: translate(40px, -90px) scale(0.85); }
}

/* Third orb (purple) */
.display-main::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.05) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orb-float-3 35s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}

@keyframes orb-float-3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-40%, -60%) scale(1.3); }
}

/* ─── Glassmorphism Base Cards ─── */
.clock-section, .prayer-status-section, .ramadhan-section, 
.quran-section, .announcement-section, .agenda-section, .prayer-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
}

/* ─── Animated Gradient Border Mixin (via pseudo-element) ─── */
.clock-section, .prayer-status-section {
    border: none;
    position: relative;
    isolation: isolate;
}

.clock-section::before, .prayer-status-section::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        var(--border-angle, 0deg),
        rgba(16, 185, 129, 0.3),
        rgba(34, 211, 238, 0.15),
        rgba(245, 158, 11, 0.2),
        rgba(16, 185, 129, 0.3)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: rotate-border 8s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotate-border {
    0% { --border-angle: 0deg; }
    100% { --border-angle: 360deg; }
}

/* ─── Header ─── */
.display-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    background: 
        linear-gradient(180deg, rgba(16, 25, 48, 0.95) 0%, rgba(16, 25, 48, 0.85) 100%);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    height: 88px;
    backdrop-filter: blur(20px);
}

/* Animated gradient line at bottom of header */
.display-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--accent) 20%, 
        var(--cyan) 40%, 
        var(--gold) 60%, 
        var(--accent) 80%, 
        transparent
    );
    background-size: 200% 100%;
    animation: gradient-flow 6s linear infinite;
    opacity: 0.6;
}

@keyframes gradient-flow {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.header-left { display: flex; flex-direction: column; gap: 3px; }

.masjid-name {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent-light) 30%, var(--cyan) 70%, var(--accent-bright) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: text-shimmer 4s ease-in-out infinite;
    filter: drop-shadow(0 0 25px rgba(16, 185, 129, 0.3));
}

@keyframes text-shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

.masjid-address {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 400;
    letter-spacing: 0.3px;
}

.header-right {
    text-align: right;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

/* ─── Weather Widget ─── */
.weather-widget {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(18, 30, 55, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 211, 238, 0.1);
    border-radius: 12px;
    padding: 6px 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.weather-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.3));
}

.weather-temp {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.weather-desc {
    font-size: 0.65rem;
    color: var(--text-dim);
    text-transform: capitalize;
}

.weather-humidity {
    font-size: 0.65rem;
    color: var(--cyan);
    font-weight: 600;
}

.header-dates {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.date-hijri {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 18px var(--gold-glow);
    letter-spacing: 0.3px;
}

.date-masehi {
    font-size: 0.82rem;
    color: var(--text-dim);
    font-weight: 400;
}

/* ─── Main Layout ─── */
.display-main {
    display: flex;
    flex: 1 1 auto;
    gap: 18px;
    padding: 14px 28px;
    position: relative;
    z-index: 1;
    min-height: 0;
    max-height: calc(1080px - 88px - 56px - 32px);
    overflow: hidden;
}

/* ─── Left Panel ─── */
.panel-left {
    width: 380px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-shrink: 0;
}

/* ─── Clock Section ─── */
.clock-section {
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(16, 185, 129, 0.08) 0%, transparent 60%),
        var(--bg-card);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    overflow: hidden;
}

/* Shimmer sweep on clock */
.clock-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02), transparent);
    animation: sweep-shimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sweep-shimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.clock-time {
    font-size: 6.2rem;
    font-weight: 900;
    letter-spacing: -4px;
    line-height: 1;
    background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 40%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.15)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.clock-seconds {
    font-size: 2.2rem;
    font-weight: 600;
    background: linear-gradient(180deg, var(--text-dim), rgba(100, 116, 139, 0.4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse-seconds 1s ease-in-out infinite;
}

@keyframes pulse-seconds {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ─── Prayer Status / Countdown ─── */
.prayer-status-section {
    background: 
        radial-gradient(ellipse at 50% 100%, rgba(16, 185, 129, 0.1) 0%, transparent 60%),
        var(--bg-card);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    overflow: hidden;
}

.prayer-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

.status-label {
    font-size: 0.9rem;
    color: var(--text-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.status-prayer-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-light);
    text-shadow: 0 0 25px var(--accent-glow);
    letter-spacing: 1px;
}

.countdown-timer {
    font-size: 3.4rem;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(180deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

/* Iqamah Countdown Banner */
.iqamah-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.2), rgba(239, 68, 68, 0.12), rgba(245, 158, 11, 0.2));
    border-top: 1px solid rgba(245, 158, 11, 0.3);
    padding: 10px;
    text-align: center;
    animation: iqamah-pulse 2s ease-in-out infinite;
}

.iqamah-banner .iqamah-label {
    font-size: 0.72rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

.iqamah-banner .iqamah-time {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gold-light);
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 15px var(--gold-glow);
}

@keyframes iqamah-pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Adzan active state */
.prayer-status-section.adzan-active {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(239, 68, 68, 0.08));
    animation: pulse-glow 2s ease-in-out infinite;
}

.prayer-status-section.adzan-active::before {
    background: linear-gradient(var(--border-angle, 0deg), rgba(245, 158, 11, 0.5), rgba(239, 68, 68, 0.3), rgba(245, 158, 11, 0.5));
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 30px rgba(245, 158, 11, 0.1); }
    50% { box-shadow: 0 0 60px rgba(245, 158, 11, 0.25), 0 0 100px rgba(245, 158, 11, 0.1); }
}

/* ─── Ramadhan Section ─── */
.ramadhan-section {
    background: 
        linear-gradient(135deg, rgba(245, 158, 11, 0.06), var(--bg-card)),
        radial-gradient(ellipse at 100% 0%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
    border-radius: var(--radius);
    padding: 16px 20px;
    border: 1px solid rgba(245, 158, 11, 0.15);
    overflow: hidden;
}

.ramadhan-section::before {
    content: '☪';
    position: absolute;
    right: -5px;
    top: -8px;
    font-size: 5rem;
    opacity: 0.04;
    pointer-events: none;
    animation: gentle-rotate 20s linear infinite;
}

@keyframes gentle-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ramadhan-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    text-shadow: 0 0 15px var(--gold-glow);
}

.ramadhan-info { display: flex; gap: 16px; }
.ramadhan-item { flex: 1; text-align: center; }

.ramadhan-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    font-weight: 600;
}

.ramadhan-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gold-light);
    text-shadow: 0 0 18px var(--gold-glow);
    font-variant-numeric: tabular-nums;
}

/* ─── Center Panel ─── */
.panel-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    position: relative;
}

/* ─── SLIDE TRANSITION SYSTEM ─── */
.panel-center.slide-exit {
    animation: slide-out 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.panel-center.slide-enter {
    animation: slide-in 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slide-out {
    0% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
    100% { opacity: 0; transform: translateY(-20px) scale(0.98); filter: blur(4px); }
}

@keyframes slide-in {
    0% { opacity: 0; transform: translateY(20px) scale(0.98); filter: blur(4px); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* ─── Quran Section ─── */
.quran-section {
    border-radius: var(--radius);
    padding: 30px 40px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    min-height: 220px;
}

.quran-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(245, 158, 11, 0.04) 0%, transparent 60%);
    pointer-events: none;
    animation: quran-glow 8s ease-in-out infinite;
}

@keyframes quran-glow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.quran-header { margin-bottom: 16px; }

.quran-icon {
    font-size: 1.6rem;
    color: var(--gold);
    filter: drop-shadow(0 0 10px var(--gold-glow));
}

.quran-arab {
    font-family: var(--font-arab);
    font-size: 2.4rem;
    line-height: 1.9;
    color: var(--gold-light);
    direction: rtl;
    margin-bottom: 16px;
    transition: opacity 0.8s ease;
    text-shadow: 0 2px 20px rgba(245, 158, 11, 0.25);
    position: relative;
    z-index: 1;
}

.quran-translation {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    max-width: 680px;
    margin: 0 auto;
    transition: opacity 0.8s ease;
    position: relative;
    z-index: 1;
}

.quran-source {
    font-size: 0.85rem;
    color: var(--accent-dim);
    margin-top: 12px;
    font-weight: 600;
    transition: opacity 0.8s ease;
    position: relative;
    z-index: 1;
}

/* ─── Announcement ─── */
.announcement-section {
    border-radius: var(--radius);
    padding: 18px 28px;
    min-height: 120px;
}

.announcement-header, .agenda-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dim);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.announcement-content { transition: opacity 0.5s ease; }

.announcement-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.announcement-body {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.announcement-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 12px;
}

.announcement-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(100, 116, 139, 0.4);
    transition: var(--transition);
}

.announcement-dot.active {
    background: var(--accent);
    width: 28px;
    border-radius: 4px;
    box-shadow: 0 0 12px var(--accent-glow);
}

.announcement-section.urgent {
    border-color: rgba(239, 68, 68, 0.25);
    background: linear-gradient(135deg, var(--bg-card), rgba(239, 68, 68, 0.04));
}

.announcement-section.penting {
    border-color: rgba(245, 158, 11, 0.25);
    background: linear-gradient(135deg, var(--bg-card), rgba(245, 158, 11, 0.04));
}

/* ─── Agenda ─── */
.agenda-section {
    border-radius: var(--radius);
    padding: 16px 28px;
}

.agenda-list { display: flex; gap: 12px; overflow: hidden; }

.agenda-card {
    background: var(--bg-card-alt);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    flex: 1;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.agenda-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-accent);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.06);
}

.agenda-card-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.agenda-card-meta {
    font-size: 0.76rem;
    color: var(--text-dim);
}

.agenda-empty {
    color: var(--text-dim);
    font-size: 0.88rem;
    text-align: center;
    padding: 8px;
}

/* ─── Right Panel ─── */
.panel-right {
    width: 330px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.schedule-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-dim);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding: 0 12px;
}

.prayer-schedule {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.prayer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 14px;
    padding: 20px 24px;
    transition: var(--transition);
    overflow: hidden;
}

/* Active prayer — dramatic glow */
.prayer-item.active {
    background: 
        linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.04) 100%),
        var(--bg-card);
    border-color: rgba(16, 185, 129, 0.4) !important;
    box-shadow: 
        0 0 35px rgba(16, 185, 129, 0.15),
        0 0 80px rgba(16, 185, 129, 0.05),
        inset 0 1px 0 rgba(16, 185, 129, 0.1);
    transform: scale(1.03);
}

.prayer-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent-bright), var(--accent), var(--cyan-dim));
    box-shadow: 0 0 15px var(--accent-glow), 0 0 30px rgba(16, 185, 129, 0.1);
}

/* Subtle scanning light on active prayer */
.prayer-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.06), transparent);
    animation: prayer-scan 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes prayer-scan {
    0% { left: -80%; }
    100% { left: 200%; }
}

.prayer-item.passed { opacity: 0.35; }

.prayer-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.prayer-time {
    font-size: 1.5rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.prayer-item.active .prayer-name {
    color: var(--accent-bright);
    text-shadow: 0 0 12px var(--accent-glow);
    font-weight: 700;
}

.prayer-item.active .prayer-time {
    color: var(--accent-bright);
    text-shadow: 0 0 20px var(--accent-glow);
}

/* ─── Connection Status ─── */
.connection-status {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(239, 68, 68, 0.9);
    backdrop-filter: var(--blur);
    color: #fff;
    padding: 10px 28px;
    border-radius: 24px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 100;
    animation: slide-up 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
}

@keyframes slide-up {
    from { transform: translateX(-50%) translateY(30px); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* ─── Quiet Mode Overlay ─── */
.quiet-overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 7, 18, 0.96);
    backdrop-filter: blur(30px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    animation: fade-in 1.2s ease;
}

.quiet-content { text-align: center; }

.quiet-icon {
    font-size: 5.5rem;
    margin-bottom: 24px;
    animation: gentle-float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(245, 158, 11, 0.3));
}

@keyframes gentle-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.quiet-text {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 0 50px var(--accent-glow);
}

.quiet-prayer-name {
    font-size: 4rem;
    font-weight: 900;
    color: var(--gold-bright);
    margin: 12px 0;
    text-shadow: 0 0 40px var(--gold-glow);
}

.quiet-sub {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-top: 12px;
    letter-spacing: 1px;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ─── Horizontal Prayer Bar (Bottom) ─── */
.prayer-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    background: 
        linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, rgba(3, 7, 18, 0.98) 100%);
    border-top: 1px solid rgba(16, 185, 129, 0.1);
    padding: 0 40px;
    flex-shrink: 0;
    height: 58px;
    position: relative;
    z-index: 2;
    width: 100%;
    backdrop-filter: blur(12px);
}

/* Glow line on top of prayer bar */
.prayer-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), var(--accent), rgba(16, 185, 129, 0.3), transparent);
    opacity: 0.5;
}

.prayer-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    gap: 2px;
    padding: 8px 4px;
    border-right: 1px solid rgba(255, 255, 255, 0.03);
    height: 100%;
    transition: var(--transition);
    position: relative;
}

.prayer-bar-item:last-child { border-right: none; }

.bar-separator {
    flex: 0 0 2px;
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, var(--accent-dim), transparent);
    border-radius: 1px;
    margin: 0 10px;
    border-right: none;
    align-self: center;
    opacity: 0.5;
}

.prayer-bar-item.bar-active {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.08);
}

/* Active glow dot */
.prayer-bar-item.bar-active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent-glow);
}

.prayer-bar-item.bar-active .bar-label { 
    color: var(--accent-light); 
    font-weight: 800;
}

.prayer-bar-item.bar-active .bar-time {
    color: var(--accent-light);
    text-shadow: 0 0 15px var(--accent-glow);
}

.bar-label {
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--text-dim);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1;
}

.bar-time {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* ─── Ticker / Running Text ─── */
.ticker-bar {
    background: 
        linear-gradient(90deg, rgba(3,7,18,0.98), rgba(16, 185, 129, 0.04), rgba(3,7,18,0.98));
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    height: 34px;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
}

/* Fade edges on ticker */
.ticker-bar::before, .ticker-bar::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 3;
    pointer-events: none;
}

.ticker-bar::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-primary), transparent);
}

.ticker-bar::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-primary), transparent);
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: ticker-scroll 35s linear infinite;
    padding-left: 100%;
}

.ticker-text {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-dim);
    letter-spacing: 0.5px;
    display: inline-block;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ─── Utility ─── */
.hidden { display: none !important; }
.fade-out { opacity: 0; transition: opacity 0.5s ease; }
.fade-in { opacity: 1; transition: opacity 0.5s ease; }

/* ─── Finance Slide ─── */
.finance-slide {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
}

.finance-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold);
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.02), transparent);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--gold);
    text-shadow: 0 0 15px var(--gold-glow);
    backdrop-filter: blur(8px);
}

.finance-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.finance-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.fin-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

/* Gradient top-line on finance cards */
.fin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    border-radius: 0 0 2px 2px;
}

.fin-card.pemasukan::before { 
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.fin-card.pengeluaran::before { 
    background: linear-gradient(90deg, transparent, var(--danger), transparent);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.fin-card.saldo::before { 
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    box-shadow: 0 0 10px var(--gold-glow);
}

.fin-card.saldo {
    background: 
        linear-gradient(135deg, var(--bg-card), rgba(16, 185, 129, 0.08));
    border-color: var(--border-accent);
    box-shadow: var(--shadow), 0 0 25px rgba(16, 185, 129, 0.05);
}

.fin-card.pemasukan .fin-icon { color: var(--accent); }
.fin-card.pengeluaran .fin-icon { color: var(--danger); }
.fin-card.saldo .fin-icon { color: var(--gold); }

.fin-icon { font-size: 2rem; margin-bottom: 10px; opacity: 0.7; }

.fin-label {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.fin-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
}

.fin-card.saldo .fin-value {
    color: var(--accent-light);
    font-size: 1.6rem;
    text-shadow: 0 0 15px var(--accent-glow);
}

/* QR Code Section */
.qr-donasi-section {
    display: flex;
    align-items: center;
    gap: 28px;
    background: 
        linear-gradient(135deg, var(--bg-card), rgba(245, 158, 11, 0.04));
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 22px;
    margin-top: auto;
}

.qr-code-wrapper {
    width: 130px;
    height: 130px;
    background: #fff;
    border-radius: 14px;
    padding: 8px;
    flex-shrink: 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 158, 11, 0.1);
}

.qr-code-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.qr-info { flex: 1; }

.qr-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
    text-shadow: 0 0 12px var(--gold-glow);
}

.qr-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Finance History */
.finance-history {
    background: var(--bg-card);
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 16px;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(8px);
}

.fin-hist-title {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.fin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.fin-table th {
    text-align: left;
    padding: 10px 8px;
    color: var(--text-dim);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
}

.fin-table td {
    padding: 11px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.025);
    color: var(--text-primary);
}

.fin-table tr:last-child td { border-bottom: none; }

.fin-table tr {
    transition: background 0.2s ease;
}

.fin-table tr:hover td {
    background: rgba(255, 255, 255, 0.015);
}

.text-end { text-align: right; }
.text-success { color: var(--accent); }
.text-danger { color: var(--danger); }
.text-center { text-align: center; }
.text-muted { color: var(--text-dim); }

/* ─── Petugas Jumat Slide ─── */
.petugas-slide {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
}

.petugas-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.petugas-date {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: 
        linear-gradient(135deg, var(--bg-card-alt), rgba(16, 185, 129, 0.03));
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    letter-spacing: 0.5px;
}

.petugas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    flex: 1;
}

.petugas-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

/* Accent stripe on left of petugas cards */
.petugas-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--cyan-dim));
    border-radius: 0 3px 3px 0;
    opacity: 0.5;
    transition: var(--transition);
}

.petugas-card:hover::before { 
    opacity: 1; 
    top: 0;
    bottom: 0;
    box-shadow: 0 0 10px var(--accent-glow);
}

.petugas-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg), 0 0 25px rgba(16, 185, 129, 0.06);
}

.petugas-icon {
    width: 58px;
    height: 58px;
    background: 
        linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(34, 211, 238, 0.08));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--accent);
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.petugas-info { flex: 1; }

.petugas-role {
    font-size: 0.78rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    font-weight: 600;
}

.petugas-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

/* ─── Hadits Slide ─── */
.hadits-slide {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
}

.hadits-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 50px;
    position: relative;
    background: 
        radial-gradient(ellipse at 50% 40%, rgba(245, 158, 11, 0.04) 0%, transparent 50%),
        var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

/* Decorative Islamic corners */
.hadits-content::before {
    content: '﴿';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.08;
    font-family: var(--font-arab);
}

.hadits-content::after {
    content: '﴾';
    position: absolute;
    bottom: 20px;
    left: 30px;
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.08;
    font-family: var(--font-arab);
}

.hadits-arab {
    font-family: var(--font-arab);
    font-size: 2.1rem;
    line-height: 2;
    color: var(--gold-light);
    direction: rtl;
    margin-bottom: 28px;
    text-shadow: 0 2px 18px rgba(245, 158, 11, 0.2);
    position: relative;
    z-index: 1;
}

.hadits-translation {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 680px;
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.hadits-source {
    font-size: 0.92rem;
    color: var(--accent);
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.hadits-number {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 8px;
    position: relative;
    z-index: 1;
}

/* ─── Slide Progress Indicator ─── */
.slide-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.03);
    z-index: 5;
    overflow: hidden;
}

.slide-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--cyan), var(--accent-light));
    background-size: 200% 100%;
    width: 0%;
    transition: width linear;
    box-shadow: 0 0 12px var(--accent-glow);
    animation: progress-shimmer 2s linear infinite;
}

@keyframes progress-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ─── Responsive Scale Helper ─── */
@media (max-width: 1920px) {
    .display-container {
        transform-origin: top left;
    }
}

/* ─── Scrollbar (hidden but functional) ─── */
::-webkit-scrollbar { width: 0; height: 0; }

/* ═══════════════════════════════════════════════════════════════
   BUG FIX: Quran fade-out class (previously missing)
   ═══════════════════════════════════════════════════════════════ */
.fade-out {
    opacity: 0 !important;
    transition: opacity 0.5s ease !important;
}
.quran-arab,
.quran-translation,
.quran-source {
    transition: opacity 0.5s ease;
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM ISLAMIC DESIGN v4 — Warmth, Ornament, Calligraphy
   ═══════════════════════════════════════════════════════════════ */

/* ─── Warm Islamic Color Accents ─── */
:root {
    --islamic-gold: #d4a843;
    --islamic-green: #1a7a4a;
    --islamic-teal: #0d6e7a;
    --islamic-cream: rgba(255, 240, 200, 0.06);
    --ornament-color: rgba(212, 168, 67, 0.25);
}

/* ─── Warm background tint overlay ─── */
.display-container {
    background-blend-mode: normal;
}
.display-container::before {
    /* Enhanced: add warm golden dust particles layer */
    background:
        radial-gradient(circle 1px at 12% 20%, rgba(212, 168, 67, 0.45) 0%, transparent 100%),
        radial-gradient(circle 1px at 35% 8%, rgba(212, 168, 67, 0.35) 0%, transparent 100%),
        radial-gradient(circle 1px at 68% 25%, rgba(212, 168, 67, 0.3) 0%, transparent 100%),
        radial-gradient(circle 1px at 88% 12%, rgba(212, 168, 67, 0.4) 0%, transparent 100%),
        radial-gradient(circle 1px at 22% 78%, rgba(16, 185, 129, 0.4) 0%, transparent 100%),
        radial-gradient(circle 1px at 50% 55%, rgba(16, 185, 129, 0.35) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 75% 65%, rgba(34, 211, 238, 0.35) 0%, transparent 100%),
        radial-gradient(circle 1px at 90% 80%, rgba(212, 168, 67, 0.3) 0%, transparent 100%),
        radial-gradient(circle 1px at 6% 52%, rgba(16, 185, 129, 0.3) 0%, transparent 100%),
        radial-gradient(circle 1px at 44% 88%, rgba(34, 211, 238, 0.3) 0%, transparent 100%),
        radial-gradient(circle 1px at 60% 40%, rgba(212, 168, 67, 0.25) 0%, transparent 100%),
        radial-gradient(circle 1px at 18% 42%, rgba(16, 185, 129, 0.25) 0%, transparent 100%);
    background-size: 300% 300%;
    animation: star-drift 120s linear infinite;
}

/* ─── Islamic Geometric Border on panel-right ─── */
.panel-right {
    position: relative;
}
.panel-right::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        180deg,
        rgba(212, 168, 67, 0.35) 0%,
        rgba(16, 185, 129, 0.15) 50%,
        rgba(212, 168, 67, 0.35) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
    border-radius: var(--radius);
}

/* ─── Islamic Decorative Corner Ornaments on Schedule Header ─── */
.schedule-header {
    position: relative;
    text-align: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-gold);
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.06), transparent);
    margin-bottom: 0;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold-light);
}
.schedule-header::before {
    content: '❧';
    position: absolute;
    left: 14px;
    color: var(--islamic-gold);
    opacity: 0.55;
    font-size: 1rem;
    top: 50%; transform: translateY(-50%);
}
.schedule-header::after {
    content: '❧';
    position: absolute;
    right: 14px;
    color: var(--islamic-gold);
    opacity: 0.55;
    font-size: 1rem;
    top: 50%; transform: translateY(-50%) scaleX(-1);
}

/* ─── Enhanced Clock Ring — 2-layer rotating decoration ─── */
.clock-section {
    position: relative;
}
.clock-section::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(212, 168, 67, 0.1);
    box-shadow:
        0 0 0 6px rgba(16, 185, 129, 0.04),
        0 0 0 12px rgba(212, 168, 67, 0.03);
    pointer-events: none;
    animation: clock-ring-pulse 4s ease-in-out infinite;
}

@keyframes clock-ring-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

/* ─── Quran Section: Islamic Arch decoration ─── */
.quran-section {
    position: relative;
}
.quran-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--islamic-gold), var(--accent-light), var(--islamic-gold), transparent);
    opacity: 0.4;
}

/* ─── Bismillah Icon Enhancement ─── */
.quran-icon {
    font-size: 2.2rem;
    display: block;
    text-align: center;
    color: var(--gold);
    text-shadow:
        0 0 20px rgba(212, 168, 67, 0.5),
        0 0 40px rgba(212, 168, 67, 0.25);
    animation: bismillah-glow 3s ease-in-out infinite;
    margin-bottom: 8px;
}
@keyframes bismillah-glow {
    0%, 100% { text-shadow: 0 0 20px rgba(212, 168, 67, 0.5), 0 0 40px rgba(212, 168, 67, 0.2); }
    50% { text-shadow: 0 0 30px rgba(212, 168, 67, 0.8), 0 0 60px rgba(212, 168, 67, 0.4); }
}

/* ─── Masjid Address — Warmer styling ─── */
.masjid-address {
    font-size: 0.85rem;
    color: rgba(255, 240, 200, 0.55);
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* ═══════════════════════════════════════════════════════════════
   ASMAUL HUSNA SLIDE — Slide ke-5
   ═══════════════════════════════════════════════════════════════ */
.asmaul-slide {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 24px 28px;
    gap: 18px;
}

.asmaul-header {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-light);
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212, 168, 67, 0.15);
    flex-shrink: 0;
}
.asmaul-header-icon {
    font-size: 1.4rem;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(212, 168, 67, 0.5);
}

.asmaul-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 10px;
    position: relative;
    padding-top: 16px;
}

/* Large decorative background text — behind everything */
.asmaul-hero::before {
    content: 'الله';
    position: absolute;
    font-family: var(--font-arab);
    font-size: 12rem;
    color: rgba(212, 168, 67, 0.035);
    pointer-events: none;
    user-select: none;
    line-height: 1;
    z-index: 0;
}

.asmaul-number {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 1.5px;
    background: rgba(212, 168, 67, 0.1);
    border: 1px solid rgba(212, 168, 67, 0.2);
    border-radius: 20px;
    padding: 3px 10px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.asmaul-arab {
    font-family: var(--font-arab);
    font-size: 4.2rem;
    color: var(--gold-bright);
    text-shadow:
        0 0 30px rgba(212, 168, 67, 0.6),
        0 0 60px rgba(212, 168, 67, 0.3),
        0 0 100px rgba(212, 168, 67, 0.1);
    line-height: 1.3;
    text-align: center;
    animation: asmaul-glow 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}
@keyframes asmaul-glow {
    0%, 100% { text-shadow: 0 0 30px rgba(212, 168, 67, 0.5), 0 0 60px rgba(212, 168, 67, 0.25); }
    50% { text-shadow: 0 0 50px rgba(212, 168, 67, 0.9), 0 0 90px rgba(212, 168, 67, 0.5), 0 0 140px rgba(212, 168, 67, 0.2); }
}

.asmaul-transliteration {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.asmaul-meaning {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 480px;
    line-height: 1.6;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.asmaul-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 60%;
    opacity: 0.4;
    position: relative;
    z-index: 2;
}
.asmaul-divider::before,
.asmaul-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--islamic-gold));
}
.asmaul-divider::after {
    background: linear-gradient(90deg, var(--islamic-gold), transparent);
}
.asmaul-divider-icon {
    color: var(--gold);
    font-size: 0.9rem;
}

/* ─── Asmaul Husna mini grid (bottom) ─── */
.asmaul-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    flex-shrink: 0;
}
.asmaul-mini-card {
    background: rgba(212, 168, 67, 0.04);
    border: 1px solid rgba(212, 168, 67, 0.1);
    border-radius: 8px;
    padding: 6px 12px;
    text-align: center;
    min-width: 80px;
    transition: var(--transition-fast);
}
.asmaul-mini-card.highlighted {
    background: rgba(212, 168, 67, 0.1);
    border-color: rgba(212, 168, 67, 0.3);
    box-shadow: 0 0 12px rgba(212, 168, 67, 0.1);
}
.asmaul-mini-arab {
    font-family: var(--font-arab);
    font-size: 1.1rem;
    color: var(--gold-light);
    line-height: 1.3;
}
.asmaul-mini-num {
    font-size: 0.55rem;
    color: var(--text-dim);
    margin-top: 2px;
}


/* ─── Proker Slide ─── */
.proker-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

.proker-card {
    background: var(--bg-card-alt);
    border-radius: var(--radius-sm);
    padding: 24px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.proker-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.proker-progress-container {
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow: hidden;
}

.proker-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), #fbbf24);
    box-shadow: 0 0 15px var(--gold-glow);
    transition: width 1s ease-out;
}

.proker-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.proker-perc {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gold-light);
}

.proker-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.status-rencana { background: rgba(148, 163, 184, 0.2); color: #94a3b8; }
.status-proses { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.status-selesai { background: rgba(16, 185, 129, 0.2); color: #10b981; }

/* ─── QR Slide ─── */
.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 40px;
}

.qr-header {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-light);
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.qr-code-box {
    width: 380px;
    height: 380px;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.3);
    margin-bottom: 30px;
}

.qr-subtext {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.6;
}
