/* =========================================================
   NUCTEREA | Dev — Premium Donation Website
   Design System: Dark luxury, glassmorphism, futuristic
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --bg: #0B0B0E;
  --bg-elev: #121216;
  --card: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --primary: #F5B941;
  --primary-soft: rgba(245, 185, 65, 0.12);
  --secondary: #E2703A;
  --success: #6BE8AC;
  --danger: #FF6B6B;
  --warning: #FFB84D;

  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.65);
  --text-mute: rgba(255, 255, 255, 0.42);

  --grad-primary: linear-gradient(135deg, #F5B941 0%, #E2703A 100%);
  --grad-accent: linear-gradient(135deg, #F5B941 0%, #F9E9C5 100%);
  --grad-soft: linear-gradient(135deg, rgba(245, 185, 65, 0.16), rgba(226, 112, 58, 0.16));

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 60px rgba(245, 185, 65, 0.16);

  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1240px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 96px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--primary); color: #000; }

/* ---------- Lenis Smooth Scroll ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #121216; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 10px;
  border: 2px solid #121216;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.accent { color: var(--primary); font-weight: 500; }
.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Custom Cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: opacity .3s ease;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  transition: transform .18s var(--ease), width .3s var(--ease), height .3s var(--ease), border-color .3s ease;
}
.cursor-ring.hover {
  width: 60px; height: 60px;
  border-color: var(--primary);
  background: rgba(245, 185, 65, 0.08);
}
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Noise Overlay ---------- */
.noise-overlay {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all .4s var(--ease);
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(11, 11, 14, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.nav__logo-mark {
  width: 28px; height: 28px;
  padding: 4px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  box-shadow: 0 0 20px rgba(245, 185, 65, 0.25);
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.nav__brand:hover .nav__logo-mark {
  transform: rotate(-6deg) scale(1.05);
  box-shadow: 0 0 26px rgba(245, 185, 65, 0.45);
}
.nav__links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--text-dim);
}
.nav__links a {
  position: relative;
  transition: color .3s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--grad-primary);
  transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #000;
  background: var(--grad-accent);
  border-radius: 100px;
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.nav__cta:hover {
  box-shadow: 0 8px 24px rgba(245, 185, 65, 0.35);
  transform: translateY(-1px);
}
.nav__burger { display: none; }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  margin-top: 12px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  transition: color .3s ease;
}
.nav__mobile a:hover { color: var(--text); }
.nav__mobile-cta {
  margin-top: 8px;
  padding: 14px !important;
  background: var(--grad-primary);
  color: #000 !important;
  border-radius: 100px !important;
  text-align: center;
  font-weight: 600;
  border: none !important;
}

@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero__grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero__blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  animation: blobFloat 20s ease-in-out infinite;
}
.blob--1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--primary), transparent 70%);
  top: -10%; left: -10%;
}
.blob--2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--secondary), transparent 70%);
  bottom: -15%; right: -10%;
  animation-delay: -7s;
}
.blob--3 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #F6DFB2, transparent 70%);
  top: 40%; left: 50%;
  opacity: 0.22;
  animation-delay: -14s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.1); }
  66% { transform: translate(-40px, 60px) scale(0.95); }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  text-align: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
  margin-bottom: 32px;
}
.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 120px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.hero__title-line {
  display: block;
}
.hero__title-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.shimmer {
  position: relative;
  display: inline-block;
  background: linear-gradient(110deg, #F5B941 0%, #E2703A 40%, #ffffff 50%, #E2703A 60%, #F5B941 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.hero__subtitle {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 44px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 100px;
  transition: transform .4s var(--ease), box-shadow .4s ease;
  overflow: hidden;
  cursor: pointer;
  will-change: transform;
}
.btn--primary {
  background: var(--grad-primary);
  color: #000;
  font-weight: 600;
  box-shadow: 0 10px 40px rgba(245, 185, 65, 0.25), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform .6s var(--ease);
}
.btn--primary:hover::before { transform: translateX(100%); }
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(245, 185, 65, 0.4), inset 0 1px 0 rgba(255,255,255,0.4);
}

