/* ============================================================
   Frederick City Church — Vision Forward Campaign 2026
   Main Stylesheet
   ============================================================ */

:root {
  --blue:       #3D5CAD;
  --blue-dark:  #1C2B5E;
  --blue-deep:  #152040;
  --gold:       #D4A433;
  --gold-dark:  #B88A1A;
  --offwhite:   #EDECEA;
  --cream:      #F2EFE2;
  --black:      #191912;
  --brown:      #2B1D0E;
  --white:      #FFFFFF;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--black);
  color: var(--offwhite);
  min-height: 100vh;
}

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  background: var(--black);
  z-index: 100;
}

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

.logo-icon {
  width: 56px; height: 56px;
  object-fit: contain;
}

.nav-brand {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--offwhite);
}

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

.nav-links a {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--offwhite);
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: rgba(255,255,255,0.06); }

.live-badge { display: flex; align-items: center; gap: 0.4rem; color: var(--gold); }

.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 1.4s ease-in-out infinite;
}

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

.btn-give-nav {
  background: var(--gold) !important;
  color: var(--black) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 4px;
  font-weight: 700 !important;
}
.btn-give-nav:hover { background: #C49820 !important; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 4rem 2rem 3rem;
  background: linear-gradient(180deg, var(--blue-deep) 0%, var(--black) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero-eyebrow {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.01em; color: var(--white);
  margin-bottom: 0.75rem;
}
.hero-title span { color: var(--gold); }

.hero-tagline {
  font-size: 1rem; font-weight: 600;
  letter-spacing: 0.28em; color: rgba(255,255,255,0.5);
  text-transform: uppercase; margin-bottom: 2.5rem;
}

/* ── COUNTDOWN ───────────────────────────────────────────── */
.countdown {
  display: inline-flex; gap: 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 1.25rem 2rem;
  margin-bottom: 2.5rem;
}

.cd-unit { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; min-width: 3.5rem; }
.cd-num  { font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; font-variant-numeric: tabular-nums; }
.cd-label{ font-size: 0.6rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.cd-sep  { font-size: 1.8rem; font-weight: 300; color: rgba(255,255,255,0.2); align-self: center; padding-bottom: 0.25rem; }

.btn-give-hero {
  display: inline-block;
  background: var(--gold); color: var(--black);
  font-weight: 800; font-size: 1rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.5rem; border-radius: 6px;
  cursor: pointer; border: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-give-hero:hover { background: var(--gold-dark); transform: translateY(-1px); }

/* ── STATS STRIP ─────────────────────────────────────────── */
.stats-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.stat-cell {
  padding: 1.75rem 1.5rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.stat-cell:last-child { border-right: none; }

.stat-num { font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 0.3rem; }
.stat-num.gold { color: var(--gold); }

.stat-sub    { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 0.2rem; }
.stat-detail { font-size: 0.78rem; color: rgba(255,255,255,0.25); }

/* ── SECTION / PROGRESS ──────────────────────────────────── */
.section { max-width: 900px; margin: 0 auto; padding: 2.5rem 1.5rem; }

.section-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }

.progress-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.6rem; }
.progress-pct  { font-size: 1.5rem; font-weight: 800; color: var(--white); }
.progress-goal { font-size: 0.85rem; color: rgba(255,255,255,0.4); }

.progress-bar-wrap { height: 10px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; margin-bottom: 0.5rem; }
.progress-bar-fill { height: 100%; background: linear-gradient(90deg, var(--blue) 0%, var(--gold) 100%); border-radius: 999px; transition: width 1s ease; }

.progress-meta { display: flex; justify-content: space-between; font-size: 0.72rem; color: rgba(255,255,255,0.35); }

.received-row { margin-top: 1rem; display: flex; align-items: center; gap: 1rem; }
.received-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.35); white-space: nowrap; }
.received-bar-wrap { flex: 1; height: 6px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden; }
.received-bar-fill { height: 100%; background: var(--blue); border-radius: 999px; }
.received-pct  { font-size: 0.72rem; font-weight: 700; color: var(--blue); white-space: nowrap; }

/* ── PHASES ──────────────────────────────────────────────── */
.phase-intro { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; flex-wrap: wrap; gap: 0.5rem; }

.phase-tracker { display: flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.phase-dot       { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.phase-dot.active{ background: var(--gold); }
.phase-dot.done  { background: var(--blue); }

.phases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.75rem; }

.phase-card { border-radius: 10px; padding: 1.2rem 1.25rem; border: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.02); position: relative; overflow: hidden; }
.phase-card.active-phase   { border-color: rgba(212,164,51,0.35); background: rgba(212,164,51,0.04); }
.phase-card.complete-phase { border-color: rgba(61,92,173,0.35);  background: rgba(61,92,173,0.05); }

.phase-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.phase-name   { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.phase-status { font-size: 0.58rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 3px; }
.phase-status.active   { background: var(--gold); color: var(--black); }
.phase-status.upcoming { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.35); }
.phase-status.complete { background: var(--blue); color: var(--white); }

.phase-amount { font-size: 1.4rem; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 0.2rem; }
.phase-raised { font-size: 0.72rem; color: rgba(255,255,255,0.35); margin-bottom: 0.8rem; }

.phase-bar-wrap { height: 5px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden; margin-bottom: 0.4rem; }
.phase-bar-fill { height: 100%; border-radius: 999px; background: var(--gold); transition: width 1s ease; }
.phase-card.complete-phase .phase-bar-fill { background: var(--blue); }
.phase-card.upcoming-phase .phase-bar-fill { background: rgba(255,255,255,0.1); }

.phase-pct-label { font-size: 0.68rem; font-weight: 700; color: rgba(255,255,255,0.3); text-align: right; }
.phase-card.active-phase .phase-pct-label { color: var(--gold); }

/* ── DIVIDER ─────────────────────────────────────────────── */
.divider { height: 1px; background: rgba(255,255,255,0.07); margin: 0 1.5rem; }

/* ── TIERS ───────────────────────────────────────────────── */
.tiers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.25rem; }

