/* =========================================================
   RIVEN HOUSE — style.css
   Deep navy + crimson + chunky display type (per Figma brand).
   ========================================================= */

:root {
  --bg:         #05081A;
  --bg-2:       #0A0E27;
  --bg-3:       #060A1D;
  --surface:    #0F1433;
  --surface-2:  #161C40;
  --line:       rgba(255, 255, 255, 0.07);
  --line-strong:rgba(255, 255, 255, 0.16);

  --text:       #F4F4F8;
  --text-dim:   #A0A5C8;
  --text-mute:  #6B7199;

  --accent:     #E01D38;           /* crimson red */
  --accent-2:   #FF3355;
  --accent-deep:#A8132A;
  --accent-glow:rgba(224, 29, 56, 0.35);

  --card-white: #F4F4F8;           /* for playing-card-like surfaces */

  --radius:     14px;
  --radius-sm:  8px;
  --radius-lg:  24px;

  --container:        1200px;
  --container-narrow: 820px;

  --font-display: 'Russo One', 'Unbounded', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
*::selection { background: var(--accent); color: #fff; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;          /* Russo One is a single-weight face */
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
p { margin: 0; }

/* ---------- background textures ---------- */
.noise {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/></svg>");
}
.grid-bg {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 700px at 85% -10%, rgba(224, 29, 56, 0.18), transparent 60%),
    radial-gradient(900px 600px at 5% 20%,   rgba(224, 29, 56, 0.08), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(224, 29, 56, 0.08), transparent 60%),
    linear-gradient(180deg, #05081A 0%, #060B22 55%, #03061A 100%);
}

main, header, footer { position: relative; z-index: 2; }

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: var(--container-narrow); }

.section {
  padding: clamp(56px, 7vw, 96px) 0;
  position: relative;
}

.section__head {
  margin-bottom: clamp(28px, 4vw, 52px);
  max-width: 680px;
}
.section__head--center {
  margin-left: auto; margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 7px 14px;
  border: 1px solid rgba(224, 29, 56, 0.35);
  background: rgba(224, 29, 56, 0.06);
  border-radius: 4px;
  margin-bottom: 20px;
}
.section__title {
  font-size: clamp(32px, 5.2vw, 60px);
  line-height: 1.0;
  margin-bottom: 18px;
}
.section__desc {
  color: var(--text-dim);
  font-size: clamp(15px, 1.6vw, 17px);
  max-width: 56ch;
  font-family: var(--font-body);
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(5, 8, 26, 0.55);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(5, 8, 26, 0.88);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--text);
  text-transform: uppercase;
}
.brand__mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--text);
}
.brand__mark svg,
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__name { white-space: nowrap; }

.nav__links {
  display: flex;
  gap: 22px;
  font-size: 12px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  white-space: nowrap;
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
  white-space: nowrap;
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right .3s var(--ease);
}
.nav__links a:hover::after { right: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: clamp(14px, 1.4vw, 20px) clamp(24px, 2.6vw, 38px);
  font-family: var(--font-display);
  font-size: clamp(13px, 1.1vw, 15px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .4s var(--ease);
  white-space: nowrap;
}
.btn--compact {
  padding: 11px 22px;
  font-size: 12px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px -10px var(--accent-glow);
}
.btn--compact:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 55%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow:
    0 14px 40px -12px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 22px 55px -14px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(224, 29, 56, 0.55);
  color: var(--text);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(5, 8, 26, 0.78) 0%, rgba(5, 8, 26, 0.60) 40%, rgba(5, 8, 26, 0.96) 100%),
    url("assets/hero-bg.jpg") center 30% / cover no-repeat;
  filter: saturate(1.1) contrast(1.05);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 700px at 50% 0%, rgba(224, 29, 56, 0.28), transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 22px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  justify-items: center;
  width: 100%;
}
.hero__inner > * { max-width: 100%; min-width: 0; }

