@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0d0c0c;
  --bg-2: #131211;
  --bg-3: #1a1816;
  --surface: #1e1b18;
  --surface-2: #252220;
  --border: rgba(255,255,255,0.07);
  --accent: #e8652a;
  --accent-soft: rgba(232,101,42,0.15);
  --accent-glow: rgba(232,101,42,0.35);
  --gold: #c9a84c;
  --gold-soft: rgba(201,168,76,0.12);
  --text: #f0ece6;
  --text-muted: #8a8178;
  --text-dim: #4e4a44;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f8f6f3;
    --bg-2: #f0ede8;
    --bg-3: #e8e4de;
    --surface: #ffffff;
    --surface-2: #f5f2ef;
    --border: rgba(0,0,0,0.08);
    --accent: #d4551e;
    --accent-soft: rgba(212,85,30,0.1);
    --accent-glow: rgba(212,85,30,0.2);
    --gold: #b8922e;
    --gold-soft: rgba(184,146,46,0.08);
    --text: #1a1816;
    --text-muted: #6b635c;
    --text-dim: #a39a92;
  }
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.grain-overlay {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.6;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #c9a84c, transparent 70%);
  top: -200px;
  left: -200px;
  animation: drift1 18s ease-in-out infinite alternate;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #2a4080, transparent 70%);
  bottom: -150px;
  right: -150px;
  animation: drift2 22s ease-in-out infinite alternate;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201,168,76,0.55), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  opacity: 0.08;
  animation: drift3 14s ease-in-out infinite alternate;
}

@keyframes drift1 {
  from { transform: translate(0,0); }
  to { transform: translate(60px,40px); }
}

@keyframes drift2 {
  from { transform: translate(0,0); }
  to { transform: translate(-40px,-60px); }
}

@keyframes drift3 {
  from { transform: translate(-50%,-50%) scale(1); }
  to { transform: translate(-50%,-50%) scale(1.3); }
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

@keyframes orbPulse {
  0%, 100% { opacity: 0.2; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 0.4; transform: translate(-50%,-50%) scale(1.2); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

@keyframes tickerScroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--accent-glow); }
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes pulse-glow {
  0%, 100% { text-shadow: 0 0 12px rgba(201,168,76,0.4); }
  50% { text-shadow: 0 0 28px rgba(201,168,76,0.9); }
}

@keyframes dots {
  0%   { content: '.'; }
  33%  { content: '..'; }
  66%  { content: '...'; }
}

@keyframes reveal {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border-radius: 50px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover:not(:disabled) {
  background: #d4551e;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-primary.full {
  width: 100%;
  justify-content: center;
}

.btn-primary.disabled,
.btn-primary:disabled {
  background: linear-gradient(135deg, #6b5a2e 0%, #4a3f20 100%);
  color: rgba(201,168,76,0.4);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-primary.loading { pointer-events: none; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50px;
  transition: background 0.25s, transform 0.2s, color 0.25s;
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-login {
  padding: 10px 22px;
  background: var(--accent);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 50px;
  transition: background 0.25s, transform 0.2s;
}

.btn-login:hover {
  background: #d4551e;
  transform: translateY(-1px);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header { margin-bottom: 48px; }

.section-header.centered { text-align: center; }

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  line-height: 1.1;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 16px auto 0;
  line-height: 1.7;
}

.section-cta {
  margin-top: 40px;
  text-align: center;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 20px 0;
  transition: padding 0.3s, background 0.3s, backdrop-filter 0.3s, border-bottom 0.3s;
}

.navbar.scrolled {
  padding: 14px 0;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo-mark { color: var(--text); }
.logo-accent { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin-left: auto;
}

.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s;
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active { color: var(--text); }

.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 16px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal-box { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: var(--accent);
  color: #fff;
}

.modal-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-3);
  border-radius: 50px;
  padding: 4px;
  margin-bottom: 28px;
}

.modal-tab {
  flex: 1;
  padding: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-radius: 50px;
  transition: background 0.25s, color 0.25s;
}

.modal-tab.active {
  background: var(--accent);
  color: #fff;
}

.modal-panel { display: none; }

.modal-panel.active {
  display: block;
  animation: fadeSlideUp 0.3s ease both;
}

.modal-box h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
  color: var(--text);
}

.modal-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.modal-input {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 12px;
  display: block;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}

.modal-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.modal-input.textarea {
  resize: vertical;
  min-height: 120px;
}

.modal-error {
  font-size: 0.8rem;
  color: #e05c5c;
  margin-top: 12px;
  min-height: 20px;
}

.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface);
  border: 1px solid rgba(232,101,42,0.3);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 14px 28px;
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 2000;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand .logo-mark,
.footer-brand .logo-accent {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-credit {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-credit a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-credit a:hover { color: var(--accent); }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 70px 20px 50px;
  overflow: hidden;
}

.hero-bg,
.ev-hero-bg,
.med-hero-bg,
.giv-hero-bg,
.con-hero-bg,
.about-hero-bg,
.prf-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb,
.ev-orb,
.med-orb,
.giv-orb,
.con-orb,
.about-orb,
.prf-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.orb-1,
.ev-orb-1,
.med-orb-1,
.giv-orb-1,
.con-orb-1,
.orb-a,
.prf-orb-1 {
  width: 500px;
  height: 500px;
  top: -120px;
  right: -80px;
  animation: orbFloat 9s ease-in-out infinite;
}

.orb-1,
.ev-orb-1 { background: radial-gradient(circle, rgba(232,101,42,0.5), transparent 70%); }
.med-orb-1 { width: 550px; height: 550px; background: radial-gradient(circle, rgba(232,101,42,0.45), transparent 70%); top: -150px; left: -100px; filter: blur(90px); opacity: 0.35; }
.giv-orb-1 { background: radial-gradient(circle, rgba(201,168,76,0.45), transparent 70%); filter: blur(90px); opacity: 0.35; }
.con-orb-1 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(232,101,42,0.5), transparent 70%); filter: blur(80px); opacity: 0.35; }
.orb-a { width: 600px; height: 600px; background: radial-gradient(circle, rgba(232,101,42,0.45), transparent 70%); filter: blur(100px); opacity: 0.35; }
.prf-orb-1 { background: radial-gradient(circle, rgba(232,101,42,0.5), transparent 70%); top: -150px; left: -80px; }

.orb-2,
.ev-orb-2,
.med-orb-2,
.giv-orb-2,
.con-orb-2,
.orb-b,
.prf-orb-2 {
  width: 400px;
  height: 400px;
  bottom: -60px;
  left: -60px;
  animation: orbFloat 12s ease-in-out infinite reverse;
}

.orb-2,
.ev-orb-2 { background: radial-gradient(circle, rgba(201,168,76,0.3), transparent 70%); }
.med-orb-2 { background: radial-gradient(circle, rgba(201,168,76,0.3), transparent 70%); right: -80px; left: auto; filter: blur(90px); opacity: 0.35; }
.giv-orb-2 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(232,101,42,0.35), transparent 70%); filter: blur(90px); opacity: 0.35; }
.con-orb-2 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(201,168,76,0.3), transparent 70%); filter: blur(80px); opacity: 0.35; }
.orb-b { background: radial-gradient(circle, rgba(201,168,76,0.3), transparent 70%); bottom: -80px; left: -80px; filter: blur(100px); opacity: 0.35; }
.prf-orb-2 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(201,168,76,0.3), transparent 70%); bottom: -80px; right: -60px; left: auto; opacity: 0.25; }

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(232,101,42,0.2), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  animation: orbPulse 6s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1260px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50px;
  background: var(--gold-soft);
}

