:root {
  --white: #ffffff;
  --dark: #1a1a2e;
  --red: #e8192c;
  --orange: #f97316;
  --yellow: #facc15;
  --green: #22c55e;
  --blue: #3b82f6;
  --indigo: #6366f1;
  --violet: #a855f7;
  --gray: #f8f7f4;
  --text: #1a1a2e;
  --muted: #6b7280;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* RAINBOW STRIPE */
.rainbow-stripe {
  height: 8px;
  background: linear-gradient(90deg,
    #784212 0%, #784212 12.5%,
    #000 12.5%, #000 25%,
    #e8192c 25%, #e8192c 37.5%,
    #f97316 37.5%, #f97316 50%,
    #facc15 50%, #facc15 62.5%,
    #22c55e 62.5%, #22c55e 75%,
    #3b82f6 75%, #3b82f6 87.5%,
    #a855f7 87.5%, #a855f7 100%
  );
}

/* NAV */
nav {
  background: var(--dark);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: 0.05em;
  text-decoration: none;
}
.nav-logo span {
  background: linear-gradient(90deg, #e8192c, #f97316, #facc15, #22c55e, #3b82f6, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-lang { display: flex; gap: 0.5rem; }
.lang-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.6);
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  font-family: 'Barlow', sans-serif;
  text-decoration: none;
  transition: all 0.2s;
}
.lang-btn.active, .lang-btn:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* FLASH */
.flash {
  padding: 1rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}
.flash-success { background: #d1fae5; color: #065f46; }
.flash-error   { background: #fee2e2; color: #991b1b; }

/* HERO */
.hero {
  background: var(--dark);
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.hero-left {
  padding: 6rem 3rem 4rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}
.hero-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: 0.9;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.rainbow-text {
  background: linear-gradient(90deg, #e8192c, #f97316, #facc15, #22c55e, #3b82f6, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200%;
  animation: rainbow-shift 4s ease infinite;
}
@keyframes rainbow-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-subtitle {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
}
.hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  max-width: 440px;
  margin-bottom: 2.5rem;
}
.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 1rem 2.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: #c41225; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 1rem 2.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.hero-tax {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
  max-width: 380px;
}
.hero-tax strong { color: rgba(255,255,255,0.7); }

.hero-right { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-heart-wrap { position: relative; width: 420px; height: 420px; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.hero-heart-wrap svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
}

/* STATS BAR */
.stats-bar {
  background: var(--red);
  padding: 2.5rem 4rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat-item { text-align: center; color: var(--white); }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}
.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.3); }

/* SECTION TITLES */
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

/* CAUSES */
.causes { padding: 6rem 4rem; background: var(--gray); }
.causes-header { max-width: 600px; margin-bottom: 4rem; }
.causes-header p { font-size: 1.1rem; line-height: 1.7; color: var(--muted); }
.causes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.cause-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s;
}
.cause-card:hover { transform: translateY(-6px); }
.cause-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
}
.cause-card.house::before { background: var(--red); }
.cause-card.ambassadors::before { background: linear-gradient(90deg, #e8192c, #f97316, #facc15, #22c55e, #3b82f6, #a855f7); }
.cause-card.friends::before { background: var(--blue); }
.cause-icon { font-size: 3rem; margin-bottom: 1.5rem; }
.cause-org {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.cause-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.cause-desc { font-size: 0.95rem; line-height: 1.65; color: var(--muted); margin-bottom: 2rem; }
.cause-progress { margin-bottom: 1rem; }
.progress-bar { height: 6px; background: #e5e7eb; overflow: hidden; margin-bottom: 0.5rem; }
.progress-fill { height: 100%; transition: width 1.5s ease; }
.house .progress-fill { background: var(--red); }
.ambassadors .progress-fill { background: linear-gradient(90deg, #e8192c, #f97316, #a855f7); }
.friends .progress-fill { background: var(--blue); }
.cause-btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid currentColor;
  transition: all 0.2s;
}
.house .cause-btn { color: var(--red); }
.house .cause-btn:hover { background: var(--red); color: var(--white); }
.ambassadors .cause-btn { color: var(--orange); }
.ambassadors .cause-btn:hover { background: var(--orange); color: var(--white); }
.friends .cause-btn { color: var(--blue); }
.friends .cause-btn:hover { background: var(--blue); color: var(--white); }

/* TAX BANNER */
.tax-banner {
  background: var(--red);
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.tax-banner-text { color: var(--white); }
.tax-banner-text .pct { font-family: 'Bebas Neue', sans-serif; font-size: 5rem; line-height: 1; opacity: 0.9; }
.tax-banner-text p { font-size: 1.05rem; max-width: 560px; opacity: 0.9; line-height: 1.6; }
.tax-banner a {
  background: var(--white);
  color: var(--red);
  padding: 1rem 2.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.tax-banner a:hover { opacity: 0.9; }

/* IMPACT */
.impact {
  padding: 6rem 4rem;
  background: var(--dark);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.impact-left .section-label { color: var(--orange); }
.impact-left .section-title { color: var(--white); }
.impact-left p { color: rgba(255,255,255,0.65); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.5rem; }
.impact-bullets { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.impact-bullets li {
  display: flex; gap: 1rem; align-items: flex-start;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem; line-height: 1.5;
}
.impact-bullets li::before { content: '→'; color: var(--red); font-weight: 700; }

.impact-chart {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2.5rem;
}
.chart-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2rem;
}
.chart-bars { display: flex; gap: 1.5rem; align-items: flex-end; height: 180px; margin-bottom: 1rem; }
.chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; height: 100%; justify-content: flex-end; }
.chart-bar { width: 100%; min-height: 4px; transition: height 1s ease; }
.chart-bar-label { font-size: 0.7rem; color: rgba(255,255,255,0.4); text-align: center; }
.chart-bar-val { font-family: 'Bebas Neue', sans-serif; font-size: 1rem; color: var(--white); }

/* HOW IT WORKS */
.how { padding: 6rem 4rem; background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 3rem; }
.step { padding: 3rem 2rem; background: var(--gray); position: relative; }
.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(0,0,0,0.06);
  position: absolute;
  top: 1rem; right: 1.5rem;
}
.step-icon { font-size: 2rem; margin-bottom: 1.5rem; }
.step-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.step-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* FOOTER */
footer { background: var(--dark); padding: 4rem 4rem 2rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-logo span {
  background: linear-gradient(90deg, #e8192c, #f97316, #facc15, #22c55e, #3b82f6, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-desc { font-size: 0.9rem; color: rgba(255,255,255,0.45); line-height: 1.65; max-width: 300px; }
.footer-contact { margin-top: 1.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-contact a { color: var(--orange); text-decoration: none; }
.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.25); }
.footer-kbs {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.3);
}
.kbs-badge {
  background: rgba(255,255,255,0.08);
  padding: 0.4rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-section {
  min-height: calc(100vh - 80px);
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}
.auth-card {
  background: var(--white);
  width: 100%;
  max-width: 460px;
  padding: 3rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.auth-stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #e8192c, #f97316, #facc15, #22c55e, #3b82f6, #a855f7);
}
.auth-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.auth-subtitle { font-size: 0.9rem; color: var(--muted); margin-bottom: 2rem; line-height: 1.6; }

.auth-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.form-field input,
.form-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid #e5e7eb;
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  background: var(--white);
}
.form-field input:focus,
.form-field select:focus { border-color: var(--red); }
.form-submit {
  background: var(--red);
  color: var(--white);
  padding: 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}
.form-submit:hover { background: #c41225; }
.auth-hint { margin-top: 1rem; font-size: 0.78rem; color: var(--muted); text-align: center; }
.auth-hint a { color: var(--red); text-decoration: none; }

.code-inputs { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; }
.code-inputs input {
  flex: 1;
  padding: 1rem 0;
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  border: 2px solid #e5e7eb;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.code-inputs input:focus { border-color: var(--red); }
.auth-trust {
  display: flex; gap: 0.5rem; align-items: center;
  font-size: 0.85rem; color: var(--muted);
  cursor: pointer;
}
.auth-trust input { width: 16px; height: 16px; cursor: pointer; }

/* ============================================
   DASHBOARD (donor / admin / org)
   ============================================ */
.dash-page {
  background: var(--dark);
  color: var(--white);
  min-height: calc(100vh - 80px);
  padding: 3rem 4rem;
}
.dash-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.dash-page-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--white);
}
.dash-page .section-label { margin-bottom: 0.5rem; }

.dash-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.dash-stat {
  background: rgba(255,255,255,0.06);
  padding: 1.5rem;
  border-left: 3px solid;
}
.dash-stat-red    { border-color: var(--red); }
.dash-stat-orange { border-color: var(--orange); }
.dash-stat-blue   { border-color: var(--blue); }
.dash-stat-purple { border-color: var(--violet); }
.dash-stat-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: var(--white);
  line-height: 1;
}
.dash-stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 0.4rem;
}

.dash-grid-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.dash-panel {
  background: rgba(255,255,255,0.04);
  padding: 1.75rem;
  border-radius: 0;
}
.dash-panel-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
}
.dash-empty { color: rgba(255,255,255,0.4); font-size: 0.9rem; }

/* Per-campaign rows */
.dash-camp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 1.5rem;
}
.dash-camp-row:last-child { border-bottom: none; }
.dash-camp-info { flex: 1; min-width: 0; }
.dash-camp-name { font-size: 0.9rem; color: rgba(255,255,255,0.85); margin-bottom: 0.5rem; }
.dash-camp-bar-wrap { height: 4px; background: rgba(255,255,255,0.08); }
.dash-camp-bar { height: 100%; transition: width 1.5s ease; }
.dash-camp-amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: var(--white);
  text-align: right;
}
.dash-camp-count {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
  letter-spacing: 0.1em;
}
.dash-camp-suggest {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Yearly bar chart */
.dash-yearly {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  height: 200px;
}
.dash-yearly-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  height: 100%;
  justify-content: flex-end;
}
.dash-yearly-bar {
  width: 70%;
  background: linear-gradient(180deg, var(--red), var(--orange));
  min-height: 8px;
  transition: height 1s ease;
}
.dash-yearly-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
}
.dash-yearly-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  color: var(--white);
}

