/* ============================================================
   Humanity is Alive — Main Stylesheet
   Deep & Bold: Navy | Gold | White
   ============================================================ */

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

/* ---- CSS Variables ---- */
:root {
  --navy-900: #060e1a;
  --navy-800: #0a1628;
  --navy-700: #0f1e38;
  --navy-600: #142447;
  --navy-500: #1a2f5a;
  --navy-400: #203868;
  --navy-300: #2a4a82;
  --navy-200: #3d6aae;
  --navy-100: #6d97d4;

  --gold-900: #7a5800;
  --gold-800: #a07810;
  --gold-700: #b88a0e;
  --gold-600: #c99c12;
  --gold-500: #d4a017;
  --gold-400: #deb030;
  --gold-300: #e8c050;
  --gold-200: #f0ce70;
  --gold-100: #f8e8b8;
  --gold-50:  #fdf6e3;

  --white:   #ffffff;
  --white-90: rgba(255,255,255,0.9);
  --white-70: rgba(255,255,255,0.7);
  --white-40: rgba(255,255,255,0.4);
  --white-15: rgba(255,255,255,0.15);
  --white-08: rgba(255,255,255,0.08);

  --success: #27ae60;
  --warning: #f39c12;
  --danger:  #e74c3c;
  --info:    #3498db;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  14px;
  --radius-xl:  22px;
  --radius-full: 999px;

  --shadow-sm:   0 1px 4px rgba(0,0,0,0.4);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.35);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.45);
  --shadow-gold: 0 0 30px rgba(212,160,23,0.35);
  --shadow-gold-sm: 0 0 12px rgba(212,160,23,0.25);

  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.5s cubic-bezier(0.4,0,0.2,1);
  --transition-spring: 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--navy-800);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
input, textarea, select { font-family: var(--font-body); }

/* ---- Typography ---- */
.display {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
}
h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
}
h3, .h3 {
  font-family: var(--font-body);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 600;
  line-height: 1.3;
}
h4, .h4 { font-size: 20px; font-weight: 600; }
.text-gold  { color: var(--gold-500); }
.text-muted { color: var(--white-70); }
.text-dim   { color: var(--white-40); }
.text-mono  { font-family: var(--font-mono); }
.italic     { font-style: italic; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---- Navigation ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: rgba(6,14,26,0.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--white-08), var(--shadow-md);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-mark {
  width: 38px;
  height: 38px;
  background: var(--gold-500);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  color: var(--navy-800);
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}
.nav-logo-text span { display: block; color: var(--gold-400); font-size: 11px; font-weight: 400; font-style: italic; font-family: var(--font-body); letter-spacing: 0.05em; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white-70);
  border-radius: var(--radius-md);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: var(--white-08); }
.nav-cta {
  background: var(--gold-500);
  color: var(--navy-800) !important;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition-spring) !important;
}
.nav-cta:hover {
  background: var(--gold-300) !important;
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-md);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- Hero Section ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(212,160,23,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(26,47,90,0.8) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-700) 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--white-08) 1px, transparent 1px),
    linear-gradient(90deg, var(--white-08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: 0.3;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white-08);
  border: 1px solid var(--white-15);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-300);
  margin-bottom: 28px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold-500);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 108px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.hero-title .line-gold { color: var(--gold-400); display: block; }
.hero-title .line-italic { font-style: italic; font-weight: 400; display: block; }
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--white-70);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 48px;
  font-weight: 300;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--white-15);
  flex-wrap: wrap;
}
.hero-stat-value {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 500;
  color: var(--gold-400);
  display: block;
}
.hero-stat-label { font-size: 13px; color: var(--white-70); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition-spring);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition);
}
.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-800);
}
.btn-primary:hover {
  background: var(--gold-300);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white-40);
}
.btn-outline:hover {
  border-color: var(--white-70);
  background: var(--white-08);
}

.btn-ghost {
  background: var(--white-08);
  color: var(--white);
  border: 1px solid var(--white-15);
}
.btn-ghost:hover {
  background: var(--white-15);
  border-color: var(--white-40);
}

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 18px 38px; font-size: 17px; }
.btn-block { width: 100%; justify-content: center; }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #c0392b; }

/* ---- Ticker Bar ---- */
.ticker {
  background: var(--gold-500);
  color: var(--navy-800);
  padding: 11px 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
}
.ticker-track {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: tickerScroll 35s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { flex-shrink: 0; display: flex; align-items: center; gap: 8px; }

/* ---- Cards ---- */
.card {
  background: var(--navy-700);
  border: 1px solid var(--white-08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  border-color: rgba(212,160,23,0.3);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(212,160,23,0.1);
  transform: translateY(-4px);
}

/* ---- Cause Cards ---- */
.cause-card { display: flex; flex-direction: column; }
.cause-card-img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
}
.cause-card-img-placeholder {
  aspect-ratio: 16/9;
  background: var(--navy-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.cause-card-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.cause-card-cat {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--white-08);
}
.cause-card-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.3; }
.cause-card-desc { font-size: 14px; color: var(--white-70); line-height: 1.6; }
.cause-progress-wrap { background: var(--white-08); border-radius: var(--radius-full); height: 6px; overflow: hidden; }
.cause-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400));
  border-radius: var(--radius-full);
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
  width: 0;
}
.cause-progress-info { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.cause-progress-raised { font-family: var(--font-mono); font-weight: 500; color: var(--gold-300); }
.cause-progress-goal { color: var(--white-40); }
.cause-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 4px; }
.cause-donors { font-size: 13px; color: var(--white-40); display: flex; align-items: center; gap: 6px; }