.hero-headline {
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 1.0;
  color: var(--text);
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-headline em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 1000px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-countdown-wrap,
.hero-event-countdown {
  position: relative;
  z-index: 2;
  margin-top: 64px;
  text-align: center;
}

.hec-event-name {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.countdown-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  min-width: 72px;
}

.countdown-block span {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.countdown-block small {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

.countdown-sep {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.scroll-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.scroll-line {
  width: 1px;
  height: 12px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

.announcements-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
}

.strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.strip-tag {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 20px;
  border-right: 1px solid var(--border);
}

.strip-ticker { overflow: hidden; flex: 1; }

.strip-ticker span {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
}

.birthdays-section { padding: 48px 0; }

.birthday-empty {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.bday-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.birthdays-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.birthday-card {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  animation: fadeSlideUp 0.5s ease both;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.birthday-card:hover {
  border-color: rgba(201,168,76,0.4);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.bday-photo-wrap { position: relative; flex-shrink: 0; }

.bday-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  display: block;
}

.bday-photo-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.bday-confetti {
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: 1.1rem;
  animation: bounce 1s ease-in-out infinite alternate;
}

.bday-emoji {
  font-size: 2rem;
  animation: bounce 1s ease-in-out infinite alternate;
}

.bday-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bday-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.bday-msg { font-size: 0.8rem; color: var(--gold); }

.bday-wish-btn {
  margin-top: 8px;
  padding: 7px 18px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(232,101,42,0.3);
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  align-self: flex-start;
}

.bday-wish-btn:hover {
  background: var(--accent);
  color: #fff;
}

.bday-wish-head {
  text-align: center;
  margin-bottom: 20px;
}

.bday-wish-head span {
  font-size: 3rem;
  display: block;
  margin-bottom: 10px;
}

.bday-wish-head h3 {
  font-size: 1.2rem;
  color: var(--text);
}

.upcoming-events { padding: 80px 0; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.event-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.event-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232,101,42,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.event-card:hover::before { opacity: 1; }

.event-card.featured {
  grid-column: 1 / -1;
  border-color: rgba(232,101,42,0.25);
  background: linear-gradient(135deg, var(--surface), var(--bg-3));
}

.event-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid rgba(232,101,42,0.2);
}

.event-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  min-width: 64px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.event-month {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}

.event-day {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-top: 4px;
}

.event-info {
  flex: 1;
  position: relative;
  z-index: 1;
}

.event-info h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 4px;
}

.event-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.event-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-3);
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.btn-rsvp {
  padding: 8px 20px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 50px;
  border: 1px solid rgba(232,101,42,0.3);
  transition: background 0.25s, color 0.25s;
}

.btn-rsvp:hover {
  background: var(--accent);
  color: #fff;
}

.btn-meet {
  padding: 10px 22px;
  background: var(--accent);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50px;
  transition: background 0.25s, transform 0.2s;
}

.btn-meet:not(:disabled):hover {
  background: #d4551e;
  transform: translateY(-1px);
}

.btn-meet:disabled {
  background: var(--surface-2);
  color: var(--text-dim);
  cursor: not-allowed;
}

.media-preview {
  padding: 80px 0;
  background: var(--bg-2);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.media-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  min-height: 200px;
  position: relative;
}

.media-card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.media-card.tall { grid-row: span 2; }
.media-card.wide { grid-column: span 2; }

.media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.media-card:hover .media-img { transform: scale(1.04); }

.media-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px 12px;
  background: linear-gradient(to top, rgba(13,12,12,0.85), transparent);
}

.media-label p {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.media-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--surface), var(--bg-3));
}

.media-placeholder span { font-size: 2.5rem; }

.media-placeholder p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
}

.quick-links-section { padding: 64px 0; }

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.quick-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.quick-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.quick-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232,101,42,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.quick-card:hover::after { opacity: 1; }
.quick-card.giving { color: var(--text); text-decoration: none; }

.qc-icon { font-size: 2rem; position: relative; z-index: 1; }

.qc-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  z-index: 1;
  flex: 1;
}

.qc-arrow {
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.25s;
  position: relative;
  z-index: 1;
}

.quick-card:hover .qc-arrow { transform: translateX(4px); }

.cta-band {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(232,101,42,0.12), var(--bg-3));
  border-top: 1px solid rgba(232,101,42,0.2);
  border-bottom: 1px solid rgba(232,101,42,0.2);
}

.cta-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--text);
  margin-bottom: 8px;
}

.cta-band-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.cta-band-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.auth-modal-head {
  text-align: center;
  margin-bottom: 24px;
}

.auth-modal-head .logo-mark,
.auth-modal-head .logo-accent {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
}

.auth-modal-head h3 {
  font-size: 1.3rem;
  color: var(--text);
  margin: 8px 0 4px;
}

.auth-admin-hint {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 14px;
}

.auth-admin-hint strong { color: var(--text-muted); }

.app-shell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

.screen {
  width: 100%;
  max-width: 460px;
  animation: fadeUp 0.6s cubic-bezier(0.4,0,0.2,1) both;
}

.screen.hidden { display: none; }

.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: var(--radius);
  padding: 52px 44px;
  backdrop-filter: blur(24px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(201,168,76,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.card-icon {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 20px;
  animation: pulse-glow 3s ease-in-out infinite;
}

.card-title {
  font-family: 'Syne', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.card-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 32px;
  font-weight: 300;
  max-width: 320px;
}

.field-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 8px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.96rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  width: 100%;
}

.field input::placeholder { color: rgba(155,170,196,0.5); font-weight: 300; }

.field input:focus {
  border-color: rgba(201,168,76,0.6);
  background: rgba(201,168,76,0.06);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.msg {
  width: 100%;
  min-height: 22px;
  font-size: 0.82rem;
  text-align: center;
  padding: 6px 0;
  border-radius: 6px;
  transition: all 0.25s;
  margin-bottom: 4px;
}

.msg.error { color: #e05c5c; }
.msg.success { color: #34d399; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  margin-top: 8px;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.25s;
}

.btn:hover::before { background: rgba(255,255,255,0.06); }

.btn-icon {
  font-size: 1rem;
  transition: transform 0.25s;
}

.btn:hover:not(:disabled) .btn-icon { transform: translateX(3px); }

.partner-result {
  width: 100%;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 8px;
}

.partner-result.hidden { display: none; }

.partner-result.reveal {
  animation: reveal 0.7s cubic-bezier(0.4,0,0.2,1) both;
}

.partner-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 500;
}

.partner-name {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 10px;
}

.partner-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

.about-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 14px 50px;
  overflow: hidden;
}

.about-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: center;
}

.about-hero-text .section-tag { margin-bottom: 20px; }

.about-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.0;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 28px;
}

.about-hero-title em { font-style: italic; color: var(--accent); }

.about-hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 520px;
}

.about-hero-stat-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s;
}

.stat-card.in-view { opacity: 1; transform: translateY(0); }

.stat-card:hover {
  border-color: rgba(232,101,42,0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.stat-card.accent-card {
  background: linear-gradient(135deg, var(--accent-soft), var(--surface));
  border-color: rgba(232,101,42,0.25);
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-plus { font-size: 1.4rem; }

.stat-label { font-size: 0.75rem; color: var(--text-muted); line-height: 1.3; }

.about-hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.about-hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.who-section {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.who-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 60px;
  align-items: start;
}

.who-label-col { padding-top: 8px; }

.vertical-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-dim);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  border-left: 1px solid var(--border);
  padding-left: 16px;
  height: 120px;
  display: flex;
  align-items: center;
}

.who-text-col {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.who-text-col.in-view { opacity: 1; transform: translateX(0); }

.who-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  margin-bottom: 24px;
  margin-top: 12px;
}

.who-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
  max-width: 680px;
}

