*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #f2503a;
  --primary-dark: #d63d28;
  --secondary: #f2a33a;
  --secondary-dark: #d88c2e;
  --dark: #1a1a2e;
  --dark-mid: #2d2d5e;
  --text: #2c2c3e;
  --text-light: #6b6b80;
  --bg: #faf9f7;
  --bg-alt: #f5f3ef;
  --white: #ffffff;
  --surface: var(--white);
  --border: #e8e4de;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-head: 'Playfair Display', serif;
  --font-body: 'Roboto', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

@media (min-width: 1025px) {
  html { zoom: 0.8; }
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  /* Light text on dark backgrounds renders noticeably bolder/blurrier in
     WebKit & Chromium without this — most visible in dark mode. */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--dark);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
input, textarea, select, button { font-family: var(--font-body); }
select, input, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}
select:focus, input:focus, textarea:focus { border-color: var(--primary); }
textarea { resize: vertical; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== BUTTON STYLES (UPDATED WITH SPINNER) ========== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(242,80,58,0.35);
}
.btn-primary:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242,80,58,0.45);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(242,163,58,0.35);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--secondary-dark);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--surface);
  color: var(--primary);
  font-weight: 700;
}
.btn-white:hover:not(:disabled) {
  background: var(--bg-alt);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover:not(:disabled) {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--white);
}

.btn-outline-sm {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 8px 18px;
  font-size: 0.85rem;
}
.btn-outline-sm:hover:not(:disabled) {
  background: var(--primary);
  color: var(--white);
}

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* Button Disabled State */
.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* ========== BUTTON SPINNER ========== */
.btn-spinner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  width: 18px;
  height: 18px;
  animation: spin 1s linear infinite;
}

.spinner .path {
  stroke: currentColor;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

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

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

.btn-listen {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(242,80,58,0.45);
  position: relative;
  overflow: visible;
}
.btn-listen:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(242,80,58,0.55);
}

.listen-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  position: relative;
  animation: pulse-dot 1.5s ease infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.btn-donate {
  background: var(--dark);
  color: var(--white);
  font-weight: 700;
}
.btn-donate:hover:not(:disabled) {
  background: var(--dark-mid);
  transform: translateY(-2px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.navbar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}
.logo:hover { opacity: 0.8; }
/* NEW: Logo Image styling */
.logo-image {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}
.logo-icon { font-size: 1.5rem; display :none; }
.logo-text {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--dark);
  font-weight: 400;
}
.logo-text strong { color: var(--primary); }
/* Mobile responsive */
@media (max-width: 768px) {
  .logo-image {
    height: 40px;
    width: auto;
  }
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}
.nav-link:hover { color: var(--primary); background: rgba(242,80,58,0.07); }
.nav-link.active { color: var(--primary); background: rgba(242,80,58,0.1); font-weight: 700; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-listen-bar {
  display: none;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 10px 16px;
  text-align: center;
}
.btn-listen-mobile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  background: rgba(255,255,255,0.15);
  padding: 8px 20px;
  border-radius: 50px;
}

.page { display: none; animation: pageIn 0.4s ease; }
.page.active { display: block; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section-alt { background: var(--bg-alt); }
section { padding: 80px 0; }
section.section-welcome,
section.section-training-preview,
section.section-events-preview,
section.section-testimonials,
section.section-newsletter,
section.section-donate { padding: 80px 0; }

.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 12px; }
.section-header p { color: var(--text-light); max-width: 540px; margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, #0f0f1f 50%, #1a1118 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(242,80,58,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(242,163,58,0.12) 0%, transparent 50%);
}
.hero-waves {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
}
.hero-waves svg { width: 100%; height: auto; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242,80,58,0.15);
  border: 1px solid rgba(242,80,58,0.3);
  color: var(--secondary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}
