/* ==========================================================================
   PANTI ASUHAN SAUDARA KASIH BERKAH (PASKB)
   Domain: https://paskb.my.id
   Theme: Full 3D Cinematic Emerald & Gold Glassmorphic Universe
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,800;1,600&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --bg-deep: #050d18;
  --bg-card: rgba(13, 27, 46, 0.72);
  --bg-card-hover: rgba(18, 38, 64, 0.88);
  --bg-glass-nav: rgba(5, 13, 24, 0.82);
  
  --primary-gold: #f59e0b;
  --primary-gold-light: #fcd34d;
  --primary-gold-dark: #b45309;
  
  --accent-emerald: #10b981;
  --accent-emerald-light: #34d399;
  --accent-emerald-dark: #064e3b;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #cbd5e1;
  
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(245, 158, 11, 0.35);
  --border-emerald: rgba(16, 185, 129, 0.35);
  
  --glow-gold: 0 0 35px rgba(245, 158, 11, 0.35);
  --glow-emerald: 0 0 35px rgba(16, 185, 129, 0.35);
  --glow-cinematic: 0 20px 50px rgba(0, 0, 0, 0.6);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Cinematic Ambient Aura Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: 
    radial-gradient(circle at 15% 20%, rgba(6, 78, 59, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(180, 83, 9, 0.2) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* 3D WebGL Canvas Layer */
#webgl-hero-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

/* Content Container wrapper to stand above 3D Canvas */
.content-wrapper {
  position: relative;
  z-index: 2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

/* Typography Helpers */
.font-serif { font-family: var(--font-serif); }
.font-mono { font-family: var(--font-mono); }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.text-gold { color: var(--primary-gold); }
.text-emerald { color: var(--accent-emerald); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* -------------------------------------------------------------
   PRELOADER
   ------------------------------------------------------------- */
#cinematic-preloader {
  position: fixed;
  inset: 0;
  background: #030810;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#cinematic-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-emblem {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader-ring {
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-top-color: var(--primary-gold);
  border-bottom-color: var(--accent-emerald);
  border-radius: 50%;
  animation: spinRing 1.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.preloader-ring-outer {
  position: absolute;
  inset: -12px;
  border: 1.5px dashed rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: spinRingReverse 6s linear infinite;
}

.preloader-heart {
  font-size: 32px;
  color: var(--primary-gold);
  filter: drop-shadow(0 0 12px var(--primary-gold));
  animation: heartPulse 1.2s ease-in-out infinite;
}

.preloader-text {
  margin-top: 1.8rem;
  font-size: 1.1rem;
  letter-spacing: 3px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
}

.preloader-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

@keyframes spinRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spinRingReverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

/* -------------------------------------------------------------
   NAVBAR & HEADER
   ------------------------------------------------------------- */
.main-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: var(--transition);
}

.main-navbar.navbar-scrolled {
  background: var(--bg-glass-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.4));
  transition: var(--transition);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-emerald), var(--primary-gold));
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Soundscape & Audio Controller Button */
.sound-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-light);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.sound-toggle-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--accent-emerald);
  color: #fff;
}

.sound-toggle-btn.playing {
  background: rgba(16, 185, 129, 0.25);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald-light);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

/* Mobile Toggle Hamburger */
.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Navigation Menu */
.mobile-nav-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: rgba(5, 13, 24, 0.96);
  backdrop-filter: blur(25px);
  border-bottom: 1px solid var(--border-glass);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 999;
}

.mobile-nav-menu.active {
  display: flex;
}

/* -------------------------------------------------------------
   BUTTONS & CALL TO ACTIONS
   ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #050d18;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.65);
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

/* Glowing Pulsing Button */
.btn-pulse {
  animation: btnPulseGlow 2.5s infinite;
}

@keyframes btnPulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* -------------------------------------------------------------
   HERO CINEMATIC SECTION
   ------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--border-emerald);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-emerald-light);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.4rem;
  letter-spacing: -0.5px;
}

.hero-title .highlight-gold {
  background: linear-gradient(135deg, #ffd700 0%, #f59e0b 60%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(245, 158, 11, 0.4));
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2.2rem;
  max-width: 600px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

/* Quick Stats Row in Hero */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.8rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Hero Right: 3D Holographic Interactive Widget */
.hero-hologram-card {
  background: var(--bg-card);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--glow-cinematic);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.hero-hologram-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-emerald), var(--primary-gold));
}

.hologram-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.hologram-title {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hologram-live-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-emerald-light);
  background: rgba(16, 185, 129, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

/* Interactive Donation Quick Calculator */
.donation-calc-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.nominal-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.nominal-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.nominal-pill:hover, .nominal-pill.active {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--primary-gold);
  color: var(--primary-gold-light);
}

.form-group-cinematic {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group-cinematic label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
}

.input-cinematic {
  background: rgba(5, 13, 24, 0.8);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  outline: none;
  transition: var(--transition);
  width: 100%;
}

