:root {
  --bg: #050907;
  --bg-soft: #0a110e;
  --panel: #0f1713;
  --panel-2: #121d18;
  --text: #f3f5f4;
  --muted: #a4afa9;
  --line: rgba(255,255,255,.11);
  --accent: #87d5aa;
  --accent-strong: #a5efc4;
  --shadow: 0 24px 70px rgba(0,0,0,.38);
  --radius: 22px;
  --container: min(1160px, calc(100% - 40px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: var(--container); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1160px)/2));
  border-bottom: 1px solid transparent;
  transition: .25s ease;
}
.site-header.scrolled {
  background: rgba(5,9,7,.86);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .02em; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.site-header nav { display: flex; align-items: center; gap: 28px; color: #d7ded9; font-size: 14px; }
.site-header nav a:hover { color: #fff; }
.nav-cta { border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; }
.menu-button { display: none; color: white; background: transparent; border: 0; font-size: 24px; cursor: pointer; }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: end;
  background: url('assets/hero.webp') center 42% / cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,8,5,.96) 0%, rgba(3,8,5,.66) 43%, rgba(3,8,5,.18) 75%), linear-gradient(0deg, rgba(3,8,5,.95), transparent 55%);
  z-index: -1;
}
.hero-content { padding-bottom: 12vh; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  max-width: 780px;
  font-size: clamp(62px, 9vw, 132px);
  line-height: .84;
  letter-spacing: -.065em;
  text-transform: uppercase;
}
.hero-text { max-width: 630px; margin-bottom: 32px; color: #c7d0cb; font-size: clamp(17px, 2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  transition: transform .2s ease, background .2s ease, border .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #06100b; background: var(--accent-strong); }
.button-primary:hover { background: #c2ffd9; }
.button-ghost { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); }
.button-ghost:hover { background: rgba(255,255,255,.1); }
.scroll-hint { position: absolute; right: 4vw; bottom: 42px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); }

.section { padding: 120px 0; }
.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading.compact { margin-bottom: 42px; }
.section-heading h2, .final-cta h2 { margin-bottom: 18px; font-size: clamp(34px, 5vw, 60px); line-height: 1.05; letter-spacing: -.045em; }
.section-heading > p:last-child { color: var(--muted); font-size: 18px; }
.need-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.need-card { min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); }
.need-number { color: var(--accent); font: 800 12px/1 monospace; letter-spacing: .1em; }
.need-card h3 { margin: 72px 0 10px; font-size: 27px; }
.need-card p { color: var(--muted); margin-bottom: 0; }

.section-donate { background: radial-gradient(circle at 80% 15%, rgba(80,160,112,.14), transparent 35%), var(--bg-soft); border-block: 1px solid var(--line); }
.payment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.payment-card { position: relative; min-height: 420px; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.payment-card.featured { background: linear-gradient(145deg, #15271e, #0d1712); }
.payment-card.featured::after { content: ""; position: absolute; width: 180px; height: 180px; right: -80px; top: -90px; border: 1px solid rgba(165,239,196,.2); border-radius: 50%; box-shadow: 0 0 80px rgba(135,213,170,.1); }
.payment-topline { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 38px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.method-badge { padding: 6px 10px; color: var(--text); border: 1px solid var(--line); border-radius: 999px; }
.payment-card h3 { margin-bottom: 34px; font-size: 31px; letter-spacing: -.03em; }
.requisite { padding: 15px 0; border-bottom: 1px solid var(--line); }
.requisite span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.requisite strong { display: block; font-size: 18px; letter-spacing: .03em; overflow-wrap: anywhere; }
.requisite.wallet strong { font-size: 15px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.requisite.small strong { font-size: 15px; }
.copy-button { margin-top: auto; min-height: 48px; color: #06100b; background: var(--accent); border: 0; border-radius: 14px; font-weight: 800; cursor: pointer; transition: .2s ease; }
.copy-button:hover { background: var(--accent-strong); transform: translateY(-1px); }
.security-note { max-width: 780px; margin: 26px 0 0; color: #7f8d85; font-size: 13px; }


.final-cta { padding: 88px 0; color: #07100c; background: var(--accent); }
.final-cta-inner { display: grid; grid-template-columns: 92px 1fr auto; gap: 34px; align-items: center; }
.final-cta img { width: 92px; height: 92px; object-fit: contain; filter: brightness(.22); }
.final-cta .eyebrow { color: rgba(7,16,12,.62); }
.final-cta h2 { margin: 0; }
.button-light { border-color: rgba(7,16,12,.2); background: rgba(255,255,255,.35); }
.button-light:hover { background: rgba(255,255,255,.55); }

.site-footer { padding: 28px 0; color: #78837d; border-top: 1px solid var(--line); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 50; transform: translate(-50%, 20px); padding: 12px 18px; color: #07100c; background: var(--accent-strong); border-radius: 999px; font-weight: 800; opacity: 0; pointer-events: none; transition: .24s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .site-header nav { position: absolute; top: 70px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px; background: rgba(5,9,7,.96); border: 1px solid var(--line); border-radius: 18px; }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: 12px; }
  .menu-button { display: block; }
  .need-grid, .payment-grid { grid-template-columns: 1fr; }
  .payment-card { min-height: 360px; }
  .final-cta-inner { grid-template-columns: 70px 1fr; }
  .final-cta img { width: 70px; height: 70px; }
  .final-cta .button { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  :root { --container: min(100% - 28px, 1160px); }
  .site-header { height: 70px; padding-inline: 16px; }
  .brand span { display: none; }
  .brand img { width: 44px; height: 44px; }
  .hero { min-height: 820px; background-position: 57% center; }
  .hero::before { background: linear-gradient(0deg, rgba(3,8,5,.96) 0%, rgba(3,8,5,.55) 70%, rgba(3,8,5,.25)); }
  .hero-content { padding-bottom: 90px; }
  h1 { font-size: clamp(56px, 19vw, 84px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .scroll-hint { display: none; }
  .section { padding: 84px 0; }
  .section-heading { margin-bottom: 34px; }
  .need-card { min-height: 220px; }
  .need-card h3 { margin-top: 48px; }
  .payment-card { padding: 22px; }
  .final-cta { padding: 62px 0; }
  .final-cta-inner { grid-template-columns: 1fr; }
  .final-cta img { display: none; }
  .footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