.who-affiliation {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.affil-badge {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 50px;
  transition: border-color 0.25s, color 0.25s;
}

.affil-badge:hover { border-color: var(--accent); color: var(--text); }

.vision-mission-section { padding: 100px 0; }

.vm-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.vm-card {
  position: relative;
  padding: 56px 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s;
}

.vm-card.in-view { opacity: 1; transform: translateY(0); }

.vision-card { background: linear-gradient(135deg, var(--surface), var(--bg-3)); }

.mission-card {
  background: linear-gradient(135deg, rgba(232,101,42,0.08), var(--surface));
  border-color: rgba(232,101,42,0.2);
}

.vm-card:hover { border-color: rgba(232,101,42,0.4); }

.vm-icon { font-size: 2.4rem; margin-bottom: 20px; display: block; }

.vm-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.vm-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  position: relative;
  z-index: 1;
}

.vm-deco {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

.values-section {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease var(--delay), transform 0.5s ease var(--delay), border-color 0.3s, box-shadow 0.3s;
}

.value-card.in-view { opacity: 1; transform: translateY(0); }

.value-card:hover {
  border-color: rgba(232,101,42,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.value-card:hover .value-num { color: var(--accent); }

.value-num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 1px;
  transition: color 0.3s;
}

.value-icon { font-size: 2.2rem; margin-bottom: 20px; display: block; }

.value-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.leadership-section { padding: 100px 0; }

.leaders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.leader-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s;
}

.leader-card.in-view { opacity: 1; transform: translateY(0); }

.leader-card:hover {
  border-color: rgba(232,101,42,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.leader-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-3);
  overflow: hidden;
}

.leader-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.leader-photo.placeholder-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface), var(--bg-3));
}

.placeholder-photo span { font-size: 4rem; opacity: 0.3; }

.leader-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--surface);
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.leader-badge.accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.leader-info { padding: 24px; }

.leader-info h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.leader-role {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 10px;
}

.leader-bio {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.leaders-note {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 32px;
  font-style: italic;
}

.ev-hero {
  position: relative;
  padding: 80px 14px 50px;
  overflow: hidden;
  text-align: center;
}

.ev-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.ev-hero-title {
  font-size: clamp(2.4rem, 6.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text);
  margin: 16px 0 24px;
}

.ev-hero-title em { font-style: italic; color: var(--accent); }

.ev-hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.ev-filter-bar {
  position: sticky;
  top: 72px;
  z-index: 800;
  background: rgba(13,12,12,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.ev-filter-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.ev-filter-inner::-webkit-scrollbar { display: none; }

.ev-filter-btn {
  flex-shrink: 0;
  padding: 8px 18px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
  color: var(--text-muted);
  border-radius: 50px;
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.ev-filter-btn:hover { color: var(--text); background: var(--surface); }

.ev-filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.ev-online-banner {
  background: linear-gradient(90deg, rgba(232,101,42,0.1), var(--surface), rgba(232,101,42,0.1));
  border-top: 1px solid rgba(232,101,42,0.2);
  border-bottom: 1px solid rgba(232,101,42,0.2);
  padding: 16px 24px;
}

.ev-online-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ev-online-pulse {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 2s ease-in-out infinite;
}

.ev-online-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.ev-online-text strong {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.ev-online-text span { font-size: 0.8rem; color: var(--text-muted); }

.ev-main { padding: 64px 0 100px; }

.ev-main-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.ev-featured {
  background: linear-gradient(135deg, var(--surface), var(--bg-3));
  border: 1px solid rgba(232,101,42,0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s;
}

.ev-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent));
}

.ev-featured.in-view { opacity: 1; transform: translateY(0); }

.ev-featured-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ev-featured-body {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.ev-featured-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  min-width: 90px;
  flex-shrink: 0;
}

.ef-day {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

.ef-num {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-top: 6px;
  line-height: 1;
}

.ev-featured-content { flex: 1; }

.ev-featured-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text);
  margin-bottom: 12px;
  margin-top: 8px;
}

.ev-featured-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 20px;
}

.ev-details-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.ev-details-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.ev-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.ev-detail-icon { font-size: 0.9rem; }

.ev-featured-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-meet-lg {
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 50px;
  transition: background 0.25s, transform 0.2s;
}

.btn-meet-lg:not(:disabled):hover {
  background: #d4551e;
  transform: translateY(-2px);
}

.btn-meet-lg:disabled {
  background: var(--surface-2);
  color: var(--text-dim);
  cursor: not-allowed;
}

.btn-rsvp-outline {
  padding: 12px 28px;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  cursor: pointer;
}

.btn-rsvp-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.ev-section-label,
.med-sec-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.ev-section-label span,
.med-sec-label span {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.ev-section-line,
.med-sec-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.ev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ev-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s;
}

.ev-card.in-view { opacity: 1; transform: translateY(0); }

.ev-card:hover {
  border-color: rgba(232,101,42,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.ev-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 24px 0;
}

.ev-card-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  min-width: 58px;
}

.ec-month {
  font-family: 'Syne', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}

.ec-day {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-top: 2px;
}

.ev-cat-pill {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid;
}

.ev-cat-pill.fellowship { color: #60a5fa; background: rgba(96,165,250,0.1); border-color: rgba(96,165,250,0.25); }
.ev-cat-pill.kesha { color: #a78bfa; background: rgba(167,139,250,0.1); border-color: rgba(167,139,250,0.25); }
.ev-cat-pill.hike { color: #34d399; background: rgba(52,211,153,0.1); border-color: rgba(52,211,153,0.25); }
.ev-cat-pill.worship { color: var(--gold); background: var(--gold-soft); border-color: rgba(201,168,76,0.25); }
.ev-cat-pill.camp { color: #fb923c; background: rgba(251,146,60,0.1); border-color: rgba(251,146,60,0.25); }
.ev-cat-pill.special { color: var(--accent); background: var(--accent-soft); border-color: rgba(232,101,42,0.25); }

.ev-card-body {
  padding: 20px 24px;
  flex: 1;
}

.ev-card-body h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.ev-card-body p,
.ev-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.ev-card-desc {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 6px;
  line-height: 1.5;
  margin-bottom: 0;
}

.ev-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

.ev-spots {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.ev-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 80px 24px;
  text-align: center;
}

.ev-empty span { font-size: 3rem; }
.ev-empty p { color: var(--text-muted); font-size: 0.95rem; }

.rsvp-modal-head {
  text-align: center;
  margin-bottom: 28px;
}

.rsvp-icon { font-size: 2.5rem; margin-bottom: 12px; }

.rsvp-modal-head h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.events-loading {
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 32px 0;
  grid-column: 1 / -1;
  text-align: center;
}

.third-week-card { border-color: rgba(201,168,76,0.2); }

.med-hero {
  position: relative;
  padding: 160px 24px 100px;
  overflow: hidden;
  text-align: center;
}

.med-film-strip {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.med-film-holes {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 20px 0;
}

.med-film-holes.left { left: 0; }
.med-film-holes.right { right: 0; }

.med-film-holes::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 6px;
  right: 6px;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 16px,
    rgba(255,255,255,0.04) 16px, rgba(255,255,255,0.04) 28px,
    transparent 28px, transparent 44px
  );
}

.med-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.med-hero-title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text);
  margin: 16px 0 24px;
}

.med-hero-title em { font-style: italic; color: var(--accent); }

.med-hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 48px;
}

.med-hero-counts {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 40px;
}

.med-count-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.med-count-item span {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.med-count-item small {
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.med-count-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.med-filter-bar {
  position: sticky;
  top: 72px;
  z-index: 800;
  background: rgba(13,12,12,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.med-filter-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.med-filter-inner::-webkit-scrollbar { display: none; }

.med-filter-btn {
  flex-shrink: 0;
  padding: 8px 18px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
  color: var(--text-muted);
  border-radius: 50px;
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.med-filter-btn:hover { color: var(--text); background: var(--surface); }

.med-filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.med-main { padding: 64px 0 100px; }

.med-main-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.med-filter-bar { display: none; }

.med-main-inner {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.med-sidebar {
  width: 200px;
  flex-shrink: 0;
  position: sticky;
  top: 96px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 12px;
}

.med-sidebar-head {
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0 8px 12px;
}

.med-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.med-sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 8px;
}

.med-sidebar-nav .med-filter-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  letter-spacing: 0;
  text-transform: none;
}

.med-sidebar-nav .med-filter-btn:hover {
  background: var(--surface-2);
  color: var(--text);
}

.med-sidebar-nav .med-filter-btn.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

.med-sb-icon {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.med-content {
  flex: 1;
  min-width: 0;
}

.med-albums-section { margin-bottom: 72px; }

.med-albums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.med-album-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s;
}

.med-album-card.in-view { opacity: 1; transform: translateY(0); }

.med-album-card:hover {
  border-color: rgba(232,101,42,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.med-album-thumb {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-3);
  overflow: hidden;
}

.med-album-stack {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.med-stack-img {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 2rem;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

.s1 { width: 80px; height: 80px; z-index: 3; transform: rotate(-2deg); }
.s2 { width: 72px; height: 72px; z-index: 2; transform: rotate(6deg) translate(24px,-8px); opacity: 0.7; }
.s3 { width: 64px; height: 64px; z-index: 1; transform: rotate(-8deg) translate(-20px,10px); opacity: 0.45; }

.med-album-card:hover .s1 { transform: rotate(-5deg) translateY(-8px); }
.med-album-card:hover .s2 { transform: rotate(10deg) translate(30px,-16px); }
.med-album-card:hover .s3 { transform: rotate(-12deg) translate(-28px,14px); }

.med-album-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,12,12,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.med-album-card:hover .med-album-overlay { opacity: 1; }

.med-album-open {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
  padding: 10px 24px;
  border: 1.5px solid var(--accent);
  border-radius: 50px;
  background: var(--accent-soft);
}

.med-album-info { padding: 18px 20px; }

.med-album-info h3 {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.med-album-meta { font-size: 0.75rem; color: var(--text-muted); }

.med-gallery-section { margin-bottom: 72px; }

.med-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.med-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s;
}

.med-item.in-view { opacity: 1; transform: scale(1); }
.med-item.tall { grid-row: span 2; }
.med-item.wide { grid-column: span 2; }

.med-item-inner { position: relative; width: 100%; height: 100%; }

.med-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface), var(--bg-3));
  font-size: 3rem;
  transition: transform 0.4s ease;
}

.med-item:hover .med-item-placeholder { transform: scale(1.06); }

.med-video-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  padding: 5px 10px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.15);
}

.med-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,12,12,0.85) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}

.med-item:hover .med-item-overlay { opacity: 1; }
.med-item:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.5); }

