/* ════════════════════════════════════════════════════════════════
   IN REAL LIFE — $IRL · cozy low-poly room aesthetic
   палитра: тёплое дерево + крем-стены + CRT-бирюза + жёлтая кровать
   ════════════════════════════════════════════════════════════════ */

:root {
  --ink: #241812;
  --ink-soft: #3a2417;
  --wood-1: #2b1a10;
  --wood-2: #1a100a;
  --wood-3: #150d07;
  --cream: #f1e7d6;
  --paper: #faf3e4;
  --paper-2: #efe3cc;
  /* Палитра: два бренд-акцента + два рыночных.
     Всё декоративное — только teal/yellow; green/red означают рост/падение,
     выигрыш/проигрыш. Пятый (orange) живёт лишь как 4-й цвет данных,
     чтобы четыре полосы факторов различались. */
  --teal: #2ec4b6;
  --teal-dark: #1d9a8f;
  --yellow: #ffc21a;
  --red: #e6402e;
  --green: #46b94f;
  --pump: #52d273;
  --orange: #ff8f2e;
  /* legacy-алиасы: старые ссылки ведут на выжившие акценты */
  --purple: var(--teal);
  --blue: var(--teal);
  --pink: var(--orange);
  /* заголовки: Titan One (пухлый «игровой», вайб itch.io) — правка менеджера 18.08;
     Finger Paint остаётся fallback'ом и живёт в старых рендерах (og.png и т.п.) */
  --f-paint: 'Titan One', 'Finger Paint', 'Nunito', cursive;
  --f-body: 'Nunito', 'Segoe UI', sans-serif;
  --f-pix: 'Press Start 2P', monospace;
  /* UI-хром на том же Titan One, что и заголовки (18.08): один шрифт — один голос.
     Luckiest Guy остаётся fallback'ом. */
  --f-arc: 'Titan One', 'Luckiest Guy', cursive;
  /* Острые углы — приём, а не отсутствие скруглений. Держим его на одном
     языке теней: карточка «напечатана» с жёстким офсетом, на hover офсет
     растёт (лист приподняли), на active — схлопывается (вдавили). */
  --hand: 0;
  --shadow-card: 7px 7px 0 rgba(15, 8, 4, .35);
  --shadow-lift: 12px 12px 0 rgba(15, 8, 4, .45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* повёрнутые ленты и параллакс-фон шире вьюпорта: без клипа на html
   страница получает горизонтальный скролл на телефоне */
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--f-body);
  background: var(--wood-2);
  color: var(--cream);
  overflow-x: hidden;
  line-height: 1.55;
}

/* зерно плёнки поверх всего — уютный шум */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

::selection { background: var(--yellow); color: var(--ink); }

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--wood-3); }
::-webkit-scrollbar-thumb { background: var(--ink-soft); border-radius: 0; border: 2px solid var(--wood-3); }
::-webkit-scrollbar-thumb:hover { background: #57381f; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.ic { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

img { max-width: 100%; }

/* ── типографика ─────────────────────────────────────────────── */

.h2 {
  font-family: var(--f-paint);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  letter-spacing: .02em;
  text-align: center;
  color: #fff;
  -webkit-text-stroke: 10px var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 8px 0 rgba(0, 0, 0, .25);
  margin-bottom: 18px;
  line-height: 1.08;
}

.h2--ink { text-shadow: 0 6px 0 rgba(36, 24, 18, .18); }

.h3 {
  font-family: var(--f-paint);
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-align: center;
  color: #fff;
  -webkit-text-stroke: 7px var(--ink);
  paint-order: stroke fill;
  margin: 64px 0 26px;
}

.kicker {
  font-family: var(--f-arc);
  font-size: .86rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--teal-dark);
  margin-bottom: 18px;
}

.kicker--warm { color: var(--yellow); }

.sub {
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto 48px;
}

.sub--light { color: rgba(241, 231, 214, .82); }

.formula {
  display: inline-block;
  font-family: var(--f-pix);
  font-size: .78rem;
  background: var(--ink);
  color: var(--teal);
  padding: 10px 18px;
  border-radius: 0;
  margin-top: 10px;
  box-shadow: inset 0 0 0 2px rgba(46, 196, 182, .25), 0 4px 0 rgba(0, 0, 0, .3);
}

.hl { padding: 0 .18em; border-radius: 0; }
.hl--teal { background: linear-gradient(104deg, transparent 4%, rgba(46, 196, 182, .45) 5% 95%, transparent 96%); }

/* ── кнопки ──────────────────────────────────────────────────── */

/* аркадные кнопки: прямые углы, жёсткая офсетная тень-блок, пиксель-шрифт */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-arc);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 22px 10px;
  border: 3px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  transition: transform .12s ease-out, box-shadow .12s ease-out;
  box-shadow: 5px 5px 0 var(--ink);
  position: relative;
}

.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--ink); }