.hero-title em {
  font-style: italic;
  color: var(--secondary);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.pulse-btn { animation: scale-pulse 3s ease infinite; }
@keyframes scale-pulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(242,80,58,0.45); }
  50% { box-shadow: 0 8px 32px rgba(242,80,58,0.7); }
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.6rem; font-weight: 700; color: var(--white); font-family: var(--font-head); }
.stat span { font-size: 0.78rem; color: rgba(255,255,255,0.55); letter-spacing: 0.05em; text-transform: uppercase; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

.hero-visual {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}
.radio-graphic { position: relative; width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; }
.wave-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(242,80,58,0.25);
}
.r1 { width: 220px; height: 220px; animation: ring-pulse 2s ease infinite; }
.r2 { width: 160px; height: 160px; animation: ring-pulse 2s ease 0.4s infinite; }
.r3 { width: 100px; height: 100px; animation: ring-pulse 2s ease 0.8s infinite; }
.radio-center {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px rgba(242,80,58,0.5);
  z-index: 2;
}
@keyframes ring-pulse {
  0% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.6; }
}

.page-hero {
  padding: 80px 0 60px;
  color: var(--white);
}
.page-hero-sm { padding: 60px 0; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 580px; }

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.welcome-text h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 18px; }
.welcome-text p { color: var(--text-light); margin-bottom: 14px; }
.welcome-text .btn { margin-top: 10px; }

