/* ============================================================
   ACM Congress - Main Stylesheet
   Design System: Sacred Assembly (Reverent Modernity)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Surface Colors */
  --surface:                 #f7faf5;
  --surface-dim:             #d8dbd6;
  --surface-container-low:   #f1f5ef;
  --surface-container:       #ecefe9;
  --surface-container-high:  #e6e9e4;
  --surface-container-highest:#e0e3de;
  --surface-white:           #ffffff;

  /* Primary Palette - Forest Green */
  --primary:                 #004428;
  --primary-container:       #0b5d3a;
  --primary-light:           #206b47;
  --on-primary:              #ffffff;
  --primary-fixed:           #a8f3c4;
  --inverse-primary:         #8dd6aa;

  /* Revival Orange (CTA) */
  --accent:                  #e07b00;
  --accent-hover:            #c96d00;
  --accent-light:            #fff3e0;

  /* Text Colors */
  --on-surface:              #181d19;
  --on-surface-variant:      #404942;
  --outline:                 #707a71;
  --outline-variant:         #bfc9c0;

  /* Status */
  --error:                   #ba1a1a;
  --success:                 #1a6b3c;
  --warning:                 #e07b00;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing (8px base) */
  --sp-xs:   4px;
  --sp-sm:   12px;
  --sp-md:   24px;
  --sp-lg:   48px;
  --sp-xl:   80px;
  --sp-2xl:  120px;

  /* Radius */
  --r-sm:    4px;
  --r-md:    8px;
  --r-lg:    16px;
  --r-xl:    24px;
  --r-full:  9999px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(11, 93, 58, 0.06), 0 1px 4px rgba(11, 93, 58, 0.04);
  --shadow-hover: 0 8px 40px rgba(11, 93, 58, 0.12), 0 2px 8px rgba(11, 93, 58, 0.06);
  --shadow-modal: 0 20px 60px rgba(0,0,0,0.15);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background-color: var(--surface);
  color: var(--on-surface);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-container); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.acm-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 250, 245, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--surface-container);
  transition: box-shadow 0.3s;
}

.acm-nav.scrolled {
  box-shadow: 0 2px 20px rgba(11, 93, 58, 0.08);
}

.acm-nav .container-fluid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.nav-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary) !important;
  letter-spacing: -0.02em;
}

.nav-brand span { color: var(--accent); }

.navbar-nav .nav-link {
  color: var(--on-surface-variant) !important;
  font-size: 14px;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: var(--r-md);
  transition: all 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary) !important;
  background: var(--surface-container-low);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-acm-primary {
  background: var(--accent);
  color: #fff !important;
  border: none;
  border-radius: var(--r-xl);
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

.btn-acm-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(224, 123, 0, 0.3);
}

.btn-acm-secondary {
  background: transparent;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
  border-radius: var(--r-xl);
  padding: 10px 26px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

.btn-acm-secondary:hover {
  background: var(--primary);
  color: #fff !important;
  transform: translateY(-1px);
}

.btn-acm-dark {
  background: var(--primary);
  color: #fff !important;
  border: none;
  border-radius: var(--r-xl);
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

.btn-acm-dark:hover {
  background: var(--primary-container);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,68,40,0.25);
}

/* ============================================================
   CARDS
   ============================================================ */
.acm-card {
  background: var(--surface-white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: var(--sp-md);
  transition: box-shadow 0.25s, transform 0.25s;
}

.acm-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(32,107,71,0.08);
  border-radius: var(--r-full);
  padding: 5px 14px;
  margin-bottom: 16px;
}

.section-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--inverse-primary);
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 17px;
  color: var(--on-surface-variant);
  max-width: 560px;
  line-height: 1.65;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.acm-hero {
  background: linear-gradient(160deg, #002918 0%, #004428 40%, #0b5d3a 100%);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Ensure hero fills at least the viewport on large screens */
@media (min-width: 992px) {
  .acm-hero {
    min-height: 90vh;
    padding: 60px 0 !important;
  }
}

.acm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-full);
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--inverse-primary);
  margin-bottom: 24px;
}