.med-item-meta { display: flex; flex-direction: column; gap: 4px; }

.med-item-cat {
  font-family: 'Syne', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 50px;
}

.med-item-cat.hike { color: #34d399; background: rgba(52,211,153,0.15); }
.med-item-cat.fellowship { color: #60a5fa; background: rgba(96,165,250,0.15); }
.med-item-cat.worship { color: var(--gold); background: var(--gold-soft); }
.med-item-cat.kesha { color: #a78bfa; background: rgba(167,139,250,0.15); }
.med-item-cat.testimonies { color: var(--accent); background: var(--accent-soft); }
.med-item-cat.camp { color: #fb923c; background: rgba(251,146,60,0.15); }
.med-item-cat.special { color: var(--accent); background: var(--accent-soft); }

.med-item-meta p {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}

.med-item-expand {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.2s;
}

.med-item-expand:hover { background: var(--accent); }

.med-load-more-wrap { text-align: center; margin-top: 40px; }

.med-load-more {
  padding: 14px 40px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.med-load-more:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.med-load-more:disabled { opacity: 0.4; cursor: not-allowed; }

.med-masonry-section { margin-bottom: 72px; }

.med-masonry-grid {
  columns: 3;
  column-gap: 16px;
}

.med-masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: box-shadow 0.3s;
}

.med-masonry-item:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.5); }

.med-masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.med-masonry-item:hover img { transform: scale(1.04); }

.med-testimonies-strip {
  padding: 80px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.med-test-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.med-test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.med-test-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s;
}

.med-test-card.in-view { opacity: 1; transform: translateY(0); }
.med-test-card:hover { border-color: rgba(232,101,42,0.3); }

.med-test-quote {
  font-family: 'Syne', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.2;
  line-height: 0.8;
  margin-bottom: 16px;
}

.med-test-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.med-test-author { display: flex; align-items: center; gap: 12px; }

.med-test-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.med-test-author strong {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.med-test-author span { font-size: 0.75rem; color: var(--text-muted); }

.med-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.med-lightbox.open { opacity: 1; pointer-events: all; }

.lbx-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--text);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 10;
}

.lbx-close:hover { background: var(--accent); }

.lbx-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 10;
}

.lbx-prev { left: 24px; }
.lbx-next { right: 24px; }
.lbx-nav:hover { background: var(--accent); }

.lbx-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 700px;
  width: 100%;
  padding: 0 80px;
}

.lbx-media {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}

.lbx-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  gap: 16px;
}

.lbx-play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  position: absolute;
}

.lbx-info { text-align: center; }

.lbx-cat {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

.lbx-info p {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.lbx-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.07);
  padding: 6px 16px;
  border-radius: 50px;
}

.giv-hero {
  position: relative;
  padding: 80px 14px 50px;
  overflow: hidden;
  text-align: center;
}

.giv-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.giv-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.giv-hero-title {
  font-size: clamp(2.4rem, 6.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text);
  margin: 16px 0 24px;
}

.giv-hero-title em { font-style: italic; color: var(--gold); }

.giv-hero-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 24px;
  border-left: 2px solid var(--gold);
  text-align: left;
  background: var(--gold-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.giv-till-section { padding: 0 24px 80px; }

.giv-till-inner { max-width: 1200px; margin: 0 auto; }

.giv-till-card {
  background: linear-gradient(135deg, var(--surface), var(--bg-3));
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.giv-till-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent), var(--gold));
}

.giv-till-card.in-view { opacity: 1; transform: translateY(0); }

.giv-till-left {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border-right: 1px solid var(--border);
}

.giv-till-badge {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 6px 14px;
  border-radius: 50px;
}

.giv-till-number {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.3rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -2px;
  line-height: 1;
  background: linear-gradient(135deg, var(--text), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.giv-till-name { font-size: 0.88rem; color: var(--text-muted); }
.giv-till-name strong { color: var(--text); }

.giv-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--gold-soft);
  border: 1.5px solid rgba(201,168,76,0.4);
  color: var(--gold);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
  margin-top: 8px;
}

.giv-copy-btn:hover {
  background: var(--gold);
  color: #0d0c0c;
  transform: translateY(-2px);
}

.giv-copy-btn.copied {
  background: rgba(52,211,153,0.15);
  border-color: rgba(52,211,153,0.4);
  color: #34d399;
}