.btn--pump { background: var(--pump); }
.btn--pump:hover { background: #74e393; }
.btn--play { background: var(--teal); }
.btn--play:hover { background: #6ce4d8; }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--cream); box-shadow: 5px 5px 0 rgba(241, 231, 214, .35); }
.btn--ghost:hover { background: rgba(241, 231, 214, .12); box-shadow: 7px 7px 0 rgba(241, 231, 214, .35); }
.btn--ghost:active { box-shadow: 1px 1px 0 rgba(241, 231, 214, .35); }
.btn--big { font-size: 1.15rem; padding: 18px 28px 13px; }

/* ── навбар ──────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 28px;
  transition: background .35s, box-shadow .35s, padding .35s;
}

.nav.scrolled {
  background: rgba(21, 13, 7, .9);
  backdrop-filter: blur(10px);
  box-shadow: 0 3px 0 var(--ink), 0 12px 30px rgba(0, 0, 0, .4);
  padding: 9px 28px;
}

.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__logo { width: 42px; filter: drop-shadow(0 0 8px rgba(46, 196, 182, .55)); transition: transform .3s; }
.nav__brand:hover .nav__logo { transform: rotate(-6deg) scale(1.08); }

.nav__title {
  font-family: var(--f-paint);
  font-size: 1.05rem;
  color: #fff;
  -webkit-text-stroke: 5px var(--ink);
  paint-order: stroke fill;
  letter-spacing: .04em;
  white-space: nowrap;
}

.nav__links { display: flex; gap: 2px; margin-left: auto; }

/* узкий десктоп: название бренда съедало место и наезжало на меню */
@media (max-width: 1240px) {
  .nav { gap: 16px; padding-inline: 18px; }
  .nav__title { display: none; }
}

.nav__links a {
  position: relative;
  color: var(--cream);
  text-decoration: none;
  font-family: var(--f-arc);
  font-size: .82rem;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: .02em;
  white-space: nowrap;          /* семь пунктов не должны ломаться на две строки */
  padding: 7px 9px 4px;
  border-radius: 0;
  transition: color .2s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 3px;
  background: var(--yellow);
  border-radius: 0;
  transform: scaleX(0) rotate(-1deg);
  transform-origin: left;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}

.nav__links a:hover { color: var(--yellow); }
.nav__links a:hover::after { transform: scaleX(1) rotate(-1deg); }

.nav__cta { font-size: .9rem; padding: 9px 18px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav__burger span { width: 26px; height: 4px; background: var(--cream); border-radius: 0; transition: transform .3s, opacity .3s; }
.nav__burger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ── герой ───────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  /* верхний отступ держит парящий CRT ниже фиксированного навбара.
     Запас нужен с ~40px форой: анимация bob поднимает монитор на 14px,
     а параллакс от мыши (data-parallax="18") — ещё на 8px. */
  padding: 132px 20px 90px;
}

.hero__bg {
  position: absolute;
  inset: -4%;
  /* фон — 3D-рендер комнаты из самой игры (Kenney furniture kit, CC0):
     тёплая подложка под прозрачные края рендера + сам рендер */
  background:
    url('../assets/img/room.png') center 38% / cover no-repeat,
    radial-gradient(ellipse 120% 90% at 50% 30%, #4a2f1a 0%, #2b1a0e 60%, #1c110a 100%);
  filter: blur(2.5px) brightness(.86) saturate(1.1);
  animation: kenburns 26s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.09) translateY(-1.5%); }
}

.hero__grad {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 62% at 50% 40%, rgba(20, 11, 5, .38) 0%, rgba(20, 11, 5, .66) 70%, rgba(20, 11, 5, .84) 100%),
    linear-gradient(180deg, rgba(20, 11, 5, .55) 0%, transparent 22%, transparent 62%, var(--wood-2) 98%);
}

.hero__dust { position: absolute; inset: 0; pointer-events: none; }

.hero__dust i {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 226, 160, .9), rgba(255, 226, 160, 0) 70%);
  animation: dust 12s linear infinite;
  opacity: 0;
}

.hero__dust i:nth-child(1)  { left: 8%;  top: 78%; animation-delay: 0s;   animation-duration: 13s; }
.hero__dust i:nth-child(2)  { left: 16%; top: 88%; animation-delay: 2.2s; animation-duration: 11s; }
.hero__dust i:nth-child(3)  { left: 26%; top: 82%; animation-delay: 4.5s; animation-duration: 15s; }
.hero__dust i:nth-child(4)  { left: 35%; top: 92%; animation-delay: 1.1s; animation-duration: 10s; }
.hero__dust i:nth-child(5)  { left: 47%; top: 86%; animation-delay: 6s;   animation-duration: 14s; }
.hero__dust i:nth-child(6)  { left: 55%; top: 90%; animation-delay: 3.4s; animation-duration: 12s; }
.hero__dust i:nth-child(7)  { left: 64%; top: 80%; animation-delay: 7.7s; animation-duration: 16s; }
.hero__dust i:nth-child(8)  { left: 72%; top: 94%; animation-delay: .8s;  animation-duration: 11s; }
.hero__dust i:nth-child(9)  { left: 81%; top: 84%; animation-delay: 5.2s; animation-duration: 13s; }
.hero__dust i:nth-child(10) { left: 89%; top: 88%; animation-delay: 2.9s; animation-duration: 15s; }
.hero__dust i:nth-child(11) { left: 40%; top: 96%; animation-delay: 8.8s; animation-duration: 12s; }
.hero__dust i:nth-child(12) { left: 94%; top: 92%; animation-delay: 6.6s; animation-duration: 14s; }

@keyframes dust {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  12% { opacity: .8; }
  85% { opacity: .25; }
  100% { transform: translateY(-72vh) translateX(4vw); opacity: 0; }
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__crt {
  width: clamp(96px, 14vw, 150px);
  margin-bottom: 6px;
  filter: drop-shadow(0 0 22px rgba(46, 196, 182, .6)) drop-shadow(0 10px 12px rgba(0, 0, 0, .5));
  animation: bob 4.2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

.hero__title {
  font-family: var(--f-paint);
  font-weight: 400;
  font-size: clamp(3.2rem, 11vw, 8rem);
  line-height: .96;
  color: #fff;
  -webkit-text-stroke: 12px var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 10px 0 rgba(0, 0, 0, .3);
  margin: 6px 0 22px;
}

.hero__line { display: block; }
.hero__line b {
  display: inline-block;
  font-weight: 400;
  opacity: 0;
  transform: translateY(-60px) rotate(8deg) scale(.6);
  animation: letterDrop .65s cubic-bezier(.22, 1.6, .36, 1) forwards;
  animation-delay: calc(var(--i) * 75ms + .25s);
  margin: 0 .015em;
}

.hero__line b:nth-child(odd) { rotate: -2.5deg; }
.hero__line b:nth-child(even) { rotate: 2deg; }

@keyframes letterDrop {
  60% { opacity: 1; transform: translateY(6px) rotate(-3deg) scale(1.06); }
  100% { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}

.hero__tag {
  font-size: clamp(1.02rem, 2.4vw, 1.3rem);
  font-weight: 600;
  color: var(--cream);
  text-shadow: 0 2px 6px rgba(0, 0, 0, .8);
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeUp .8s ease forwards 1.5s;
}

.hero__tag em { font-style: normal; color: var(--yellow); font-weight: 800; }
.hero__tag b { color: var(--teal); }

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp .8s ease forwards 1.75s;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* HUD-панель факторов */
.hud {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 200px));
  gap: 14px;
  margin-top: 46px;
  opacity: 0;
  animation: fadeUp .8s ease forwards 2s;
}

.hud__item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(18, 10, 5, .72);
  backdrop-filter: blur(6px);
  border: 2px solid rgba(241, 231, 214, .14);
  border-radius: 0;
  padding: 10px 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}

