:root {
  --bg: #0D0D0D;
  --bg-elev: #161412;
  --bg-deep: #080807;
  --gold: #C9A84C;
  --gold-bright: #E5C16A;
  --gold-deep: #A8862E;
  --gold-muted: #6E5A28;
  --gold-glow: rgba(201, 168, 76, 0.35);
  --text: #ECE4D2;
  --text-soft: #B8B0A0;
  --text-muted: #807868;
  --line: #2A2418;
  --container: 1200px;
  --pad: clamp(20px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 128px);
  --section-y-tight: clamp(56px, 7vw, 88px);
  --font-display: 'Cinzel Decorative', serif;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Lora', Georgia, serif;
  --font-arab: 'Amiri', 'Traditional Arabic', serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-bright); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--gold); color: var(--bg); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--section-y) 0; position: relative; }
.section--tight { padding: var(--section-y-tight) 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-head { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 46px);
  color: var(--text);
  letter-spacing: 0.015em;
  line-height: 1.15;
  margin-bottom: 18px;
}
.section-title .accent { color: var(--gold); }
.section-subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-soft);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; margin: 24px auto; color: var(--gold);
  width: 100%; max-width: 280px;
}
.ornament::before, .ornament::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-muted) 50%, transparent);
}
.ornament svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; opacity: .9; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 600;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 15px 30px; border-radius: 2px;
  transition: all .35s var(--ease); border: 1px solid transparent;
  text-decoration: none; white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-deep) 100%);
  color: var(--bg-deep); border-color: var(--gold-bright);
  box-shadow: 0 4px 16px -4px var(--gold-glow);
}
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 246, 220, 0.45), transparent);
  transition: left .8s var(--ease);
}
.btn-primary:hover::after { left: 100%; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -6px var(--gold-glow), 0 0 0 1px var(--gold-bright);
  color: var(--bg-deep);
}
.btn-ghost {
  background: transparent; color: var(--gold); border-color: var(--gold-muted);
}
.btn-ghost:hover {
  background: rgba(201, 168, 76, 0.08); color: var(--gold-bright); border-color: var(--gold);
}
.btn .icon { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

/* HEADER */
header.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(13,13,13,0.6) 0%, rgba(13,13,13,0) 100%);
  transition: all .4s var(--ease);
  border-bottom: 1px solid transparent;
}
header.site-header.scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.7);
}
header .container {
  display: flex; align-items: center; justify-content: space-between; height: 76px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  color: var(--gold); font-family: var(--font-display);
  font-size: 15px; font-weight: 700; letter-spacing: 0.03em;
}
.brand-logo {
  width: 46px; height: 46px; border-radius: 50%; overflow: hidden;
  background: var(--bg-elev); border: 1px solid var(--gold-muted);
  flex-shrink: 0; position: relative;
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { line-height: 1.1; }
.brand-name small {
  display: block; font-family: var(--font-body); font-size: 11px;
  color: var(--text-muted); font-style: italic; letter-spacing: 0; margin-top: 3px;
}

nav.main-nav { display: flex; align-items: center; gap: 28px; }
nav.main-nav a {
  font-family: var(--font-heading); font-weight: 500;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text); position: relative; padding: 4px 0;
}
nav.main-nav a:hover { color: var(--gold); }
nav.main-nav a::after {
  content: ''; position: absolute; left: 50%; bottom: -4px;
  width: 0; height: 1px; background: var(--gold);
  transition: all .35s var(--ease); transform: translateX(-50%);
}
nav.main-nav a:hover::after { width: 100%; }

.menu-toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center; position: relative;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block; width: 22px; height: 1.5px;
  background: var(--gold); transition: all .3s var(--ease);
  position: absolute; left: 50%; margin-left: -11px;
}
.menu-toggle span { top: 50%; }
.menu-toggle span::before { content: ''; top: -7px; left: 0; margin: 0; }
.menu-toggle span::after { content: ''; top: 7px; left: 0; margin: 0; }
.menu-toggle.active span { background: transparent; }
.menu-toggle.active span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.active span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  nav.main-nav {
    position: fixed; top: 76px; right: 0;
    width: 100%; max-width: 340px; height: calc(100vh - 76px);
    background: var(--bg-deep); flex-direction: column;
    align-items: flex-start; gap: 0; padding: 24px 28px;
    transform: translateX(100%); transition: transform .4s var(--ease);
    border-left: 1px solid var(--line); overflow-y: auto;
    box-shadow: -16px 0 48px rgba(0,0,0,0.5);
  }
  nav.main-nav.open { transform: translateX(0); }
  nav.main-nav a {
    width: 100%; padding: 18px 0;
    border-bottom: 1px solid var(--line); font-size: 13px;
  }
  nav.main-nav a::after { display: none; }
  nav.main-nav a:last-of-type { border-bottom: none; }
  .menu-toggle { display: flex; }
}

/* HERO with cinematic slider */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; isolation: isolate;
}
.hero-slider { position: absolute; inset: 0; z-index: -3; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s var(--ease);
  will-change: opacity, transform;
}
.hero-slide.active {
  opacity: 1;
  animation: kenBurns 12s ease-out forwards;
}
@keyframes kenBurns {
  0% { transform: scale(1.08) translate(0, 0); }
  100% { transform: scale(1.18) translate(-1.5%, -1%); }
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 90% 70% at 50% 45%, rgba(13,13,13,0.4) 0%, rgba(13,13,13,0.85) 60%, rgba(8,8,7,0.96) 100%),
    linear-gradient(180deg, rgba(13,13,13,0.5) 0%, rgba(13,13,13,0.3) 40%, rgba(13,13,13,0.95) 100%);
}