.hero__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  max-width: 100%;
  text-align: center;
}
.hero__tag::before {
  content: '';
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.2s var(--ease) infinite;
}
@media (max-width: 520px) {
  .hero__tag {
    font-size: 10px;
    letter-spacing: 0.10em;
    padding: 7px 12px;
    line-height: 1.4;
  }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .55; transform: scale(.75); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 9vw, 116px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.hero__title .line--sub {
  display: block;
  font-size: clamp(11px, 1.5vw, 16px);
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-bottom: 18px;
  max-width: 100%;
  overflow-wrap: break-word;
}
@media (max-width: 520px) {
  .hero__title { font-size: 36px; }
  .hero__title .line--sub { letter-spacing: 0.08em; font-size: 11px; margin-bottom: 14px; }
}
@media (max-width: 380px) {
  .hero__title { font-size: 32px; }
}
.hero__title .line--main {
  display: block;
  color: var(--text);
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}
.hero__title .line--main em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 60px var(--accent-glow);
}

.hero__lead {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-dim);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.hero__cta .btn {
  min-height: 56px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
  max-width: 860px;
  margin: clamp(20px, 3vw, 36px) auto 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.hero__stat {
  min-width: 0;
  padding: 28px 20px;
  position: relative;
  text-align: center;
  transition: background .3s var(--ease);
}
.hero__stat:hover {
  background: rgba(224, 29, 56, 0.06);
}
.hero__stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--line-strong);
}
.hero__stat--accent {
  background: rgba(224, 29, 56, 0.05);
}
.hero__stat-val--id {
  cursor: pointer;
  position: relative;
}
.hero__stat-val--id:hover {
  color: var(--accent-2);
}
.hero__stat-val--id.copied::before {
  content: 'Скопировано!';
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  background: var(--accent);
  padding: 4px 12px;
  border-radius: 6px;
  white-space: nowrap;
  animation: fade-up .5s var(--ease) forwards;
}
@keyframes fade-up {
  0%   { opacity: 0; transform: translateX(-50%) translateY(4px); }
  20%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  80%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-6px); }
}
.hero__stats dt {
  font-size: 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-mute);
  margin-bottom: 12px;
  line-height: 1.4;
}
.hero__stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1;
}
.hero__stats dd span {
  font-size: 0.55em;
  color: var(--accent);
  margin-left: 3px;
}

.hero__emblem {
  position: absolute;
  right: clamp(-80px, -4vw, -20px);
  top: 50%;
  transform: translateY(-50%);
  width: min(52vw, 620px);
  max-width: 620px;
  opacity: 0.08;
  pointer-events: none;
  z-index: -1;
  filter: drop-shadow(0 0 80px var(--accent-glow));
}

@media (max-width: 900px) {
  .hero__emblem { opacity: 0.06; right: -30%; width: 90vw; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stat:nth-child(2)::after { display: none; }
  .hero__stat:nth-child(1),
  .hero__stat:nth-child(2) { border-bottom: 1px solid var(--line-strong); }
  .hero__cta  { width: 100%; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 520px) {
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; min-height: 48px; padding: 14px 20px; font-size: 12px; }
  .hero__stat { padding: 18px 10px; min-width: 0; }
  .hero__stats dd { font-size: 22px; }
  .hero__stats dt { font-size: 9px; letter-spacing: 0.1em; margin-bottom: 10px; }
  .hero__lead { font-size: 14px; letter-spacing: 0; line-height: 1.5; }
}
@media (max-width: 414px) {
  .container { padding: 0 16px; }
  .hero__cta .btn { padding: 12px 14px; font-size: 11px; letter-spacing: 0.06em; }
  .hero__stat { padding: 16px 8px; }
  .hero__stats dd { font-size: 20px; letter-spacing: 0; }
}

/* ---------- wide-screen desktop optimizations ---------- */
@media (min-width: 1440px) {
  :root { --container: 1280px; }
  .hero { padding: 120px 0 104px; }
  .hero__inner { max-width: 1000px; gap: 24px; }
  .hero__stats { max-width: 920px; }
  .hero__stat { padding: 26px 24px; }
}
@media (min-width: 1920px) {
  :root { --container: 1400px; }
  .hero { padding: 140px 0 120px; }
  .hero__inner { max-width: 1100px; }
  .hero__stats { max-width: 1000px; }
}

/* ---------- intro ---------- */
.intro {
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(224, 29, 56, 0.04), transparent);
}
.intro__text {
  max-width: 960px;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--text);
  padding: clamp(36px, 5vw, 52px) 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.intro__text strong { color: var(--accent-2); font-weight: 600; }