.hud__item > .ic { color: var(--c); width: 1.5em; height: 1.5em; filter: drop-shadow(0 0 6px var(--c)); }

.hud__meta { flex: 1; min-width: 0; }

.hud__name {
  display: block;
  font-family: var(--f-pix);
  font-size: .5rem;
  letter-spacing: .1em;
  color: rgba(241, 231, 214, .75);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.hud__bar {
  height: 8px;
  background: rgba(241, 231, 214, .12);
  border-radius: 0;
  overflow: hidden;
}

.hud__bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 0;
  background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 60%, #fff));
  box-shadow: 0 0 8px var(--c);
  transition: width 1.4s cubic-bezier(.22, 1, .36, 1);
}

.hud__val { font-family: var(--f-pix); font-size: .72rem; color: var(--c); min-width: 2.2em; text-align: right; }

.hero__scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  color: rgba(241, 231, 214, .7);
  z-index: 2;
  transition: color .2s;
}

.hero__scroll:hover { color: var(--yellow); }
.mouse { width: 24px; }
.mouse__dot { animation: mouseDot 1.8s ease-in-out infinite; }

@keyframes mouseDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  55% { transform: translateY(14px); opacity: .2; }
}

/* ── бегущие ленты ───────────────────────────────────────────── */

.tape {
  overflow: hidden;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  position: relative;
  z-index: 5;
  white-space: nowrap;
}

.tape--a {
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--f-paint);
  font-size: 1.5rem;
  transform: rotate(-1.1deg) scale(1.02);
  margin-top: -22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.tape--b {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-arc);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: .07em;
  transform: rotate(.7deg) scale(1.02);
  margin: -8px 0 -14px;
}

.tape__track { display: inline-flex; padding: 10px 0; animation: tape 26s linear infinite; }
.tape__track--rev { animation: tapeRev 30s linear infinite; }
.tape:hover .tape__track { animation-play-state: paused; }

@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tapeRev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ── секции-«стены» (крем + деревянная панель снизу) ─────────── */

.wall {
  position: relative;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(255, 244, 214, .55), transparent 60%),
    var(--cream);
  color: var(--ink);
  padding: 96px 0 150px;
}

.wall--alt {
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(255, 250, 232, .6), transparent 60%),
    var(--paper-2);
}

.wall__wainscot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 64px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .25), transparent 30%),
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(0, 0, 0, .18) 118px 121px),
    linear-gradient(180deg, #6b4529, #503117);
  border-top: 4px solid var(--ink);
}

.wall .kicker { color: #a0642e; }

/* ── секции-«комнаты» (тёмный деревянный пол) ────────────────── */

.room {
  position: relative;
  padding: 96px 0 110px;
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(255, 176, 82, .07), transparent 65%),
    repeating-linear-gradient(90deg, transparent 0 138px, rgba(0, 0, 0, .22) 138px 141px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .012) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, var(--wood-1), var(--wood-2) 70%);
}

/* ── манифест ────────────────────────────────────────────────── */

.mani {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.mani__mark { width: 44px; color: var(--teal); margin-bottom: 14px; }

.mani__quote p:first-of-type {
  font-family: var(--f-arc);
  font-size: clamp(1.35rem, 2.9vw, 2rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .015em;
  margin-bottom: 20px;
}

.mani__small { color: rgba(36, 24, 18, .75); font-size: 1.02rem; }

.mani__cards { display: flex; flex-direction: column; gap: 22px; }

.sticker {
  position: relative;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 0;
  box-shadow: var(--shadow-card);
  padding: 22px 24px 20px 74px;
  rotate: var(--rot, 0deg);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), rotate .3s, box-shadow .3s;
}

.sticker:hover { rotate: 0deg; transform: translate(-3px, -5px) scale(1.02); box-shadow: var(--shadow-lift); }

.sticker__ic {
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%) rotate(-6deg);
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c);
  color: #fff;
  border: 3px solid var(--ink);
  border-radius: 0;
  box-shadow: 3px 3px 0 rgba(36, 24, 18, .25);
}

.sticker h3 { font-family: var(--f-arc); font-size: 1.02rem; font-weight: 400; letter-spacing: .02em; margin-bottom: 4px; }
.sticker p { font-size: .95rem; color: rgba(36, 24, 18, .78); }

/* ── один день IRL ───────────────────────────────────────────── */

.day {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
  margin-top: 58px;
}

.day::before {
  content: '';
  position: absolute;
  top: 26px; left: 6%; right: 6%;
  border-top: 4px dashed rgba(241, 231, 214, .22);
  z-index: 0;
}

.day__step {
  position: relative;
  z-index: 1;
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 0;
  box-shadow: var(--shadow-card);
  padding: 30px 18px 20px;
  text-align: center;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s;
}

.day__step:nth-child(odd) { rotate: -1.1deg; }
.day__step:nth-child(even) { rotate: 1deg; }
.day__step:hover { transform: translate(-5px, -8px); rotate: 0deg; box-shadow: var(--shadow-lift); }

.day__step--key {
  background: linear-gradient(180deg, #eafffb, var(--paper) 55%);
  box-shadow: 0 0 0 4px rgba(46, 196, 182, .35), var(--shadow-card);
}

.day__num {
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-paint);
  font-size: 1.15rem;
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 0;
  box-shadow: 2px 3px 0 rgba(36, 24, 18, .3);
}