.welcome-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.87rem; color: var(--text-light); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.program-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.program-card-header {
  padding: 32px 28px 24px;
  color: var(--white);
  position: relative;
}
.program-level {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.program-card-header h3 { font-size: 1.4rem; color: var(--white); }

.program-card-body { padding: 24px 28px 28px; }
.program-card-body p { color: var(--text-light); margin-bottom: 18px; font-size: 0.93rem; }

.program-features { margin-bottom: 20px; }
.program-features li {
  font-size: 0.87rem;
  color: var(--text);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.program-features li:last-child { border: none; }

.program-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.83rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.live-badge {
  margin-left: 8px;
  font-size: 0.7rem;
  background: red;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.countdown-status {
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.events-list { display: flex; flex-direction: column; gap: 16px; }
.event-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.event-item:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateX(4px); }

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  min-width: 60px;
  flex-shrink: 0;
}
.event-day { font-size: 1.5rem; font-weight: 700; font-family: var(--font-head); line-height: 1; }
.event-month { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }

.event-info { flex: 1; }
.event-info h4 { font-size: 1rem; margin-bottom: 4px; }
.event-info p { font-size: 0.83rem; color: var(--text-light); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  transition: all var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-quote {
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 5rem;
  line-height: 1;
  color: var(--primary);
  font-family: var(--font-head);
  opacity: 0.15;
}
.testimonial-card p { color: var(--text-light); font-style: italic; margin-bottom: 20px; position: relative; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.78rem; color: var(--text-light); }

.newsletter-box {
  background: linear-gradient(135deg, var(--dark), var(--dark-mid));
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.newsletter-text { flex: 1; min-width: 240px; }
.newsletter-text h2 { color: var(--white); font-size: 2rem; margin-bottom: 10px; }
.newsletter-text p { color: rgba(255,255,255,0.65); }
.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 280px;
}
.newsletter-form input {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--white);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form input:focus { border-color: var(--secondary); }

.section-donate { background: var(--dark); }
.donate-banner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.donate-text h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 12px; }
.donate-text p { color: rgba(255,255,255,0.65); margin-bottom: 28px; }
.donate-amounts {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.donate-amount-btn {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border: 2px solid rgba(255,255,255,0.15);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.donate-amount-btn:hover,
.donate-amount-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(242,80,58,0.35);
}

.page-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
  padding-top: 60px;
  padding-bottom: 80px;
}

/* ========== FORM CARD STYLES (UPDATED WITH MOBILE RESPONSIVE) ========== */
.form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-card h2 { 
  font-size: 1.7rem; 
  margin-bottom: 28px; 
}

.form-row { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 16px; 
}
.form-group { 
  margin-bottom: 18px; 
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(242,80,58,0.1);
}

.form-check { 
  display: flex; 
  align-items: flex-start; 
  gap: 10px; 
  margin-bottom: 20px; 
}
.form-check input { 
  width: auto; 
  margin-top: 3px; 
  flex-shrink: 0; 
}
.form-check label { 
  font-size: 0.84rem; 
  color: var(--text-light); 
  line-height: 1.4;
}
.form-check a { 
  color: var(--primary);
  text-decoration: none;
}
.form-check a:hover {
  text-decoration: underline;
}

/* ========== NEWSLETTER FORM (UPDATED FROM FOOTER) ========== */
.footer-nl-form { 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
  margin-top: 4px; 
}

.footer-nl-form input {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-nl-form input::placeholder { 
  color: rgba(255, 255, 255, 0.4); 
}

.footer-nl-form input:focus { 
  outline: none;
  border-color: var(--secondary);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.benefits-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.benefits-box h3 { font-size: 1.2rem; margin-bottom: 20px; }
.benefits-list { display: flex; flex-direction: column; gap: 16px; }
.benefits-list li { display: flex; gap: 14px; align-items: flex-start; }
.benefit-icon { font-size: 1.5rem; flex-shrink: 0; }
.benefits-list strong { display: block; font-size: 0.9rem; margin-bottom: 3px; }
.benefits-list p { font-size: 0.83rem; color: var(--text-light); margin: 0; }

.community-highlight {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  color: var(--white);
}
.community-highlight h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 16px; }
.highlight-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.highlight-stat strong { display: block; font-size: 1.6rem; font-weight: 700; font-family: var(--font-head); }
.highlight-stat span { font-size: 0.75rem; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.05em; }

.faq-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.faq-box h3 { font-size: 1.2rem; margin-bottom: 18px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border: none; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 10px;
}
.faq-question span { color: var(--primary); font-size: 1.2rem; transition: transform var(--transition); flex-shrink: 0; }
.faq-question.open span { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 0.87rem;
  color: var(--text-light);
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer.open { max-height: 200px; padding-bottom: 14px; }

.schedule-section { margin-top: 64px; }
.schedule-section h2 { font-size: 2rem; margin-bottom: 24px; }
.schedule-table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 0.9rem;
}
.schedule-table th {
  background: var(--dark);
  color: var(--white);
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.schedule-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.schedule-table tr:hover td { background: var(--bg-alt); }
.schedule-table tr:last-child td { border: none; }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-beginner { background: rgba(242,80,58,0.12); color: var(--primary); }
.badge-intermediate { background: rgba(26,26,46,0.1); color: var(--dark); }
.badge-advanced { background: rgba(242,163,58,0.15); color: var(--secondary-dark); }

.instructors-section { margin-top: 64px; }
.instructors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.instructor-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.instructor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.instructor-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 16px;
}
.instructor-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.instructor-role { font-size: 0.8rem; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.instructor-card p { font-size: 0.84rem; color: var(--text-light); }

.enroll-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--dark), var(--dark-mid));
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  margin: 64px 0 80px;
  color: var(--white);
}
.enroll-cta h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.enroll-cta p { color: rgba(255,255,255,0.65); margin-bottom: 28px; }

.featured-event-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #c43020 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  color: var(--white);
}
.featured-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(255,255,255,0.2); padding: 5px 14px; border-radius: 50px; display: inline-block; margin-bottom: 16px; }
.featured-event-banner h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--white); margin-bottom: 12px; }
.featured-event-banner p { color: rgba(255,255,255,0.8); margin-bottom: 28px; max-width: 560px; }
.featured-event-meta { display: flex; flex-direction: column; gap: 6px; font-size: 0.88rem; opacity: 0.8; margin-bottom: 28px; }

