/* ==========================================================================
   UpTrustFun — Neon Grid (theme-1) — полноценный CSS
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
  --bg:       #08080f;
  --bg-2:     #0e0e1a;
  --bg-3:     #14142a;
  --border:   #1e1e3a;
  --border-2: #2a2a52;
  --text:     #e8e8f5;
  --text-dim: #8a8aa0;
  --accent:   #00ff88;      /* зелёный — под новое лого */
  --accent-2: #00e5ff;      /* cyan */
  --accent-3: #7c3aed;      /* purple */
  --success:  #00ff88;
  --danger:   #ff3355;
  --radius:   12px;
  --radius-sm:8px;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-future:  'Orbitron', 'Space Grotesk', sans-serif;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(124,58,237,.25), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(0,255,136,.10), transparent),
    linear-gradient(180deg, #08080f 0%, #0a0a16 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(0,255,136,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none; z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 90%);
          mask-image: radial-gradient(ellipse at center, #000 40%, transparent 90%);
}

.container {
  position: relative; z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

/* =========================================================
   ЛОГО: белая заливка + зелёная обводка, шрифт Atma 600
   ========================================================= */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 11px;
  background: #ffffff;
  border: 2px solid var(--accent);
  color: #0a0a16;
  box-shadow:
    0 0 18px rgba(0,255,136,.45),
    0 0 6px rgba(0,255,136,.8) inset;
  transition: box-shadow .25s, transform .25s;
}
.logo:hover .logo-mark {
  box-shadow:
    0 0 26px rgba(0,255,136,.7),
    0 0 10px rgba(0,255,136,1) inset;
  transform: translateY(-1px);
}
.logo-mark svg { width: 22px; height: 22px; display: block; }

.logo-text {
  font-family: 'Atma', 'Space Grotesk', var(--font-display), sans-serif;
  font-weight: 600;
  font-size: 22px;                 /* Atma округлый, даём ему «дышать» */
  letter-spacing: .01em;
  color: #fff;
  line-height: 1;
  transition: text-shadow .25s;
}
.logo-text .lt-a,
.logo-text .lt-c { color: #fff; }
.logo-text .lt-b {
  color: var(--accent);
  text-shadow: 0 0 12px rgba(0,255,136,.55);
}
.logo:hover .logo-text {
  text-shadow: 0 0 10px rgba(255,255,255,.35);
}

/* Десктопное меню */
.top-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.top-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all .2s;
}
.top-nav-link:hover {
  color: var(--text);
  border-color: var(--border-2);
  background: var(--bg-2);
}
.top-nav-link.active {
  color: var(--accent);
  border-color: rgba(0,255,136,.4);
  background: rgba(0,255,136,.08);
  box-shadow: 0 0 18px rgba(0,255,136,.15);
}

/* Бургер */
.burger {
  display: none;
  width: 42px; height: 42px;
  padding: 0;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  background: var(--bg-2);
  cursor: pointer;
  position: relative;
  transition: border-color .2s, background .2s;
}
.burger:hover { border-color: rgba(0,255,136,.5); background: var(--bg-3); }
.burger span {
  position: absolute; left: 11px; right: 11px; height: 2px;
  background: var(--accent); border-radius: 2px;
  transition: transform .25s, opacity .2s, top .25s;
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 27px; }
.drawer-open .burger span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.drawer-open .burger span:nth-child(2) { opacity: 0; }
.drawer-open .burger span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ==========================================================================
   DRAWER (мобильное меню)
   ========================================================================== */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(4,4,10,.65);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(320px, 88vw);
  background: linear-gradient(180deg, #0c0c1a 0%, #08080f 100%);
  border-left: 1px solid rgba(0,255,136,.25);
  box-shadow: -20px 0 60px rgba(0,0,0,.5), 0 0 40px rgba(0,255,136,.08) inset;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.drawer::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,255,136,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.drawer-open .drawer { transform: translateX(0); }

.drawer-head {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.drawer-brand {
  font-family: var(--font-future);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #fff;
}
.drawer-brand em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(0,255,136,.6);
}
.drawer-close {
  display: grid; place-items: center;
  width: 36px; height: 36px; padding: 0;
  background: transparent;
  border: 1px solid var(--border-2);
  border-radius: 9px;
  color: var(--text-dim);
  cursor: pointer;
  transition: all .2s;
}
.drawer-close:hover { color: var(--accent); border-color: rgba(0,255,136,.5); }

.drawer-nav {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  padding: 12px;
  gap: 4px;
  flex: 1;
}
.drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--text-dim);
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all .2s;
}
.drawer-link svg { opacity: .4; transition: transform .2s, opacity .2s; }
.drawer-link:hover,
.drawer-link.active {
  color: var(--text);
  border-color: var(--border-2);
  background: var(--bg-2);
}
.drawer-link.active {
  color: var(--accent);
  border-color: rgba(0,255,136,.4);
  background: rgba(0,255,136,.06);
  box-shadow: 0 0 20px rgba(0,255,136,.12);
}
.drawer-link:hover svg,
.drawer-link.active svg { opacity: 1; transform: translateX(2px); }