.day__ic {
  display: inline-flex;
  width: 62px; height: 62px;
  align-items: center;
  justify-content: center;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 14%, #fff);
  border: 3px solid var(--ink);
  border-radius: 0;
  margin-bottom: 12px;
}

.day__ic .ic { width: 2em; height: 2em; }

.day__step h3 { font-family: var(--f-arc); font-size: .95rem; font-weight: 400; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 6px; }
.day__step p { font-size: .88rem; color: rgba(36, 24, 18, .75); margin-bottom: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }

.chip {
  font-size: .72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 0;
  border: 2px solid var(--ink);
}

.chip--up { background: #d9f2db; color: #1d6b28; }
.chip--warn { background: #ffe3c4; color: #9a4b00; }
.chip--key { background: #d3f6f1; color: #0e6a61; }

/* пуш-уведомление */
.push {
  display: grid;
  grid-template-columns: minmax(300px, 420px) 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 70px;
}

.push__phone {
  background: linear-gradient(160deg, #201510, #170e08);
  border: 3px solid var(--ink);
  border-radius: 0;
  padding: 42px 16px 20px;
  position: relative;
  box-shadow: var(--shadow-card), inset 0 0 0 2px rgba(241, 231, 214, .06);
}

.push__phone::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 9px;
  border-radius: 0;
  background: rgba(241, 231, 214, .12);
}

.push__notif {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(241, 231, 214, .96);
  color: var(--ink);
  border-radius: 0;
  padding: 13px 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
  opacity: 0;
  transform: translateY(-26px) scale(.94);
  transition: opacity .55s cubic-bezier(.22, 1.4, .36, 1), transform .55s cubic-bezier(.22, 1.4, .36, 1);
}

.push.in .push__notif { opacity: 1; transform: none; transition-delay: .45s; animation: notifBob 5s ease-in-out infinite 1.4s; }

@keyframes notifBob {
  0%, 100% { transform: translateY(0); }
  4% { transform: translateY(-5px) rotate(.6deg); }
  8% { transform: translateY(0); }
  12% { transform: translateY(-3px); }
  16% { transform: translateY(0); }
}

.push__ava {
  width: 40px; height: 40px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  border-radius: 0;
  border: 2px solid var(--ink);
}

.push__notif b { font-size: .86rem; }
.push__notif p { font-size: .88rem; line-height: 1.35; color: rgba(36, 24, 18, .85); }
.push__time { margin-left: auto; font-size: .72rem; color: rgba(36, 24, 18, .5); flex: none; }

.push__note { font-size: 1.05rem; color: rgba(241, 231, 214, .85); }
.push__note b { color: var(--yellow); }

/* ── казино-секция с колесом ─────────────────────────────────── */

.casino {
  position: relative;
  padding: 100px 0 110px;
  background:
    radial-gradient(ellipse 55% 42% at 28% 42%, rgba(46, 196, 182, .1), transparent 70%),
    radial-gradient(ellipse 50% 40% at 75% 65%, rgba(155, 93, 229, .09), transparent 70%),
    linear-gradient(180deg, var(--wood-2), #120a05 60%, var(--wood-2));
}

.wheelzone {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: center;
  margin-top: 20px;
}

.wheel-wrap {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
}

.wheel-wrap::before {
  content: '';
  position: absolute;
  inset: -8%;
  background: radial-gradient(circle, rgba(46, 196, 182, .22), transparent 62%);
  animation: glowPulse 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

#wheelSvg { width: 100%; display: block; position: relative; z-index: 1; }

/* вращение колеса идёт через SVG-атрибут transform (см. main.js) —
   CSS-трансформы и transform-origin здесь не нужны */

.wheel__rim { stroke: var(--ink); stroke-width: 11; }
.wheel__seg { stroke: var(--ink); stroke-width: 2; }

.wheel__label {
  font-family: var(--f-pix);
  fill: #fff;
  paint-order: stroke fill;
  stroke: rgba(20, 11, 5, .55);
  stroke-width: 1.6;
  text-anchor: middle;
  dominant-baseline: middle;
}

.wheel__bulb { fill: #ffd76a; stroke: var(--ink); stroke-width: 1.4; animation: bulb 1.6s ease-in-out infinite; }
.wheel__bulb:nth-child(odd) { animation-delay: .8s; }

@keyframes bulb {
  0%, 100% { fill: #ffd76a; }
  50% { fill: #8a6b2a; }
}

.wheel__hubring { fill: var(--ink); stroke: var(--cream); stroke-width: 4; }

.wheel__hublogo {
  position: absolute;
  z-index: 2;
  left: 50%; top: 50%;
  width: 17%;
  transform: translate(-50%, -54%);
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(46, 196, 182, .8));
}

.wheel__pointer {
  position: absolute;
  z-index: 3;
  top: -3.2%; left: 50%;
  transform: translateX(-50%);
  width: 9.5%;
  filter: drop-shadow(0 5px 6px rgba(0, 0, 0, .5));
  transform-origin: 50% 12%;
}

.wheel__pointer.tick { animation: pointerTick .14s ease-out; }

@keyframes pointerTick {
  0% { transform: translateX(-50%) rotate(0); }
  40% { transform: translateX(-50%) rotate(-14deg); }
  100% { transform: translateX(-50%) rotate(0); }
}

/* ── лендинг-терминал (секция THE TERMINAL) ── */
.lterm {
  position: relative;
  background: linear-gradient(180deg, #10151c, #0a0e13);
  border: 3px solid var(--ink);
  border-radius: 0;
  box-shadow: 0 0 0 4px rgba(46, 196, 182, .22), 0 24px 50px rgba(0, 0, 0, .5);
  overflow: hidden;
}

.lterm__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 10px;
  color: var(--cream);
  font-weight: 800;
}

.lterm__head img { width: 28px; filter: drop-shadow(0 0 6px rgba(46, 196, 182, .6)); }

.lterm__feed {
  font-family: var(--f-pix);
  font-size: .5rem;
  color: #52d273;
  border: 2px solid rgba(82, 210, 115, .4);
  border-radius: 0;
  padding: 4px 8px;
  animation: feedBlink 1.6s steps(2) infinite;
}

@keyframes feedBlink { 50% { opacity: .55; } }

.lterm__price { margin-left: auto; font-family: var(--f-pix); font-size: .78rem; color: var(--yellow); }

#ltChart { display: block; width: 100%; height: 330px; }

.lterm__btns { display: flex; gap: 12px; }
.lterm__btns .btn--spin { flex: 1; font-size: 1.05rem; padding: 14px; }

.lterm__btns .btn--long { background: #3fbf60; box-shadow: 5px 5px 0 #1d6b28; color: var(--ink); }
.lterm__btns .btn--long:hover { background: #6fe08b; box-shadow: 7px 7px 0 #1d6b28; }
.lterm__btns .btn--long:active { box-shadow: 1px 1px 0 #1d6b28; }
.lterm__btns .btn--short { background: #f05540; box-shadow: 5px 5px 0 #8f1d10; color: var(--ink); }
.lterm__btns .btn--short:hover { background: #ff9384; box-shadow: 7px 7px 0 #8f1d10; }
.lterm__btns .btn--short:active { box-shadow: 1px 1px 0 #8f1d10; }

.wheel__result {
  margin-top: 22px;
  text-align: center;
  font-family: var(--f-pix);
  font-size: .82rem;
  min-height: 2.6em;
  color: rgba(241, 231, 214, .65);
  transition: color .3s;
}

.wheel__result.win { color: var(--green); animation: resultPop .5s cubic-bezier(.22, 1.6, .36, 1); }
.wheel__result.crazy { color: var(--purple); animation: resultPop .5s cubic-bezier(.22, 1.6, .36, 1); }
.wheel__result.loss { color: var(--red); animation: resultShake .5s ease; }

@keyframes resultPop {
  0% { transform: scale(.6); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

@keyframes resultShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-7px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-4px); }
}

/* панель управления факторами */
.panel {
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 0;
  box-shadow: var(--shadow-card);
  padding: 30px 30px 26px;
}

.panel__title {
  font-family: var(--f-arc);
  font-weight: 400;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 20px;
  text-align: center;
}

.fslider { display: block; margin-bottom: 16px; }

.fslider__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: .98rem;
  margin-bottom: 7px;
}

.fslider__head .ic { color: var(--c); width: 1.35em; height: 1.35em; }
.fslider__head b { margin-left: auto; font-family: var(--f-pix); font-size: .7rem; color: var(--c); -webkit-text-stroke: .4px var(--ink); }

.fslider input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 16px;
  border-radius: 0;
  border: 2px solid var(--ink);
  background: linear-gradient(90deg, var(--c) var(--fill, 50%), #e4d7bd var(--fill, 50%));
  outline: none;
  cursor: pointer;
}

.fslider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 27px; height: 27px;
  border-radius: 0;
  background: radial-gradient(circle at 35% 30%, #fff, var(--c) 60%);
  border: 3px solid var(--ink);
  box-shadow: 0 3px 0 rgba(36, 24, 18, .35);
  transition: transform .15s;
}

.fslider input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }

.fslider input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 0;
  background: var(--c);
  border: 3px solid var(--ink);
}

.panel__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0 16px;
}

.stat {
  background: var(--ink);
  border-radius: 0;
  padding: 13px 16px;
  text-align: center;
}

.stat__label { display: block; font-size: .72rem; font-weight: 700; color: rgba(241, 231, 214, .6); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.stat__value { font-family: var(--f-pix); font-size: 1.25rem; color: var(--teal); }
.stat__value--loss { color: var(--red); }

.endgame {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  background: linear-gradient(90deg, #ffe9ad, #ffd76a);
  border: 3px solid var(--ink);
  border-radius: 0;
  padding: 10px 14px;
  margin-bottom: 16px;
  animation: endgameGlow 1.6s ease-in-out infinite;
}

.endgame.on { display: flex; }
.endgame .ic { color: #a0642e; }

@keyframes endgameGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 194, 26, .6); }
  50% { box-shadow: 0 0 22px 4px rgba(255, 194, 26, .55); }
}

.btn--spin {
  width: 100%;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: .06em;
  padding: 17px 16px 12px;
  background: var(--red);
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .3);
}
.btn--spin:hover { background: #ff8462; }

.btn--spin:disabled { opacity: .55; cursor: wait; transform: none; }

.btn--spin .ic { animation: spinIcon 3s linear infinite; }

@keyframes spinIcon { to { transform: rotate(360deg); } }

.panel__vrf {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .84rem;
  color: rgba(36, 24, 18, .72);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px dashed rgba(36, 24, 18, .25);
}

.panel__vrf .ic { color: var(--purple); width: 1.6em; height: 1.6em; flex: none; }

.wheel-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 46px;
}

.lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: .88rem;
  color: var(--cream);
  background: rgba(241, 231, 214, .07);
  border: 2px solid rgba(241, 231, 214, .18);
  padding: 6px 14px;
  border-radius: 0;
}

.lg::before {
  content: '';
  width: 13px; height: 13px;
  border-radius: 0;
  background: var(--c);
  border: 2px solid var(--ink);
  box-shadow: 0 0 8px var(--c);
}

/* ── факторы ─────────────────────────────────────────────────── */

.factors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.fcard {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 0;
  box-shadow: var(--shadow-card);
  padding: 28px 22px 22px;
  text-align: center;
  rotate: var(--rot);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), rotate .3s, box-shadow .3s;
}

.fcard:hover { rotate: 0deg; transform: translate(-4px, -6px) scale(1.03); box-shadow: var(--shadow-lift); }

.fcard__ic {
  width: 3.4em; height: 3.4em;
  color: #fff;
  background: var(--c);
  border: 3px solid var(--ink);
  border-radius: 0;
  padding: .68em;
  margin-bottom: 14px;
  box-shadow: 3px 4px 0 rgba(36, 24, 18, .22);
}

.fcard h3 { font-family: var(--f-arc); font-size: 1.05rem; font-weight: 400; text-transform: uppercase; letter-spacing: .02em; }

.fcard__type {
  display: inline-block;
  font-family: var(--f-arc);
  font-size: .64rem;
  letter-spacing: .08em;
  color: rgba(36, 24, 18, .55);
  margin: 6px 0 14px;
}

.fcard__up, .fcard__down { font-size: .88rem; font-weight: 700; }
.fcard__up { color: #1d6b28; margin-bottom: 4px; }
.fcard__down { color: #a12318; }

.formula-note { text-align: center; margin-top: 52px; }
.formula--big { font-size: clamp(.62rem, 1.6vw, .85rem); }
.formula-note__sub { display: block; margin-top: 12px; font-size: .9rem; color: rgba(36, 24, 18, .6); }

/* ── токеномика ──────────────────────────────────────────────── */

.duo {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 26px;
  align-items: stretch;
}

.coin-card {
  border: 3px solid var(--ink);
  border-radius: 0;
  box-shadow: var(--shadow-card);
  padding: 28px 28px 24px;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.coin-card:hover { transform: translateY(-6px); }

.coin-card--hard {
  background: linear-gradient(165deg, #0f2b28, #132320);
  color: var(--cream);
  box-shadow: 0 0 0 4px rgba(46, 196, 182, .25), var(--shadow-card);
}

.coin-card--hard .coin-card__head .ic { color: var(--teal); }

.coin-card--soft { background: var(--paper); color: var(--ink); }
.coin-card--soft .coin-card__head .ic { color: var(--yellow); }

.coin-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px dashed currentColor;
}

.coin-card__head .ic { width: 2.4em; height: 2.4em; filter: drop-shadow(0 0 8px currentColor); }

.coin-card__head h3 { font-family: var(--f-arc); font-weight: 400; font-size: 1.5rem; letter-spacing: .03em; }
.coin-card__head h3 small { font-weight: 400; }
.coin-card__head small { display: block; font-size: .55rem; opacity: .55; margin-top: 6px; letter-spacing: .2em; text-transform: uppercase; }

.coin-card ul { list-style: none; }
.coin-card li { font-size: .93rem; padding: 8px 0; border-bottom: 1px dotted rgba(128, 118, 100, .35); }
.coin-card li:last-child { border-bottom: none; }
.coin-card--hard li b { color: var(--teal); }
.coin-card--soft li b { color: #a0642e; }

.duo__bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 150px;
}

.duo__arrow { text-align: center; color: rgba(241, 231, 214, .75); }
.duo__arrow svg { width: 64px; display: block; margin: 0 auto; }
.duo__arrow span { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.duo__arrow--r { color: var(--pump); }
.duo__arrow--l { color: var(--orange); }

.duo__arrow svg path { stroke-dasharray: 6 6; animation: dashFlow 1.2s linear infinite; }

@keyframes dashFlow { to { stroke-dashoffset: -12; } }

.duo__cap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: var(--yellow);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 0;
  padding: 12px 16px;
  font-size: .8rem;
  text-align: center;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, .3);
  rotate: -2deg;
}

.duo__cap .ic { width: 1.7em; height: 1.7em; }
.duo__cap span { font-size: .68rem; opacity: .75; }

.token-recon {
  max-width: 760px;
  margin: 42px auto 0;
  text-align: center;
  font-size: 1.05rem;
  color: rgba(241, 231, 214, .85);
  background: rgba(241, 231, 214, .05);
  border: 2px dashed rgba(241, 231, 214, .2);
  border-radius: 0;
  padding: 22px 28px;
}

.token-recon b { color: var(--yellow); }
.token-recon i { color: var(--teal); font-style: normal; font-weight: 800; }

.sinks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.sink {
  background: rgba(241, 231, 214, .05);
  border: 2px solid rgba(241, 231, 214, .14);
  border-radius: 0;
  padding: 20px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform .25s, border-color .25s, background .25s;
}

.sink:hover { transform: translateY(-5px); border-color: var(--c); background: rgba(241, 231, 214, .08); }

.sink .ic { width: 2.2em; height: 2.2em; color: var(--c); filter: drop-shadow(0 0 8px var(--c)); }
.sink b { font-size: .92rem; }
.sink span { font-size: .78rem; color: rgba(241, 231, 214, .6); }

.burnline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 44px 0 30px;
}

.burnline__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 0;
  padding: 9px 18px;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, .3);
}

.burnline__item .ic { color: var(--red); }
.burnline__item:nth-child(3) .ic { color: var(--teal); }
.burnline__item:nth-child(5) .ic { color: var(--green); }

.burnline__plus { font-family: var(--f-paint); font-size: 1.5rem; color: var(--yellow); }
.burnline__eq { font-size: .88rem; color: rgba(241, 231, 214, .6); font-style: italic; }
.burnline__pct { font-family: var(--f-arc); font-weight: 400; font-size: .84rem; color: #a0642e; margin-left: 2px; }

/* ── CA-чип (контракт-адрес) ─────────────────────────────────── */

.ca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 9px 16px;
  background: rgba(21, 13, 7, .8);
  border: 2px solid rgba(241, 231, 214, .3);
  color: var(--cream);
  cursor: pointer;
  font-family: var(--f-body);
  transition: border-color .2s, transform .12s;
}

.ca:hover { border-color: var(--yellow); transform: translate(-1px, -1px); }

.ca__label {
  font-family: var(--f-arc);
  font-size: .76rem;
  color: var(--ink);
  background: var(--yellow);
  padding: 3px 7px 1px;
}

.ca__value {
  font-family: var(--f-pix);
  font-size: .58rem;
  color: rgba(241, 231, 214, .8);
  max-width: 46vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca__ic { width: 15px; height: 15px; color: rgba(241, 231, 214, .6); flex: none; }
.ca--copied { border-color: var(--pump); }
.ca--copied .ca__ic { color: var(--pump); }

.sustain { text-align: center; }
.sustain span:last-child { display: block; margin-top: 10px; font-size: .88rem; color: rgba(241, 231, 214, .55); }

/* ── мем-скины ───────────────────────────────────────────────── */

.skins-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.skin {
  position: relative;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 0;
  box-shadow: var(--shadow-card);
  padding: 20px 16px 18px;
  text-align: center;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s;
}

.skin:hover { transform: translate(-4px, -6px); box-shadow: var(--shadow-lift); }

/* сцена-подставка под спрайтом: намёк на пол комнаты */
.skin__art {
  height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 14px;
  background: radial-gradient(ellipse 62% 26% at 50% 96%, rgba(36, 24, 18, .22), transparent 70%);
}

.skin__art img {
  height: 140px;
  image-rendering: pixelated;        /* пиксель-арт не мылим */
  filter: drop-shadow(0 6px 5px rgba(0, 0, 0, .3));
}

.skin b { display: block; font-size: 1.05rem; color: var(--ink); }
.skin small { display: block; margin-top: 3px; font-size: .78rem; color: rgba(36, 24, 18, .6); line-height: 1.35; }

.skin__price {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px 3px;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--f-arc);
  font-size: .82rem;
  letter-spacing: .04em;
}

/* топовый скин — жёлтая рамка и ярлык */
.skin--top { border-color: var(--yellow); box-shadow: 0 12px 26px rgba(255, 194, 26, .18), var(--shadow-card); }
.skin--top .skin__price { background: var(--yellow); color: var(--ink); }

.skin--top::after {
  content: 'endgame';
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--ink);
  border: 3px solid var(--ink);
  font-family: var(--f-arc);
  font-size: .66rem;
  padding: 4px 10px 1px;
}

.skins-note {
  max-width: 720px;
  margin: 34px auto 0;
  text-align: center;
  font-size: .95rem;
  color: rgba(241, 231, 214, .78);
  line-height: 1.6;
}

.skins-note b { color: var(--teal); }
.skins-cta { display: flex; justify-content: center; margin-top: 30px; }

@media (max-width: 900px) {
  .skins-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 520px) {
  .skin__art { height: 120px; }
  .skin__art img { height: 112px; }
  .skin small { font-size: .72rem; }
}

/* ── on-chain ────────────────────────────────────────────────── */

.programs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 46px;
}

.prog {
  background: var(--ink);
  border: 2px solid var(--ink-soft);
  border-radius: 0;
  padding: 16px 14px;
  transition: transform .25s, box-shadow .25s;
  text-decoration: none;
  display: block;
}

.prog:hover { transform: translate(-3px, -4px); box-shadow: 0 0 0 2px var(--teal), 8px 8px 0 rgba(0, 0, 0, .3); }

/* адрес программы: одна строка вместо адреса на каждой карточке */
.progid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 auto 46px;
  padding: 12px 18px;
  width: fit-content;
  max-width: 100%;
  background: var(--ink);
  border: 2px solid rgba(241, 231, 214, .18);
  text-decoration: none;
  transition: border-color .2s, transform .12s;
}

.progid:hover { border-color: var(--teal); transform: translate(-1px, -1px); }

.progid__tag {
  font-family: var(--f-arc);
  font-size: .74rem;
  color: var(--ink);
  background: var(--yellow);
  padding: 3px 8px 1px;
}

.progid code {
  font-family: var(--f-pix);
  font-size: .58rem;
  color: var(--cream);
  word-break: break-all;
}

.progid__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-arc);
  font-size: .7rem;
  color: var(--pump);
  text-transform: uppercase;
}