.input-cinematic:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

/* -------------------------------------------------------------
   3D CARD & GLASSMORPHISM SECTIONS
   ------------------------------------------------------------- */
section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem auto;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-emerald-light);
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* 3D Tilting Card Class */
.tilt-card-3d {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-card-3d:hover {
  border-color: var(--border-gold);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(245, 158, 11, 0.15);
}

.tilt-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  border-radius: inherit;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* -------------------------------------------------------------
   PROGRAMS & CAMPAIGN CARDS
   ------------------------------------------------------------- */
.program-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program-card-thumb {
  position: relative;
  height: 200px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.program-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.program-card:hover .program-card-thumb img {
  transform: scale(1.08);
}

.program-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(5, 13, 24, 0.85);
  backdrop-filter: blur(10px);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-gold-light);
  border: 1px solid var(--border-gold);
}

.program-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  line-height: 1.35;
}

.program-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Progress Bar */
.progress-container {
  margin-bottom: 1.2rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.progress-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-emerald), var(--primary-gold));
  border-radius: var(--radius-full);
  position: relative;
  transition: width 1.2s ease-in-out;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmerSweep 2.5s infinite;
}

@keyframes shimmerSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* -------------------------------------------------------------
   ANAK ASUH (KIDS PROFILES)
   ------------------------------------------------------------- */
.child-card {
  text-align: center;
  padding: 2.2rem 1.5rem;
}

.child-avatar-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 1.4rem auto;
}

.child-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-emerald);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
}

.child-status-tag {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--primary-gold);
  color: #050d18;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.child-name {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.child-grade {
  font-size: 0.85rem;
  color: var(--accent-emerald-light);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.child-dream-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed var(--border-glass);
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  margin-bottom: 1.2rem;
}

/* -------------------------------------------------------------
   DINDING DOA & HARAPAN (PRAYER WALL)
   ------------------------------------------------------------- */
.prayer-wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.prayer-card {
  background: rgba(13, 27, 46, 0.65);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.prayer-card:hover {
  border-color: var(--border-emerald);
  background: rgba(18, 38, 64, 0.85);
  transform: translateY(-3px);
}

.prayer-text {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.prayer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-glass);
  padding-top: 0.8rem;
}

.prayer-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-gold-light);
}

.prayer-city {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-amin-doa {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--border-emerald);
  color: var(--accent-emerald-light);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-amin-doa:hover, .btn-amin-doa.has-amined {
  background: var(--accent-emerald);
  color: #ffffff;
}

/* -------------------------------------------------------------
   TRANSPARANSI DONASI & RECENT DONORS
   ------------------------------------------------------------- */
.transparency-table-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(15px);
}

.transparency-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.transparency-table th {
  background: rgba(5, 13, 24, 0.8);
  padding: 1rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-gold-light);
  border-bottom: 1px solid var(--border-glass);
}

.transparency-table td {
  padding: 1rem 1.4rem;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.transparency-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* -------------------------------------------------------------
   UNIVERSAL DONATION MODAL
   ------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 16, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #091729;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), var(--glow-gold);
  position: relative;
  padding: 2.2rem;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.8);
}

/* Payment Methods Grid */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1rem 0;
}

.payment-method-item {
  position: relative;
}

.payment-method-item input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.payment-method-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.5rem;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}

.payment-method-item input[type="radio"]:checked + .payment-method-label {
  border-color: var(--primary-gold);
  background: rgba(245, 158, 11, 0.15);
  color: var(--primary-gold-light);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.hidden { display: none !important; }

/* -------------------------------------------------------------
   TOAST ALERTS
   ------------------------------------------------------------- */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  background: #0f243a;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.4rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast-item.show {
  opacity: 1;
  transform: translateX(0);
}

.toast-success { border-color: var(--accent-emerald); }
.toast-success i { color: var(--accent-emerald-light); font-size: 1.2rem; }

.toast-error { border-color: #ef4444; }
.toast-error i { color: #f87171; font-size: 1.2rem; }

.toast-info { border-color: var(--primary-gold); }
.toast-info i { color: var(--primary-gold); font-size: 1.2rem; }

/* -------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------- */
.main-footer {
  background: #030810;
  border-top: 1px solid var(--border-glass);
  padding: 5rem 0 2rem 0;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 1.2rem 0 1.5rem 0;
  line-height: 1.7;
}

.footer-social-links {
  display: flex;
  gap: 0.8rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}

.social-icon-btn:hover {
  background: var(--primary-gold);
  color: #050d18;
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-gold);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link-item a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-link-item a:hover {
  color: var(--accent-emerald-light);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------
   RESPONSIVE DESIGN (BREAKPOINTS)
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle-btn {
    display: block;
  }
  .grid-3, .grid-2, .grid-4 {
    grid-template-columns: 1fr;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .payment-methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