.hero-label .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #8dd6aa;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(141,214,170,0.4); }
  50% { opacity: 0.8; transform: scale(1.1); box-shadow: 0 0 0 6px rgba(141,214,170,0); }
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 8px;
}

.hero-theme {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 400;
  font-style: italic;
  color: rgba(141, 214, 170, 0.9);
  margin-bottom: 28px;
}

.hero-scripture {
  background: rgba(255,255,255,0.07);
  border-left: 3px solid #8dd6aa;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 16px 20px;
  max-width: 460px;
  margin-bottom: 36px;
}

.hero-scripture p {
  font-size: 15px;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin: 0;
}

.hero-scripture small {
  color: var(--inverse-primary);
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
  display: block;
}

.hero-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-date i { color: var(--accent); }

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 36px; }

/* Countdown */
.countdown-strip {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;   /* NEVER wrap — always one row */
}

.countdown-unit {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  text-align: center;
  min-width: 80px;
  flex-shrink: 0;      /* prevent squishing */
}

.countdown-unit .num {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: block;
}

.countdown-unit .lbl {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  display: block;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--surface-white);
  border-radius: var(--r-lg);
  padding: var(--sp-md) var(--sp-lg);
  box-shadow: var(--shadow-card);
}

.stat-item { text-align: center; }
.stat-item .stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-item .stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--outline);
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  background: var(--surface-container-high);
}

/* ============================================================
   WHAT TO EXPECT
   ============================================================ */
.expect-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }

.expect-card {
  background: var(--surface-white);
  border-radius: var(--r-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.25s;
}

.expect-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.expect-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(32,107,71,0.1), rgba(32,107,71,0.05));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  color: var(--primary-light);
}

.expect-card h4 { font-size: 15px; font-weight: 600; color: var(--on-surface); margin-bottom: 8px; }
.expect-card p { font-size: 13px; color: var(--on-surface-variant); line-height: 1.55; }

/* ============================================================
   SPEAKER CARDS
   ============================================================ */
.speaker-card {
  background: var(--surface-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.25s;
}

.speaker-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.speaker-img-wrap {
  height: 260px;
  overflow: hidden;
  background: var(--surface-container);
  position: relative;
}

.speaker-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.speaker-card:hover .speaker-img-wrap img { transform: scale(1.04); }

.speaker-role-badge {
  position: absolute;
  bottom: 12px; left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-full);
}

.speaker-card-body { padding: 20px; }
.speaker-card-body .speaker-title { font-size: 11px; font-weight: 600; color: var(--primary-light); text-transform: uppercase; letter-spacing: 0.06em; }
.speaker-card-body h3 { font-size: 18px; font-weight: 700; color: var(--on-surface); margin: 4px 0 6px; letter-spacing: -0.01em; }
.speaker-card-body p { font-size: 13px; color: var(--on-surface-variant); line-height: 1.5; }

/* ============================================================
   PROGRAMME / SCHEDULE
   ============================================================ */
.day-tabs {
  display: flex;
  gap: 4px;
  background: var(--surface-container);
  border-radius: var(--r-lg);
  padding: 4px;
  margin-bottom: 28px;
}

.day-tab {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--on-surface-variant);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: transparent;
}

.day-tab.active {
  background: var(--surface-white);
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}

.schedule-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0;
  margin-bottom: 4px;
  align-items: stretch;
  position: relative;
}

.schedule-time {
  font-size: 13px;
  font-weight: 600;
  color: var(--outline);
  padding: 16px 16px 16px 0;
  display: flex;
  align-items: flex-start;
  padding-top: 20px;
}

.schedule-body {
  background: var(--surface-white);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
  border-left: 3px solid transparent;
  transition: all 0.2s;
}

.schedule-body:hover { box-shadow: var(--shadow-hover); }