.hero-particles { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute; width: 2px; height: 2px;
  background: var(--gold); border-radius: 50%;
  opacity: 0; box-shadow: 0 0 6px var(--gold-glow);
  animation: float-up linear infinite;
}
@keyframes float-up {
  0% { transform: translateY(100vh) scale(0.5); opacity: 0; }
  10% { opacity: .8; }
  90% { opacity: .8; }
  100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

.hero-content {
  padding: clamp(120px, 16vh, 160px) var(--pad) clamp(100px, 14vh, 140px);
  max-width: 920px; position: relative; z-index: 2;
}

.hero-mark {
  width: 64px; height: 64px; margin: 0 auto 24px;
  border: 1px solid var(--gold-muted); border-radius: 50%;
  display: grid; place-items: center; position: relative;
  opacity: 0; animation: scaleFade 1s var(--ease-out-expo) .1s forwards;
}
.hero-mark::before, .hero-mark::after {
  content: ''; position: absolute; background: var(--gold-muted);
}
.hero-mark::before { width: 36px; height: 1px; }
.hero-mark::after { height: 36px; width: 1px; }
.hero-mark svg {
  width: 28px; height: 28px; fill: var(--gold);
  position: relative; z-index: 1; background: var(--bg);
  padding: 4px; border-radius: 50%;
}

.bismillah {
  font-family: var(--font-arab);
  font-size: clamp(34px, 5vw, 54px);
  color: var(--gold); margin-bottom: 36px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 24px var(--gold-glow);
  opacity: 0; animation: fadeUp 1.2s var(--ease-out-expo) .3s forwards;
}

h1.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(34px, 6.4vw, 76px);
  color: var(--text); line-height: 1.05;
  letter-spacing: 0.01em; margin-bottom: 12px;
  text-shadow: 0 4px 32px rgba(0,0,0,0.6);
}
h1.hero-title .line-1 { display: block; opacity: 0; animation: fadeUp 1.2s var(--ease-out-expo) .5s forwards; }
h1.hero-title .line-2 {
  display: block;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 60%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0; animation: fadeUp 1.2s var(--ease-out-expo) .7s forwards;
  margin-top: 4px;
}

.hero-divider {
  width: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 28px auto;
  animation: expandLine 1.4s var(--ease-out-expo) .9s forwards;
}
@keyframes expandLine { to { width: 180px; } }

.hero-tagline {
  font-style: italic; font-size: clamp(16px, 1.7vw, 19px);
  color: var(--text); margin: 0 auto 14px; max-width: 620px;
  opacity: 0; animation: fadeUp 1.2s var(--ease-out-expo) 1.1s forwards;
}
.hero-intro {
  font-size: clamp(14px, 1.4vw, 16px); color: var(--text-soft);
  max-width: 560px; margin: 0 auto 44px; line-height: 1.75;
  opacity: 0; animation: fadeUp 1.2s var(--ease-out-expo) 1.3s forwards;
}
.hero-cta {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 1.2s var(--ease-out-expo) 1.5s forwards;
}

.hero-controls {
  position: absolute; bottom: clamp(24px, 5vh, 48px);
  left: 50%; transform: translateX(-50%); z-index: 5;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; animation: fadeUp 1s var(--ease-out-expo) 1.8s forwards;
}
.hero-dots { display: flex; gap: 8px; align-items: center; }
.hero-dot {
  width: 24px; height: 2px; background: rgba(232, 225, 208, 0.25);
  border: none; padding: 0; cursor: pointer;
  position: relative; overflow: hidden; transition: background .3s var(--ease);
}
.hero-dot::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold); transform-origin: left; transform: scaleX(0);
}
.hero-dot.active { background: rgba(201, 168, 76, 0.35); }
.hero-dot.active::before { animation: progressDot 6s linear forwards; }
@keyframes progressDot { to { transform: scaleX(1); } }

.hero-arrow {
  width: 36px; height: 36px; border: 1px solid var(--gold-muted);
  border-radius: 50%; display: grid; place-items: center;
  color: var(--gold); transition: all .3s var(--ease);
}
.hero-arrow:hover {
  background: var(--gold); color: var(--bg);
  border-color: var(--gold); box-shadow: 0 0 20px var(--gold-glow);
}
.hero-arrow svg { width: 14px; height: 14px; fill: currentColor; }

.scroll-hint {
  position: absolute; bottom: clamp(96px, 13vh, 130px);
  left: 50%; transform: translateX(-50%);
  color: var(--text-muted); font-size: 10px;
  letter-spacing: 0.3em; text-transform: uppercase;
  text-align: center; font-family: var(--font-heading);
  opacity: 0; animation: fadeUp 1s var(--ease-out-expo) 2s forwards; z-index: 4;
}
.scroll-hint::after {
  content: ''; display: block; width: 1px; height: 28px;
  background: linear-gradient(180deg, var(--gold-muted), transparent);
  margin: 10px auto 0; animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.6); opacity: 0.3; transform-origin: top; }
  50% { transform: scaleY(1.2); opacity: 1; transform-origin: top; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleFade {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 600px) {
  .scroll-hint { display: none; }
  .hero-mark { width: 56px; height: 56px; margin-bottom: 18px; }
}

/* STRIP INFO */
.strip-info {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(36px, 5vw, 56px) 0;
  position: relative; z-index: 5;
}
.strip-info-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}
@media (max-width: 767px) { .strip-info-grid { grid-template-columns: 1fr; gap: 20px; } }
.info-card {
  display: flex; align-items: center; gap: 18px;
  padding: 8px 0; border-left: 1px solid var(--line); padding-left: 28px;
}
.info-card:first-child { border-left: none; padding-left: 0; }
@media (max-width: 767px) {
  .info-card {
    border-left: none; padding-left: 0;
    border-bottom: 1px solid var(--line); padding-bottom: 18px;
  }
  .info-card:last-child { border-bottom: none; padding-bottom: 0; }
}
.info-icon {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--gold-muted); display: grid; place-items: center;
  flex-shrink: 0; transition: all .35s var(--ease);
}
.info-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.info-meta {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--text-muted); font-family: var(--font-heading);
}
.info-value {
  font-family: var(--font-display); font-size: 17px;
  color: var(--gold); margin-top: 6px; line-height: 1.3;
}
.info-sub { font-size: 13px; color: var(--text-soft); margin-top: 3px; font-style: italic; }