/* ---- Story Cards ---- */
.story-card { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.story-card-cat {
  display: inline-block;
  width: fit-content;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.story-card-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.3; cursor: pointer; }
.story-card-title:hover { color: var(--gold-300); }
.story-card-excerpt { font-size: 14px; color: var(--white-70); line-height: 1.65; }
.story-card-meta { display: flex; align-items: center; gap: 16px; margin-top: auto; }
.story-card-author { font-size: 13px; color: var(--white-40); }
.story-card-stats { display: flex; gap: 14px; margin-left: auto; }
.story-stat { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--white-40); cursor: pointer; transition: color var(--transition); }
.story-stat:hover { color: var(--white-70); }
.story-stat.hearted { color: #e74c3c; }

/* ---- Feed Posts ---- */
.feed-post { padding: 28px; }
.feed-post-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.feed-post-author { display: flex; align-items: center; gap: 12px; }
.feed-post-avatar {
  width: 42px; height: 42px;
  background: var(--navy-400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  color: var(--gold-400);
  flex-shrink: 0;
}
.feed-post-name { font-weight: 600; font-size: 15px; }
.feed-post-time { font-size: 12px; color: var(--white-40); margin-top: 2px; }
.feed-post-body { font-size: 15px; line-height: 1.75; color: var(--white-90); }
.feed-post-footer { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.humanity-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212,160,23,0.12);
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-400);
  cursor: pointer;
  transition: all var(--transition);
}
.humanity-score:hover { background: rgba(212,160,23,0.2); box-shadow: var(--shadow-gold-sm); }
.humanity-score.voted { background: rgba(212,160,23,0.25); }

/* ---- Section Headings ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-500);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}
.section-title { font-family: var(--font-display); }
.section-header { margin-bottom: 56px; }
.section-header .section-sub { font-size: 18px; color: var(--white-70); margin-top: 16px; max-width: 520px; line-height: 1.65; font-weight: 300; }

/* ---- Donation Amounts ---- */
.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.amount-btn {
  background: var(--white-08);
  border: 1.5px solid var(--white-15);
  color: var(--white);
  padding: 13px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-mono);
  transition: all var(--transition);
  text-align: center;
}
.amount-btn:hover, .amount-btn.active {
  background: rgba(212,160,23,0.15);
  border-color: var(--gold-500);
  color: var(--gold-400);
}
.amount-custom input {
  width: 100%;
  background: var(--white-08);
  border: 1.5px solid var(--white-15);
  color: var(--white);
  padding: 13px 16px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: var(--font-mono);
  font-weight: 600;
  outline: none;
  transition: border-color var(--transition);
}
.amount-custom input:focus { border-color: var(--gold-500); }
.amount-custom input::placeholder { color: var(--white-40); font-weight: 400; font-family: var(--font-body); }

/* ---- Forms ---- */
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-label { font-size: 13px; font-weight: 500; color: var(--white-70); letter-spacing: 0.02em; }
.form-input {
  background: var(--navy-700);
  border: 1.5px solid var(--white-15);
  color: var(--white);
  padding: 13px 16px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-input:focus { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(212,160,23,0.12); }
.form-input::placeholder { color: var(--white-40); }
textarea.form-input { resize: vertical; min-height: 130px; line-height: 1.6; }
select.form-input { appearance: none; cursor: pointer; }
.form-hint { font-size: 12px; color: var(--white-40); margin-top: 4px; }
.form-error { font-size: 13px; color: var(--danger); margin-top: 4px; }
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--white-70);
}
.form-check input[type="checkbox"] { accent-color: var(--gold-500); width: 16px; height: 16px; }