.copy-icon { font-size: 1rem; }

.giv-till-right { padding: 56px 48px; }

.giv-mpesa-steps { display: flex; flex-direction: column; }

.giv-step-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.giv-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.giv-step:last-child { border-bottom: none; }

.giv-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(232,101,42,0.3);
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.giv-step p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; }
.giv-step p strong { color: var(--text); }

.giv-categories-section {
  padding: 80px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.giv-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.giv-cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s;
}

.giv-cat-card.in-view { opacity: 1; transform: translateY(0); }

.giv-cat-card:hover {
  border-color: rgba(232,101,42,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.giv-cat-icon { font-size: 2.2rem; }

.giv-cat-info { flex: 1; }

.giv-cat-info h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.giv-cat-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.giv-cat-suggest {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.giv-cat-suggest strong { color: var(--gold); }

.giv-give-btn {
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  align-self: flex-start;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.giv-give-btn:hover {
  background: #d4551e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.giv-give-btn.small { padding: 9px 18px; font-size: 0.78rem; }

.giv-statement-section { padding: 80px 0; }

.giv-statement-wrap { margin-top: 48px; }

.giv-login-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 80px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.giv-prompt-icon { font-size: 3rem; }

.giv-login-prompt h3 { font-size: 1.3rem; color: var(--text); }

.giv-login-prompt p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.7;
}

.giv-statement-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.giv-statement-summary {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.giv-summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 140px;
}

.giv-summary-card.accent {
  background: linear-gradient(135deg, var(--accent-soft), var(--surface));
  border-color: rgba(232,101,42,0.25);
}

.giv-summary-val {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.giv-summary-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.giv-statement-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.giv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 600px;
}

.giv-table thead {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.giv-table th {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 20px;
  text-align: left;
  white-space: nowrap;
}

.giv-table td {
  padding: 16px 20px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.giv-table tr:last-child td { border-bottom: none; }
.giv-table tr:hover td { background: var(--surface); }

.giv-amount {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--text) !important;
}

.giv-ref {
  font-family: 'DM Sans', monospace;
  font-size: 0.8rem;
  color: var(--text-dim) !important;
  letter-spacing: 0.5px;
}

.giv-status {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}

.giv-status-verified { color: #34d399; background: rgba(52,211,153,0.1); }
.giv-status-pending { color: var(--gold); background: var(--gold-soft); }
.giv-status-rejected { color: #f87171; background: rgba(248,113,113,0.1); }

.giv-loading {
  text-align: center;
  color: var(--text-muted);
  padding: 32px !important;
  font-style: italic;
}

.giv-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 64px 24px;
  text-align: center;
}

.giv-empty-state span { font-size: 3rem; }
.giv-empty-state p { font-size: 0.88rem; color: var(--text-muted); max-width: 380px; line-height: 1.7; }

.giv-projects-section {
  padding: 80px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.giv-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.giv-project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s;
}

.giv-project-card.in-view { opacity: 1; transform: translateY(0); }

.giv-project-card:hover {
  border-color: rgba(232,101,42,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.giv-project-head { display: flex; align-items: flex-start; gap: 14px; }

.giv-project-icon { font-size: 2rem; flex-shrink: 0; }

.giv-project-head h3 {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.giv-project-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 50px;
  border: 1px solid rgba(232,101,42,0.2);
}

.giv-project-card > p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.giv-progress-wrap { display: flex; flex-direction: column; gap: 8px; }

.giv-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.giv-progress-bar {
  height: 6px;
  background: var(--surface-2);
  border-radius: 3px;
  overflow: hidden;
}

.giv-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #e8652a, #c9a84c, #34d399);
  border-radius: 3px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.25,1,0.5,1);
}

.giv-progress-pct {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-align: right;
}

.giv-modal-box { max-width: 460px; }

.giv-modal-head {
  text-align: center;
  margin-bottom: 24px;
}

.giv-modal-icon { font-size: 2.5rem; margin-bottom: 12px; }

.giv-modal-head h3 { font-size: 1.2rem; margin-bottom: 6px; }

.giv-modal-till-reminder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-3);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 16px;
}

.giv-modal-till-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.5px;
}

.giv-modal-till-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.con-hero {
  position: relative;
  padding: 160px 24px 100px;
  text-align: center;
  overflow: hidden;
}

.con-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.con-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.con-hero-title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text);
  margin: 12px 0 20px;
}

.con-hero-title em { font-style: italic; color: var(--accent); }

.con-hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

.con-main { padding: 80px 0 100px; }

.con-main-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 56px;
  align-items: start;
}

.con-left { display: flex; flex-direction: column; gap: 48px; }

.con-info-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.con-info-block.in-view { opacity: 1; transform: translateY(0); }

.con-block-title { font-size: 1.4rem; color: var(--text); line-height: 1.2; }

.con-location-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.con-location-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }

.con-location-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.con-location-details strong {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.con-map-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  transition: opacity 0.2s;
}

.con-map-link:hover { opacity: 0.75; }

.con-service-times {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.con-service-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.con-service-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.con-service-row:last-child { padding-bottom: 0; border-bottom: none; }

.con-service-row span:last-child {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  color: var(--text);
  font-size: 0.82rem;
}

.con-socials-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.con-social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
  opacity: 0;
  transform: translateY(12px);
}

.con-social-card.in-view { opacity: 1; transform: translateY(0); }

.con-social-card:hover {
  border-color: rgba(232,101,42,0.35);
  background: var(--surface-2);
  transform: translateX(4px);
}

.con-social-card.whatsapp:hover { border-color: rgba(37,211,102,0.35); }
.con-social-card.instagram:hover { border-color: rgba(228,64,95,0.35); }
.con-social-card.facebook:hover { border-color: rgba(24,119,242,0.35); }
.con-social-card.youtube:hover { border-color: rgba(255,0,0,0.35); }
.con-social-card.mpesa:hover { border-color: rgba(0,163,75,0.35); }

.con-social-icon {
  font-size: 1.3rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--bg-3);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.con-social-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.con-social-info strong {
  font-family: 'Syne', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.con-social-info span { font-size: 0.78rem; color: var(--text-muted); }

.con-social-arrow {
  color: var(--text-dim);
  font-size: 1rem;
  transition: color 0.2s, transform 0.2s;
}

.con-social-card:hover .con-social-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

.con-leaders-list { display: flex; flex-direction: column; gap: 2px; }

.con-leader-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, background 0.25s;
  opacity: 0;
  transform: translateY(12px);
}

.con-leader-row.in-view { opacity: 1; transform: translateY(0); }

.con-leader-row:hover { border-color: rgba(232,101,42,0.25); background: var(--surface-2); }

.con-leader-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.con-leader-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.con-leader-details strong {
  font-family: 'Syne', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.con-leader-details span { font-size: 0.76rem; color: var(--text-muted); letter-spacing: 0.3px; }

.con-leader-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.25);
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #25d366;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.con-leader-wa:hover { background: rgba(37,211,102,0.2); transform: translateY(-1px); }

.con-right { position: sticky; top: 96px; }

.con-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.con-form-card.in-view { opacity: 1; transform: translateY(0); }

.con-form-head {
  text-align: center;
  margin-bottom: 28px;
}

.con-form-icon { font-size: 2.2rem; margin-bottom: 10px; }

.con-form-head h2 { font-size: 1.3rem; color: var(--text); margin-bottom: 6px; }

.con-form-head p { font-size: 0.84rem; color: var(--text-muted); }

.con-form-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-3);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 24px;
}