.drawer-footer {
  position: relative; z-index: 1;
  padding: 18px 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}
.drawer-footer a { color: var(--text-dim); }
.drawer-footer a:hover { color: var(--accent); }
.drawer-footer span { margin: 0 8px; }
.drawer-footer p { margin: 8px 0 0; font-size: 11px; opacity: .65; }

/* ==========================================================================
   HERO / H1
   ========================================================================== */
.hero { margin-bottom: 40px; }
h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0 0 12px;
  background: linear-gradient(180deg, #fff 0%, #b8b8d0 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
/* Fallback для браузеров без background-clip */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  h1 { color: #fff; }
}
.subtitle {
  font-size: 15px;
  color: var(--text-dim);
  margin: 0 0 28px;
  font-family: var(--font-mono);
}

/* Спонсоры */
.sponsors { margin-bottom: 32px; }
.sponsors-label {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  color: var(--text-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-family: var(--font-mono);
}
.sponsors-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-2), transparent);
}
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.sponsor-card {
  display: block;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(20,20,42,.6);
  border: 1px solid var(--border);
  transition: all .25s;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.sponsor-card img { width: 100%; height: auto; border-radius: 6px; }
.sponsor-card:hover {
  border-color: rgba(0,255,136,.45);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0,255,136,.15);
}

/* Meta-grid */
.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.meta-item {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.meta-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-dim);
  margin-bottom: 6px;
  font-family: var(--font-mono);
}
.meta-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  word-break: break-all;
}

/* Mode switcher */
.mode-switcher {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.mode-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-dim);
  font-family: var(--font-mono);
}
.mode-group {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: 10px;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
}
.mode-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  border-radius: 7px;
  transition: all .2s;
  white-space: nowrap;
}
.mode-btn svg { flex-shrink: 0; }
.mode-btn:hover { color: var(--text); background: rgba(255,255,255,.04); }
.mode-btn.active {
  color: #08080f;
  background: linear-gradient(135deg, var(--accent), #59f5ff);
  box-shadow: 0 0 20px rgba(0,255,136,.35);
}

/* ==========================================================================
   СПИСОК ССЫЛОК
   ========================================================================== */
.list-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  margin: 8px 0 16px;
}
.list-header h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}
.badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  font-size: 12px;
  font-family: var(--font-mono);
  background: rgba(0,255,136,.12);
  color: var(--accent);
  border: 1px solid rgba(0,255,136,.3);
  border-radius: 999px;
}
.list-hint {
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}
.list-hint b { color: var(--accent); }