/* TENTANG */
.tentang { position: relative; overflow: hidden; }
.tentang-bg {
  position: absolute; inset: -10% 0;
  background-image: url('../images/pengasuh-outdoor.jpg');
  background-size: cover; background-position: center 30%;
  filter: brightness(0.16) contrast(1.15) saturate(0.4) blur(2px);
  z-index: -2; will-change: transform;
}
.tentang::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(201, 168, 76, 0.04), transparent 60%),
    linear-gradient(180deg, rgba(13,13,13,0.95), rgba(13,13,13,0.85), rgba(13,13,13,0.96));
  z-index: -1;
}
.tentang-grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
@media (max-width: 900px) { .tentang-grid { grid-template-columns: 1fr; gap: 48px; } }
.tentang-text h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 4.4vw, 44px); color: var(--text);
  margin-bottom: 12px; line-height: 1.15; letter-spacing: 0.01em;
}
.tentang-text h2 .accent { color: var(--gold); }
.tentang-text .lead {
  font-style: italic; color: var(--gold-bright);
  font-size: clamp(16px, 1.7vw, 19px); margin-bottom: 28px; line-height: 1.6;
}
.tentang-text p { margin-bottom: 18px; color: var(--text); line-height: 1.85; }
.tentang-text p:last-of-type { color: var(--text-soft); }
.tentang-text .actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

.frame-photo {
  position: relative; padding: 14px;
  border: 1px solid var(--gold-muted); transition: transform .6s var(--ease);
}
.frame-photo:hover { transform: translateY(-4px); }
.frame-photo::before, .frame-photo::after {
  content: ''; position: absolute;
  width: 36px; height: 36px; border: 2px solid var(--gold);
  transition: all .4s var(--ease);
}
.frame-photo::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.frame-photo::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.frame-photo img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  filter: sepia(0.08) saturate(0.95) contrast(1.05);
}
.frame-caption {
  position: absolute; bottom: 14px; left: 14px; right: 14px;
  padding: 14px 18px;
  background: linear-gradient(180deg, transparent, rgba(8,8,7,0.88));
  font-family: var(--font-heading); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); text-align: center;
}
.frame-caption span {
  display: block; font-family: var(--font-body); font-size: 12px;
  letter-spacing: 0; text-transform: none; color: var(--text-soft);
  margin-top: 4px; font-style: italic;
}

/* JADWAL */
.jadwal-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 28px);
}
@media (max-width: 900px) { .jadwal-grid { grid-template-columns: 1fr; gap: 20px; } }
.jadwal-card {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 4px; overflow: hidden;
  transition: all .4s var(--ease);
  display: flex; flex-direction: column; position: relative;
}
.jadwal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.6), 0 0 0 1px var(--gold-muted);
}
.jadwal-photo { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.jadwal-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.65) saturate(0.85);
  transition: all .8s var(--ease);
}
.jadwal-card:hover .jadwal-photo img {
  filter: brightness(0.9) saturate(1); transform: scale(1.06);
}
.jadwal-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.4) 0%, transparent 30%, transparent 50%, rgba(13,13,13,0.85) 100%);
}
.jadwal-num {
  position: absolute; top: 18px; left: 18px;
  width: 40px; height: 40px; border: 1px solid var(--gold);
  border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); color: var(--gold);
  font-size: 13px; background: rgba(8, 8, 7, 0.7);
  backdrop-filter: blur(6px); z-index: 3;
}
.jadwal-time-overlay {
  position: absolute; bottom: 18px; right: 18px;
  font-family: var(--font-display); color: var(--gold-bright);
  font-size: 20px; z-index: 3;
  text-shadow: 0 2px 16px rgba(0,0,0,0.9);
}
.jadwal-body {
  padding: clamp(20px, 2.4vw, 28px);
  flex: 1; display: flex; flex-direction: column;
}
.jadwal-body h3 {
  font-family: var(--font-display); font-size: clamp(18px, 1.9vw, 21px);
  color: var(--text); line-height: 1.3; margin-bottom: 12px;
}
.jadwal-body p {
  color: var(--text-soft); font-size: 14.5px; line-height: 1.7;
  flex: 1; margin-bottom: 20px;
}
.jadwal-body .meta {
  display: inline-block; font-family: var(--font-heading);
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); padding: 7px 14px;
  border: 1px solid var(--gold-muted); border-radius: 2px;
  align-self: flex-start; background: rgba(201, 168, 76, 0.04);
  transition: all .3s var(--ease);
}
.jadwal-card:hover .jadwal-body .meta {
  border-color: var(--gold); background: rgba(201, 168, 76, 0.1);
}