.con-form-tab {
  flex: 1;
  padding: 9px 8px;
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.con-form-tab.active {
  background: var(--surface-2);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.con-form-tab:hover:not(.active) { color: var(--text); }

.con-form-panel {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.con-form-panel.active { display: flex; }

.con-prayer-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.con-prayer-note span { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

.con-prayer-note p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; }

.con-form-success {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 40px 24px;
}

.con-success-icon { font-size: 3rem; margin-bottom: 4px; }

.con-form-success h3 { font-size: 1.2rem; color: var(--text); }

.con-form-success p {
  font-size: 0.86rem;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.7;
}

.con-map-section {
  padding: 72px 0;
}

.con-map-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.con-map-header {
  margin-bottom: 36px;
}

.con-map-embed {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  height: 450px;
  position: relative;
}

.con-map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.con-faq-section { padding: 80px 0 100px; }

.con-faq-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.con-faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.con-faq-header h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--text); margin: 8px 0 12px; }

.con-faq-header p { font-size: 0.9rem; color: var(--text-muted); max-width: 480px; margin: 0 auto; line-height: 1.7; }

.con-faq-list { display: flex; flex-direction: column; gap: 8px; }

.con-faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s;
  opacity: 0;
  transform: translateY(12px);
}

.con-faq-item.in-view { opacity: 1; transform: translateY(0); }
.con-faq-item.open { border-color: rgba(232,101,42,0.3); }

.con-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s;
}

.con-faq-q:hover { color: var(--accent); }

.con-faq-icon {
  font-size: 1.3rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s, color 0.2s;
  line-height: 1;
}

.con-faq-item.open .con-faq-icon { transform: rotate(45deg); color: var(--accent); }

.con-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
}

.con-faq-item.open .con-faq-a { max-height: 300px; }

.con-faq-a p {
  padding: 16px 24px 22px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  border-top: 1px solid var(--border);
}

.prf-auth-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
}

.prf-gate-inner {
  text-align: center;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.prf-gate-icon { font-size: 3.5rem; margin-bottom: 8px; }

.prf-gate-inner h2 { font-size: 1.8rem; color: var(--text); }

.prf-gate-inner p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 8px; }

.prf-hero {
  position: relative;
  padding: 120px 24px 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.prf-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.prf-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--surface));
  border: 2px solid rgba(232,101,42,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s;
}

.prf-avatar:hover { border-color: var(--accent); }

.prf-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.prf-hero-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prf-name {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.prf-email { font-size: 0.85rem; color: var(--text-muted); }

.prf-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.prf-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-muted);
}

.prf-edit-btn {
  padding: 10px 22px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 8px;
}

.prf-edit-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.prf-main { background: var(--bg); }

.prf-main-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

.prf-sidebar {
  position: sticky;
  top: 88px;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.prf-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
}

.prf-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
  text-align: left;
}

.prf-nav-item:hover { background: var(--surface-2); color: var(--text); }

.prf-nav-item.active {
  background: var(--accent-soft);
  color: var(--text);
  border: 1px solid rgba(232,101,42,0.2);
}

.prf-nav-item.active .prf-nav-icon { color: var(--accent); }

.prf-nav-icon { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }

.prf-sidebar-links { display: flex; flex-direction: column; gap: 8px; }

.prf-sidebar-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}

.prf-sidebar-link:hover { border-color: rgba(232,101,42,0.3); color: var(--text); }

.prf-content { min-width: 0; }

.prf-tab-panel {
  display: none;
  flex-direction: column;
  gap: 28px;
  animation: fadeSlideUp 0.3s ease both;
}

.prf-tab-panel.active { display: flex; }