.progid__live i {
  width: 7px; height: 7px;
  background: var(--pump);
  box-shadow: 0 0 8px var(--pump);
  animation: livePulse 2s ease-in-out infinite;
}

/* задеплоенная программа: кликабельный адрес + live-точка */
.prog--live { position: relative; cursor: pointer; }

.prog--live::after {
  content: 'devnet';
  position: absolute;
  top: 10px; right: 12px;
  font-family: var(--f-arc);
  font-size: .6rem;
  text-transform: uppercase;
  color: var(--pump);
  padding-left: 12px;
}

.prog--live::before {
  content: '';
  position: absolute;
  top: 14px; right: 58px;
  width: 7px; height: 7px;
  background: var(--pump);
  box-shadow: 0 0 8px var(--pump);
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.prog__addr {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--f-pix);
  font-size: .56rem;
  color: var(--yellow);
  border-bottom: 1px dashed rgba(255, 194, 26, .5);
}

.prog code {
  display: block;
  font-family: var(--f-pix);
  font-size: .62rem;
  color: var(--teal);
  margin-bottom: 8px;
  word-break: break-word;
}

.prog code::before { content: '> '; color: var(--yellow); }
.prog p { font-size: .78rem; color: rgba(241, 231, 214, .65); line-height: 1.45; }