/* ============================================
   MAULID AKBAR — BANNER + COUNTDOWN
   ============================================ */
.maulid-banner {
  position: relative;
  padding: clamp(64px, 8vw, 110px) 0;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--gold-muted);
  border-bottom: 1px solid var(--gold-muted);
}
.maulid-banner-bg {
  position: absolute; inset: -10% 0;
  background-image: url('../images/pengasuh-dzikir-2.jpg');
  background-size: cover; background-position: center;
  filter: brightness(0.28) contrast(1.15) saturate(0.7);
  z-index: -3; will-change: transform;
}
.maulid-banner::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.08), transparent 60%),
    linear-gradient(90deg, rgba(13,13,13,0.92) 0%, rgba(13,13,13,0.55) 50%, rgba(13,13,13,0.85) 100%);
}
@media (max-width: 900px) {
  .maulid-banner::before {
    background: linear-gradient(180deg, rgba(13,13,13,0.85), rgba(13,13,13,0.92));
  }
}

.maulid-stars { position: absolute; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.maulid-star {
  position: absolute; color: var(--gold);
  opacity: 0; animation: starTwinkle 4s ease-in-out infinite;
}
.maulid-star svg { width: 100%; height: 100%; fill: currentColor; filter: drop-shadow(0 0 8px var(--gold-glow)); }
@keyframes starTwinkle {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50% { opacity: .7; transform: scale(1); }
}

.maulid-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .maulid-grid { grid-template-columns: 1fr; gap: 40px; } }

.maulid-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-heading); font-size: 11px;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold);
  padding: 10px 22px 10px 18px; border: 1px solid var(--gold);
  border-radius: 100px; background: rgba(201, 168, 76, 0.06);
  backdrop-filter: blur(8px); margin-bottom: 28px;
  position: relative; overflow: hidden;
}
.maulid-eyebrow::before {
  content: ''; width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%;
  box-shadow: 0 0 14px var(--gold);
  animation: pulseDot 2s ease-in-out infinite; flex-shrink: 0;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--gold); }
  50% { opacity: .5; box-shadow: 0 0 20px var(--gold); }
}

.maulid-banner h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(44px, 8vw, 86px);
  line-height: 0.98; letter-spacing: 0.01em; margin-bottom: 16px;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 12px rgba(201, 168, 76, 0.2));
}

.maulid-banner .arab {
  font-family: var(--font-arab);
  font-size: clamp(26px, 3.4vw, 38px);
  color: var(--text); margin-bottom: 16px; letter-spacing: 0.02em;
}
.maulid-banner .lead {
  font-style: italic; font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text); line-height: 1.6; margin-bottom: 28px; max-width: 520px;
}

.maulid-meta-row {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin-bottom: 32px; padding: 18px 0;
  border-top: 1px solid var(--gold-muted);
  border-bottom: 1px solid var(--gold-muted);
}
.maulid-meta-item { display: flex; flex-direction: column; gap: 4px; }
.maulid-meta-item .label {
  font-family: var(--font-heading); font-size: 10px;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-muted);
}
.maulid-meta-item .value {
  font-family: var(--font-display); font-size: 15px; color: var(--gold); line-height: 1.3;
}

/* Countdown */
.countdown-card {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(8,8,7,0.6));
  border: 1px solid var(--gold-muted);
  border-radius: 6px;
  padding: clamp(28px, 3.5vw, 40px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative; overflow: hidden;
}
.countdown-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.countdown-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.countdown-label {
  font-family: var(--font-heading); font-size: 11px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); text-align: center; margin-bottom: 8px;
}
.countdown-sublabel {
  font-style: italic; text-align: center;
  color: var(--text-soft); font-size: 13px; margin-bottom: 24px;
}
.countdown-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1.2vw, 14px);
}
.countdown-cell {
  background: rgba(13, 13, 13, 0.6);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(14px, 2vw, 20px) 6px;
  text-align: center; position: relative;
  transition: all .4s var(--ease);
}
.countdown-cell:hover {
  border-color: var(--gold-muted);
  background: rgba(201, 168, 76, 0.05);
}
.countdown-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 44px);
  color: var(--gold-bright);
  line-height: 1; font-weight: 700;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 12px rgba(201,168,76,0.25);
  display: block;
}
.countdown-unit {
  font-family: var(--font-heading); font-size: 10px;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 8px; display: block;
}
.countdown-tick {
  position: absolute; top: 4px; right: 4px;
  width: 5px; height: 5px;
  background: var(--gold); border-radius: 50%;
  box-shadow: 0 0 8px var(--gold);
  opacity: 0;
}
.countdown-cell.tick .countdown-tick { animation: tickFlash .5s ease-out; }
@keyframes tickFlash {
  0% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.4); }
  100% { opacity: 0; transform: scale(1); }
}

.countdown-date {
  text-align: center; margin-top: 24px;
  padding-top: 20px; border-top: 1px dashed var(--line);
}
.countdown-date .when {
  font-family: var(--font-display); font-size: 18px;
  color: var(--text); margin-bottom: 4px;
}
.countdown-date .where {
  font-style: italic; font-size: 13px; color: var(--text-soft);
}
.countdown-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; justify-content: center; }
.countdown-cta .btn { flex: 1; min-width: 140px; }

/* ============================================
   QURAN PLAYER
   ============================================ */