.btn--ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

/* ---------- Specular Button (React Bits port) ---------- */
.specular-button {
  --sb-radius: 1000px;
  --sb-tint: #121216;
  --sb-tint-opacity: 0.65;
  --sb-blur: 12px;
  --sb-text-color: #f5f5f5;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--sb-text-color);
  background: color-mix(in srgb, var(--sb-tint) calc(var(--sb-tint-opacity) * 100%), transparent);
  border-radius: var(--sb-radius);
  backdrop-filter: blur(var(--sb-blur));
  -webkit-backdrop-filter: blur(var(--sb-blur));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  outline: none;
  transition: transform .15s ease, box-shadow .3s ease;
}
.specular-button:active { transform: scale(0.97); }
.specular-button:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--sb-text-color) 60%, transparent);
  outline-offset: 3px;
}
.specular-button--lg { font-size: 1.15rem; padding: 18px 40px; }
.specular-button__fx {
  position: absolute;
  inset: -20px;
  pointer-events: none;
  z-index: 1;
}
.specular-button__fx canvas { display: block; width: 100%; height: 100%; }
.specular-button__label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
}
.specular-button__label svg { display: block; flex: none; }

/* ---------- Stats ---------- */
.hero__stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat__suffix {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat__label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* ---------- Scroll Indicator ---------- */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
  z-index: 2;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--primary), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -40px; left: 0;
  width: 100%; height: 40px;
  background: linear-gradient(180deg, transparent, var(--primary));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(0); }
  100% { transform: translateY(80px); }
}

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 72px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(255,255,255,0.02);
  margin-bottom: 24px;
}
.section-tag__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.section-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-dim);
  line-height: 1.6;
}

/* =========================================================
   DONATE / CRYPTO CARDS
   ========================================================= */
.donate {
  position: relative;
  padding: 140px 0;
  z-index: 2;
}
.crypto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.crypto-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  overflow: hidden;
  transition: transform .12s var(--ease), border-color .5s ease;
  transform-style: preserve-3d;
}
.crypto-card.tilting {
  will-change: transform;
}
.crypto-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background .5s ease;
  pointer-events: none;
}
.crypto-card:hover {
  border-color: transparent;
}
.crypto-card:hover::before {
  background: var(--card-accent, var(--grad-primary));
}
.crypto-card.reveal.visible {
  transition: opacity .9s var(--ease), border-color .5s ease;
}
.crypto-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), var(--card-glow, rgba(245,185,65,0.15)), transparent 40%);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.crypto-card:hover::after { opacity: 1; }

.crypto-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.crypto-card__logo {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-logo-bg, rgba(255,255,255,0.06));
  border: 1px solid var(--border);
  transition: transform .5s var(--ease), box-shadow .5s ease;
}
.crypto-card:hover .crypto-card__logo {
  transform: scale(1.05) rotate(-3deg);
  box-shadow: 0 10px 30px var(--card-glow, rgba(0,229,255,0.3));
}
.crypto-card__logo svg { width: 32px; height: 32px; }

.crypto-card__network {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--card-accent-color, var(--primary));
  background: var(--card-accent-soft, var(--primary-soft));
  border: 1px solid var(--card-accent-border, rgba(0,229,255,0.2));
  border-radius: 100px;
}
.crypto-card__network::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}

.crypto-card__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.crypto-card__symbol {
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.crypto-card__address-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  transition: border-color .3s ease, background .3s ease;
}
.crypto-card__address-wrap:hover {
  border-color: var(--border-strong);
  background: rgba(0,0,0,0.5);
}
.crypto-card__address {
  flex: 1;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  font-size: 11.5px;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: all;
}