.chain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.chain-card {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 0;
  box-shadow: var(--shadow-card);
  padding: 26px 28px;
  rotate: var(--rot);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), rotate .3s;
}

.chain-card:hover { rotate: 0deg; transform: translateY(-5px); }

/* иконки блоков — один бренд-акцент, чередование teal/yellow вместо радуги */
.chain-card .ic { width: 2.4em; height: 2.4em; color: var(--teal-dark); margin-bottom: 12px; }
.chain-card:nth-child(even) .ic { color: #a0642e; }

.chain-card h3 { font-family: var(--f-arc); font-size: 1.05rem; font-weight: 400; letter-spacing: .02em; margin-bottom: 8px; }
.chain-card p { font-size: .92rem; color: rgba(36, 24, 18, .75); }

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 44px;
}

.stack__label { font-family: var(--f-arc); font-weight: 400; font-size: .9rem; }

.stack__chip {
  font-family: var(--f-arc);
  font-size: .72rem;
  background: var(--ink);
  color: var(--cream);
  padding: 8px 13px;
  border-radius: 0;
  transition: transform .2s, color .2s;
}

.stack__chip:hover { transform: translateY(-3px) rotate(-1.5deg); color: var(--yellow); }

/* ── роадмап ─────────────────────────────────────────────────── */