.quran {
  background: var(--bg-deep);
  position: relative; overflow: hidden;
}
.quran::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201,168,76,0.04), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(201,168,76,0.03), transparent 50%);
  pointer-events: none;
}
.quran-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 900px) { .quran-wrap { grid-template-columns: 1fr; gap: 36px; } }

.quran-side h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 4vw, 40px); color: var(--text);
  margin-bottom: 14px; line-height: 1.2;
}
.quran-side h2 .accent { color: var(--gold); }
.quran-side .arabic-quote {
  font-family: var(--font-arab);
  font-size: clamp(22px, 2.8vw, 30px);
  color: var(--gold); margin: 20px 0 14px;
  line-height: 1.5; text-shadow: 0 2px 16px var(--gold-glow);
}
.quran-side .quote-translation {
  font-style: italic; color: var(--text-soft);
  font-size: 14.5px; line-height: 1.7; max-width: 440px;
}
.quran-side .quote-source {
  font-family: var(--font-heading); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 10px;
}

.player-card {
  background: linear-gradient(160deg, var(--bg-elev), var(--bg-deep));
  border: 1px solid var(--gold-muted);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 36px);
  position: relative;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.7);
}
.player-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.player-track-info {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 22px;
}
.player-art {
  width: 72px; height: 72px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold-bright));
  display: grid; place-items: center;
  position: relative; overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 24px -8px var(--gold-glow);
}
.player-art::before {
  content: ''; position: absolute; inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: rotateGlow 8s linear infinite;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.player-card.playing .player-art::before { opacity: 1; }
@keyframes rotateGlow { to { transform: rotate(360deg); } }
.player-art svg { width: 32px; height: 32px; fill: var(--bg-deep); position: relative; z-index: 1; }

.player-track-meta { flex: 1; min-width: 0; }
.player-surah {
  font-family: var(--font-display); font-size: clamp(17px, 2vw, 21px);
  color: var(--text); line-height: 1.3; margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player-reciter {
  font-style: italic; color: var(--text-soft); font-size: 13px;
}
.player-arabic {
  font-family: var(--font-arab); font-size: 22px;
  color: var(--gold); margin-top: 4px;
}

.player-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; margin: 22px 0;
}
.player-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-muted);
  display: grid; place-items: center;
  color: var(--gold);
  transition: all .25s var(--ease);
}
.player-btn:hover { border-color: var(--gold); background: rgba(201,168,76,0.08); }
.player-btn svg { width: 16px; height: 16px; fill: currentColor; }
.player-btn.play {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  border-color: var(--gold-bright);
  color: var(--bg-deep);
  box-shadow: 0 8px 20px -6px var(--gold-glow);
}
.player-btn.play:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px -6px var(--gold-glow);
}
.player-btn.play svg { width: 22px; height: 22px; }

.player-progress {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-heading); font-size: 11px;
  color: var(--text-muted); letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}
.player-bar {
  flex: 1; height: 4px;
  background: var(--line); border-radius: 100px;
  position: relative; cursor: pointer;
  overflow: hidden;
}
.player-bar-fill {
  position: absolute; top: 0; left: 0; bottom: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  width: 0%; border-radius: 100px;
  transition: width .15s linear;
}
.player-bar-thumb {
  position: absolute; top: 50%;
  width: 10px; height: 10px;
  background: var(--gold-bright); border-radius: 50%;
  transform: translate(-50%, -50%); left: 0;
  box-shadow: 0 0 12px var(--gold);
  opacity: 0; transition: opacity .2s ease;
  pointer-events: none;
}
.player-bar:hover .player-bar-thumb { opacity: 1; }

.player-playlist {
  margin-top: 22px; padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.playlist-label {
  font-family: var(--font-heading); font-size: 10px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 8px;
}
.playlist-item {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px; border-radius: 4px;
  cursor: pointer; transition: all .25s var(--ease);
  border: 1px solid transparent;
}
.playlist-item:hover { background: rgba(201,168,76,0.04); }
.playlist-item.active {
  background: rgba(201,168,76,0.08);
  border-color: var(--gold-muted);
}
.playlist-num {
  font-family: var(--font-heading); font-size: 11px;
  color: var(--text-muted); width: 22px;
  letter-spacing: 0.05em;
}
.playlist-item.active .playlist-num { color: var(--gold); }
.playlist-info { flex: 1; min-width: 0; }
.playlist-title {
  font-family: var(--font-display); font-size: 14px;
  color: var(--text); margin-bottom: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.playlist-item.active .playlist-title { color: var(--gold); }
.playlist-sub { font-size: 12px; color: var(--text-muted); font-style: italic; }
.playlist-duration {
  font-family: var(--font-heading); font-size: 11px;
  color: var(--text-muted); font-variant-numeric: tabular-nums;
}
.playlist-eq {
  width: 14px; height: 14px;
  display: flex; gap: 2px; align-items: end;
}
.playlist-eq span {
  flex: 1; background: var(--gold);
  border-radius: 1px;
  animation: eqBar 1s ease-in-out infinite;
}
.playlist-eq span:nth-child(1) { animation-delay: 0s; }
.playlist-eq span:nth-child(2) { animation-delay: 0.2s; }
.playlist-eq span:nth-child(3) { animation-delay: 0.4s; }
@keyframes eqBar {
  0%, 100% { height: 30%; }
  50% { height: 100%; }
}

/* ============================================
   YOUTUBE LIVE
   ============================================ */
.live {
  position: relative; overflow: hidden;
}
.live-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(201,168,76,0.06), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  z-index: -1;
}
.live-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(28px, 3vw, 40px);
  align-items: start;
}
@media (max-width: 900px) { .live-grid { grid-template-columns: 1fr; gap: 24px; } }