.countdown { display: flex; gap: 20px; margin-bottom: 24px; }
.countdown-unit { text-align: center; background: rgba(255,255,255,0.15); padding: 14px 20px; border-radius: var(--radius); }
.countdown-unit span { display: block; font-size: 2rem; font-weight: 900; font-family: var(--font-head); color: var(--white); line-height: 1; }
.countdown-unit small { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.7); }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.event-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.event-card-date {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 14px 20px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-head);
}
.event-card-body { padding: 20px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.event-tag { display: inline-block; background: rgba(242,80,58,0.1); color: var(--primary); padding: 3px 10px; border-radius: 50px; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.event-card-body h4 { font-size: 1rem; margin-bottom: 8px; }
.event-card-body p { font-size: 0.87rem; color: var(--text-light); flex: 1; margin-bottom: 14px; }
.event-card-meta { display: flex; flex-direction: column; gap: 4px; font-size: 0.8rem; color: var(--text-light); margin-bottom: 16px; }
.event-cta-group { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }

.resources-filter { margin-bottom: 40px; display: flex; flex-direction: column; gap: 14px; }
.filter-input {
  max-width: 480px;
  border-radius: 50px;
  padding-left: 20px;
  border-color: var(--border);
}
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text-light);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-tab:hover { border-color: var(--primary); color: var(--primary); }
.filter-tab.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 80px;
}
.resource-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all var(--transition);
}
.resource-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.resource-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.resource-icon.guide { background: rgba(242,80,58,0.1); }
.resource-icon.article { background: rgba(26,26,46,0.08); }
.resource-icon.audio { background: rgba(242,163,58,0.12); }
.resource-icon.video { background: rgba(45,45,94,0.08); }

.resource-type { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 5px; display: block; }
.resource-content h4 { font-size: 0.95rem; margin-bottom: 6px; }
.resource-content p { font-size: 0.83rem; color: var(--text-light); margin-bottom: 12px; }
.resource-card.hidden { display: none; }

.contact-info-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.contact-info-box h3 { font-size: 1.2rem; margin-bottom: 20px; }
.contact-info-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.contact-info-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }

/* Plain wrapper (no card chrome) for content that already looks like a
   card on its own — e.g. the giveaway promo, which reuses .event-card. */
.sidebar-section { margin-bottom: 24px; }
.sidebar-heading { font-size: 1.2rem; margin-bottom: 16px; }

/* Advertisement space — image, video, or text, with an optional link */
.ad-space { text-align: center; }
.ad-space-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}
.ad-space-media {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
}
.ad-space-media img,
.ad-space-media video {
  width: 100%;
  display: block;
}
.ad-space-text {
  font-size: 0.87rem;
  color: var(--text-light);
  margin-bottom: 16px;
}
.contact-info-list strong { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 3px; }
.contact-info-list p { font-size: 0.84rem; color: var(--text-light); margin: 0; }

.social-links h4 { font-size: 0.95rem; margin-bottom: 14px; }
.social-icons { display: flex; gap: 10px; }
.social-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: all var(--transition);
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover { background: var(--primary); border-color: var(--primary); color: var(--white); transform: translateY(-3px); }

.map-placeholder {
  background: linear-gradient(135deg, var(--dark), var(--dark-mid));
  border-radius: var(--radius-lg);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-overlay { text-align: center; color: var(--white); }
.map-overlay span { font-size: 2.5rem; display: block; margin-bottom: 10px; }
.map-overlay p { color: rgba(255,255,255,0.75); margin-bottom: 16px; font-size: 0.9rem; }

.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text { color: var(--white); }
.footer-brand p { margin-top: 16px; font-size: 0.87rem; line-height: 1.7; max-width: 300px; }
.footer-brand .social-icons { margin-top: 20px; }
.footer-brand .social-icon { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.65); }
.footer-brand .social-icon:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; font-family: var(--font-head); }

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--secondary); }