.prf-section-title {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.prf-section-title h2 { font-size: 1.4rem; color: var(--text); margin-bottom: 4px; }

.prf-section-title p { font-size: 0.85rem; color: var(--text-muted); }

.prf-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.prf-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prf-stat-card.accent {
  background: linear-gradient(135deg, var(--accent-soft), var(--surface));
  border-color: rgba(232,101,42,0.25);
}

.prf-stat-val {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.prf-stat-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.prf-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.prf-overview-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prf-ov-head { display: flex; align-items: center; gap: 10px; }

.prf-ov-icon { font-size: 1.3rem; }

.prf-ov-head h3 { font-size: 0.95rem; color: var(--text); flex: 1; }

.prf-ov-edit {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid rgba(232,101,42,0.3);
  border-radius: 50px;
  transition: background 0.2s;
}

.prf-ov-edit:hover { background: var(--accent-soft); }

.prf-ov-body { font-size: 0.88rem; color: var(--text-muted); }

.prf-ov-empty { font-size: 0.82rem; color: var(--text-dim); font-style: italic; }

.prf-birthday-val {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.prf-ov-edit-form { display: flex; flex-direction: column; gap: 10px; }

.prf-ov-edit-form .modal-input { margin-bottom: 0; }

.prf-form-row { display: flex; gap: 10px; flex-wrap: wrap; }

.prf-partner-info { display: flex; align-items: center; gap: 10px; }

.prf-partner-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  color: var(--accent);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.prf-partner-info strong { display: block; font-size: 0.9rem; color: var(--text); }

.prf-partner-info span { font-size: 0.75rem; color: var(--text-muted); }

.prf-activity-list { display: flex; flex-direction: column; gap: 8px; }

.prf-activity-empty { font-size: 0.82rem; color: var(--text-dim); font-style: italic; }

.prf-activity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.prf-activity-item:last-child { border-bottom: none; }

.prf-act-icon { font-size: 1rem; flex-shrink: 0; }

.prf-act-text { flex: 1; font-size: 0.82rem; color: var(--text-muted); }

.prf-act-time { font-size: 0.72rem; color: var(--text-dim); white-space: nowrap; }

.prf-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.3);
  border-radius: 50px;
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #25d366;
  transition: background 0.2s, transform 0.2s;
}

.prf-wa-btn:hover { background: rgba(37,211,102,0.2); transform: translateY(-1px); }

.prf-contrib-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.prf-contrib-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prf-contrib-stat span {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.prf-contrib-stat small { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.prf-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.prf-table-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 64px 24px;
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.prf-table-empty span { font-size: 2.8rem; }

.prf-table-empty p { font-size: 0.86rem; color: var(--text-muted); max-width: 380px; line-height: 1.7; }

.prf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.prf-table thead { background: var(--surface-2); border-bottom: 1px solid var(--border); }

.prf-table th {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 20px;
  text-align: left;
  white-space: nowrap;
}

.prf-table td {
  padding: 16px 20px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.prf-table tr:last-child td { border-bottom: none; }
.prf-table tr:hover td { background: var(--surface); }

.prf-prayer-verse {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prf-verse-mark {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
}

.prf-prayer-verse p { font-size: 1rem; color: var(--text); font-style: italic; line-height: 1.7; }

.prf-prayer-verse small { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }

.prf-partner-status { flex: 1; }

.prf-partner-inactive {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 64px 24px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.prf-pi-icon { font-size: 3rem; }

.prf-partner-inactive h3 { font-size: 1.2rem; color: var(--text); }

.prf-partner-inactive p { font-size: 0.86rem; color: var(--text-muted); max-width: 360px; line-height: 1.7; }

.prf-partner-inactive-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  background: var(--gold-soft);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50px;
  color: var(--gold);
}

.prf-partner-active { display: flex; flex-direction: column; gap: 20px; }

.prf-partner-card {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(232,101,42,0.2);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--accent-soft), var(--surface));
}

.prf-partner-card-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 2px solid rgba(232,101,42,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}

.prf-partner-card-info { display: flex; flex-direction: column; gap: 4px; }

.prf-partner-card-info h3 { font-size: 1.3rem; color: var(--text); }

.prf-partner-card-info span { font-size: 0.82rem; color: var(--text-muted); }

.prf-partner-since { margin-top: 4px; font-size: 0.75rem; color: var(--gold); font-weight: 600; }

.prf-partner-actions {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.prf-announce-list { display: flex; flex-direction: column; gap: 12px; }

.prf-announce-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color 0.25s;
}

.prf-announce-item:hover { border-color: rgba(232,101,42,0.25); }

.prf-announce-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }

.prf-announce-body { display: flex; flex-direction: column; gap: 6px; }

.prf-announce-body strong {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.prf-announce-body p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.6; }

.prf-announce-body span { font-size: 0.75rem; color: var(--text-dim); }

.prf-settings-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.prf-settings-section { padding: 32px; }

.prf-settings-section h3 { font-size: 1rem; color: var(--text); margin-bottom: 20px; }

.prf-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.prf-field { display: flex; flex-direction: column; gap: 6px; }

.prf-field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.prf-field .modal-input { margin-bottom: 0; }

.prf-settings-divider { height: 1px; background: var(--border); }

.prf-signout-btn {
  padding: 12px 24px;
  border: 1.5px solid rgba(248,113,113,0.3);
  border-radius: 50px;
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #f87171;
  transition: background 0.25s, border-color 0.25s;
}

.prf-signout-btn:hover { background: rgba(248,113,113,0.1); border-color: rgba(248,113,113,0.5); }

.prf-prayer-item-compose {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.prf-prayer-visibility {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.prf-vis-btn {
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.prf-vis-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.prf-prayer-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prf-prayer-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.25s;
}

.prf-prayer-item.mine { border-color: rgba(232,101,42,0.2); }

.prf-prayer-item-body { flex: 1; }

.prf-prayer-item-body p { font-size: 0.9rem; color: var(--text); line-height: 1.7; margin-bottom: 8px; }

.prf-prayer-item-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.admin-body { overflow: hidden; }

.adm-gate {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
}

.adm-gate-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.adm-gate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.adm-gate-logo { text-align: center; margin-bottom: 8px; }

.adm-gate-logo .logo-mark,
.adm-gate-logo .logo-accent {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.adm-gate-card h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  color: var(--text);
  text-align: center;
  margin: 0;
}

.adm-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.adm-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: relative;
  z-index: 100;
  transition: transform 0.3s ease;
}

.adm-sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 16px;
  border-bottom: 1px solid var(--border);
}

.adm-logo { display: flex; align-items: center; gap: 6px; }

.adm-logo .logo-mark,
.adm-logo .logo-accent {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.adm-tag {
  font-family: 'Syne', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(232,101,42,0.25);
  padding: 2px 7px;
  border-radius: 50px;
}

.adm-sidebar-close {
  display: none;
  color: var(--text-muted);
  font-size: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s;
}

.adm-sidebar-close:hover { color: var(--accent); }

.adm-nav {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}

.adm-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: transparent;
  border: none;
  text-align: left;
  width: 100%;
  transition: background 0.2s, color 0.2s;
}

.adm-nav-item:hover { background: var(--surface); color: var(--text); }

.adm-nav-item.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.adm-nav-icon { font-size: 1rem; flex-shrink: 0; width: 20px; text-align: center; }

.adm-signout {
  margin: 16px 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.adm-signout:hover {
  color: #f87171;
  border-color: rgba(248,113,113,0.3);
  background: rgba(248,113,113,0.08);
}

.adm-content-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.adm-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  height: 60px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  flex-shrink: 0;
}

.adm-menu-toggle {
  display: none;
  font-size: 1.2rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.adm-menu-toggle:hover { color: var(--text); }

.adm-topbar-title {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  flex: 1;
}

.adm-admin-pill {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 5px 12px;
  border-radius: 50px;
}

.adm-main {
  flex: 1;
  overflow-y: auto;
  padding: 32px 28px;
}

.adm-panel {
  display: none;
  animation: fadeSlideUp 0.3s ease both;
}

.adm-panel.active { display: block; }

.adm-panel-head { margin-bottom: 28px; }

.adm-panel-head h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 4px;
}

.adm-panel-head p { font-size: 0.85rem; color: var(--text-muted); }

.adm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.adm-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.adm-stat-card:hover {
  border-color: rgba(232,101,42,0.25);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.adm-stat-card.accent {
  background: linear-gradient(135deg, var(--accent-soft), var(--surface));
  border-color: rgba(232,101,42,0.2);
}

.adm-stat-icon { font-size: 1.5rem; margin-bottom: 4px; }

.adm-stat-val {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.adm-stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.adm-dash-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.adm-dash-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.adm-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.adm-block-head h3 {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.adm-block-link {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.adm-block-link:hover { opacity: 0.7; }

.adm-mini-list { display: flex; flex-direction: column; gap: 8px; }

.adm-mini-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.adm-mini-item:last-child { border-bottom: none; }

.adm-mini-icon { font-size: 0.9rem; flex-shrink: 0; }

.adm-mini-date { margin-left: auto; font-size: 0.75rem; color: var(--text-dim); }

.adm-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.adm-search {
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.25s;
  min-width: 220px;
}

.adm-search:focus { border-color: var(--accent); }

.adm-filter-select {
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.25s;
}

.adm-filter-select:focus { border-color: var(--accent); }

.adm-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.adm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 600px;
}

.adm-table thead { background: var(--surface-2); border-bottom: 1px solid var(--border); }

.adm-table th {
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
}

.adm-table td {
  padding: 13px 16px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.adm-table tr:last-child td { border-bottom: none; }
.adm-table tr:hover td { background: var(--surface); }

.adm-td-truncate {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adm-amount {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--text) !important;
}

.adm-ref { font-size: 0.78rem; color: var(--text-dim) !important; letter-spacing: 0.5px; }

.adm-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.adm-btn-edit,
.adm-btn-verify,
.adm-btn-reject,
.adm-btn-delete,
.adm-btn-approve {
  padding: 5px 12px;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50px;
  border: 1px solid;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.adm-btn-edit { color: #60a5fa; background: rgba(96,165,250,0.08); border-color: rgba(96,165,250,0.25); }
.adm-btn-edit:hover { background: rgba(96,165,250,0.2); }

.adm-btn-verify,
.adm-btn-approve { color: #34d399; background: rgba(52,211,153,0.08); border-color: rgba(52,211,153,0.25); }
.adm-btn-verify:hover,
.adm-btn-approve:hover { background: rgba(52,211,153,0.2); }

.adm-btn-reject,
.adm-btn-delete { color: #f87171; background: rgba(248,113,113,0.08); border-color: rgba(248,113,113,0.25); }
.adm-btn-reject:hover,
.adm-btn-delete:hover { background: rgba(248,113,113,0.2); }

.adm-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 0.95rem;
}

.adm-icon-btn.edit { color: #60a5fa; background: rgba(96,165,250,0.08); border-color: rgba(96,165,250,0.25); }
.adm-icon-btn.edit:hover { background: rgba(96,165,250,0.2); }
.adm-icon-btn.delete { color: #f87171; background: rgba(248,113,113,0.08); border-color: rgba(248,113,113,0.25); }
.adm-icon-btn.delete:hover { background: rgba(248,113,113,0.2); }

.adm-pill {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
}

.adm-pill.general { color: #60a5fa; background: rgba(96,165,250,0.1); }
.adm-pill.inhouse { color: var(--gold); background: var(--gold-soft); }
.adm-pill.yes { color: #34d399; background: rgba(52,211,153,0.1); }
.adm-pill.no { color: #f87171; background: rgba(248,113,113,0.1); }
.adm-pill.pending-pill { color: var(--gold); background: var(--gold-soft); }
.adm-pill.approved { color: #34d399; background: rgba(52,211,153,0.1); }
.adm-pill.rejected { color: #f87171; background: rgba(248,113,113,0.1); }
.adm-pill.verified { color: #34d399; background: rgba(52,211,153,0.1); }
.adm-pill.pending { color: var(--gold); background: var(--gold-soft); }
.adm-pill.ongoing { color: #60a5fa; background: rgba(96,165,250,0.1); }

.adm-loading-screen {
  background: var(--bg);
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.adm-loading-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.adm-loading-orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(232,101,42,0.12) 0%, transparent 70%);
  top: -100px;
  right: -80px;
  animation: admOrbDrift 6s ease-in-out infinite alternate;
}

.adm-loading-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  bottom: -80px;
  left: -60px;
  animation: admOrbDrift 8s ease-in-out infinite alternate-reverse;
}

@keyframes admOrbDrift {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(20px) scale(1.06); }
}

.adm-loading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.adm-loading-logo {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  position: relative;
}

.adm-loading-logo::after {
  content: 'Admin';
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.48rem;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.adm-loading-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.adm-loading-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  animation: admDotPulse 1.4s ease-in-out infinite both;
}

.adm-loading-dots span:nth-child(1) { animation-delay: 0s; }
.adm-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.adm-loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes admDotPulse {
  0%, 80%, 100% { background: var(--text-dim); transform: scale(1); }
  40% { background: var(--accent); transform: scale(1.4); }
}

.adm-loading-bar-wrap {
  width: 120px;
  height: 1px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.adm-loading-bar {
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: admBarSweep 1.8s ease-in-out infinite;
}

@keyframes admBarSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

.adm-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 48px 24px;
  font-size: 0.88rem;
}

.adm-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.adm-media-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
}

.adm-media-item:hover { border-color: rgba(232,101,42,0.3); }

.adm-media-thumb {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-3);
  overflow: hidden;
}

.adm-media-thumb img { width: 100%; height: 100%; object-fit: cover; }

.adm-media-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.adm-media-thumb .adm-pill { position: absolute; top: 8px; left: 8px; }

.adm-media-info { padding: 10px 12px 4px; }

.adm-media-info p {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adm-media-info small { font-size: 0.68rem; color: var(--text-muted); text-transform: capitalize; }

.adm-media-del { margin: 6px 12px 12px; }

.adm-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.adm-settings-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.adm-settings-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.adm-settings-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

.adm-settings-feedback { font-size: 0.78rem; min-height: 18px; }

.adm-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.adm-toggle-row span { font-size: 0.85rem; color: var(--text-muted); }

.adm-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.adm-toggle input { opacity: 0; width: 0; height: 0; }

.adm-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50px;
  transition: 0.3s;
}

.adm-toggle-slider::before {
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: 0.3s;
}

.adm-toggle input:checked + .adm-toggle-slider { background: var(--accent); border-color: var(--accent); }

.adm-toggle input:checked + .adm-toggle-slider::before { transform: translateX(20px); background: #fff; }

.adm-form-modal { max-width: 520px; }

.adm-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.adm-input-group { display: flex; flex-direction: column; gap: 6px; }

.adm-input-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.adm-input-group .modal-input { margin-bottom: 0; }

.adm-upload-zone {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.adm-upload-zone:hover,
.adm-upload-zone.drag-over {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.adm-upload-icon { font-size: 2.5rem; color: var(--text-dim); }

.adm-upload-zone p { font-size: 0.85rem; color: var(--text-muted); }

.adm-upload-zone small { font-size: 0.75rem; color: var(--text-dim); }

.adm-upload-previews { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

.adm-preview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
  max-width: 80px;
}

.adm-preview-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.adm-preview-item span { max-width: 72px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.adm-preview-video {
  width: 72px;
  height: 72px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 1px solid var(--border);
}

.adm-upload-progress { display: flex; flex-direction: column; gap: 6px; }

.adm-progress-bar {
  height: 6px;
  background: var(--surface-2);
  border-radius: 3px;
  overflow: hidden;
}

.adm-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 3px;
  width: 0%;
  transition: width 0.3s ease;
}

.adm-upload-progress span { font-size: 0.78rem; color: var(--text-muted); text-align: center; }

#mediaProgressLabel { font-size: 0.75rem; color: var(--text-muted); }

.adm-project-progress-bar {
  height: 8px;
  background: var(--surface-2);
  border-radius: 4px;
  overflow: hidden;
}

.adm-project-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #e8652a, #c9a84c, #34d399);
  border-radius: 4px;
  transition: width 1.2s cubic-bezier(0.25,1,0.5,1);
}

.adm-project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.adm-project-card:hover {
  border-color: rgba(232,101,42,0.25);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.adm-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.adm-contribution-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.adm-contributions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.prayers-page {
  min-height: 100vh;
  background: var(--bg);
  padding-top: 80px;
}

.prayers-hero {
  position: relative;
  padding: 60px 24px 48px;
  overflow: hidden;
  text-align: center;
}

.prayers-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.15), transparent 70%);
}

.prayers-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.prayers-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.prayers-hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 20px;
}

.prayers-hero-title em { font-style: italic; color: var(--gold); }

.prayers-hero-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
  padding: 16px 20px;
  border-left: 2px solid var(--gold);
  text-align: left;
  background: var(--gold-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.prayers-countdown-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 14px 24px;
  margin: 0 auto;
  max-width: 420px;
}

.prayers-countdown-icon { font-size: 1.2rem; }

.prayers-countdown-text {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.prayers-countdown-time {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
}

.prayers-closed-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 80px 24px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.prayers-closed-icon { font-size: 4rem; }

.prayers-closed-state h2 { font-size: 1.8rem; color: var(--text); }

.prayers-closed-state p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; max-width: 440px; }

.prayers-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.prayers-register-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.prayers-register-head { text-align: center; }

.prayers-register-head h2 { font-size: 1.6rem; color: var(--text); margin-bottom: 8px; }

.prayers-register-head p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

.prayers-members-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px;
}

.prayers-members-list::-webkit-scrollbar { width: 4px; }
.prayers-members-list::-webkit-scrollbar-track { background: transparent; }
.prayers-members-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.prayers-member-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}

.prayers-member-option:hover { background: var(--surface-2); }

.prayers-member-option.selected {
  background: var(--accent-soft);
  border-color: rgba(232,101,42,0.3);
}

.prayers-member-option input[type="radio"] { display: none; }

.prayers-member-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  color: var(--accent);
  font-size: 0.85rem;
  flex-shrink: 0;
  overflow: hidden;
}

.prayers-member-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.prayers-member-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.prayers-confirm-card {
  background: linear-gradient(135deg, var(--accent-soft), var(--surface));
  border: 1px solid rgba(232,101,42,0.25);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.prayers-confirm-icon { font-size: 3rem; }

.prayers-confirm-card h2 { font-size: 1.5rem; color: var(--text); }

.prayers-confirm-partner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
}

.prayers-confirm-partner-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 2px solid rgba(232,101,42,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
  overflow: hidden;
}

.prayers-confirm-partner-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.prayers-confirm-partner-info { text-align: left; }

.prayers-confirm-partner-info strong {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  display: block;
}

.prayers-confirm-partner-info span { font-size: 0.78rem; color: var(--text-muted); }

.prayers-confirm-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; max-width: 420px; }

.prayers-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.prayers-back-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }