/* Чоткий — лендинг. Палитра игры: ночной двор, сланцевые окна с тёмной обводкой,
   каменная рамка поля, жёлтое «Чотко!», зелёные кнопки. */
@font-face {
  font-family: "Nunito Black";
  src: url("../fonts/nunito-black.woff") format("woff");
  font-weight: 900;
  font-display: swap;
}

:root {
  --night: #0f111b;
  --deep: #171a29;
  --slate-hi: #56619a;
  --slate: #3b4573;
  --slate-lo: #2b3358;
  --edge: #0b0c16;
  --stone: #cbbd9a;
  --stone-lo: #8f8468;
  --yellow: #ffd23f;
  --yellow-hi: #ffe78a;
  --orange: #f28a1e;
  --orange-deep: #9a4a0b;
  --green-hi: #9be24c;
  --green: #4ea31f;
  --green-edge: #23560c;
  --ink: #f5f2ea;
  --muted: #b4b9d0;
  --display: "Nunito Black", "Arial Black", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --outline: 2px 2px 0 var(--edge), -2px 2px 0 var(--edge), 2px -2px 0 var(--edge), -2px -2px 0 var(--edge),
             0 2px 0 var(--edge), 0 -2px 0 var(--edge), 2px 0 0 var(--edge), -2px 0 0 var(--edge);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow); }
a:hover { color: var(--yellow-hi); }
:focus-visible { outline: 3px solid var(--yellow-hi); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--edge); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Шапка ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.top.is-stuck { background: rgba(15, 17, 27, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 210, 63, .25); }
.top__in { display: flex; align-items: center; gap: 20px; height: 64px; }
.top__brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 19px; white-space: nowrap; text-shadow: var(--outline); }
.top__brand img { width: 38px; height: 38px; border-radius: 10px; border: 2px solid var(--edge); box-shadow: 0 0 0 2px var(--yellow); }
.top__nav { display: flex; gap: 22px; margin-left: auto; }
.top__nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700; opacity: .85; }
.top__nav a:hover { opacity: 1; color: var(--yellow-hi); }
@media (max-width: 860px) { .top__nav { display: none; } }
.top__lang { flex: none; margin-left: 22px; padding: 6px 11px 5px; border: 2px solid var(--yellow); border-radius: 999px; color: var(--yellow-hi); font: 900 13px/1 var(--display); letter-spacing: .06em; text-decoration: none; }
.top__lang:hover, .top__lang:focus-visible { background: var(--yellow); color: var(--night); }
.top__brand + .top__lang { margin-left: auto; }
@media (max-width: 860px) { .top__lang { margin-left: auto; } }