.tier-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; padding: 1.25rem 1.5rem; position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.tier-card:hover { border-color: rgba(61,92,173,0.5); background: rgba(61,92,173,0.07); }
.tier-card.fulfilled { border-color: rgba(212,164,51,0.3); background: rgba(212,164,51,0.04); }

.tier-fulfilled-badge { position: absolute; top: 0.75rem; right: 0.75rem; font-size: 0.55rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: var(--gold); color: var(--black); padding: 0.2rem 0.5rem; border-radius: 3px; }

.tier-amount { font-size: 1.6rem; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 0.5rem; }
.tier-amount sup { font-size: 0.9rem; font-weight: 700; vertical-align: super; color: rgba(255,255,255,0.5); }
.tier-slots { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-bottom: 0.9rem; }
.tier-slots strong { color: var(--offwhite); font-weight: 700; }

.tier-progress-wrap { height: 5px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden; }
.tier-progress-fill { height: 100%; border-radius: 999px; background: var(--blue); transition: width 0.8s ease; }
.tier-card.fulfilled .tier-progress-fill { background: var(--gold); }

/* ── MODAL ───────────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(4px);
  z-index: 200; align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.open { display: flex; }

.modal {
  background: #1A1A14; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; width: 100%; max-width: 480px;
  padding: 2rem; position: relative;
}

.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.06); border: none;
  color: var(--offwhite); width: 32px; height: 32px;
  border-radius: 50%; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.12); }

.modal-title { font-size: 1.4rem; font-weight: 800; color: var(--white); margin-bottom: 0.3rem; }
.modal-sub   { font-size: 0.82rem; color: rgba(255,255,255,0.4); margin-bottom: 1.75rem; }

/* ── MODAL TABS ──────────────────────────────────────────── */
.modal-tabs {
  display: flex; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 8px;
  padding: 4px; margin-bottom: 1.4rem; gap: 4px;
}
.modal-tab {
  flex: 1; background: transparent; border: none;
  color: rgba(255,255,255,0.4); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.55rem 0.5rem; border-radius: 5px; cursor: pointer;
  transition: all 0.18s;
}
.modal-tab.active        { background: var(--blue); color: var(--white); }
.modal-tab.pledge-active { background: var(--gold); color: var(--black); }

/* ── GIVE CARDS ──────────────────────────────────────────── */
.modal-give-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 0.85rem; }