.schedule-body.featured { border-left-color: var(--accent); }
.schedule-body.cat-logistics { border-left-color: var(--outline); }
.schedule-body.cat-revival { border-left-color: #e07b00; }
.schedule-body.cat-teaching { border-left-color: var(--primary-light); }
.schedule-body.cat-worship { border-left-color: #652529; }
.schedule-body.cat-social { border-left-color: #4d6617; }
.schedule-body.cat-prayer { border-left-color: var(--primary); }

.schedule-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: 6px;
}

.cat-logistics { background: #f0f0f0; color: #555; }
.cat-revival   { background: #fff3e0; color: #c96d00; }
.cat-teaching  { background: rgba(32,107,71,0.1); color: var(--primary-light); }
.cat-worship   { background: #fce4e4; color: #8b3030; }
.cat-social    { background: #f0f7e0; color: #4d6617; }
.cat-prayer    { background: rgba(0,68,40,0.08); color: var(--primary); }
.cat-general   { background: var(--surface-container); color: var(--outline); }

.schedule-body h5 { font-size: 15px; font-weight: 600; color: var(--on-surface); margin-bottom: 4px; }
.schedule-body .venue { font-size: 12px; color: var(--outline); display: flex; align-items: center; gap: 4px; }

/* ============================================================
   REGISTRATION FORM
   ============================================================ */
.reg-container {
  max-width: 760px;
  margin: 0 auto;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.step::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--surface-container-high);
  z-index: 0;
}

.step:last-child::before { display: none; }

.step-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface-container-high);
  color: var(--outline);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}

.step.active .step-circle {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(0,68,40,0.15);
}

.step.done .step-circle {
  background: var(--success);
  color: #fff;
}

.step-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--outline);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step.active .step-label { color: var(--primary); }

.acm-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--surface-container-high);
  border-radius: var(--r-md);
  background: var(--surface-white);
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--on-surface);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

.acm-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,68,40,0.1);
}

.acm-input::placeholder { color: var(--outline); }

.acm-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--on-surface-variant);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

/* ============================================================
   DIGITAL PASS
   ============================================================ */