.live-player-frame {
  position: relative;
  border: 1px solid var(--gold-muted);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-deep);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.7);
}
.live-player-frame::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  z-index: 2;
}
.live-player {
  position: relative; aspect-ratio: 16/9; width: 100%;
}
.live-player iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: none;
}
.live-badge {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 100px;
  background: rgba(220, 38, 38, 0.92);
  font-family: var(--font-heading); font-size: 10px;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: white; z-index: 3;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.live-badge::before {
  content: ''; width: 7px; height: 7px;
  background: white; border-radius: 50%;
  animation: pulseDot 1.6s ease-in-out infinite;
}

.live-info {
  padding: clamp(20px, 2vw, 26px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-elev), transparent);
}
.live-info h3 {
  font-family: var(--font-display); font-size: clamp(18px, 2vw, 22px);
  color: var(--text); margin-bottom: 8px; line-height: 1.3;
}
.live-info .live-meta {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-family: var(--font-heading); font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted);
}
.live-info .live-meta span { display: inline-flex; align-items: center; gap: 6px; }
.live-info .live-meta svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* Upcoming streams sidebar */
.live-upcoming {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(20px, 2.4vw, 28px);
}
.live-upcoming-title {
  font-family: var(--font-heading); font-size: 11px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.live-upcoming-title::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}
.upcoming-item {
  display: flex; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer; transition: all .25s var(--ease);
}
.upcoming-item:last-child { border-bottom: none; }
.upcoming-item:hover { padding-left: 6px; }
.upcoming-thumb {
  width: 100px; aspect-ratio: 16/9;
  border-radius: 3px; overflow: hidden; flex-shrink: 0;
  position: relative;
}
.upcoming-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.85);
  transition: all .4s var(--ease);
}
.upcoming-item:hover .upcoming-thumb img { filter: brightness(1); transform: scale(1.05); }
.upcoming-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0.2);
}
.upcoming-info { flex: 1; min-width: 0; }
.upcoming-title-text {
  font-family: var(--font-display); font-size: 13px;
  color: var(--text); line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.upcoming-time {
  font-family: var(--font-heading); font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold);
}

/* ============================================
   KALENDAR ACARA
   ============================================ */
.kalendar { background: var(--bg-deep); position: relative; }
.kalendar-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
@media (max-width: 900px) { .kalendar-wrap { grid-template-columns: 1fr; gap: 28px; } }

.cal-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(20px, 2.5vw, 32px);
  position: relative;
  overflow: hidden;
}
.cal-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.cal-month-name {
  font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 26px);
  color: var(--gold); letter-spacing: 0.02em;
}
.cal-month-name small {
  display: block; font-family: var(--font-body);
  font-size: 12px; font-style: italic;
  color: var(--text-muted); letter-spacing: 0; margin-top: 2px;
}
.cal-nav { display: flex; gap: 8px; align-items: center; }
.cal-nav-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--gold-muted);
  display: grid; place-items: center;
  color: var(--gold); transition: all .25s var(--ease);
}
.cal-nav-btn:hover {
  background: var(--gold); color: var(--bg);
  border-color: var(--gold);
}
.cal-nav-btn svg { width: 12px; height: 12px; fill: currentColor; }

.cal-weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px; margin-bottom: 6px;
}
.cal-weekday {
  font-family: var(--font-heading); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted); text-align: center; padding: 8px 0;
}
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-body);
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  transition: all .25s var(--ease);
  font-size: 13px;
  color: var(--text);
}
.cal-day.empty { cursor: default; }
.cal-day.empty:hover { background: transparent; }
.cal-day:not(.empty):hover {
  background: rgba(201,168,76,0.06);
  border-color: var(--gold-muted);
}
.cal-day.today {
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  border-color: var(--gold);
  font-weight: 600;
}
.cal-day.has-event {
  color: var(--gold-bright);
  font-weight: 600;
}
.cal-day.has-event::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--gold);
}
.cal-day.has-event.multi::after {
  width: 14px;
  background: linear-gradient(90deg, var(--gold) 0 4px, transparent 4px 5px, var(--gold) 5px 9px, transparent 9px 10px, var(--gold) 10px 14px);
  box-shadow: none;
}
.cal-day.selected {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.cal-day.selected.has-event::after { background: var(--bg); box-shadow: none; }

.cal-legend {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-heading); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted);
}
.cal-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}
.cal-legend-dot.muted { background: var(--gold-muted); }

/* Events list */
.cal-events-side h3 {
  font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 24px);
  color: var(--text); margin-bottom: 6px;
}
.cal-events-side .selected-day {
  font-style: italic; color: var(--gold-bright);
  font-size: 14px; margin-bottom: 22px;
}
.cal-events-list {
  display: flex; flex-direction: column; gap: 12px;
}
.cal-event {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 16px 18px;
  transition: all .3s var(--ease);
  display: flex; gap: 14px;
}
.cal-event:hover {
  border-color: var(--gold-muted);
  border-left-color: var(--gold-bright);
  transform: translateX(3px);
}
.cal-event-time {
  font-family: var(--font-display); font-size: 16px;
  color: var(--gold); flex-shrink: 0;
  letter-spacing: 0.02em; min-width: 60px;
}
.cal-event-time small {
  display: block; font-family: var(--font-heading);
  font-size: 9px; letter-spacing: 0.2em;
  color: var(--text-muted); margin-top: 2px;
}
.cal-event-info { flex: 1; }
.cal-event-info h4 {
  font-family: var(--font-display); font-size: 15px;
  color: var(--text); line-height: 1.3; margin-bottom: 4px;
}
.cal-event-info p {
  font-size: 13px; color: var(--text-soft);
  line-height: 1.55;
}
.cal-event-tag {
  display: inline-block; margin-top: 8px;
  font-family: var(--font-heading); font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); padding: 3px 8px;
  border: 1px solid var(--gold-muted); border-radius: 2px;
}
.cal-event-empty {
  text-align: center; padding: 32px 20px;
  color: var(--text-muted); font-style: italic;
  border: 1px dashed var(--line); border-radius: 6px;
}

