/* Slowlane — студийный лендинг. Тёмная премиальная «dusk / golden hour» эстетика.
   Без фреймворков: системные CSS-переменные, fluid-типографика (clamp), grid,
   glassmorphism, scroll-reveal. Грузится мгновенно — это часть позиционирования. */

:root {
  /* Палитра: глубокие сумерки + тёплый закатный свет «медленной полосы» */
  --bg:        #08080d;
  --bg-2:      #0d0c15;
  --ink:       #f5f2ea;
  --muted:     #a8a4b6;
  --muted-2:   #6f6b80;
  --violet:    #8b6dff;
  --indigo:    #4f3dff;
  --amber:     #ffb86b;
  --peach:     #ff8d6e;
  --mint:      #6ee7b7;
  --card:      rgba(255, 255, 255, 0.035);
  --card-2:    rgba(255, 255, 255, 0.06);
  --border:    rgba(255, 255, 255, 0.09);
  --border-2:  rgba(255, 255, 255, 0.16);
  --radius:    20px;
  --radius-lg: 32px;
  --maxw:      1140px;
  --shadow:    0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --grad-warm: linear-gradient(100deg, var(--amber), var(--peach) 45%, var(--violet));
  --grad-cool: linear-gradient(135deg, var(--violet), var(--indigo));
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: clamp(15px, 1.05vw + 12px, 18px);
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Фоновое сияние: закатный градиент-меш + лёгкое зерно */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 80% -10%, rgba(139, 109, 255, 0.28), transparent 70%),
    radial-gradient(50% 40% at 10% 0%, rgba(79, 61, 255, 0.20), transparent 70%),
    radial-gradient(80% 60% at 50% 110%, rgba(255, 141, 110, 0.16), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }

/* ── Типографика ─────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: "Unbounded", "Manrope", sans-serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.display { font-size: clamp(2.6rem, 7.2vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); letter-spacing: -0.02em; }

.grad-text {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  backdrop-filter: blur(8px);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.3rem); max-width: 46ch; }

/* ── Кнопки ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 26px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  color: #1a1024;
  background: var(--grad-warm);
  box-shadow: 0 12px 30px -8px rgba(255, 141, 110, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -10px rgba(255, 141, 110, 0.6); }
.btn-ghost {
  color: var(--ink);
  background: var(--card);
  border-color: var(--border-2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--card-2); transform: translateY(-2px); }
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ── Хедер ───────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(8, 8, 13, 0.8), rgba(8, 8, 13, 0.35));
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand .logo { width: 30px; height: 30px; }
.brand b { font-family: "Unbounded", sans-serif; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 10px 18px; font-size: 0.92rem; }
@media (max-width: 760px) { .nav-links .hide-sm { display: none; } }

/* ── Hero ────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(70px, 12vh, 130px) 0 clamp(60px, 9vh, 100px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 5vw, 70px); align-items: center; }
.hero h1 { margin: 22px 0 24px; }
.hero .lead { margin-bottom: 34px; max-width: 38ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 22px; color: var(--muted-2); font-size: 0.9rem; display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note .ok { color: var(--mint); font-weight: 700; }

/* Визуал: «закатный диск» + плавающая карточка игры */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.orb {
  position: absolute;
  width: min(420px, 85%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--violet), var(--indigo), var(--peach), var(--amber), var(--violet));
  filter: blur(38px);
  opacity: 0.55;
  animation: spin 26s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }

/* CSS-макет доски combo (без картинок) */
.board-card {
  position: relative;
  width: min(330px, 82%);
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(20, 18, 32, 0.9), rgba(12, 11, 20, 0.92));
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(-8px); } 50% { transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .board-card { animation: none; } }
.board-card .bc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.board-card .bc-coin { color: var(--amber); font-weight: 800; }
.board {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
}
.gem {
  aspect-ratio: 1;
  border-radius: 11px;
  background: var(--g, #333);
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.45), inset 0 -6px 10px rgba(0, 0, 0, 0.35);
  position: relative;
}
.gem::after {
  content: "";
  position: absolute;
  inset: 18% 50% 55% 18%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  filter: blur(1px);
}
.gem.pop { animation: pop 2.4s var(--ease) infinite; }
@keyframes pop { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.16); } 90% { transform: scale(0.94); } }
@media (prefers-reduced-motion: reduce) { .gem.pop { animation: none; } }
.g-ruby   { --g: radial-gradient(circle at 35% 30%, #ff9aa6, #e21d4c 70%); }
.g-amber  { --g: radial-gradient(circle at 35% 30%, #ffe0a3, #ff9e2c 70%); }
.g-emer   { --g: radial-gradient(circle at 35% 30%, #b6ffd9, #18c47a 70%); }
.g-sapph  { --g: radial-gradient(circle at 35% 30%, #aecbff, #2b6bff 70%); }
.g-amethy { --g: radial-gradient(circle at 35% 30%, #e0c0ff, #9b4dff 70%); }
.g-topaz  { --g: radial-gradient(circle at 35% 30%, #fff0b3, #ffd23f 70%); }

/* Hero glass-card: манифест ИИ (не скриншот игры) */
.glass-quote { text-align: left; }
.gq-badge {
  display: inline-block;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--amber);
  border: 1px solid rgba(255, 184, 107, 0.35);
  border-radius: 999px;
  padding: 7px 15px;
  margin-bottom: 18px;
}
.gq-text { font-size: 1.18rem; line-height: 1.5; margin-bottom: 12px; }
.gq-sub { color: var(--muted); font-size: 0.96rem; }

/* Брендовый тайл вместо фейкового скриншота игры */
.brand-tile {
  position: relative;
  width: min(330px, 82%);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-2);
  background: linear-gradient(160deg, rgba(20, 18, 32, 0.92), rgba(12, 11, 20, 0.95));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.brand-tile::before {
  content: "";
  position: absolute;
  width: 75%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--violet), var(--indigo), var(--peach), var(--amber), var(--violet));
  filter: blur(34px);
  opacity: 0.5;
  animation: spin 26s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .brand-tile::before { animation: none; } }
.bt-word {
  position: relative;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 3.2rem);
  letter-spacing: -0.02em;
}

/* ── Бейдж-статы под hero ────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(50px, 7vh, 80px); }
.stat {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  backdrop-filter: blur(8px);
}
.stat .big { font-family: "Unbounded", sans-serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; line-height: 1; }
.stat .lbl { color: var(--muted); margin-top: 10px; font-size: 0.92rem; }

/* ── Секции ──────────────────────────────────────────────────── */
section { position: relative; }
.section-pad { padding: clamp(70px, 11vh, 130px) 0; }
.section-head { max-width: 620px; margin-bottom: clamp(40px, 6vh, 64px); }
.section-head h2 { margin: 18px 0 18px; }

/* Проблема → решение */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.panel {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.panel.problem { background: linear-gradient(160deg, rgba(40, 16, 24, 0.5), rgba(20, 12, 18, 0.4)); }
.panel.solution { background: linear-gradient(160deg, rgba(20, 28, 40, 0.5), rgba(14, 20, 30, 0.4)); border-color: var(--border-2); }
.panel .tag { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.panel.problem .tag { color: var(--peach); }
.panel.solution .tag { color: var(--mint); }
.panel h3 { margin: 16px 0 14px; }
.panel p { color: var(--muted); }

/* Принципы */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.feature:hover { transform: translateY(-5px); border-color: var(--border-2); background: var(--card-2); }
.feature .ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--grad-cool);
  font-size: 1.3rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px -6px rgba(79, 61, 255, 0.5);
}
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 0.96rem; }

/* Игра */
.game {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-2);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(139, 109, 255, 0.16), transparent 60%),
    linear-gradient(160deg, rgba(18, 16, 28, 0.7), rgba(10, 9, 16, 0.7));
  box-shadow: var(--shadow);
}
.game .badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber);
  padding: 6px 13px;
  border: 1px solid rgba(255, 184, 107, 0.35);
  border-radius: 999px;
  margin-bottom: 20px;
}
.game h2 { margin-bottom: 16px; }
.game p { color: var(--muted); margin-bottom: 14px; }
.game .meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.game .chip { font-size: 0.85rem; padding: 7px 13px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--border); color: var(--muted); }
.game-visual { display: grid; place-items: center; }

/* Финальный CTA */
.cta-band {
  text-align: center;
  padding: clamp(56px, 9vw, 96px) clamp(24px, 5vw, 60px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-2);
  background:
    radial-gradient(70% 140% at 50% 0%, rgba(255, 141, 110, 0.18), transparent 60%),
    linear-gradient(160deg, rgba(20, 16, 30, 0.8), rgba(10, 9, 16, 0.85));
}
.cta-band h2 { margin-bottom: 18px; }
.cta-band .lead { margin: 0 auto 32px; }
.cta-band .hero-cta { justify-content: center; }

/* ── Футер ───────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); margin-top: clamp(40px, 6vh, 80px); padding: clamp(50px, 7vh, 80px) 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p { color: var(--muted); font-size: 0.95rem; max-width: 32ch; }
.foot-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); margin-bottom: 16px; font-weight: 700; }
.foot-col a, .foot-col span { display: block; color: var(--muted); font-size: 0.95rem; margin-bottom: 11px; transition: color 0.2s; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom {
  margin-top: clamp(36px, 5vh, 56px);
  padding-top: 26px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted-2);
  font-size: 0.85rem;
}
.foot-bottom .req { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ── Scroll-reveal ───────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Адаптив ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 320px; }
  .split { grid-template-columns: 1fr; }
  .game { grid-template-columns: 1fr; }
  .game-visual { order: -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