.digital-pass {
  background: linear-gradient(145deg, #004428, #0b5d3a);
  border-radius: 20px;
  padding: 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
  max-width: 380px;
  margin: 0 auto;
}

.digital-pass::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.pass-header { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(141,214,170,0.8); margin-bottom: 4px; }
.pass-title { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.pass-field-label { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.pass-field-value { font-size: 16px; font-weight: 600; color: #fff; margin-top: 2px; margin-bottom: 16px; }
.pass-dates { font-size: 13px; color: rgba(255,255,255,0.7); }
.pass-qr-area {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin: 20px 0 8px;
}

.pass-qr-area img { width: 120px; height: 120px; margin: 0 auto; }
.pass-scan-label { font-size: 11px; color: var(--primary); font-weight: 600; margin-top: 6px; }

/* ============================================================
   TESTIMONIES
   ============================================================ */
.testimony-card {
  background: var(--surface-white);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: all 0.25s;
  height: 100%;
}

.testimony-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.testimony-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(32,107,71,0.08);
  padding: 3px 10px;
  border-radius: var(--r-full);
  display: inline-block;
  margin-bottom: 12px;
}

.testimony-card .quote-icon {
  font-size: 40px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  font-family: Georgia, serif;
}

.testimony-card h4 { font-size: 17px; font-weight: 700; color: var(--on-surface); margin-bottom: 10px; }
.testimony-card p { font-size: 14px; color: var(--on-surface-variant); line-height: 1.65; }
.testimony-author { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.author-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-container); overflow: hidden; flex-shrink: 0; }
.author-name { font-size: 13px; font-weight: 600; color: var(--on-surface); }
.author-loc { font-size: 12px; color: var(--outline); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid { columns: 3; column-gap: 16px; }
.gallery-item { break-inside: avoid; margin-bottom: 16px; border-radius: var(--r-lg); overflow: hidden; cursor: pointer; position: relative; }
.gallery-item img { width: 100%; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,68,40,0.8) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-text { color: #fff; }
.gallery-overlay-text .cat-tag { font-size: 10px; font-weight: 600; color: var(--inverse-primary); text-transform: uppercase; letter-spacing: 0.08em; }
.gallery-overlay-text h5 { font-size: 14px; font-weight: 600; margin: 2px 0 0; }

@media (max-width: 768px) { .gallery-grid { columns: 2; } }
@media (max-width: 480px) { .gallery-grid { columns: 1; } }

/* ============================================================
   MESSAGE ARCHIVE
   ============================================================ */
.message-card {
  background: var(--surface-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.25s;
}

.message-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.msg-thumb {
  position: relative;
  height: 180px;
  background: var(--surface-container);
  overflow: hidden;
}

.msg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.msg-duration {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff; font-size: 11px; font-weight: 600;
  padding: 2px 7px; border-radius: var(--r-sm);
}

.msg-body { padding: 16px; }
.msg-type-badge { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary-light); }
.msg-body h4 { font-size: 15px; font-weight: 700; color: var(--on-surface); margin: 4px 0 6px; line-height: 1.35; }
.msg-body .msg-meta { font-size: 12px; color: var(--outline); }
.msg-actions { display: flex; gap: 8px; margin-top: 12px; }

/* ============================================================
   LIVE SECTION
   ============================================================ */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--r-full);
}

.live-badge .live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-glow 1.5s infinite;
}

.video-player-area {
  background: #000;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  position: relative;
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #fff;
  gap: 16px;
}

.play-btn-large {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #fff;
  cursor: pointer; transition: all 0.2s;
}

.play-btn-large:hover { background: rgba(255,255,255,0.25); transform: scale(1.08); }

.prayer-wall {
  background: var(--surface-white);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.prayer-item {
  border-left: 3px solid var(--inverse-primary);
  padding: 10px 14px;
  margin-bottom: 12px;
  background: var(--surface-container-low);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.prayer-item p { font-size: 13px; font-style: italic; color: var(--on-surface); line-height: 1.5; margin: 0; }
.prayer-item .prayer-meta { font-size: 11px; color: var(--outline); margin-top: 4px; }

/* ============================================================
   DONATION / PARTNERSHIP
   ============================================================ */
.partnership-card {
  background: var(--surface-white);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: all 0.25s;
  position: relative;
}

.partnership-card.featured {
  background: var(--primary);
  color: #fff;
}

.partnership-card.featured h3,
.partnership-card.featured p,
.partnership-card.featured .price { color: #fff; }

.partnership-card .most-popular {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--r-full);
}

.price { font-size: 36px; font-weight: 800; color: var(--primary); letter-spacing: -0.03em; }
.price span { font-size: 16px; font-weight: 400; }

/* ============================================================
   FOOTER
   ============================================================ */
.acm-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: var(--sp-xl) 0 var(--sp-md);
}

.acm-footer .footer-brand { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.acm-footer .footer-brand span { color: var(--inverse-primary); }
.acm-footer .footer-tagline { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 20px; }

.footer-heading { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--inverse-primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: var(--sp-lg);
  padding-top: var(--sp-md);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  transition: all 0.2s;
}
.social-link:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

/* ============================================================
   DARK SECTION VARIANT
   ============================================================ */
.section-dark {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-container) 100%);
  color: #fff;
}

.section-dark .section-title { color: #fff; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }

/* ============================================================
   ALERT / FLASH
   ============================================================ */
.acm-alert {
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
}

.acm-alert-success { background: rgba(26,107,60,0.1); color: var(--success); }
.acm-alert-error   { background: rgba(186,26,26,0.1); color: var(--error); }
.acm-alert-info    { background: rgba(0,68,40,0.08); color: var(--primary); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .acm-hero { min-height: auto; padding: 70px 0 60px !important; }
  .stats-strip { padding: var(--sp-md); }
  .gallery-grid { columns: 2; }
}

@media (max-width: 768px) {
  .section-xl { padding: 56px 0; }
  .section-lg { padding: 40px 0; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .schedule-item { grid-template-columns: 70px 1fr; }
  .day-tabs { flex-wrap: wrap; }
  /* Let countdown wrap gracefully on very small screens */
  #countdown > div { flex-wrap: wrap; }
  .countdown-unit { min-width: 70px; padding: 12px 14px; }
  .countdown-unit .num { font-size: 26px; }
}

@media (max-width: 480px) {
  .countdown-strip { gap: 6px; }
  .countdown-unit { min-width: 64px; padding: 12px 14px; }
  .countdown-unit .num { font-size: 24px; }
}

/* ============================================================
   SECTION SPACING HELPERS
   ============================================================ */
.section-xl { padding: var(--sp-xl) 0; }
.section-lg { padding: var(--sp-lg) 0; }
.section-md { padding: var(--sp-md) 0; }

/* ============================================================
   MISC HELPERS
   ============================================================ */
.text-accent { color: var(--accent) !important; }
.text-primary-acm { color: var(--primary) !important; }
.text-muted-acm { color: var(--on-surface-variant) !important; }
.bg-surface { background: var(--surface) !important; }
.bg-surface-container { background: var(--surface-container-low) !important; }
.rounded-acm { border-radius: var(--r-lg) !important; }

.container-acm { max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-md); }

/* Lightbox */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: none; align-items: center; justify-content: center;
}

.lightbox-overlay.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 88vh; border-radius: var(--r-lg); }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  color: #fff; font-size: 28px; cursor: pointer;
  opacity: 0.7; transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