.footer-contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer-contact li { font-size: 0.87rem; display: flex; gap: 8px; align-items: flex-start; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.75); }

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  left: auto;
  transform: translateX(0) translateY(100px);
  color: var(--white);
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  box-shadow: var(--shadow-lg);
  white-space: normal;
  max-width: 380px;
  text-align: left;
  line-height: 1.5;
}
.toast.show { 
  transform: translateX(0) translateY(0); 
}
.toast-success { 
  background: linear-gradient(135deg, #10b981, #059669); 
}
.toast-error { 
  background: var(--primary); 
}
.toast-info {
  background: #3b82f6;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ========== MOBILE RESPONSIVE (FORMS & ALL) ========== */
@media (max-width: 1024px) {
  .two-col-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    gap: 6px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    z-index: 999;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-link { padding: 12px 16px; border-radius: var(--radius-sm); width: 100%; }

  .btn-listen { display: none; }
  .btn-donate { display: none; }
  .hamburger { display: flex; }
  .mobile-listen-bar { display: block; }

  .hero { min-height: auto; padding: 40px 0; }
  .hero-content { padding: 48px 24px; }
  .hero-stats { gap: 16px; flex-wrap: wrap; }
  .stat strong { font-size: 1.3rem; }

  .newsletter-box { flex-direction: column; gap: 24px; padding: 36px 24px; }
  .newsletter-form { flex-direction: column; }

  .featured-event-banner { padding: 36px 24px; }
  .countdown { gap: 10px; }
  .countdown-unit { padding: 12px 14px; }
  .countdown-unit span { font-size: 1.5rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }

  .form-card {
    padding: 24px 18px;
  }

  .form-card h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-group {
    margin-bottom: 14px;
  }

  .form-group label {
    font-size: 0.8rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 10px 12px;
    font-size: 16px; /* Prevents auto-zoom on iOS */
  }

  .form-check {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .form-check input {
    margin-top: 0;
  }

  .form-check label {
    font-size: 0.8rem;
  }

  .btn {
    padding: 11px 18px;
    font-size: 0.9rem;
  }

  .spinner {
    width: 16px;
    height: 16px;
  }

  .footer-nl-form {
    gap: 8px;
  }

  .footer-nl-form input {
    padding: 10px 12px;
    font-size: 16px;
  }

  .toast {
    bottom: 20px;
    right: 20px;
    left: auto;
    transform: translateX(0) translateY(100px);
    padding: 14px 18px;
    font-size: 0.88rem;
    max-width: 85vw;
    border-radius: 6px;
    white-space: normal;
    text-align: left;
  }

  .events-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }

  .page-content-grid { padding-top: 40px; padding-bottom: 48px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  section { padding: 56px 0; }
  
  /* ========== SMALL SCREEN FORMS ========== */
  .form-card { 
    padding: 16px 12px; 
    border-radius: var(--radius-md);
  }

  .form-card h2 {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }

  .form-group label {
    font-size: 0.75rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 9px 11px;
    font-size: 16px;
  }

  .form-group textarea {
    resize: vertical;
  }

  .btn {
    padding: 10px 14px;
    font-size: 0.85rem;
    gap: 6px;
  }

  .btn-text {
    display: block;
  }

  .spinner {
    width: 14px;
    height: 14px;
  }

  .footer-nl-form {
    gap: 8px;
  }

  .footer-nl-form input {
    padding: 9px 11px;
    font-size: 16px;
  }

  .toast {
    bottom: 15px;
    right: 15px;
    left: auto;
    transform: translateX(0) translateY(100px);
    padding: 12px 16px;
    font-size: 0.85rem;
    max-width: calc(100vw - 30px);
    border-radius: 6px;
    white-space: normal;
    text-align: left;
  }

  .highlight-stats { grid-template-columns: 1fr; }
  .hero-stats { justify-content: center; }
  .donate-amounts { gap: 8px; }
  .donate-amount-btn { padding: 8px 14px; font-size: 0.83rem; }
}

.mini-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9997;
  background: var(--dark);
  color: #ffffff;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
  pointer-events: none;
  border-top: 1px solid rgba(242, 80, 58, 0.35);
  will-change: transform;
}

.mini-player.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* Progress bar */
.mini-player-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.mini-player-progress-fill {
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 0 2px 2px 0;
  animation: mini-progress-sweep 4s ease-in-out infinite;
}

@keyframes mini-progress-sweep {
  0%   { width: 20%; margin-left: 0; }
  50%  { width: 60%; margin-left: 20%; }
  100% { width: 20%; margin-left: 80%; }
}

.mini-player.paused .mini-player-progress-fill {
  animation-play-state: paused;
  opacity: 0.4;
}

/* Inner layout */
.mini-player-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  min-height: 60px;
}

.mini-live-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--primary);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 50px;
  flex-shrink: 0;
  white-space: nowrap;
}