/* ARTIKEL */
.artikel { background: var(--bg); position: relative; }
.artikel-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 28px);
}
@media (max-width: 900px) { .artikel-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .artikel-grid { grid-template-columns: 1fr; } }

.artikel-card {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 4px; overflow: hidden;
  transition: all .35s var(--ease);
  display: flex; flex-direction: column;
}
.artikel-card:hover {
  border-color: var(--gold-muted);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.5);
}
.artikel-thumb { aspect-ratio: 16/9; overflow: hidden; position: relative; background: var(--bg-deep); }
.artikel-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: all .8s var(--ease);
  filter: saturate(0.85) brightness(0.85);
}
.artikel-card:hover .artikel-thumb img { transform: scale(1.06); filter: saturate(1) brightness(1); }
.artikel-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(13,13,13,0.6));
}
.artikel-body { padding: clamp(20px, 2.2vw, 26px); flex: 1; display: flex; flex-direction: column; }
.artikel-cat {
  font-family: var(--font-heading); font-size: 10.5px;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.artikel-card h3 {
  font-family: var(--font-display); font-size: clamp(17px, 1.9vw, 20px);
  color: var(--text); line-height: 1.35; margin-bottom: 12px;
  text-wrap: pretty; flex: 0 0 auto;
}
.artikel-card p {
  color: var(--text-soft); font-size: 14.5px; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; flex: 1;
}
.artikel-meta {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--text-muted);
  display: flex; justify-content: space-between;
  font-family: var(--font-heading); letter-spacing: 0.05em;
}

/* GALERI dengan filter kategori */
.galeri { background: var(--bg-deep); }
.galeri-filters {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.galeri-filter {
  font-family: var(--font-heading);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-soft);
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  cursor: pointer;
  transition: all .3s var(--ease);
  background: transparent;
  white-space: nowrap;
}
.galeri-filter:hover { color: var(--gold); border-color: var(--gold-muted); }
.galeri-filter.active {
  color: var(--bg);
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 4px 16px -6px var(--gold-glow);
}
.galeri-filter .count {
  display: inline-block; margin-left: 6px;
  font-size: 9px; opacity: .7;
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(120px, 14vw, 170px);
  gap: 8px;
}
@media (max-width: 900px) { .galeri-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 130px; } }
@media (max-width: 600px) { .galeri-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 6px; } }

.galeri-item {
  overflow: hidden; position: relative;
  border-radius: 3px; cursor: pointer;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.galeri-item.feature { grid-column: span 2; grid-row: span 2; }
.galeri-item.wide { grid-column: span 2; }
@media (max-width: 600px) {
  .galeri-item.feature { grid-column: span 2; grid-row: span 2; }
  .galeri-item.wide { grid-column: span 2; grid-row: auto; }
}
.galeri-item.hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.galeri-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), filter .4s var(--ease);
  filter: saturate(0.82) brightness(0.82);
}
.galeri-item:hover img { transform: scale(1.08); filter: saturate(1.05) brightness(1); }
.galeri-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7));
  opacity: 0.75; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.galeri-item:hover::after { opacity: 0.4; }

.galeri-caption {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  z-index: 2;
  transform: translateY(8px); opacity: 0;
  transition: all .4s var(--ease);
}
.galeri-item:hover .galeri-caption { transform: translateY(0); opacity: 1; }
.galeri-cat-tag {
  display: inline-block;
  font-family: var(--font-heading); font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 4px;
  padding: 3px 7px;
  background: rgba(8,8,7,0.85);
  border: 1px solid var(--gold-muted);
  border-radius: 2px;
}
.galeri-cap-text {
  font-family: var(--font-display); font-size: 13px;
  color: var(--text); line-height: 1.35;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}

/* FOOTER */
footer.site-footer {
  background: var(--bg-deep);
  padding-top: clamp(64px, 8vw, 96px);
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--text-soft);
  position: relative;
}
footer.site-footer::before {
  content: ''; position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 280px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 56px); margin-bottom: 56px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-col h4 {
  font-family: var(--font-heading); font-size: 11px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--text-soft); transition: all .25s var(--ease); }
.footer-col a:hover { color: var(--gold); padding-left: 6px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-tagline { font-style: italic; margin-bottom: 18px; line-height: 1.7; max-width: 320px; }
.footer-address { font-size: 13.5px; line-height: 1.8; color: var(--text-muted); }
.footer-bottom {
  padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--text-muted);
  font-family: var(--font-heading); letter-spacing: 0.05em;
}