@media (max-width: 520px) {
  .intro__text { font-size: 13px; line-height: 1.55; letter-spacing: 0; }
}

/* ---------- benefits ---------- */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.benefit {
  padding: 36px 28px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .4s var(--ease);
}
.benefit::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.benefit:hover { background: rgba(224, 29, 56, 0.03); }
.benefit:hover::before { transform: scaleX(1); }

.benefit__num {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 20px;
}
.benefit h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
}
.benefit p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
  max-width: 34ch;
}
.benefit--accent {
  background: linear-gradient(180deg, rgba(224, 29, 56, 0.09) 0%, transparent 100%);
}
.benefit--accent::before { transform: scaleX(1); }
.benefit--accent h3 { color: var(--accent-2); }

.benefit--cta {
  background:
    linear-gradient(180deg, rgba(224, 29, 56, 0.16) 0%, rgba(224, 29, 56, 0.04) 100%);
}
.benefit--cta::before { transform: scaleX(1); }
.benefit--cta h3 { color: var(--accent-2); }
.benefit__cta-row {
  margin-top: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.benefit__cta-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  white-space: nowrap;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.benefit__cta-link:hover { background: var(--accent-2); transform: translateY(-1px); }
.benefit__cta-link--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.benefit__cta-link--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(224, 29, 56, 0.55);
  color: var(--text);
}

@media (max-width: 1100px) {
  .benefits__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .benefit { padding: 28px 22px 32px; }
}
@media (max-width: 520px) {
  .benefits__grid { grid-template-columns: 1fr; }
  .benefit { padding: 24px 20px 28px; }
}

/* ---------- trust counters ---------- */
.trust {
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.trust__item {
  padding: 24px 16px;
  position: relative;
}
.trust__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--line-strong);
}
.trust__val {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  color: var(--accent-2);
  line-height: 1;
  margin-bottom: 12px;
}
.trust__label {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(12px, 1.2vw, 14px);
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 600px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .trust__item:nth-child(2)::after { display: none; }
  .trust__item:nth-child(1),
  .trust__item:nth-child(2) { border-bottom: 1px solid var(--line-strong); }
  .trust__item { padding: 20px 12px; }
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.step {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 30px;
  position: relative;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
  overflow: hidden;
}
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.step:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 29, 56, 0.4);
}
.step:hover::before { transform: scaleX(1); }

.step__n {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--accent);
  border: 1px solid rgba(224, 29, 56, 0.45);
  background: rgba(224, 29, 56, 0.08);
  border-radius: 4px;
  margin-bottom: 18px;
}
.step h3 {
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.step p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}
.code {
  display: inline-block;
  font-family: 'SFMono-Regular', Menlo, monospace;
  font-size: 13px;
  padding: 4px 10px;
  background: rgba(224, 29, 56, 0.12);
  border: 1px dashed rgba(224, 29, 56, 0.45);
  border-radius: 4px;
  color: var(--accent-2);
  cursor: pointer;
  transition: background .2s var(--ease);
}
.code:hover { background: rgba(224, 29, 56, 0.22); }

@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- games ---------- */
.games__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.game {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.game:hover { transform: translateY(-6px); border-color: rgba(224, 29, 56, 0.4); }
.game--hl {
  background:
    linear-gradient(180deg, rgba(224, 29, 56, 0.14), rgba(224, 29, 56, 0.03)),
    var(--surface);
  border-color: rgba(224, 29, 56, 0.35);
}
.game--hl::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(500px 200px at 50% 0%, rgba(224, 29, 56, 0.2), transparent 70%);
  pointer-events: none;
}
.game__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.game__head h3 { font-size: 20px; letter-spacing: 0.02em; }
.game__tag {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 11px;
  border: 1px solid rgba(224, 29, 56, 0.4);
  border-radius: 4px;
}
.game__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  font-size: 14px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  position: relative;
}
.game__list li:last-child { border-bottom: 0; }
.game__list span { color: var(--text-dim); }
.game__list b {
  color: var(--text);
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 860px) { .games__grid { grid-template-columns: 1fr; } }