/* ---------- Кнопки магазинов: зелёная кнопка «Качать» из игры ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 22px 11px 16px; border-radius: 14px;
  font-family: var(--display); font-size: 19px; line-height: 1.1; color: #fff; text-decoration: none;
  text-shadow: 0 2px 0 var(--green-edge), 1px 1px 0 var(--green-edge), -1px 1px 0 var(--green-edge);
  background: linear-gradient(var(--green-hi), var(--green));
  border: 3px solid var(--green-edge);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, .4), 0 6px 0 var(--green-edge), 0 14px 24px rgba(0, 0, 0, .4);
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { color: #fff; transform: translateY(-2px); }
.btn:active { transform: translateY(4px); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .4), 0 2px 0 var(--green-edge); }
.btn small { display: block; font: 700 11px/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; color: #eaffd2; text-shadow: none; margin-bottom: 3px; }
.btn svg { width: 26px; height: 26px; flex: none; fill: currentColor; filter: drop-shadow(0 2px 0 var(--green-edge)); }
.stores { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Первый экран ---------- */
.hero { position: relative; isolation: isolate; padding: 104px 0 0; min-height: min(100svh, 900px); display: flex; flex-direction: column; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15, 17, 27, .82) 0%, rgba(15, 17, 27, .35) 32%, rgba(15, 17, 27, .45) 66%, var(--night) 100%),
    radial-gradient(70% 60% at 22% 45%, rgba(15, 17, 27, .78), transparent 72%);
}
.hero__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; flex: 1; padding-bottom: 48px; }
.hero__logo { width: min(520px, 100%); filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .6)); }
.hero__tag { font-family: var(--display); font-size: clamp(26px, 3.4vw, 42px); line-height: 1.15; margin-top: 18px; text-shadow: var(--outline), 0 5px 0 var(--edge), 0 8px 18px rgba(0, 0, 0, .5); }
.hero__tag em { font-style: normal; color: var(--yellow); }
.hero__lead { margin-top: 18px; font-size: clamp(17px, 1.5vw, 19px); max-width: 34em; color: #e7e9f3; text-shadow: 0 2px 8px rgba(0, 0, 0, .8); }
.hero .stores { margin-top: 30px; }
.hero__note { margin-top: 16px; font-size: 14px; color: var(--muted); text-shadow: 0 2px 6px rgba(0, 0, 0, .8); }
.hero__stage { position: relative; padding: 0 0 26px 30%; max-width: 500px; justify-self: center; width: 100%; }
.hero__punch {
  position: absolute; left: -26%; bottom: 0; width: 86%; z-index: 2;
  filter: drop-shadow(0 0 2px rgba(255, 231, 138, .9)) drop-shadow(0 0 16px rgba(255, 210, 63, .45)) drop-shadow(0 14px 12px rgba(0, 0, 0, .6));
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent);
  mask-image: linear-gradient(180deg, #000 82%, transparent);
  animation: sway 3.6s ease-in-out infinite; transform-origin: 30% 100%;
}
@keyframes sway { 50% { transform: translateX(6px) rotate(1deg); } }

.phone { position: relative; border-radius: clamp(18px, 3vw, 34px); padding: clamp(6px, 1vw, 11px); background: linear-gradient(145deg, #30344a, #0a0b14 60%); box-shadow: 0 0 0 1.5px #4a4f6c, 0 30px 60px rgba(0, 0, 0, .65), 0 0 80px rgba(255, 170, 60, .16); }
.phone img { border-radius: clamp(14px, 2.4vw, 26px); width: 100%; aspect-ratio: 1080 / 2212; object-fit: cover; }
.hero__stage .phone { transform: rotate(2.5deg); }

@media (max-width: 900px) {
  .hero { padding-top: 84px; min-height: 0; }
  .hero__in { grid-template-columns: 1fr; padding-bottom: 36px; }
  .hero__copy { text-align: center; }
  .hero__logo { margin-inline: auto; }
  .hero__lead { margin-inline: auto; }
  .hero .stores { justify-content: center; }
  .hero__stage { max-width: 400px; }
}

/* ---------- Полоса цифр ---------- */
.stats { background: linear-gradient(180deg, var(--night), var(--deep)); padding: 8px 0 44px; }
.stats ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stats li { text-align: center; padding: 18px 8px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(86, 97, 154, .35), rgba(43, 51, 88, .35)); border: 2px solid rgba(255, 210, 63, .22); }
.stats b { display: block; font: 900 clamp(32px, 4.2vw, 50px)/1 var(--display); color: var(--yellow); text-shadow: var(--outline), 0 4px 0 var(--edge); }
.stats span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }
@media (max-width: 720px) { .stats ul { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Секции ---------- */
.sec { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.sec--deep { background: var(--deep); }
.sec--glow { background: radial-gradient(70% 50% at 50% 0%, rgba(242, 138, 30, .14), transparent 70%), var(--night); }
.sec__head { max-width: 760px; margin: 0 auto clamp(30px, 4vw, 52px); text-align: center; }
/* Ярлык-наклейка над заголовком */
.eyebrow {
  display: inline-block; margin-bottom: 16px; padding: 6px 14px 5px;
  font: 900 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase;
  color: var(--edge); background: var(--yellow); border-radius: 4px;
  transform: rotate(-2deg); box-shadow: 0 3px 0 var(--orange-deep);
}
.sec h2 { font-size: clamp(30px, 4.4vw, 50px); text-shadow: var(--outline), 0 4px 0 var(--edge); }
.sec__head--sub { margin: clamp(44px, 6vw, 72px) auto 0; }
.sec__head--sub h2 { font-size: clamp(24px, 3vw, 34px); }
.sec__head p { margin-top: 18px; color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); }

/* Окно игры: сланцевая панель с тёмной обводкой и бликом сверху */
.panel {
  position: relative; border-radius: var(--radius); padding: 24px;
  background: linear-gradient(180deg, var(--slate-hi), var(--slate) 46%, var(--slate-lo));
  border: 3px solid var(--edge);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .22), inset 0 -3px 0 rgba(0, 0, 0, .22), 0 7px 0 rgba(0, 0, 0, .4), 0 18px 30px rgba(0, 0, 0, .35);
}
.panel h3 { font-size: 22px; text-shadow: var(--outline); }
.panel p { color: #dfe2f0; margin-top: 8px; font-size: 16px; }
/* Каменная рамка, как у игрового поля */
.frame { padding: 5px; background: linear-gradient(180deg, var(--stone), var(--stone-lo)); border: 3px solid var(--edge); border-radius: 12px; }
.frame img { border-radius: 7px; width: 100%; }

/* ---------- Как играть ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { counter-increment: step; padding: 14px 14px 22px; display: flex; flex-direction: column; }
.step::before { content: counter(step); position: absolute; top: -18px; left: 14px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; font: 900 21px/1 var(--display); color: var(--edge); background: radial-gradient(circle at 35% 30%, var(--yellow-hi), var(--yellow) 60%, var(--orange)); border: 3px solid var(--edge); box-shadow: 0 4px 0 var(--edge); }
.step .frame { margin-bottom: 16px; }
.step .frame img { aspect-ratio: 3 / 4; object-fit: cover; }
.step h3 { font-size: 21px; padding: 0 6px; }
.step p { padding: 0 6px; font-size: 15.5px; }
@media (max-width: 1040px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 18px; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }

.extras { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 28px; margin-top: 36px; padding: 24px 28px; }
.extras > div + div { padding-left: 28px; border-left: 2px dashed rgba(255, 255, 255, .18); }
.tiles { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 16px; }
.tiles li { display: grid; justify-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.tiles img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .45)); }
@media (max-width: 860px) { .extras { grid-template-columns: 1fr; } .extras > div + div { padding: 24px 0 0; border-left: 0; border-top: 2px dashed rgba(255, 255, 255, .18); } }

/* ---------- Противники ---------- */
.enemies { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.enemy { text-align: center; padding: 14px 6px 12px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(86, 97, 154, .4), rgba(43, 51, 88, .4)); border: 2px solid rgba(255, 210, 63, .2); }
.enemy img { width: 76px; height: 76px; object-fit: contain; margin: 0 auto 8px; filter: drop-shadow(0 5px 5px rgba(0, 0, 0, .5)); transition: transform .2s; }
.enemy:hover img { transform: scale(1.08) rotate(-4deg); }
.enemy span { font: 900 15px/1.2 var(--display); }
@media (max-width: 980px) { .enemies { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .enemies { gap: 10px; } .enemy { padding: 10px 3px; } .enemy img { width: 54px; height: 54px; margin-bottom: 6px; } .enemy span { font-size: 13px; } }

.chips { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; color: var(--muted); font-size: 15px; }
.chips img { width: 44px; height: 44px; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .45)); }
.chips p { margin-right: 6px; }

/* Фразы боссов — комикс-пузыри, как в бою */
.quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: clamp(40px, 6vw, 64px); }
.quotes figure { margin: 0; }
.quote-bubble { position: relative; margin: 0; padding: 16px 18px; background: #fff; color: #17181f; border: 3px solid var(--edge); border-radius: 20px; font: 900 17px/1.3 var(--display); box-shadow: 0 6px 0 rgba(0, 0, 0, .35); }
.quote-bubble::after { content: ""; position: absolute; left: 28px; bottom: -16px; width: 22px; height: 18px; background: #fff; border: 3px solid var(--edge); border-top: 0; border-left: 0; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.quotes figcaption { margin-top: 22px; padding-left: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 980px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Картинка + текст (история, ивент) ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.duo--flip .duo__art { order: 2; }
.duo__art { position: relative; padding: 0 22% 18% 0; max-width: 520px; justify-self: center; width: 100%; }
.duo__art--single { padding: 0; }
.duo__art .frame { box-shadow: 0 18px 40px rgba(0, 0, 0, .5); transform: rotate(-1.5deg); }
.duo__art .frame + .frame { position: absolute; right: 0; bottom: 0; width: 50%; transform: rotate(3deg); }
.duo__text p { margin-top: 16px; color: #dde0ee; }
.duo__text h2 { margin-bottom: 4px; }
.duo__text p.quote { font-family: var(--display); font-size: 21px; line-height: 1.35; color: var(--yellow-hi); padding-left: 18px; border-left: 5px solid var(--yellow); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo--flip .duo__art { order: 0; } }

/* ---------- Города ---------- */
.cities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; counter-reset: city; }
.city { counter-increment: city; padding: 14px 14px 22px; }
.city .frame { position: relative; margin-bottom: 16px; }
.city .frame img { aspect-ratio: 8 / 5; object-fit: cover; }
.city .frame::after { content: counter(city); position: absolute; left: 14px; top: 14px; min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; font: 900 19px/1 var(--display); color: var(--edge); background: radial-gradient(circle at 35% 30%, var(--yellow-hi), var(--yellow) 60%, var(--orange)); border: 3px solid var(--edge); box-shadow: 0 3px 0 var(--edge); }
.city h3 { font-size: clamp(24px, 2.6vw, 30px); padding: 0 6px; }
.city__tag { padding: 0 6px; color: var(--yellow-hi) !important; font-weight: 600; }
.city__list { padding: 0 6px; font-size: 14.5px !important; color: #c3c8de !important; }
@media (max-width: 760px) { .cities { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- Прокачка ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.shots li { text-align: center; }
.shots .phone { max-width: 250px; margin: 0 auto 22px; }
.shots li:nth-child(1) .phone { transform: rotate(-2deg); }
.shots li:nth-child(3) .phone { transform: rotate(2deg); }
.shots h3 { font-size: 22px; text-shadow: var(--outline); }
.shots p { margin: 8px auto 0; max-width: 22em; color: #cfd3e4; font-size: 15.5px; }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }

.skills { margin-top: clamp(40px, 6vw, 64px); text-align: center; }
.skills > p { max-width: 40em; margin-inline: auto; }
.skills ul { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.skills li { display: grid; justify-items: center; align-content: start; gap: 6px; font: 900 14px/1.2 var(--display); }
.skills img { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 5px 5px rgba(0, 0, 0, .45)); }
@media (max-width: 860px) { .skills ul { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 18px; } }
@media (max-width: 560px) { .skills ul { gap: 16px 6px; } .skills li { font-size: 12px; } .skills img { width: 58px; height: 58px; } }

.daily { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.daily li, .fair li { padding: 22px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(86, 97, 154, .3), rgba(43, 51, 88, .3)); border: 2px solid rgba(255, 210, 63, .22); }
.daily h3, .fair h3 { font-size: 19px; color: var(--yellow-hi); }
.daily p, .fair p { margin-top: 8px; font-size: 15.5px; color: #cfd3e4; }
@media (max-width: 860px) { .daily { grid-template-columns: 1fr; } }

/* ---------- Сезонный ивент ---------- */
.season .frame img { aspect-ratio: 8 / 5; object-fit: cover; }
.season__dates { display: inline-block; margin-top: 18px; padding: 8px 14px; border-radius: 10px; background: rgba(255, 255, 255, .08); border: 2px dashed rgba(255, 231, 138, .5); font-weight: 700; color: var(--yellow-hi) !important; }

/* ---------- Что важно знать ---------- */
.fair { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .fair { grid-template-columns: 1fr; } }

/* ---------- Вопросы ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: 14px; background: linear-gradient(180deg, rgba(86, 97, 154, .35), rgba(43, 51, 88, .35)); border: 2px solid rgba(255, 210, 63, .25); }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font: 900 18px/1.3 var(--display); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; font-size: 28px; color: var(--yellow); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 20px 20px; color: #d3d7e7; }

/* ---------- Финал и подвал ---------- */
.final { text-align: center; position: relative; overflow: hidden; background: radial-gradient(60% 80% at 50% 100%, rgba(255, 210, 63, .18), transparent 70%), var(--deep); }
.final__hero { width: min(360px, 74vw); margin: 0 auto 6px; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .5)); }
.final h2 { font-size: clamp(30px, 4.6vw, 54px); }
.final p { color: var(--muted); margin: 16px auto 30px; max-width: 34em; }
.final .stores { justify-content: center; }
.foot { padding: 30px 0 40px; font-size: 14px; color: var(--muted); border-top: 1px solid rgba(255, 210, 63, .2); }
.foot__in { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.foot a { color: var(--muted); }

/* ---------- Политика конфиденциальности ---------- */
.doc { padding: 112px 0 72px; background: radial-gradient(70% 40% at 50% 0%, rgba(242, 138, 30, .14), transparent 70%), var(--night); }
.doc__in { max-width: 760px; }
.doc h1 { font-size: clamp(30px, 4.4vw, 46px); margin-top: 18px; text-shadow: var(--outline), 0 4px 0 var(--edge); }
.doc h2 { font-size: 22px; margin-top: 36px; color: var(--yellow-hi); }
.doc p { margin-top: 12px; color: #dde0ee; }
.doc__date { color: var(--muted); font-size: 15px; }
.doc__back { font-size: 15px; text-decoration: none; }

/* Появление при прокрутке */
.rise { opacity: 0; transform: translateY(26px); transition: opacity .6s, transform .6s; }
.rise.in { opacity: 1; transform: none; }
.no-js .rise { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
  .hero__punch { animation: none; }
}