.crypto-card__actions {
  display: flex;
  gap: 8px;
}
.crypto-card__copy,
.crypto-card__qr-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all .3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.crypto-card__copy:hover,
.crypto-card__qr-toggle:hover {
  background: var(--card-accent-color, var(--primary));
  color: #000;
  border-color: transparent;
  transform: translateY(-1px);
}
.crypto-card__copy.copied,
.crypto-card__qr-toggle.is-open {
  background: var(--card-accent-color, var(--primary));
  color: #000;
  border-color: transparent;
}
.crypto-card__copy svg,
.crypto-card__qr-toggle svg { width: 12px; height: 12px; }

.crypto-card__qr {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(320px, 84vw);
  aspect-ratio: 1;
  z-index: 200;
  padding: 16px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(.85);
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.crypto-card__qr.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}
.crypto-card__qr::before {
  content: '';
  position: fixed;
  inset: -50vh -50vw;
  background: rgba(4, 8, 18, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: -1;
}
.crypto-card__qr canvas, .crypto-card__qr img, .crypto-card__qr table {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border-radius: 8px;
}

/* Card accent variants */
.crypto-card[data-coin="BTC"] {
  --card-accent: linear-gradient(135deg, #F7931A, #FFB84D);
  --card-glow: rgba(247, 147, 26, 0.22);
  --card-accent-color: #F7931A;
  --card-accent-soft: rgba(247, 147, 26, 0.12);
  --card-accent-border: rgba(247, 147, 26, 0.25);
  --card-logo-bg: rgba(247, 147, 26, 0.08);
}
.crypto-card[data-coin="USDT"] {
  --card-accent: linear-gradient(135deg, #26A17B, #7CFFCB);
  --card-glow: rgba(38, 161, 123, 0.22);
  --card-accent-color: #26A17B;
  --card-accent-soft: rgba(38, 161, 123, 0.12);
  --card-accent-border: rgba(38, 161, 123, 0.25);
  --card-logo-bg: rgba(38, 161, 123, 0.08);
}
.crypto-card[data-coin="TRX"] {
  --card-accent: linear-gradient(135deg, #EB0029, #FF6B6B);
  --card-glow: rgba(235, 0, 41, 0.22);
  --card-accent-color: #FF4D6A;
  --card-accent-soft: rgba(235, 0, 41, 0.12);
  --card-accent-border: rgba(235, 0, 41, 0.25);
  --card-logo-bg: rgba(235, 0, 41, 0.08);
}
.crypto-card[data-coin="TON"] {
  --card-accent: linear-gradient(135deg, #0098EA, #00E5FF);
  --card-glow: rgba(0, 152, 234, 0.22);
  --card-accent-color: #0098EA;
  --card-accent-soft: rgba(0, 152, 234, 0.12);
  --card-accent-border: rgba(0, 152, 234, 0.25);
  --card-logo-bg: rgba(0, 152, 234, 0.08);
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  position: relative;
  padding: 140px 0;
  z-index: 2;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__text {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 20px;
}
.about__text strong { color: var(--text); font-weight: 500; }
.about__text em { color: var(--primary); font-style: normal; font-weight: 500; }

.about__skills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.skill-pill {
  position: relative;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  transition: transform .4s var(--ease), border-color .4s ease, background .4s ease;
  overflow: hidden;
  cursor: default;
}
.skill-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity .4s ease;
}
.skill-pill:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--card-hover);
}
.skill-pill:hover::before { opacity: 1; }
.skill-pill span { position: relative; z-index: 1; }

@media (max-width: 820px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
}

/* =========================================================
   WHY SUPPORT / TIMELINE
   ========================================================= */
.why {
  position: relative;
  padding: 140px 0;
  z-index: 2;
}
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px; top: 10px; bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--primary), var(--secondary), transparent);
  opacity: 0.4;
}
.timeline__item {
  position: relative;
  padding-bottom: 40px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__marker {
  position: absolute;
  left: -34px; top: 8px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(245, 185, 65, 0.14), 0 0 20px rgba(245, 185, 65, 0.4);
  transition: transform .4s var(--ease);
}
.timeline__item:hover .timeline__marker {
  transform: scale(1.2);
  background: var(--primary);
}
.timeline__card {
  padding: 24px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  transition: transform .4s var(--ease), border-color .4s ease;
}
.timeline__item:hover .timeline__card {
  transform: translateX(6px);
  border-color: var(--border-strong);
}
.timeline__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 14px;
}
.timeline__card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.timeline__card p {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
  z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(245, 185, 65, 0.03));
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer__tagline {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.heart {
  display: inline-block;
  color: #FF4D6A;
  animation: heartBeat 1.6s ease-in-out infinite;
}
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.2); }
  50% { transform: scale(1); }
  75% { transform: scale(1.15); }
}
.footer__copy {
  font-size: 12px;
  color: var(--text-mute);
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 20px;
}
.footer__col a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-dim);
  transition: color .3s ease, transform .3s ease;
}
.footer__col a:hover {
  transform: translateX(4px);
}
.footer__social--github:hover {
  color: #E6EDF3;
  transition: color .3s ease, transform .3s ease;
}
.footer__social--telegram:hover {
  color: #2AABEE;
  transition: color .3s ease, transform .3s ease;
}
.footer__social--youtube:hover {
  color: #FF0033;
  transition: color .3s ease, transform .3s ease;
}
.footer__bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.05em;
}
.footer__divider { opacity: 0.4; }