.link-list { list-style: none; margin: 0; padding: 0; }
.link-item { border-bottom: 1px solid var(--border); }
.link-item a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 20px minmax(0, 1.2fr);
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  transition: background .15s;
  word-break: break-all;
}
.link-item a:hover { background: rgba(0,255,136,.05); color: #fff; }
.link-index { color: var(--text-dim); font-size: 11px; }
.link-donor {
  color: var(--accent);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.link-arrow { color: var(--accent-2); text-align: center; }
.link-target {
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   SEO-СЕКЦИИ + FAQ
   ========================================================================== */
.seo-sections {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.seo-card {
  padding: 24px 26px;
  border-radius: var(--radius);
  background: rgba(14,14,26,.65);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  transition: border-color .25s, transform .25s;
}
.seo-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.seo-card h2 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 14px;
  color: #fff;
  letter-spacing: -.01em;
  position: relative;
  padding-left: 16px;
}
.seo-card h2::before {
  content: '';
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(0,255,136,.5);
}
.seo-card p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: #c0c0d4;
}
.seo-card p:last-child { margin-bottom: 0; }
.seo-card b { color: var(--text); font-weight: 600; }
.seo-card i { color: var(--accent); font-style: normal; }
.seo-card--faq { grid-column: 1 / -1; }

.faq-item { border-top: 1px solid var(--border); padding: 12px 0; }
.faq-item:first-of-type { border-top: none; padding-top: 0; }
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  padding: 6px 0;
  list-style: none;
  display: flex; align-items: center; gap: 8px;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: '+';
  display: inline-grid; place-items: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  font-size: 14px;
  line-height: 1;
  color: var(--accent);
  transition: transform .25s, background .2s;
  flex-shrink: 0;
}
.faq-item[open] summary::before {
  content: '−';
  background: rgba(0,255,136,.12);
  border-color: rgba(0,255,136,.5);
}
.faq-item summary:hover { color: #fff; }
.faq-item p {
  margin: 8px 0 4px;
  padding-left: 26px;
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
/* Drawer (мобильное меню) */
.drawer-brand {
  font-family: 'Atma', 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .01em;
  color: #fff;
}
.drawer-brand em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(0,255,136,.6);
}

/* Footer brand */
.footer-brand {
  font-family: 'Atma', 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .01em;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(0,255,136,.6);
}
.footer-text { font-size: 13px; line-height: 1.65; margin: 0; }
.footer-title {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 0; margin: 0 0 12px;
  background: none; border: none; cursor: default;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text);
  text-align: left;
}
.footer-chev { display: none; transition: transform .25s; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: var(--text-dim); }
.footer-links a:hover { color: var(--accent); }

.footer-socials {
  display: flex; gap: 8px; margin-top: 14px;
}
.footer-socials a {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--border-2);
  border-radius: 9px;
  color: var(--text-dim);
  transition: all .2s;
}
.footer-socials a:hover {
  color: var(--accent);
  border-color: rgba(0,255,136,.5);
  box-shadow: 0 0 18px rgba(0,255,136,.2);
}

.footer-info, .footer-disclaimer {
  font-size: 12px;
  text-align: center;
  color: var(--text-dim);
  margin: 8px 0 0;
  font-family: var(--font-mono);
}
.footer-disclaimer { opacity: .7; }