.mini-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: mini-live-pulse 1.4s ease-in-out infinite;
}

@keyframes mini-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.mini-art {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-art-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(242, 80, 58, 0.3);
}
.mini-ring.r1 { width: 38px; height: 38px; animation: ring-pulse 2s ease infinite; }
.mini-ring.r2 { width: 26px; height: 26px; animation: ring-pulse 2s ease infinite 0.4s; }

@keyframes ring-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.3; }
  50%       { transform: scale(1.1); opacity: 0.6; }
}

.mini-art-icon { font-size: 1.1rem; z-index: 1; }

.mini-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-title-wrap { overflow: hidden; }

.mini-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-head);
}

.mini-subtitle {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.mini-play-btn:hover  { background: var(--primary-dark); }
.mini-play-btn:active { transform: scale(0.92); }

.mini-expand-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  transition: background 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.mini-expand-btn:hover  { background: rgba(255, 255, 255, 0.18); color: #fff; }
.mini-expand-btn:active { transform: scale(0.92); }

.mini-request-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f2503a, #f2a33a);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 2px 8px rgba(242, 80, 58, 0.3);
}

.mini-request-btn:hover  { 
  background: linear-gradient(135deg, #d63d28, #d88c2e);
  box-shadow: 0 4px 12px rgba(242, 80, 58, 0.4);
  transform: scale(1.08);
}
.mini-request-btn:active { transform: scale(0.92); }

body.mini-player-active {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  .mini-player-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 32px;
  }
  .mini-live-badge { font-size: 0.68rem; padding: 4px 10px; }
  .mini-title      { font-size: 0.9rem; }
  .mini-subtitle   { font-size: 0.76rem; }
  .mini-play-btn   { width: 48px; height: 48px; }
}
/* ==========================================================================
   ADDITIONS — site upgrade (Prayers page + fixes)
   ========================================================================== */

/* Generic hidden utility — the live site referenced this class (e.g. on
   #bonusCodeField) but never actually defined it. */
.hidden { display: none !important; }

/* Small helper text under a form field (used on the Prayers form) */
.field-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Prayers page — embedded external prayer page (Option A in prayers.js) */
.prayer-embed-frame {
  width: 100%;
  min-height: 720px;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: var(--surface);
}

@media (max-width: 768px) {
  .prayer-embed-frame { min-height: 640px; }
}

/* ==========================================================================
   PRAYER WALL (Prayers page)
   ========================================================================== */

.prayer-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.prayer-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-light);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.prayer-tab .material-symbols-outlined { font-size: 1.1em; }
.prayer-tab:hover { border-color: var(--primary); color: var(--primary); }
.prayer-tab.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

.prayer-stats-row {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.prayer-stat { text-align: center; }
.prayer-stat-num { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--primary); }
.prayer-stat-label { font-size: 0.85rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; }

.prayer-grid { align-items: start; }