@media (max-width: 820px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }

/* ---------- Scrambled Text ---------- */
.scramble-char {
  display: inline-block;
  min-width: .55em;
  text-align: center;
  will-change: contents;
}

/* =========================================================
   MOBILE EXPERIENCE — dedicated layout, not a shrink.
   The desktop design above is untouched.
   ========================================================= */
* { -webkit-tap-highlight-color: transparent; }

.mobile-nav { display: none; }

@media (max-width: 820px) {

  /* ---------- Top bar: brand only, lighter glass ---------- */
  .nav { padding: 12px 0; }
  .nav.scrolled { padding: 8px 0; backdrop-filter: blur(14px) saturate(160%); }
  .nav__inner { padding: 0 20px; }

  /* ---------- Glass floating bottom navigation ---------- */
  body {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    left: 50%;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    z-index: 300;
    width: calc(100% - 20px);
    max-width: 440px;
    padding: 8px;
    gap: 4px;
    background: rgba(18, 18, 22, 0.85);
    backdrop-filter: blur(24px) saturate(170%);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  }
  .mobile-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 56px;
    padding: 8px 4px;
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--text-mute);
    transition: color .25s ease, background .25s ease, transform .15s ease;
  }
  .mobile-nav__item svg { flex: none; }
  .mobile-nav__item:active { transform: scale(0.9); }
  .mobile-nav__item--accent {
    color: var(--primary);
    background: var(--primary-soft);
  }
  .mobile-nav__item.active {
    color: #000;
    background: var(--grad-primary);
  }
  .mobile-nav__item.active svg { filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25)); }

  /* ---------- HERO — app-like, light, CTA first ---------- */
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(88px + env(safe-area-inset-top, 0px)) 20px 40px;
  }
  .hero__content {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .hero__eyebrow {
    order: 0;
    margin-bottom: 22px;
    font-size: 10px;
    padding: 7px 14px;
    gap: 8px;
  }
  .hero__title { order: 1; font-size: clamp(42px, 13.5vw, 64px); margin-bottom: 22px; }
  .hero__actions { order: 2; flex-direction: column; width: 100%; gap: 12px; margin-bottom: 24px; }
  .hero__actions .specular-button--lg,
  .hero__actions .btn {
    width: 100%;
    min-height: 54px;
    justify-content: center;
    border-radius: 100px;
  }
  .hero__subtitle {
    order: 3;
    font-size: 15px;
    line-height: 1.65;
    margin: 0 auto 30px;
    max-width: 100%;
  }
  .hero__stats { order: 4; gap: 24px; }
  .stat__value { font-size: 26px; }
  .stat__suffix { font-size: 19px; }
  .stat__label { font-size: 10px; letter-spacing: 0.08em; }
  .hero__scroll { display: none; }

  /* Lighter background: no blur filter, no animation, smaller */
  .blob { filter: none; animation: none; opacity: 0.32; }
  .blob--1 { width: 340px; height: 340px; }
  .blob--2 { width: 300px; height: 300px; opacity: 0.26; }
  .blob--3 { display: none; }
  .shimmer { animation-duration: 9s; }

  /* ---------- Buttons — 48px+ touch, tap feedback ---------- */
  .btn {
    transition: transform .15s ease, box-shadow .3s ease;
  }
  .btn:active,
  .specular-button:active {
    transform: scale(0.96);
  }

  /* ---------- Crypto cards — large, thumb-friendly ---------- */
  .crypto-grid { grid-template-columns: 1fr; gap: 16px; }
  .crypto-card {
    padding: 26px 20px;
    border-radius: 22px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.05);
  }
  .crypto-card:active { transform: scale(0.985); }
  .crypto-card__head { margin-bottom: 18px; }
  .crypto-card__logo { width: 60px; height: 60px; }
  .crypto-card__logo svg { width: 34px; height: 34px; }
  .crypto-card__name { font-size: 24px; }
  .crypto-card__symbol { margin-bottom: 16px; }
  .crypto-card__address-wrap { padding: 14px 16px; margin-bottom: 14px; }
  .crypto-card__address {
    font-size: 12.5px;
    line-height: 1.55;
    white-space: normal;
    overflow-wrap: anywhere;
    user-select: all;
  }
  .crypto-card__actions { gap: 10px; }
  .crypto-card__copy,
  .crypto-card__qr-toggle {
    flex: 1;
    min-height: 48px;
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 100px;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  }
  .crypto-card__copy:active,
  .crypto-card__qr-toggle:active { transform: scale(0.96); }

  /* ---------- Sections — tighter, breathable ---------- */
  .container { padding: 0 20px; }
  .donate, .about, .why { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .section-tag { margin-bottom: 16px; }
  .section-title { font-size: clamp(30px, 9vw, 40px); line-height: 1.1; margin-bottom: 14px; }
  .section-sub { font-size: 15px; line-height: 1.6; }

  /* ---------- About ---------- */
  .about__grid { gap: 36px; }
  .about__text { font-size: 15.5px; line-height: 1.7; }
  .about__skills { gap: 10px; }
  .skill-pill {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    font-size: 13.5px;
  }

  /* ---------- Timeline ---------- */
  .timeline { padding-left: 34px; }
  .timeline::before { left: 9px; }
  .timeline__marker { left: -29px; width: 20px; height: 20px; box-shadow: 0 0 0 3px rgba(245,185,65,0.12), 0 0 16px rgba(245,185,65,0.3); }
  .timeline__item { padding-bottom: 28px; }
  .timeline__card { padding: 20px 22px; }
  .timeline__card h3 { font-size: 18px; }
  .timeline__card p { font-size: 14px; }
  .timeline__icon { width: 40px; height: 40px; margin-bottom: 12px; }

  /* ---------- Footer ---------- */
  .footer { padding: 56px 0 calc(110px + env(safe-area-inset-bottom, 0px)); }
  .footer__grid { gap: 28px; }
  .footer__col a { padding: 10px 0; min-height: 44px; align-items: center; }

  /* ---------- Faster, cheaper reveal ---------- */
  .reveal {
    transform: translateY(16px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
  }
  .reveal.visible { transform: translateY(0); }
}