/* Пагинация */
.pagination {
  display: flex; flex-wrap: wrap; gap: 6px;
  justify-content: center;
  margin-bottom: 24px;
}
.page-link {
  display: inline-grid; place-items: center;
  min-width: 38px; height: 38px;
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all .2s;
}
.page-link:hover {
  color: var(--text);
  border-color: var(--border-2);
  background: var(--bg-3);
}
.page-link.current {
  color: #08080f;
  background: linear-gradient(135deg, var(--accent), #59f5ff);
  border-color: transparent;
  box-shadow: 0 0 18px rgba(0,255,136,.35);
}

/* ==========================================================================
   СТАТИЧЕСКИЕ СТРАНИЦЫ
   ========================================================================== */
.static-content { max-width: 780px; margin: 0 auto; }
.static-content h1 { margin-bottom: 20px; }
.static-content h2 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 32px 0 12px;
  color: #fff;
}
.static-content p { color: #c8c8d8; margin: 0 0 14px; }
.static-content .lead { font-size: 16px; color: var(--text); }
.static-content a { text-decoration: underline; text-underline-offset: 3px; }
.feature-list { padding-left: 20px; color: #c8c8d8; }
.feature-list li { margin-bottom: 8px; }
.breadcrumbs {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
  font-family: var(--font-mono);
}
.breadcrumbs a { color: var(--text-dim); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { margin: 0 6px; }
.breadcrumbs--home { margin-bottom: 12px; }

/* Контакты */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  margin-top: 24px;
}
.contact-item {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-2);
  margin-bottom: 12px;
}
.contact-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-dim);
  margin-bottom: 4px;
  font-family: var(--font-mono);
}
.contact-value {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
}
.contact-form label { display: block; margin-bottom: 14px; }
.contact-form label > span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-dim);
  margin-bottom: 6px;
  font-family: var(--font-mono);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,255,136,.15);
}
.btn-primary {
  display: inline-block;
  padding: 12px 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #08080f;
  background: linear-gradient(135deg, var(--accent), #59f5ff);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(0,255,136,.35);
  transition: transform .15s, box-shadow .2s;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(0,255,136,.5);
  color: #08080f;
}
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 14px;
}
.alert-success {
  background: rgba(0,255,136,.08);
  border: 1px solid rgba(0,255,136,.35);
  color: var(--success);
}
.alert-error {
  background: rgba(255,51,85,.08);
  border: 1px solid rgba(255,51,85,.35);
  color: var(--danger);
}

/* 404 */
.error-page { text-align: center; padding: 60px 20px; }
.error-code {
  font-family: var(--font-future);
  font-size: clamp(80px, 18vw, 180px);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(0,255,136,.35));
  margin-bottom: 12px;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .error-code { color: var(--accent); }
}
.error-title { font-size: clamp(22px, 4vw, 32px); margin: 0 0 16px; }
.error-text { color: var(--text-dim); max-width: 520px; margin: 0 auto 28px; }
.countdown {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 20px;
}

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { padding: 16px 14px 40px; }

  .site-header { padding: 6px 0 16px; margin-bottom: 22px; }
  .top-nav { display: none; }
  .burger  { display: inline-grid; }

  .sponsors-grid { grid-template-columns: repeat(2, 1fr); }
  .meta-grid { grid-template-columns: repeat(2, 1fr); }

  .mode-switcher { padding: 12px; }
  .mode-btn span { display: none; }
  .mode-btn { padding: 9px 12px; }

  .link-item a {
    grid-template-columns: 36px 1fr;
    grid-template-areas:
      "idx donor"
      ".   target";
    gap: 4px 8px;
    padding: 10px 6px;
  }
  .link-index { grid-area: idx; align-self: start; padding-top: 2px; }
  .link-donor  { grid-area: donor; white-space: normal; }
  .link-arrow  { display: none; }
  .link-target { grid-area: target; font-size: 12px; }

  .seo-sections { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
  .seo-card { padding: 18px; }
  .seo-card h2 { font-size: 17px; padding-left: 14px; }
  .faq-item p { font-size: 13px; padding-left: 22px; }

  /* Footer-аккордеон */
  .footer-title { cursor: pointer; padding: 8px 0; }
  .footer-chev { display: block; }
  .footer-col--collapsible {
    border-top: 1px solid var(--border);
    padding-top: 8px;
    margin-top: 8px;
  }
  .footer-col--collapsible .footer-links {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height .3s ease, opacity .25s ease, margin .25s ease;
    margin: 0;
  }
  .footer-col--collapsible.is-open .footer-links {
    max-height: 300px;
    opacity: 1;
    margin: 6px 0 12px;
  }
  .footer-col--collapsible.is-open .footer-chev { transform: rotate(180deg); }
}

@media (max-width: 520px) {
  .site-header { flex-direction: row; }
  .logo-text { font-size: 18px; }
  .logo-mark { width: 32px; height: 32px; border-radius: 9px; }
  .logo-mark svg { width: 18px; height: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-text { font-size: 12.5px; }
  .sponsors-grid { gap: 10px; }
  .sponsor-card { padding: 10px; }
  .meta-grid { gap: 8px; }
  .meta-item { padding: 12px; }
  .meta-value { font-size: 13px; }
  .page-link { min-width: 34px; height: 34px; font-size: 12px; }
}

/* =========================================================
   ДОНАТ — премиум-страница
   ========================================================= */
.donate-page { max-width: 1100px; }

/* ---------- HERO: видео + CTA ---------- */
.donate-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 24px 0 56px;
  align-items: stretch;
}