/* Announcement card */
.announcement-item {
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  background: var(--surface-white);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  box-shadow: var(--shadow-card);
  margin-bottom: 12px;
}

.announcement-item h5 { font-size: 14px; font-weight: 600; color: var(--on-surface); margin-bottom: 4px; }
.announcement-item p { font-size: 13px; color: var(--on-surface-variant); margin: 0; line-height: 1.5; }
.announcement-item .ann-date { font-size: 11px; color: var(--outline); margin-top: 6px; }

/* Year filter tabs */
.year-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.year-tab {
  padding: 7px 16px;
  border-radius: var(--r-full);
  font-size: 13px; font-weight: 600;
  border: 2px solid var(--surface-container-high);
  background: var(--surface-white);
  color: var(--on-surface-variant);
  cursor: pointer; transition: all 0.2s;
}

.year-tab.active, .year-tab:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

/* Search field */
.search-wrap { position: relative; }
.search-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--outline); font-size: 15px; }
.search-wrap .acm-input { padding-left: 42px; }

/* Timeline */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px; background: var(--surface-container-high); }
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-dot {
  position: absolute; left: -34px; top: 4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--surface);
  display: flex; align-items: center; justify-content: center;
}
.timeline-dot.accent { background: var(--accent); }
.timeline-year { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--outline); text-transform: uppercase; margin-bottom: 4px; }
.timeline-content h4 { font-size: 15px; font-weight: 600; color: var(--on-surface); margin-bottom: 4px; }
.timeline-content p { font-size: 13px; color: var(--on-surface-variant); line-height: 1.5; }

/* About page vision/mission cards */
.vision-card {
  background: var(--surface-white);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  height: 100%;
  border-top: 4px solid var(--primary);
}

.vision-card.mission { border-top-color: var(--accent); }

.vision-card h3 { font-size: 18px; font-weight: 700; color: var(--on-surface); margin: 16px 0 10px; }
.vision-card p { font-size: 14px; color: var(--on-surface-variant); line-height: 1.65; }

/* Core Values */
.value-item { text-align: center; }
.value-icon { width: 56px; height: 56px; background: var(--surface-container-low); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 24px; color: var(--primary-light); }
.value-item h4 { font-size: 15px; font-weight: 700; color: var(--on-surface); margin-bottom: 6px; }
.value-item p { font-size: 13px; color: var(--on-surface-variant); }

/* Contact */
.contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-icon { width: 44px; height: 44px; background: rgba(32,107,71,0.1); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--primary-light); flex-shrink: 0; }
.contact-info-item h5 { font-size: 14px; font-weight: 600; color: var(--on-surface); margin-bottom: 2px; }
.contact-info-item p { font-size: 14px; color: var(--on-surface-variant); margin: 0; }

/* Donation amount selector */
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.amount-btn {
  padding: 14px 10px;
  border: 2px solid var(--surface-container-high);
  border-radius: var(--r-md);
  background: var(--surface-white);
  font-size: 15px; font-weight: 700;
  color: var(--on-surface-variant);
  cursor: pointer; transition: all 0.2s;
  text-align: center;
}
.amount-btn.active, .amount-btn:hover {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-light);
}