.road { position: relative; max-width: 880px; margin: 60px auto 0; }

.road__line {
  position: absolute;
  left: 50%; top: 10px; bottom: 10px;
  transform: translateX(-50%);
  border-left: 4px dashed rgba(241, 231, 214, .2);
}

.road__step {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 44px;
  width: 50%;
  padding-right: 54px;
}

.road__step:nth-child(odd) { }
.road__step:nth-child(even) { margin-left: auto; flex-direction: row-reverse; padding-right: 0; padding-left: 54px; }
.road__step:last-child { margin-bottom: 0; }

.road__dot {
  position: absolute;
  right: -27px; top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wood-1);
  color: var(--cream);
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 3px rgba(241, 231, 214, .18), 0 6px 14px rgba(0, 0, 0, .4);
  border-radius: 0;
  z-index: 2;
  transition: transform .25s, color .25s, box-shadow .25s;
}

.road__step:nth-child(even) .road__dot { right: auto; left: -27px; }
.road__step:hover .road__dot { transform: translateY(-50%) scale(1.12) rotate(-6deg); color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow), 0 6px 14px rgba(0, 0, 0, .4); }

.road__dot .ic { width: 1.6em; height: 1.6em; }

.road__card {
  flex: 1;
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 0;
  box-shadow: var(--shadow-card);
  padding: 20px 24px;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.road__step:hover .road__card { transform: translateY(-4px) rotate(-.6deg); }

.road__phase {
  display: inline-block;
  font-family: var(--f-arc);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a0642e;
  margin-bottom: 8px;
}

.road__step--done .road__phase { background: var(--yellow); padding: 4px 9px; border-radius: 0; border: 2px solid var(--ink); color: var(--ink); }
.road__step--done .road__dot { background: var(--yellow); color: var(--ink); }

.road__card h3 { font-size: 1.12rem; font-weight: 900; margin-bottom: 5px; }
.road__card p { font-size: .9rem; color: rgba(36, 24, 18, .72); }

/* ── футер ───────────────────────────────────────────────────── */

.footer {
  position: relative;
  padding: 110px 0 44px;
  background: linear-gradient(180deg, var(--wood-2), #0d0703);
  overflow: hidden;
  text-align: center;
}

.footer__glow {
  position: absolute;
  left: 50%; bottom: -32%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(46, 196, 182, .16), rgba(255, 194, 26, .05) 45%, transparent 70%);
  pointer-events: none;
}

.footer__inner { position: relative; display: flex; flex-direction: column; align-items: center; }

.footer__crt {
  width: 110px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 24px rgba(46, 196, 182, .65));
  animation: bob 4.6s ease-in-out infinite;
}