.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cat {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.cat:hover { border-color: var(--secondary); }
.cat.selected { background: var(--secondary); border-color: var(--secondary); color: var(--white); }

.field-hint { display: block; margin-top: 6px; font-size: 0.8rem; color: var(--text-light); text-align: right; }

.form-msg { margin-top: 12px; font-size: 0.9rem; color: var(--primary); min-height: 1.2em; }

.search-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.search-row input,
.search-row select {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.search-row input { flex: 1; }

.filter-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter-cat {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-light);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.filter-cat:hover { border-color: var(--primary); }
.filter-cat.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

.prayer-list { display: flex; flex-direction: column; gap: 16px; }

.prayer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.prayer-card.pinned { border-color: var(--secondary); box-shadow: var(--shadow-md); }

.prayer-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.prayer-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; flex-shrink: 0;
}
.prayer-card-meta { flex: 1; min-width: 0; }
.prayer-card-name { font-weight: 600; color: var(--text); }
.prayer-card-time { font-size: 0.8rem; color: var(--text-light); }
.prayer-card-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.prayer-badge {
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.prayer-badge-pinned { background: var(--secondary); color: var(--white); }
.prayer-badge .material-symbols-outlined { font-size: 0.9em; }

.prayer-card-text { color: var(--text); line-height: 1.6; margin-bottom: 14px; }

.prayer-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.prayer-react-btn,
.prayer-reply-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text-light);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}
.prayer-react-btn .material-symbols-outlined,
.prayer-reply-toggle .material-symbols-outlined { font-size: 1em; }
.prayer-react-btn:hover { border-color: var(--primary); color: var(--primary); }
.prayer-react-btn.reacted { background: var(--primary); border-color: var(--primary); color: var(--white); }

.prayer-replies {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.prayer-replies.open { display: block; }
.prayer-reply { font-size: 0.88rem; color: var(--text); margin-bottom: 8px; }
.prayer-reply-name { font-weight: 600; margin-right: 6px; color: var(--primary); }
.prayer-reply-input-row { display: flex; gap: 8px; margin-top: 10px; }
.prayer-reply-input-row input {
  flex: 1;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.85rem;
}
.prayer-reply-input-row button {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--primary);
  color: var(--white);
  font-size: 0.85rem;
  cursor: pointer;
}

.prayer-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-light);
}
.prayer-empty .material-symbols-outlined { font-size: 2rem; display: block; margin-bottom: 10px; color: var(--border); }

@media (max-width: 768px) {
  .prayer-tabs { justify-content: center; }
  .search-row { flex-direction: column; }
}

/* ==========================================================================
   DARK MODE
   ------------------------------------------------------------------------
   Everything on the site is already built on CSS variables, so dark mode is
   a variable override, not a rewrite. --dark/--dark-mid (header, hero
   gradients) are intentionally left alone — those stay the same brand navy
   in both themes.
   ========================================================================== */

[data-theme="dark"] {
  --text: #e9e7f2;
  --text-light: #a7a4bf;
  --bg: #131320;
  --bg-alt: #1a1a2c;
  --surface: #1e1e33;
  --border: #32324a;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.35);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.45);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.55);
}

/* h1-h4 and .badge-intermediate are hard-coded to color: var(--dark)
   (#1a1a2e) for the light theme's near-black heading color. --dark itself
   stays the same brand navy in dark mode (it's also used for header/hero
   backgrounds), so those rules need an explicit override here — otherwise
   headings render at ~1.08:1 contrast against the dark background,
   effectively invisible. */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] .logo-text {
  color: var(--text);
}
[data-theme="dark"] .badge-intermediate {
  background: rgba(233, 231, 242, 0.12);
  color: var(--text);
}

[data-theme="dark"] img:not(.logo-image) {
  filter: brightness(0.92);
}

/* Theme toggle button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }
.theme-toggle .material-symbols-outlined { font-size: 20px; }
.theme-toggle .icon-dark { display: none; }
[data-theme="dark"] .theme-toggle .icon-light { display: none; }
[data-theme="dark"] .theme-toggle .icon-dark { display: inline; }

@media (max-width: 900px) {
  .theme-toggle { order: -1; }
}