/* Tables */
.dash-table {
  width: 100%;
  border-collapse: collapse;
}
.dash-table th {
  text-align: left;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dash-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.dash-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.dash-table-org {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 2px;
  margin-right: 0.5rem;
  vertical-align: middle;
}
.dash-table code {
  font-size: 0.75rem;
  background: rgba(255,255,255,0.06);
  padding: 0.15rem 0.4rem;
}

/* Suggestions */
.dash-suggest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.dash-suggest-card {
  background: rgba(255,255,255,0.04);
  border-left: 3px solid;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--white);
  transition: background 0.2s;
}
.dash-suggest-card:hover { background: rgba(255,255,255,0.08); }
.dash-suggest-org {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.5rem;
}
.dash-suggest-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.dash-suggest-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
}

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

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { padding: 3rem; }
  .hero-heart-wrap { width: 280px; height: 280px; }
  .causes-grid { grid-template-columns: 1fr; }
  .impact { grid-template-columns: 1fr; gap: 3rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .stats-bar { padding: 2rem; }
  .dash-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid-main { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .hero-left { padding: 3rem 1.5rem; }
  .causes, .impact, .how, .dash-page { padding: 4rem 1.5rem; }
  .steps { grid-template-columns: 1fr; }
  .tax-banner { padding: 2rem 1.5rem; }
  .stats-bar { gap: 1rem; }
  .stat-divider { display: none; }
  .dash-cards-grid { grid-template-columns: 1fr; }
  footer { padding: 3rem 1.5rem 2rem; }
  .auth-card { padding: 2rem 1.5rem; }
  .code-inputs input { font-size: 1.4rem; padding: 0.75rem 0; }
}

/* ============================================
   Donate confirmation modal
   ============================================ */
.donate-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.donate-modal.open { display: flex; }
.donate-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.85);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity:0 } to { opacity:1 } }
.donate-modal-card {
  position: relative;
  background: #fff;
  width: 92%;
  max-width: 480px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.donate-modal-stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #e8192c, #f97316, #facc15, #22c55e, #3b82f6, #a855f7);
}
.donate-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: #6b7280;
  line-height: 1;
}
.donate-modal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #1a1a2e;
  padding-right: 1.5rem;
}
.donate-modal-text {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.donate-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.donate-modal-cancel,
.donate-modal-continue {
  padding: 0.85rem 1.75rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}
.donate-modal-cancel {
  background: #f3f4f6;
  color: #1a1a2e;
}
.donate-modal-cancel:hover { background: #e5e7eb; }
.donate-modal-continue {
  background: #e8192c;
  color: #fff;
}
.donate-modal-continue:hover { background: #c41225; }

/* Fix: ensure fade-in elements are always visible */
.fade-in {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================
   Rainbow Network animated footer credit
   ============================================ */
.rbnw-credit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  padding: 1.25rem 1.5rem 0;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}
.rbnw-credit__by,
.rbnw-credit__copy,
.rbnw-credit__project { color: rgba(255, 255, 255, 0.55); }
.rbnw-credit__group {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.rbnw-credit__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}
.rbnw-credit__logo:hover { opacity: 0.85; }
.rbnw-credit__mark { width: 22px; height: 22px; flex-shrink: 0; display: block; }
.rbnw-credit__mark .rbnw-segment,
.rbnw-credit__mark .rbnw-disc,
.rbnw-credit__mark .rbnw-plus { opacity: 0; }
.rbnw-credit__mark .rbnw-segment {
  transform-origin: 50px 50px;
  animation: rbnw-segment-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.rbnw-credit__mark .rbnw-seg-1 { animation-delay: 0.10s; }
.rbnw-credit__mark .rbnw-seg-2 { animation-delay: 0.18s; }
.rbnw-credit__mark .rbnw-seg-3 { animation-delay: 0.26s; }
.rbnw-credit__mark .rbnw-seg-4 { animation-delay: 0.34s; }
.rbnw-credit__mark .rbnw-seg-5 { animation-delay: 0.42s; }
.rbnw-credit__mark .rbnw-seg-6 { animation-delay: 0.50s; }
.rbnw-credit__mark .rbnw-disc {
  transform-origin: 50px 50px;
  animation: rbnw-disc-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
}
.rbnw-credit__mark .rbnw-plus {
  transform-origin: 50px 50px;
  animation: rbnw-plus-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.75s forwards;
}
.rbnw-credit__logo:hover .rbnw-wheel {
  animation: rbnw-spin 6s linear infinite;
  transform-origin: 50px 50px;
}
.rbnw-credit__brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}
.rbnw-credit__brand-main {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  font-size: 0.875rem;
}
.rbnw-credit__brand-sub {
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.625rem;
  text-transform: lowercase;
}
.rbnw-credit__project a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}
.rbnw-credit__project a:hover { color: #ffffff; }
@keyframes rbnw-segment-in {
  from { opacity: 0; transform: scale(0.3) rotate(-30deg); }
  to   { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes rbnw-disc-in {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes rbnw-plus-in {
  from { opacity: 0; transform: scale(0) rotate(-90deg); }
  to   { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes rbnw-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .rbnw-credit__mark .rbnw-segment,
  .rbnw-credit__mark .rbnw-disc,
  .rbnw-credit__mark .rbnw-plus { animation: none; opacity: 1; }
  .rbnw-credit__logo:hover .rbnw-wheel { animation: none; }
}
@media (max-width: 540px) {
  .rbnw-credit {
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.75rem;
  }
}