/* FLOATING WA */
.floating-wa {
  position: fixed; bottom: clamp(16px, 3vw, 28px); right: clamp(16px, 3vw, 28px);
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #1aa850);
  display: grid; place-items: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35), 0 4px 12px rgba(0,0,0,0.4);
  z-index: 40; transition: all .3s var(--ease);
}
.floating-wa:hover { transform: scale(1.1); }
.floating-wa svg { width: 28px; height: 28px; fill: white; }
.floating-wa::before {
  content: ''; position: absolute; inset: -4px;
  border: 1px solid rgba(37, 211, 102, 0.4);
  border-radius: 50%; animation: pulse-wa 2.4s ease-out infinite;
}
@keyframes pulse-wa {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* REVEAL */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease-out-expo), transform .9s var(--ease-out-expo);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo);
}
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 120ms; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 240ms; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 360ms; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* Footer link icons */
.footer-list-icons { list-style: none; }
.footer-list-icons li { margin-bottom: 12px; }
.footer-list-icons a {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-soft); transition: all .25s var(--ease);
}
.footer-list-icons a:hover { color: var(--gold); padding-left: 4px; }
.footer-list-icons .fcol-ic {
  width: 16px; height: 16px; flex-shrink: 0;
  color: var(--gold-muted); transition: color .25s var(--ease);
}
.footer-list-icons a:hover .fcol-ic { color: var(--gold); }

/* Social row in footer brand */
.footer-socials {
  display: flex; gap: 10px; margin-top: 18px;
}
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--gold-muted);
  display: grid; place-items: center;
  color: var(--gold); transition: all .25s var(--ease);
}
.footer-socials a:hover {
  background: var(--gold); color: var(--bg);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -4px var(--gold-glow);
  padding-left: 0;
}
.footer-socials a svg { width: 16px; height: 16px; }


/* ============================================
   FEATURE FLAGS — Sprint 4 Session 13 (D-034 + D-035)
   Live YouTube section + Materi/Download UI hide
   ============================================ */
body[data-feature-live="off"] #live,
body[data-feature-live="off"] .live-banner,
body[data-feature-live="off"] [data-live-banner] {
  display: none !important;
}
body[data-feature-downloads="off"] [data-downloads-link] {
  display: none !important;
}

/* ============================================
   EMPTY STATE + SKELETON SHIMMER (Session 13 file 16 bagian 1+2)
   I-014 (galeri) + I-015 (artikel)
   ============================================ */
.galeri-empty,
.artikel-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--cream-dim, #a89e87);
}
.galeri-empty p,
.artikel-empty p { margin: 4px 0; }
.galeri-empty p.muted,
.artikel-empty p.muted { font-size: 14px; opacity: 0.7; }

.galeri-skeleton {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--cream-dim, #a89e87);
  opacity: 0.5;
  animation: galeriPulse 2s infinite;
}
@keyframes galeriPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 0.2; } }

.artikel-skeleton {
  background: rgba(255,255,255,0.02);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line, #2a2620);
}
.artikel-skeleton .artikel-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
}
.artikel-skeleton .artikel-body { padding: 16px; }
.artikel-skeleton .artikel-cat { height: 14px; width: 60px; margin-bottom: 8px; border-radius: 4px; }
.artikel-skeleton h3 { height: 18px; width: 80%; margin: 0 0 8px; border-radius: 4px; }
.artikel-skeleton p { height: 14px; width: 100%; margin: 0; border-radius: 4px; }
.skeleton-shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
}
@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================
   MAULID FEATURE FLAG (D-041, Session 14 file 17 bagian 1)
   I-017: hide section + nav link + footer link saat OFF
   ============================================ */
body[data-feature-maulid="off"] #maulid,
body[data-feature-maulid="off"] #maulid-section,
body[data-feature-maulid="off"] .strip-info-maulid,
body[data-feature-maulid="off"] a[href="/maulid"] {
  display: none !important;
}

/* ============================================
   GALLERY VIDEO + GROUP BY DATE (D-042, Session 14 file 17 bagian 2)
   ============================================ */
.album-date-group { margin-bottom: 48px; }
.album-date-group .date-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line, #2a2620);
  flex-wrap: wrap;
}
.album-date-group .date-header h3 {
  font-family: var(--font-heading, 'Cinzel Decorative', serif);
  color: var(--gold, #C9A84C);
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.album-date-group .date-header .meta {
  font-size: 13px;
  color: var(--cream-dim, #a89e87);
  letter-spacing: 0.04em;
}

.album-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}

/* Media items shared */
.media-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  outline: none;
}
.media-item:focus-visible {
  box-shadow: 0 0 0 2px var(--gold, #C9A84C);
}
.media-item.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Video tile placeholder (no thumbnail per D-042) */
.media-item.video {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}
.media-item.video .video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-item.video .play-icon {
  width: 48px;
  height: 48px;
  color: var(--gold, #C9A84C);
  opacity: 0.85;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.media-item.video:hover .play-icon,
.media-item.video:focus-visible .play-icon {
  transform: scale(1.15);
  opacity: 1;
}
.media-item.video .duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* Caption overlay */
.media-item .caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 16px 8px 8px;
  color: #fff;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.media-item:hover .caption,
.media-item:focus-visible .caption { opacity: 1; }

/* Lightbox overlay */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
}
.lightbox-overlay.open {
  display: flex;
  animation: lightboxFadeIn 0.18s ease;
}
@keyframes lightboxFadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.lightbox-overlay .lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-photo {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.lightbox-video {
  max-width: 90vw;
  max-height: 90vh;
  background: #000;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 28px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(0,0,0,0.85);
  outline: none;
}

@media (max-width: 600px) {
  .album-media-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .lightbox-overlay { padding: 12px; }
  .lightbox-close { top: 8px; right: 8px; width: 40px; height: 40px; font-size: 24px; }
}