.give-card {
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 12px; padding: 1.1rem 1.25rem; margin-bottom: 0.75rem;
  text-decoration: none; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s; gap: 1rem;
}
.give-card:hover  { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.3); }
.give-card:active { transform: translateY(0); }

.give-card-zeffy { background: linear-gradient(135deg, #00c48c 0%, #009962 100%); border: none; }
.give-card-zelle { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); }

.give-card-left { flex: 1; }
.give-card-name { font-size: 1rem; font-weight: 800; color: var(--white); margin-bottom: 0.25rem; }
.give-card-desc { font-size: 0.76rem; color: rgba(255,255,255,0.65); line-height: 1.4; }
.give-card-zeffy .give-card-desc { color: rgba(255,255,255,0.8); }

.give-card-arrow { font-size: 1.3rem; color: rgba(255,255,255,0.6); flex-shrink: 0; font-weight: 300; transition: transform 0.2s; }
.give-card-zeffy .give-card-arrow { color: white; }
.give-card:hover .give-card-arrow { transform: translateX(3px); }

.zelle-expand {
  background: rgba(106,0,255,0.08); border: 1px solid rgba(106,0,255,0.2);
  border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 0.75rem;
  animation: fadeIn 0.2s ease;
}
.info-label    { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #a87fff; margin-bottom: 0.5rem; }
.zelle-recipient { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.3rem; }
.zelle-memo    { font-size: 0.75rem; color: rgba(255,255,255,0.4); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* ── PLEDGE FORM ─────────────────────────────────────────── */
.pledge-banner {
  background: rgba(212,164,51,0.08); border: 1px solid rgba(212,164,51,0.25);
  border-radius: 8px; padding: 0.9rem 1rem; margin-bottom: 1rem;
  font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.55;
}
.pledge-banner strong { color: var(--gold); display: block; margin-bottom: 0.3rem; font-size: 0.82rem; }

.form-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); display: block; margin-bottom: 0.4rem; }

.form-input {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 7px;
  color: var(--white); font-size: 0.95rem; padding: 0.7rem 1rem;
  margin-bottom: 0.9rem; outline: none; transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--blue); }

.custom-amount-row { position: relative; margin-bottom: 1rem; }
.custom-amount-row .dollar { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.4); font-weight: 700; }
.custom-amount-row .form-input { padding-left: 1.8rem; margin-bottom: 0; }

.required-star { color: #f87171; font-size: 0.75rem; }

/* ── CAPTCHA ─────────────────────────────────────────────── */
.captcha-wrap { margin-bottom: 1rem; }
.captcha-row  { display: flex; align-items: center; gap: 0.6rem; }
.captcha-question { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 7px; padding: 0.65rem 0.9rem; font-size: 0.9rem; font-weight: 700; color: var(--offwhite); white-space: nowrap; flex-shrink: 0; }
.captcha-input  { width: 80px !important; text-align: center; flex-shrink: 0; margin-bottom: 0 !important; }
.captcha-refresh { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 7px; color: rgba(255,255,255,0.5); font-size: 1rem; width: 36px; height: 36px; cursor: pointer; flex-shrink: 0; transition: all 0.15s; display: flex; align-items: center; justify-content: center; }
.captcha-refresh:hover { background: rgba(255,255,255,0.1); color: var(--white); }

/* Honeypot */
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; overflow: hidden; pointer-events: none; }