.donate-hero__video {
  min-width: 0;
}
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-2);
  background: #0a0a16;
  box-shadow:
    0 20px 40px rgba(0,0,0,.45),
    0 0 30px rgba(0,255,136,.10) inset;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@supports not (aspect-ratio: 16 / 9) {
  .video-wrap { height: 0; padding-bottom: 56.25%; }
}

/* ---------- CTA справа ---------- */
.donate-hero__cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 26px 26px;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(0,255,136,.14), transparent 70%),
    rgba(14,14,26,.7);
  border: 1px solid rgba(0,255,136,.25);
  box-shadow: 0 0 40px rgba(0,255,136,.08) inset;
  position: relative;
  overflow: hidden;
}
.donate-hero__cta::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,255,136,.5), transparent 40%, rgba(0,229,255,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.cta-badge {
  align-self: flex-start;
  display: inline-block;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #08080f;
  background: linear-gradient(135deg, #00ff88, #59f5ff);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(0,255,136,.5);
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin: 0;
}
.cta-sub {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
}

/* ---------- ЯРКАЯ КНОПКА ---------- */
.cta-bright {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  margin-top: 4px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #08080f;
  text-decoration: none;
  background: linear-gradient(135deg, #00ff88 0%, #7cffcb 40%, #00e5ff 100%);
  background-size: 200% 100%;
  box-shadow:
    0 10px 30px rgba(0,255,136,.35),
    0 0 0 1px rgba(0,255,136,.6) inset;
  overflow: hidden;
  transition: transform .2s, box-shadow .25s, background-position .6s;
  animation: ctaPulse 2.6s ease-in-out infinite;
}
.cta-bright:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow:
    0 16px 40px rgba(0,255,136,.55),
    0 0 0 1px rgba(0,255,136,.8) inset;
}
.cta-bright:active { transform: translateY(0); }
.cta-bright__text { position: relative; z-index: 1; }
.cta-bright__arrow {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(8,8,15,.15);
  color: #08080f;
  transition: transform .25s;
}
.cta-bright:hover .cta-bright__arrow { transform: translateX(4px); }

.cta-bright::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg);
  animation: ctaShine 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(0,255,136,.35), 0 0 0 1px rgba(0,255,136,.6) inset; }
  50%      { box-shadow: 0 14px 40px rgba(0,255,136,.55), 0 0 0 1px rgba(0,255,136,.9) inset; }
}
@keyframes ctaShine {
  0%   { left: -60%; }
  60%  { left: 120%; }
  100% { left: 120%; }
}

.cta-points {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cta-points li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: #c0c0d4;
}
.cta-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #00ff88 30%, transparent 70%);
  box-shadow: 0 0 8px rgba(0,255,136,.9);
}

/* ---------- СУТЬ ---------- */
.donate-pitch { margin: 56px 0; }
.donate-pitch h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: #fff;
  margin: 0 0 14px;
}
.donate-pitch__lead {
  font-size: 16px;
  line-height: 1.7;
  color: #c8c8d8;
  margin: 0 0 28px;
  max-width: 820px;
}
.donate-pitch__lead b { color: var(--accent); font-weight: 600; }