/* ---------- screenshots ---------- */
.screens__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.screens__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.screens__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -16px rgba(224, 29, 56, 0.25);
}
.screens__item img {
  width: 100%;
  height: auto;
  display: block;
}
.screens__item figcaption {
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}
@media (max-width: 960px) { .screens__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .screens__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 374px) { .screens__grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; } }

/* ---------- mid-cta ---------- */
.mid-cta {
  padding: clamp(32px, 4vw, 52px) 0;
  background: linear-gradient(180deg, rgba(224, 29, 56, 0.08), transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mid-cta__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  text-align: center;
}
.mid-cta__text {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 22px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
}
@media (max-width: 600px) {
  .mid-cta__inner { flex-direction: column; gap: 20px; }
  .mid-cta__text { font-size: 15px; }
}

/* ---------- download ---------- */
.download__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.dl-card {
  position: relative;
  padding: 30px 28px 28px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.dl-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 300px at 50% 0%, rgba(224, 29, 56, 0.14), transparent 70%);
  pointer-events: none;
}
.dl-card--accent {
  border-color: rgba(224, 29, 56, 0.35);
}
.dl-card--accent::before {
  background: radial-gradient(700px 350px at 50% 0%, rgba(224, 29, 56, 0.22), transparent 70%);
}
.dl-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.dl-card__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 34px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}
.dl-card__id {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-dim);
  white-space: nowrap;
}
.dl-card__id b {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-left: 4px;
  cursor: pointer;
}
.dl-card__id b:hover { color: var(--accent-2); }

.dl-card__rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.dl-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: clamp(14px, 1.4vw, 18px) clamp(18px, 1.8vw, 24px);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  color: var(--text);
}
.dl-btn svg { flex: 0 0 auto; color: var(--text-dim); transition: color .3s var(--ease); }
.dl-btn__label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
  flex: 1 1 auto;
  min-width: 0;
}
.dl-btn__label b {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--text);
}
.dl-btn__label em {
  font-style: normal;
  font-size: 12px;
  color: var(--text-mute);
}
.dl-btn::after {
  content: '↓';
  margin-left: auto;
  color: var(--text-mute);
  font-size: 18px;
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.dl-btn:hover {
  transform: translateX(3px);
  border-color: rgba(224, 29, 56, 0.5);
  background: rgba(224, 29, 56, 0.08);
}
.dl-btn:hover svg,
.dl-btn:hover::after { color: var(--accent); }
.dl-btn:hover::after { transform: translateY(2px); }

.download__note,
.games__note {
  margin: 32px auto 0;
  max-width: 780px;
  font-size: 14px;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.65;
}
.games__note b { color: var(--text); }
.link {
  color: var(--accent);
  border-bottom: 1px solid rgba(224, 29, 56, 0.4);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.link:hover { color: var(--accent-2); border-color: var(--accent-2); }

@media (max-width: 860px) {
  .download__grid { grid-template-columns: 1fr; }
  .dl-card { padding: 30px 24px; }
  .dl-card__head { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 414px) {
  .dl-card { padding: 24px 16px; }
  .dl-btn { padding: 12px 14px; gap: 12px; }
  .dl-btn__label b { font-size: 12px; }
}

/* ---------- FAQ ---------- */
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s var(--ease);
}
.faq__item[open] { border-color: rgba(224, 29, 56, 0.4); }
.faq__item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: color .2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 28px;
  color: var(--accent);
  font-weight: 300;
  transition: transform .3s var(--ease);
  line-height: 1;
}
.faq__item[open] summary::after { content: '−'; }
.faq__item summary:hover { color: var(--accent-2); }
.faq__item p {
  padding: 0 24px 22px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  max-width: 72ch;
  font-family: var(--font-body);
}
@media (max-width: 560px) {
  .faq__item summary { padding: 20px 22px; font-size: 13px; }
  .faq__item p { padding: 0 22px 22px; }
}

/* ---------- clubs (B2B) ---------- */
.clubs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.clubs__card {
  padding: 30px 26px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.clubs__card:hover {
  border-color: rgba(224, 29, 56, 0.4);
  transform: translateY(-2px);
}
.clubs__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(224, 29, 56, 0.1);
  color: var(--accent-2);
  margin-bottom: 24px;
}
.clubs__card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--text);
}
.clubs__card p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
}
.clubs__cta {
  text-align: center;
}
@media (max-width: 768px) {
  .clubs__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 48px; }
}