.footer__big { font-size: clamp(2.6rem, 8vw, 5.4rem); margin-bottom: 12px; }

.footer .sub { margin-bottom: 34px; }

.footer__links { display: flex; gap: 16px; margin: 46px 0 34px; }

.soc {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  background: rgba(241, 231, 214, .06);
  border: 2px solid rgba(241, 231, 214, .2);
  border-radius: 0;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), color .25s, border-color .25s;
}

.soc svg { width: 22px; height: 22px; }
.soc:hover { transform: translateY(-5px) rotate(-6deg); color: var(--yellow); border-color: var(--yellow); }

.footer__mini { font-size: .78rem; color: rgba(241, 231, 214, .45); }
.footer__mini a { color: rgba(241, 231, 214, .65); }
.footer__mini a:hover { color: var(--yellow); }

/* ── scroll-reveal ───────────────────────────────────────────────
   через animation (не transition), чтобы не конфликтовать
   с hover-трансформами карточек */

.reveal { opacity: 0; }

.reveal.in {
  opacity: 1;
  animation: revealUp .7s cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: var(--d, 0s);
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(30px); }
}

/* ── адаптив ─────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .day { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .day::before { display: none; }
  .sinks { grid-template-columns: repeat(3, 1fr); }
  .programs { grid-template-columns: repeat(2, 1fr); }
  .factors { grid-template-columns: repeat(2, 1fr); }
  .hud { grid-template-columns: repeat(2, minmax(150px, 220px)); }
}

@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    top: 62px; right: 12px;
    flex-direction: column;
    background: rgba(21, 13, 7, .97);
    border: 3px solid var(--ink);
    border-radius: 0;
    padding: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .25s, transform .25s;
  }
  .nav__links.open { opacity: 1; pointer-events: auto; transform: none; }

  /* тач-цели: пункты меню не ниже 44px */
  .nav__links a { padding: 12px 14px 9px; font-size: .92rem; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
  .mani { grid-template-columns: 1fr; gap: 40px; }
  .wheelzone { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .duo__bridge { flex-direction: row; gap: 26px; }
  .chain-grid { grid-template-columns: 1fr; }
  .push { grid-template-columns: 1fr; }
  .road__line { left: 26px; }
  .road__step, .road__step:nth-child(even) { width: 100%; padding: 0 0 0 66px; margin-left: 0; flex-direction: row; }
  .road__dot, .road__step:nth-child(even) .road__dot { left: 0; right: auto; }
}

@media (max-width: 640px) {
  /* на узком экране кроп агрессивнее — размываем сильнее для читаемости титула */
  .hero__bg { filter: blur(5px) brightness(.72) saturate(1.08); }
  .day { grid-template-columns: 1fr; }
  .sinks { grid-template-columns: 1fr 1fr; }
  .programs { grid-template-columns: 1fr 1fr; }
  .factors { grid-template-columns: 1fr; }
  .hud { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .tape--a { font-size: 1.1rem; }
  .tape--b { font-size: .9rem; }
  .panel { padding: 22px 18px; }
  .panel__stats { grid-template-columns: 1fr; }
}

/* ── доступность ─────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero__line b { opacity: 1; transform: none; }
  .hero__tag, .hero__cta, .hud { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}