/* ---- Impact Stats ---- */
.impact-strip {
  background: var(--navy-900);
  border-top: 1px solid var(--white-08);
  border-bottom: 1px solid var(--white-08);
  padding: 64px 24px;
}
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.impact-stat-num {
  font-family: var(--font-mono);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  color: var(--gold-400);
  line-height: 1;
  display: block;
}
.impact-stat-label { font-size: 14px; color: var(--white-70); margin-top: 8px; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---- Support Groups ---- */
.group-card { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.group-icon {
  width: 48px; height: 48px;
  background: rgba(212,160,23,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
}
.group-name { font-size: 18px; font-weight: 600; }
.group-desc { font-size: 14px; color: var(--white-70); line-height: 1.55; }
.group-posts { font-size: 13px; color: var(--white-40); margin-top: 4px; }

/* ---- FAB Donate Button ---- */
.fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  background: var(--gold-500);
  color: var(--navy-800);
  padding: 16px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  transition: all var(--transition-spring);
  animation: fabPulse 3s ease-in-out infinite;
}
.fab:hover {
  background: var(--gold-300);
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(212,160,23,0.5);
}
.fab:active { transform: scale(0.97); }

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-pending  { background: rgba(243,156,18,0.2);  color: var(--warning); }
.badge-approved { background: rgba(39,174,96,0.2);   color: var(--success); }
.badge-rejected { background: rgba(231,76,60,0.2);   color: var(--danger);  }
.badge-featured { background: rgba(212,160,23,0.2);  color: var(--gold-400);}

/* ---- Modals ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,14,26,0.88);
  backdrop-filter: blur(8px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--navy-700);
  border: 1px solid var(--white-15);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(24px) scale(0.97);
  transition: transform var(--transition-spring);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }
.modal-close { width: 36px; height: 36px; background: var(--white-08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white-70); transition: all var(--transition); flex-shrink: 0; }
.modal-close:hover { background: var(--white-15); color: var(--white); }

/* ---- Toast Notifications ---- */
.toast-container { position: fixed; top: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--navy-600);
  border: 1px solid var(--white-15);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  font-size: 14px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.35s var(--transition-spring) both;
}
.toast.success { border-left: 3px solid var(--success); }
.toast.error   { border-left: 3px solid var(--danger); }
.toast.info    { border-left: 3px solid var(--gold-500); }
.toast.hiding  { animation: toastOut 0.25s ease both; }

/* ---- Page Header ---- */
.page-hero {
  padding: 160px 24px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(212,160,23,0.08) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; }

/* ---- Footer ---- */
.footer {
  background: var(--navy-900);
  border-top: 1px solid var(--white-08);
  padding: 80px 24px 40px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; max-width: 1280px; margin: 0 auto; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand p { font-size: 14px; color: var(--white-70); line-height: 1.7; max-width: 260px; }
.footer-heading { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-500); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-link { font-size: 14px; color: var(--white-70); transition: color var(--transition); }
.footer-link:hover { color: var(--gold-400); }
.footer-bottom { max-width: 1280px; margin: 60px auto 0; padding-top: 28px; border-top: 1px solid var(--white-08); display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 13px; color: var(--white-40); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  background: var(--white-08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-70);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--white-15); color: var(--white); }

/* ---- Scroll Reveal ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.4,0,0.2,1); }
.reveal.from-left  { transform: translateX(-28px); }
.reveal.from-right { transform: translateX(28px); }
.reveal.visible { opacity: 1; transform: translate(0,0); }

/* ---- Divider ---- */
.divider { height: 1px; background: var(--white-08); margin: 40px 0; }
.divider-gold { height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); margin: 48px 0; }

/* ---- Pagination ---- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
.page-btn {
  width: 40px; height: 40px;
  background: var(--white-08);
  border: 1px solid var(--white-15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--white-70);
  transition: all var(--transition);
}
.page-btn:hover, .page-btn.active { background: var(--gold-500); color: var(--navy-800); border-color: var(--gold-500); }

/* ---- Loading Skeleton ---- */
.skeleton {
  background: linear-gradient(90deg, var(--navy-600) 25%, var(--navy-500) 50%, var(--navy-600) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
  border-radius: var(--radius-md);
}

/* ---- Animations ---- */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}
@keyframes fabPulse {
  0%, 100% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(212,160,23,0.5); }
  50%       { box-shadow: var(--shadow-lg), 0 0 0 14px rgba(212,160,23,0); }
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes toastIn {
  from { transform: translateX(20px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes toastOut {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(20px); opacity: 0; }
}
@keyframes heartPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.5); }
  70%  { transform: scale(0.9); }
  100% { transform: scale(1.1); }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatUp {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-40px); }
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center{ align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-8   { margin-top: 8px; }
.mt-16  { margin-top: 16px; }
.mt-24  { margin-top: 24px; }
.mt-32  { margin-top: 32px; }
.mt-48  { margin-top: 48px; }
.mb-8   { margin-bottom: 8px; }
.mb-16  { margin-bottom: 16px; }
.mb-24  { margin-bottom: 24px; }
.mb-32  { margin-bottom: 32px; }
.hidden { display: none; }
.w-full { width: 100%; }
.relative { position: relative; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy-900); }
::-webkit-scrollbar-thumb { background: var(--navy-400); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy-300); }

/* ---- Alert boxes ---- */
.alert { padding: 14px 18px; border-radius: var(--radius-md); font-size: 14px; border-left: 3px solid; margin-bottom: 20px; }
.alert-success { background: rgba(39,174,96,0.1);  border-color: var(--success); color: #a8e6c0; }
.alert-error   { background: rgba(231,76,60,0.1);  border-color: var(--danger);  color: #f5a9a2; }
.alert-info    { background: rgba(212,160,23,0.1); border-color: var(--gold-500);color: var(--gold-200); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-stats { gap: 28px; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .fab { bottom: 20px; right: 20px; padding: 14px 20px; font-size: 14px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-900);
  z-index: 999;
  flex-direction: column;
  padding: 100px 32px 40px;
  gap: 8px;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { font-size: 24px; padding: 14px 0; }