/* ---------- contacts ---------- */
.contacts__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.contacts__grid .contact {
  flex: 0 1 calc(25% - 12px);
  min-width: 220px;
}
.contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 20px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 130px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.contact svg { margin-bottom: 12px; color: var(--text-dim); transition: color .35s var(--ease), transform .35s var(--ease); }
.contact__label {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.contact__sub {
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 2px;
}
.contact::after {
  content: '↗';
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 18px;
  color: var(--text-mute);
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.contact:hover {
  transform: translateY(-5px);
  border-color: rgba(224, 29, 56, 0.45);
  background: linear-gradient(180deg, rgba(224, 29, 56, 0.08), var(--bg-2));
}
.contact:hover svg { color: var(--accent); transform: scale(1.08); }
.contact:hover::after { color: var(--accent); transform: translate(2px, -2px); }

.contact--whatsapp:hover { border-color: rgba(37, 211, 102, 0.45); background: linear-gradient(180deg, rgba(37, 211, 102, 0.1), var(--bg-2)); }
.contact--whatsapp:hover svg { color: #25d366; }
.contact--tg:hover { border-color: rgba(34, 158, 217, 0.45); background: linear-gradient(180deg, rgba(34, 158, 217, 0.1), var(--bg-2)); }
.contact--tg:hover svg { color: #229ed9; }
.contact--vk:hover { border-color: rgba(0, 119, 255, 0.45); background: linear-gradient(180deg, rgba(0, 119, 255, 0.1), var(--bg-2)); }
.contact--vk:hover svg { color: #0077ff; }
.contact--ig:hover { border-color: rgba(225, 48, 108, 0.45); background: linear-gradient(180deg, rgba(225, 48, 108, 0.1), var(--bg-2)); }
.contact--ig:hover svg { color: #e1306c; }

.contact--soon {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 900px) { .contacts__grid .contact { flex: 0 1 calc(50% - 8px); min-width: 180px; } }
@media (max-width: 460px) { .contacts__grid .contact { flex: 1 1 100%; } }
@media (max-width: 414px) {
  .contact { padding: 22px 16px; }
  .faq__item summary { padding: 18px 16px; font-size: 12px; gap: 14px; }
  .faq__item p { padding: 0 16px 20px; font-size: 14px; }
}

/* ---------- footer ---------- */
.footer {
  padding: 44px 0 52px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}
.footer__inner {
  display: grid;
  gap: 20px;
  max-width: 820px;
  text-align: center;
  justify-items: center;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.footer__brand .brand__mark { width: 26px; height: 26px; }
.footer__copy {
  font-size: 13px;
  color: var(--text-dim);
}
.footer__disclaimer {
  font-size: 12px;
  color: var(--text-mute);
  max-width: 60ch;
  line-height: 1.6;
}

/* ---------- nav mobile ---------- */
@media (max-width: 860px) {
  .nav__links { display: none; }
}
@media (max-width: 414px) {
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .btn--compact { padding: 9px 16px; font-size: 11px; }
  .brand { font-size: 14px; gap: 8px; }
  .brand__mark { width: 26px; height: 26px; }
}

/* =========================================================
   RIVEN COACH — Telegram Mini App section
   ========================================================= */
.coach {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(224, 29, 56, 0.04) 40%, transparent);
}
.coach__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(620px 420px at 78% 38%, rgba(34, 158, 217, 0.14), transparent 62%),
    radial-gradient(700px 500px at 18% 70%, rgba(224, 29, 56, 0.10), transparent 60%);
  pointer-events: none;
}
.coach__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.coach__content .eyebrow { margin-bottom: 22px; }
.eyebrow--pulse b {
  color: #fff;
  background: var(--accent);
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 4px;
  letter-spacing: 0.14em;
  font-weight: 400;
  animation: coach-pulse 2.4s var(--ease) infinite;
}
@keyframes coach-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224, 29, 56, 0.55); }
  60%      { box-shadow: 0 0 0 10px rgba(224, 29, 56, 0); }
}

.coach__title {
  margin-bottom: 20px;
}
.coach__title em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 40px var(--accent-glow);
}
.coach__title-sub {
  display: block;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.coach__lead {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.5vw, 16px);
  letter-spacing: 0.01em;
  color: var(--text-dim);
  max-width: 58ch;
  margin-bottom: 26px;
  line-height: 1.6;
}

.coach__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin-bottom: 28px;
}
.coach__feat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.coach__feat-suit {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: transform .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
}
.coach__feat-suit--red {
  color: var(--accent-2);
  background: rgba(224, 29, 56, 0.08);
  border-color: rgba(224, 29, 56, 0.35);
}
.coach__feat:hover .coach__feat-suit {
  transform: translateY(-2px) rotate(-6deg);
  background: rgba(224, 29, 56, 0.12);
  border-color: rgba(224, 29, 56, 0.5);
  color: var(--accent-2);
}
.coach__feat h3 {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 6px;
}
.coach__feat p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 34ch;
}

.coach__cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.coach__cta .btn--primary {
  background: linear-gradient(180deg, #2fb3ef 0%, #229ed9 55%, #177cb0 100%);
  box-shadow:
    0 14px 40px -12px rgba(34, 158, 217, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.coach__cta .btn--primary:hover {
  box-shadow:
    0 22px 55px -14px rgba(34, 158, 217, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.coach__handle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  font-family: 'SFMono-Regular', Menlo, monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 10px 14px;
  border: 1px dashed rgba(34, 158, 217, 0.45);
  background: rgba(34, 158, 217, 0.08);
  border-radius: 6px;
  color: #8fd2ef;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.coach__handle::before {
  content: '⌘C';
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  padding-right: 8px;
  margin-right: 2px;
  border-right: 1px solid rgba(34, 158, 217, 0.3);
}
.coach__handle:hover {
  background: rgba(34, 158, 217, 0.18);
  color: #b4e2f5;
}
.coach__handle.copied::after {
  content: 'Скопировано!';
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0;
  color: #fff;
  background: var(--accent);
  padding: 4px 12px;
  border-radius: 6px;
  white-space: nowrap;
  animation: fade-up .5s var(--ease) forwards;
}

/* Phone mockup (visual column) — fan of 3 real screenshots */
.coach__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}
.coach__ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  border: 1px dashed rgba(224, 29, 56, 0.18);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.coach__ring--1 {
  width: 480px; height: 480px;
  animation: ring-spin 38s linear infinite;
}
.coach__ring--2 {
  width: 620px; height: 620px;
  border-color: rgba(34, 158, 217, 0.12);
  animation: ring-spin 52s linear infinite reverse;
}
@keyframes ring-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.coach__phone {
  position: relative;
  border-radius: 40px;
  padding: 8px;
  background: linear-gradient(170deg, #232948 0%, #0d1128 60%, #070a1e 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 40px 100px -30px rgba(0, 0, 0, 0.75),
    0 0 80px -20px rgba(224, 29, 56, 0.25),
    inset 0 2px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 0 rgba(0, 0, 0, 0.5);
  transition: transform .6s var(--ease);
}

.coach__phone--main {
  width: 280px;
  aspect-ratio: 9 / 19.5;
  z-index: 2;
  transform: translate(0, 0) rotate(0deg);
}
.coach__phone--side {
  width: 210px;
  aspect-ratio: 9 / 19.5;
  position: absolute;
  top: 50%;
  opacity: 0.82;
  filter: saturate(0.95) brightness(0.9);
}
.coach__phone--left {
  left: calc(50% - 180px);
  transform: translate(-50%, -50%) rotate(-10deg);
  z-index: 1;
}
.coach__phone--right {
  left: calc(50% + 180px);
  transform: translate(-50%, -50%) rotate(10deg);
  z-index: 1;
}
.coach__visual:hover .coach__phone--main  { transform: translate(0, -6px) rotate(0deg); }
.coach__visual:hover .coach__phone--left  { transform: translate(-50%, -54%) rotate(-12deg); }
.coach__visual:hover .coach__phone--right { transform: translate(-50%, -54%) rotate(12deg); }

.coach__phone-badge {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 3;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 4px;
  transform: rotate(8deg);
  box-shadow:
    0 10px 30px -6px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.coach__phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 20px;
  background: #05081A;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}
.coach__phone-notch::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1a3a4a, #060a1a 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.coach__phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
  display: block;
}
.coach__phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Coach — responsive */
@media (max-width: 1100px) {
  .coach__phone--main { width: 260px; }
  .coach__phone--side { width: 190px; }
  .coach__phone--left  { left: calc(50% - 160px); }
  .coach__phone--right { left: calc(50% + 160px); }
  .coach__ring--1 { width: 440px; height: 440px; }
  .coach__ring--2 { width: 560px; height: 560px; }
}
@media (max-width: 960px) {
  .coach__grid { grid-template-columns: 1fr; }
  .coach__visual { order: -1; min-height: 500px; margin-bottom: 4px; }
  .coach__features { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 720px) {
  .coach__phone--side { display: none; }
  .coach__phone--main { width: 260px; }
  .coach__visual { min-height: 460px; }
  .coach__ring--1 { width: 340px; height: 340px; }
  .coach__ring--2 { width: 440px; height: 440px; }
}
@media (max-width: 520px) {
  .coach__phone--main { width: 240px; }
  .coach__visual { min-height: 420px; }
  .coach__ring--1 { width: 300px; height: 300px; }
  .coach__ring--2 { width: 380px; height: 380px; }
  .coach__cta { width: 100%; }
  .coach__cta .btn--primary { flex: 1 1 auto; justify-content: center; }
  .coach__handle { width: 100%; justify-content: center; }
}

/* Hero teaser badge (new) */
.hero__teaser {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text);
  background: rgba(34, 158, 217, 0.08);
  border: 1px solid rgba(34, 158, 217, 0.35);
  border-radius: 40px;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  backdrop-filter: blur(6px);
}
.hero__teaser svg { color: #8fd2ef; transition: transform .3s var(--ease); }
.hero__teaser-arrow {
  color: #8fd2ef;
  font-family: var(--font-display);
  transition: transform .3s var(--ease);
}
.hero__teaser:hover {
  background: rgba(34, 158, 217, 0.16);
  border-color: rgba(34, 158, 217, 0.6);
  transform: translateY(-2px);
}
.hero__teaser:hover svg { transform: translateX(-2px) scale(1.05); }
.hero__teaser:hover .hero__teaser-arrow { transform: translateX(4px); }
.hero__teaser-flag {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 3px 8px;
  border-radius: 3px;
}
@media (max-width: 414px) {
  .hero__teaser { font-size: 12px; padding: 8px 14px; gap: 8px; }
  .hero__teaser-flag { font-size: 9px; padding: 2px 6px; }
}

/* Nav link — new pill */
.nav__link--new {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  white-space: nowrap;
}
.nav__badge {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 2px 5px;
  border-radius: 3px;
  line-height: 1;
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(224, 29, 56, 0.45);
  animation: coach-pulse 2.4s var(--ease) infinite;
}

/* Contacts — Mini App card */
.contact--coach {
  position: relative;
  border-color: rgba(34, 158, 217, 0.35);
  background: linear-gradient(180deg, rgba(34, 158, 217, 0.10), var(--bg-2));
}
.contact--coach svg { color: #8fd2ef; }
.contact--coach:hover {
  border-color: rgba(34, 158, 217, 0.6);
  background: linear-gradient(180deg, rgba(34, 158, 217, 0.2), var(--bg-2));
  transform: translateY(-5px);
}
.contact--coach:hover svg { color: #229ed9; }
.contact__flag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 3px 7px;
  border-radius: 3px;
  box-shadow: 0 6px 18px -4px var(--accent-glow);
}

/* Narrower nav adjustment — hide secondary items so core flow stays one-line */
@media (min-width: 861px) and (max-width: 1100px) {
  .nav__links { gap: 16px; font-size: 11px; }
  .nav__item--secondary { display: none; }
}

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .contact, .step, .game, .coach__phone, .coach__ring--1, .coach__ring--2 { transition: none !important; animation: none !important; }
}