.donate-pitch__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pitch-step {
  position: relative;
  padding: 22px 18px 22px;
  border-radius: 14px;
  background: rgba(14,14,26,.65);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.pitch-step:hover {
  border-color: rgba(0,255,136,.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,255,136,.12);
}
.pitch-step__num {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00ff88, #00e5ff);
  color: #08080f;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 6px;
}
.pitch-step__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.pitch-step__desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ---------- ПЛИТКИ ---------- */
.donate-tiles { margin: 56px 0; }
.donate-tiles h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: #fff;
  margin: 0 0 22px;
}

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.donate-tile {
  padding: 24px 22px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(20,20,42,.7), rgba(14,14,26,.7));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .3s;
  animation: tileIn .6s cubic-bezier(.2,.7,.3,1) both;
  animation-delay: var(--d, 0ms);
}
.donate-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% -20%, rgba(0,255,136,.18), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.donate-tile:hover {
  border-color: rgba(0,255,136,.55);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,255,136,.15);
}
.donate-tile:hover::before { opacity: 1; }

.donate-tile__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,255,136,.15), rgba(0,229,255,.15));
  border: 1px solid rgba(0,255,136,.35);
  color: #00ff88;
  margin-bottom: 14px;
  box-shadow: 0 0 20px rgba(0,255,136,.2);
  transition: transform .25s, box-shadow .3s;
}
.donate-tile:hover .donate-tile__icon {
  transform: scale(1.05);
  box-shadow: 0 0 28px rgba(0,255,136,.45);
}

.donate-tile h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  position: relative;
  z-index: 1;
}
.donate-tile p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #c0c0d4;
  margin: 0;
  position: relative;
  z-index: 1;
}

@keyframes tileIn {
  0%   { opacity: 0; transform: translateY(24px) scale(.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- ФИНАЛЬНЫЙ CTA ---------- */
.donate-final {
  margin: 56px 0 20px;
  padding: 40px 32px;
  border-radius: 18px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 100% at 50% 0%, rgba(0,255,136,.14), transparent 70%),
    rgba(14,14,26,.7);
  border: 1px solid rgba(0,255,136,.25);
  box-shadow: 0 0 60px rgba(0,255,136,.08) inset;
}
.donate-final h2 {
  font-family: var(--font-display);
  font-size: 26px;
  margin: 0 0 12px;
  color: #fff;
}
.donate-final p {
  color: #c0c0d4;
  margin: 0 0 24px;
  font-size: 15px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- АДАПТИВ ---------- */
@media (max-width: 900px) {
  .donate-hero { grid-template-columns: 1fr; gap: 20px; }
  .donate-pitch__steps { grid-template-columns: repeat(2, 1fr); }
  .tiles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .donate-pitch__steps { grid-template-columns: 1fr; }
  .tiles-grid { grid-template-columns: 1fr; }
  .donate-final { padding: 28px 20px; }
  .cta-bright { padding: 16px 18px; font-size: 15px; }
}

/* =========================================================
   FAQ на странице доната
   ========================================================= */
.donate-faq {
  margin: 56px 0;
}
.donate-faq h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: #fff;
  margin: 0 0 6px;
}
.donate-faq__hint {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  margin: 0 0 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------- Каждый вопрос ---------- */
.faq-item {
  background: rgba(14,14,26,.65);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .25s, box-shadow .3s, transform .25s;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.faq-item[open] {
  border-color: rgba(0,255,136,.35);
  box-shadow: 0 0 24px rgba(0,255,136,.08);
}
.faq-item:hover {
  border-color: rgba(0,255,136,.3);
}

/* ---------- Заголовок (кнопка) ---------- */
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  transition: color .2s, background .2s;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover {
  color: var(--accent);
  background: rgba(0,255,136,.04);
}
.faq-item[open] summary {
  color: var(--accent);
}

.faq-chev {
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform .3s ease, color .25s;
}
.faq-item[open] .faq-chev {
  transform: rotate(180deg);
  color: var(--accent);
}

/* ---------- Ответ ---------- */
.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: #c0c0d4;
  animation: faqIn .3s ease;
}
.faq-item p b { color: #fff; font-weight: 600; }
.faq-item p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-item p a:hover { color: #fff; }

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

/* ---------- Мобильный ---------- */
@media (max-width: 720px) {
  .faq-item summary { padding: 15px 18px; font-size: 15px; }
  .faq-item p       { padding: 0 18px 18px; font-size: 13.5px; }
  .donate-faq h2    { font-size: 20px; }
}