/* Field errors */
.form-input.error { border-color: #f87171 !important; }
.field-error { font-size: 0.7rem; color: #f87171; margin-top: -0.6rem; margin-bottom: 0.7rem; padding-left: 0.2rem; }

/* Rate limit warning */
.rate-limit-msg { background: rgba(248,113,113,0.08); border: 1px solid rgba(248,113,113,0.25); border-radius: 7px; padding: 0.7rem 1rem; font-size: 0.78rem; color: #f87171; margin-bottom: 0.8rem; display: none; }

/* Success message */
.pledge-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25); border-radius: 8px; padding: 1rem 1.1rem; font-size: 0.85rem; color: #4ade80; line-height: 1.6; display: none; }

/* Submit button */
.btn-submit { width: 100%; background: var(--gold); color: var(--black); font-weight: 800; font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 1rem; border-radius: 7px; border: none; cursor: pointer; transition: background 0.2s; }
.btn-submit:hover    { background: var(--gold-dark); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.secure-note { text-align: center; font-size: 0.68rem; color: rgba(255,255,255,0.2); margin-top: 0.75rem; }

@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
.shake { animation: shake 0.4s ease; }

/* ── ABOUT ───────────────────────────────────────────────── */
.about-section { padding-top: 3rem; padding-bottom: 3.5rem; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-top: 1.25rem; }

.about-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 1.1rem; }
.about-title span { color: var(--gold); }

.about-body { font-size: 0.92rem; line-height: 1.75; color: rgba(255,255,255,0.5); margin-bottom: 0.85rem; }

.about-pillars { display: flex; flex-direction: column; gap: 1rem; }

.pillar-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-left: 3px solid var(--blue); border-radius: 8px; padding: 1.1rem 1.25rem; display: flex; align-items: flex-start; gap: 1rem; transition: border-color 0.2s, background 0.2s; }
.pillar-card:hover { border-left-color: var(--gold); background: rgba(255,255,255,0.05); }
.pillar-icon  { font-size: 1.4rem; line-height: 1; margin-top: 0.1rem; flex-shrink: 0; }
.pillar-title { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--offwhite); margin-bottom: 0.3rem; }
.pillar-body  { font-size: 0.82rem; color: rgba(255,255,255,0.4); line-height: 1.55; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { text-align: center; padding: 2rem; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.72rem; color: rgba(255,255,255,0.2); letter-spacing: 0.06em; }
footer a { color: rgba(255,255,255,0.3); text-decoration: none; }
footer a:hover { color: rgba(255,255,255,0.6); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

/* Tablet ≤ 768px */
@media (max-width: 768px) {
  .hero        { padding: 3rem 1.5rem 2.5rem; }
  .hero-title  { font-size: 2.8rem; }
  .tiers-grid  { grid-template-columns: repeat(2, 1fr); }
  .phases-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid  { grid-template-columns: 1fr; gap: 2rem; }
}

/* Mobile ≤ 600px */
@media (max-width: 600px) {
  nav { padding: 0.75rem 1rem; gap: 0.5rem; }
  .nav-links li:nth-child(3), .nav-links li:nth-child(4) { display: none; }
  .nav-brand   { font-size: 0.65rem; }
  .logo-icon   { width: 44px; height: 44px; }

  .hero        { padding: 2.25rem 1rem 2rem; }
  .hero-title  { font-size: 2.1rem; }
  .hero-tagline{ font-size: 0.78rem; letter-spacing: 0.18em; }
  .btn-give-hero { width: 100%; display: block; text-align: center; }

  .countdown { gap: 0.5rem; padding: 0.85rem 1rem; margin-bottom: 2rem; }
  .cd-num    { font-size: 1.45rem; }
  .cd-label  { font-size: 0.55rem; }
  .cd-sep    { font-size: 1.3rem; }

  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(3) { grid-column: span 2; border-right: none; border-top: 1px solid rgba(255,255,255,0.07); }
  .stat-num { font-size: 1.6rem; }

  .section { padding: 1.75rem 1rem; }
  .phase-intro { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .phases-grid { grid-template-columns: 1fr; margin-top: 1.25rem; }
  .phase-amount{ font-size: 1.2rem; }
  .tiers-grid  { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .tier-amount { font-size: 1.35rem; }

  /* Modal → bottom sheet */
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal {
    border-radius: 16px 16px 0 0; border-bottom: none;
    max-width: 100%; max-height: 92vh;
    overflow-y: auto; padding: 1.5rem 1.25rem 2rem;
  }

  .modal-title { font-size: 1.2rem; }
  .modal-tab   { font-size: 0.75rem; padding: 0.5rem 0.3rem; }
  .give-card-name { font-size: 0.9rem; }
  .captcha-row { flex-wrap: wrap; gap: 0.4rem; }
  .captcha-question { font-size: 0.82rem; }
}

/* Small phone ≤ 400px */
@media (max-width: 400px) {
  .hero-title  { font-size: 1.8rem; }
  .countdown   { gap: 0.3rem; padding: 0.75rem 0.6rem; }
  .cd-num      { font-size: 1.25rem; }
  .tiers-grid  { grid-template-columns: 1fr; }
  .modal { padding: 1.25rem 1rem 2rem; }
}
