/* ═══════════════════════════════════════════════════════
   UnityCraft.org — style.css
   Deep ocean dive · honey-gold accent · glass cards
   ═══════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────────────── */
:root {

    /* Backgrounds */
    --bg-top: #0a1628;
    --bg-mid: #071020;
    --bg-bottom: #030810;

    /* Accent */
    --accent: #F2A623;
    --accent-dark: #c47d0e;
    --accent-light: #ffd166;
    --accent-glow: rgba(242, 166, 35, 0.25);
    --accent-glow-strong: rgba(242, 166, 35, 0.5);

    /* Glass cards */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-hover: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.16);
    --glass-blur: 12px;

    /* Dark */
    --gray-border: rgb(130,130,130);

    /* Text */
    --text-primary: #f0f4ff;
    --text-secondary: #8a9abb;
    --text-muted: #6f81a3;

    /* Status */
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;

    /* Spacing scale */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 64px;
    --space-2xl: 100px;
    --space-3xl: 140px;

    /* Layout */
    --max-width: 1200px;
    --section-padding-v: var(--space-3xl);
    --section-padding-h: var(--space-lg);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Fonts */
    --font-cta: 'Russo One', 'Roboto', sans-serif;
}

/* ─── RESET / BASE ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  background: #0a0d11;
  color: var(--text-primary);
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  /* clip (not hidden) so body doesn't become a scroll container,
     which would break window scroll events + scroll-spy + sticky */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

/* ─── TYPOGRAPHY SCALE ──────────────────────────────── */
.text-display {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.text-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.text-heading {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.3;
}
.text-body {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
}
.text-small {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}
.text-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─── REUSABLE COMPONENTS ───────────────────────────── */

/* Glass card */
.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: var(--space-lg);
  transition: background var(--transition-base),
              border-color var(--transition-base),
              transform var(--transition-base),
              box-shadow var(--transition-base);
}
.card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

/* Primary / CTA button — animated golden shimmer, running-border hover, 3D feel */
@property --btn-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.btn-primary {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  /* gold sheen painted directly on the element → corners get clean browser
     anti-aliasing (no clipped full-bleed child = no hard/seamed corners) */
  background: linear-gradient(100deg,
              var(--accent-dark) 0%,
              var(--accent) 25%,
              var(--accent-light) 42%,
              #fff3d6 50%,
              var(--accent-light) 58%,
              var(--accent) 75%,
              var(--accent-dark) 100%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  animation: btnShimmer 5s ease-in-out infinite alternate;
  color: rgba(0,0,0,0.85);
  font-family: var(--font-cta);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  /* outer glow + soft inner bevel (top highlight, bottom shade) */
  box-shadow: 0 5px 16px var(--accent-glow),
              inset 0 1px 0 rgba(255,255,255,0.45),
              inset 0 -2px 4px rgba(120,70,0,0.35);
  transition: box-shadow var(--transition-base), filter var(--transition-fast), transform var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
}
/* (legacy fill layer removed — gold now lives on the element background) */
.btn-primary::before { content: none; }
/* hover: sheen brightens + glow grows */
.btn-primary:hover {
  filter: hue-rotate( 90deg) brightness(0.9);
  box-shadow: 0 10px 34px var(--accent-glow-strong),
              inset 0 1px 0 rgba(255,255,255,0.45),
              inset 0 -2px 4px rgba(120,70,0,0.35);
}
/* press: slight shrink + bright flash (ripple is added in JS) */
    .btn-primary:active {
        transform: scale(0.97);
        filter: hue-rotate( 90deg) brightness(1);
    }

/* Secondary button */
.btn-secondary {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  background: rgba(255,255,255,0.03);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid var(--glass-border-hover);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-base), transform var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
}
/* hover: lighter face/text + darker border */
.btn-secondary:hover { color: #fff; background: rgba(242,166,35,0.10); border-color: var(--accent-dark); box-shadow: 0 8px 26px rgba(242,166,35,0.18); }
/* press: slight shrink + brighter fill (ripple is added in JS) */
.btn-secondary:active { background: rgba(242,166,35,0.18); transform: scale(0.97); }

/* Click ripple (added by js/buttons.js, clipped by button overflow) */
.btn-ripple {
  position: absolute; border-radius: 50%; transform: translate(-50%, -50%) scale(0);
  background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.25) 40%, transparent 70%);
  pointer-events: none; z-index: 2;
  animation: btnRipple 0.6s ease-out forwards;
}

/* Section wrapper */
.section {
  position: relative;
  padding: var(--section-padding-v) var(--section-padding-h);
  z-index: 1;
}
.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section__inner--narrow { max-width: 720px; }
.section__header { text-align: center; margin-bottom: var(--space-xl); }
.section__eyebrow {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(242,166,35,0.1);
  border: 1px solid rgba(242,166,35,0.3);
  border-radius: 100px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section__title { color: var(--text-primary); margin-bottom: 12px; }
.section__subtitle { max-width: 600px; margin: 0 auto; }

/* 128×128 logo placeholder (swap the inner <div> for an <img>) */
.why-logo, .section-logo {
  width: 128px; height: 128px; margin: 0 auto 20px; padding: 12px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--border-radius-md);
  background: rgba(255,255,255,0.03);
/*  border: 1px dashed rgba(242,166,35,0.4);*/
  color: rgba(242,166,35,0.55);
}
.why-logo svg, .section-logo svg { width: 56px; height: 56px; }
.why-logo img, .section-logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0px 6px 4px rgba(0, 0, 0, 0.45));}

/* Status badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; white-space: nowrap;
}
.badge--available { background: rgba(34,197,94,0.15); color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }
.badge--soon      { background: rgba(242,166,35,0.15); color: var(--accent); border: 1px solid rgba(242,166,35,0.3); }
.badge--planned   { background: rgba(255,255,255,0.05); color: var(--text-muted); border: 1px solid rgba(255,255,255,0.08); }
.badge--free      { background: rgba(148,163,184,0.14); color: #aebbd6; border: 1px solid rgba(148,163,184,0.3); }

/* ─── BLOCK 1 · HEADER ──────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 68px;
  /* tone matched to the page background (slate grey-blue), light transparency */
  background: linear-gradient(90deg, rgba(18,23,30,0.82) 0%, rgba(22,28,36,0.7) 100%);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header__inner {
  max-width: var(--max-width); margin: 0 auto; height: 100%;
  padding: 0 var(--space-lg);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.header__left { display: flex; align-items: center; gap: 16px; }
.header__left .lang-switch { padding-left: 16px;    margin-left: 12px; /*border-left: 1px solid rgba(255,255,255,0.12);*/ line-height: 1; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { flex-shrink: 0; display: block; height: 36px; width: auto; }
.logo__text__col 
{
    padding-top: 4px;
    display: flex;
    flex-direction: column;
}
.logo__second__text {
    font-size: 0.5rem;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}
.logo__text {
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
}
.logo__unity { color: #ffffff; font-weight: 800; }
.logo__craft { color: var(--accent); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 24px; }
/* While the window is being resized, kill the mobile-nav slide transition so
   crossing the 980px breakpoint snaps the menu straight to its closed state
   instead of playing the open→close slide. Re-enabled after resize settles. */
html.is-resizing .nav { transition: none !important; }
.nav-link {
  font-size: 0.9rem; font-weight: 500; color: var(--text-secondary);
  text-decoration: none; transition: color var(--transition-base); white-space: nowrap;
}
.nav-link:hover { color: var(--text-primary); }
.nav-link.active { color: var(--accent); }
.nav__mobile-extra { display: none; }

.header__right { display: flex; align-items: center; gap: 20px; }
.header__buy { padding: 10px 22px; font-size: 0.9rem; }

.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; }
.lang { color: var(--text-muted); text-decoration: none; transition: color var(--transition-fast); }
.lang:hover { color: var(--text-secondary); }
.lang--active { color: var(--accent); font-weight: 700; }
.lang__sep { color: var(--text-muted); }

.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 1.4rem; color: var(--text-primary); line-height: 1;
}

/* ─── BLOCK 2 · HERO ────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1; /* lift the whole hero (incl. its video) above the fixed particle-bg (z-index:0) */
  height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: flex-start;
  overflow: hidden;
}
/* soft gold glow on the left for warmth + depth */
.hero::before {
  content: ''; position: absolute; z-index: 1; pointer-events: none;
  left: -8%; top: 32%; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,166,35,0.12), transparent 68%);
  filter: blur(30px);
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  filter: brightness(0.8) saturate(0.8); /* darken the background footage */
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(125% 100% at 0% 45%, rgba(5,10,20,0.92) 0%, rgba(5,10,20,0.55) 46%, rgba(5,10,20,0.22) 100%),
    linear-gradient(to top, var(--bg-bottom) 0%, rgba(3,8,16,0.4) 24%, transparent 46%);
}
.hero__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  text-align: left;
  max-width: var(--max-width); width: 100%; margin: 0 auto;
  padding: 0 var(--space-lg);
}
.hero__eyebrow {
  display: inline-flex; align-items: end; gap: 8px;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--accent); margin-bottom: 18px;
}
.hero__eyebrow-icon { flex-shrink: 0; }
.hero__title {
  color: var(--text-primary);
  font-size: clamp(1.6rem, 3.1vw, 2.4rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.015em;
  max-width: 660px; margin-bottom: 18px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.45);
}
.hero__accent {
  background: linear-gradient(115deg, var(--accent-light) 0%, var(--accent) 55%, var(--accent-dark) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 400; color: var(--text-secondary);
  max-width: 480px; margin-bottom: 34px; line-height: 1.6;
}
.hero__stats { display: flex; align-items: stretch; flex-wrap: wrap; gap: 14px 0; margin-bottom: 36px; }
.hero__stat {
  display: flex; flex-direction: column; justify-content: center; padding: 2px 24px;
  border-left: 1px solid transparent;
  border-image: linear-gradient(to bottom, transparent, rgba(255,255,255,0.22), transparent) 1;
}
.hero__stat:first-child { padding-left: 0; border-image: none; border-left: none; }
.hero__stat-num {
  font-size: 2rem; font-weight: 800; line-height: 1;
  background: linear-gradient(120deg, #fff3d6 0%, var(--accent) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__stat-label { font-size: 0.8rem; color: var(--text-secondary); margin-top: 8px; letter-spacing: 0.01em; line-height: 1.3; max-width: 110px; }
.hero__buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-start; }
/* Hero/header primary CTA: keep the inner bevel, just drop the outer glow.
   translateZ(0) promotes the button to its own GPU layer so the header's
   backdrop-filter blur doesn't anti-alias against its rounded corners and
   leave 1px specks at the top edges — and makes header == hero exactly. */
.hero__buttons .btn-primary,
.nav__buy-mobile,
.header__buy {
  transform: translateZ(0);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45),
              inset 0 -2px 4px rgba(120,70,0,0.35);
}
.hero__buttons .btn-primary:hover,
.nav__buy-mobile:hover,
.header__buy:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45),
              inset 0 -2px 4px rgba(120,70,0,0.35);
}
/* keep the press-shrink while staying on its own layer */
.hero__buttons .btn-primary:active,
.nav__buy-mobile:active,
.header__buy:active { transform: translateZ(0) scale(0.97); }
/* Hero secondary matches the YouTube button: clean outline, no hover glow */
.hero__buttons .btn-secondary:hover,
.unity-start__yt .btn-secondary:hover { box-shadow: none; }
.hero__assurance { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; list-style: none; }
.hero__assurance li {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 16px 8px 11px; border-radius: 100px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 0.85rem; color: var(--text-primary);
}
/* per-item checkmark badge — the <svg> lives in each <li> in index.html so it
   can be swapped individually (no shared CSS-generated glyph) */
.hero__assurance__ic {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  /*background: rgba(34,197,94,0.18); */color: var(--accent);
}
.hero__assurance__ic svg { width: 16px; height: 16px; display: block; }
/* Social links (reused in hero + footer) */
.social-links { display: flex; align-items: center; gap: 12px; }
.social-link {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  color: var(--text-secondary); text-decoration: none;
  transition: transform var(--transition-base), border-color var(--transition-base),
              background var(--transition-base), color var(--transition-base);
}
.social-link:hover { transform: translateY(-3px); border-color: var(--glass-border-hover); background: var(--glass-bg-hover); }
.social-link--youtube { color: #FF3D32; }
.social-link--youtube:hover { color: #FF0000; border-color: rgba(255,0,0,0.4); }

/* ─── BLOCK 3 · OCEAN BACKGROUND + BUBBLES ──────────── */
.particle-bg {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; overflow: hidden;
  /* darker, more slate grey-blue up top → deep near-black toward the bottom */
  background: linear-gradient(to bottom, #141a20 0%, #11161c 30%, #0d1116 58%, #090c10 82%, #05070a 100%);
}
/* two gently drifting current layers — soft radial gradients, NO blur/blend (cheap to composite) */
.particle-bg::before,
.particle-bg::after {
  content: ''; position: absolute; inset: -20%; z-index: 1;
  will-change: transform; transform: translateZ(0);
}
.particle-bg::before {
  background:
    radial-gradient(40% 34% at 26% 24%, rgba(96,116,140,0.16) 0%, transparent 72%),
    radial-gradient(48% 40% at 78% 40%, rgba(74,92,112,0.14) 0%, transparent 72%);
  animation: oceanDriftA 34s ease-in-out infinite alternate;
}
.particle-bg::after {
  background:
    radial-gradient(42% 36% at 70% 16%, rgba(110,128,150,0.12) 0%, transparent 72%),
    radial-gradient(46% 42% at 18% 64%, rgba(60,78,98,0.14) 0%, transparent 72%);
  animation: oceanDriftB 43s ease-in-out infinite alternate;
}
@keyframes oceanDriftA {
  0%   { transform: translate3d(-2%, 1%, 0) scale(1.04); }
  100% { transform: translate3d(3%, -2%, 0) scale(1.1); }
}
@keyframes oceanDriftB {
  0%   { transform: translate3d(2%, -1%, 0) scale(1.08); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  .particle-bg::before, .particle-bg::after { animation: none; }
}
/* scroll-depth darkening — opacity-only (compositor friendly), set via --depth in JS.
   At the footer (--depth → 1) the water becomes near-black for a real sense of depth. */
.ocean-depth {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to bottom, rgba(7,9,12,0.4) 0%, rgba(4,5,8,0.88) 60%, #030406 100%);
  opacity: var(--depth, 0);
}
/* bubble canvas sits above the water layers */
.ocean__bubbles { position: absolute; inset: 0; z-index: 3; pointer-events: none; }

/* ─── BLOCK 4 · STATS ───────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card { text-align: center; padding: 32px 24px; }
.stat-catd__img {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
}
.stat-card__rule {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin: 0 auto 20px;
}
.stat-card__num {
  font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 900; color: var(--text-primary);
  line-height: 1; margin-bottom: 12px;
}
.stat-card__label { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }

/* Games made on Unity — screenshot grid */
.games-grid__lead {
  margin: 56px 0 22px; text-align: center;
  font-weight: 500; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem;
}
.games-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.game-shot {
  position: relative; margin: 0; border-radius: var(--border-radius-md);
  overflow: hidden; border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  transition: transform var(--transition-base), border-color var(--transition-base);
}
.game-shot:hover { transform: translateY(-4px); border-color: var(--glass-border-hover); }
.game-shot img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
/* clickable game screenshots open in the media modal */
.game-shot { cursor: pointer; }
.game-shot__overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(3,8,16,0.45); opacity: 0; transition: opacity 0.25s;
}
.game-shot:hover .game-shot__overlay { opacity: 1; }
.game-shot__zoom { font-size: 2.4rem; color: #fff; filter: drop-shadow(0 0 12px rgba(242,166,35,0.8)); }
.game-shot__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 14px; color: #fff; font-weight: 500; font-size: 0.9rem;
  background: rgba(3,8,16,0.62);
}

/* ─── BLOCK 5 · UNITY START ─────────────────────────── */
.unity-start__lead { font-size: 1rem; color: var(--accent); font-weight: 500; margin: 14px 0 16px; }
.video-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  max-width: 900px; margin: 0 auto;
}
.video-card { padding: 0; overflow: hidden; cursor: pointer; }
.video-card:hover { transform: translateY(-4px); }
/* image already clipped by the card's rounded overflow — kill the thumb's own radius so its bottom corners sit flush with the caption */
.video-card .lesson-thumb { border-radius: 0; }
.video-card__player { aspect-ratio: 16/9; width: 100%; background: #000; }
.video-card__player .plyr { height: 100%; }
.video-card__player video { width: 100%; height: 100%; object-fit: cover; }
.video-card__caption {
  padding: 12px 16px; background: rgba(0,0,0,0.3);
  font-size: 0.85rem; color: var(--text-secondary);
}
.unity-start__yt { text-align: center; margin-top: 32px; }

/* ─── BLOCK 6 · COURSE ORDER (roadmap) ──────────────── */
.roadmap { list-style: none; position: relative; display: flex; flex-direction: column; gap: 16px; }
/* the vertical journey line, fading toward the not-yet-released steps */
.roadmap::before {
  content: ''; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px;
  background: linear-gradient(to bottom,
              var(--accent) 0%, var(--accent) 50%,
              rgba(242,166,35,0.25) 72%, rgba(255,255,255,0.06) 100%);
}
.roadmap__step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }
.roadmap__rail { display: flex; justify-content: center; padding-top: 6px; }
.roadmap__node {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-cta); font-size: 1.3rem; color: #0a1628;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
  border: 4px solid var(--bg-top);
  box-shadow: 0 0 0 1px rgba(242,166,35,0.45), 0 8px 22px rgba(242,166,35,0.22);
  position: relative; z-index: 1;
}
/* upcoming (soon) node: gold with a pulsing ring */
.roadmap__step--soon .roadmap__node::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--accent); animation: roadmapPulse 2.2s ease-out infinite;
}
@keyframes roadmapPulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.55); opacity: 0; } }
/* planned node: same gradient treatment as the gold nodes, but a dark slate-blue tone (opaque so the line never shows through) */
.roadmap__step--planned .roadmap__node {
  background: linear-gradient(135deg, #44587a, #1c2740);
  color: #aebbd6;
  border-color: var(--bg-top); box-shadow: 0 0 0 1px var(--glass-border), 0 8px 22px rgba(0,0,0,0.35);
}

.roadmap__card {
  display: flex; align-items: center; gap: 22px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md); padding: 18px 22px;
  backdrop-filter: blur(var(--glass-blur));
  transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}
.roadmap__media { flex: 0 0 176px; display: flex; flex-direction: column; gap: 10px; }
.roadmap__thumb {
  width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--border-radius-sm); /*border: 1px solid var(--glass-border);*/
  background-size: cover; background-position: center;
}
.roadmap__more { width: 100%; padding: 8px 14px; font-size: 0.82rem; }
.roadmap__body { flex: 1; min-width: 0; }
.roadmap__step:hover .roadmap__card { transform: translateX(4px); border-color: var(--glass-border-hover); background: var(--glass-bg-hover); }
.roadmap__step--soon .roadmap__card { border-color: rgba(242,166,35,0.35); background: rgba(242,166,35,0.05); }
.roadmap__step--planned .roadmap__card { opacity: 0.72; }

.roadmap__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.roadmap__name { font-weight: 700; font-size: 1.15rem; color: var(--text-primary); white-space: nowrap; }
.roadmap__meta { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.45; margin-bottom: 14px; }

.roadmap__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 0; }
.roadmap__tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 100px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border);
  font-size: 0.8rem; color: var(--text-secondary); white-space: nowrap;
}
.roadmap__tag svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

/* inline countdown badge — gold "Скоро" style with live timer */
.roadmap__countdown { gap: 6px; padding: 5px 14px; }
.roadmap__countdown svg { width: 14px; height: 14px; flex-shrink: 0; }
.roadmap__cd { display: inline-flex; align-items: baseline; gap: 1px; letter-spacing: 0; }
.roadmap__cd b { font-variant-numeric: tabular-nums; font-weight: 700; }

@media (max-width: 600px) {
  .roadmap__step { grid-template-columns: 44px 1fr; gap: 14px; }
  .roadmap::before { left: 21px; }
  .roadmap__node { width: 44px; height: 44px; font-size: 1.05rem; border-width: 3px; }
  .roadmap__card { padding: 16px; flex-direction: column; align-items: stretch; gap: 14px; }
  .roadmap__media { flex: none; width: 100%; }
  .roadmap__thumb { width: 100%; }
}

/* ─── BLOCK 7 · COURSES PROGRAM ─────────────────────── */
.course-list { display: flex; flex-direction: column; gap: 28px; }
.course-card {
  display: grid; grid-template-columns: 300px 1fr;
  border-radius: var(--border-radius-lg); overflow: hidden;
  border: 1px solid var(--glass-border);
  background: rgba(5,10,20,0.6);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
.course-card:hover {
  border-color: rgba(242,166,35,0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: translateY(-3px);
}

/* ── media column: intro video button + 4 screenshots ── */
.course-card__media {
  padding: 20px; display: flex; flex-direction: column; gap: 12px;
  background: rgba(3,8,16,0.5);
  border-right: 1px solid var(--glass-border);
}
.course-intro {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border: 1px solid var(--gray-border); border-radius: var(--border-radius-md);
  background-size: cover; background-position: center; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; overflow: hidden; padding: 0;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.course-intro::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3,8,16,0.85), rgba(3,8,16,0.35));
  transition: background 0.3s ease;
}
.course-intro:hover { border-color: rgba(242,166,35,1); }
.course-intro:hover::after { background: linear-gradient(to top, rgba(3,8,16,0.78), rgba(3,8,16,0.2)); }
.course-intro__num {
  position: absolute; top: 10px; left: 14px; z-index: 2;
  font-size: 2.4rem; font-weight: 900; color: rgba(255,255,255,0.80);
  line-height: 1; user-select: none;
}
.course-intro__play {
  position: relative; z-index: 2; width: 48px; height: 36px; border-radius: 25%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
  box-shadow: 0 8px 24px rgba(0,0,0,0.55);
  transition: transform 0.3s ease;
}
.course-intro:hover .course-intro__play { transform: scale(1.1); }
.course-intro__play svg { width: 24px; height: 24px; color: #0a1628; margin-left: 3px; }
.course-intro__label {
  position: relative; z-index: 2; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; color: #fff;
}
.course-intro--locked { cursor: default; }
.course-intro--locked .course-intro__lock {
  position: relative; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border);
}
.course-intro--locked .course-intro__lock svg { width: 22px; height: 22px; color: var(--text-muted); }

.course-shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.course-shot {
  aspect-ratio: 1; border: 1px solid var(--gray-border); border-radius: var(--border-radius-sm);
  background-size: cover; background-position: center; cursor: pointer; padding: 0;
  position: relative; overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.course-shot::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(242,166,35,0); transition: background 0.25s ease;
}
.course-shot:hover { border-color: rgba(242,166,35,1); transform: scale(1.04); }
.course-shot:hover::after { background: rgba(242,166,35,0.12); }

/* ── content column ── */
.course-card__content {
  padding: 28px 32px; display: flex; flex-direction: column; gap: 12px;
}
.course-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.course-card__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.course-card__stat {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 0.82rem; color: var(--text-secondary);
  background: var(--glass-bg); padding: 4px 11px; border-radius: 100px;
  border: 1px solid var(--glass-border);
}
.course-card__stat svg { width: 21px; height: 21px; color: var(--accent); flex-shrink: 0; }
.course-card__count {
  font-size: 0.82rem; color: var(--text-muted);
  background: var(--glass-bg); padding: 4px 12px; border-radius: 100px;
  border: 1px solid var(--glass-border);
}
.course-card__title { margin: 0; }
.course-card__tag {
  font-size: 0.8rem; color: var(--accent);
  background: rgba(242,166,35,0.08); border: 1px solid rgba(242,166,35,0.2);
  padding: 3px 12px; border-radius: 100px; width: fit-content;
}
.course-card__desc { font-size: 0.92rem; line-height: 1.6; color: var(--text-secondary); margin: 0; }
    .course-card__desc p {
        font-size: 0.92rem;
        line-height: 1.55; /* было 1.7 */
        color: var(--text-secondary);
        margin-bottom: 10px; /* было 14px */
    }

.course-card__tagline {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 12px;
}

.course-card__desc em {
    color: var(--accent);
    font-style: normal;
    font-weight: 500;
}

.course-card__skills {
    margin-top: 14px; /* было 20px */
    padding: 14px 16px; /* было 18px 20px */
    background: rgba(242, 166, 35, 0.05);
    border: 1px solid rgba(242, 166, 35, 0.15);
    border-radius: var(--border-radius-sm, 8px);
}

.course-card__skills-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px; /* было 12px */
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px; /* было 8px */
    list-style: none;
    padding: 0;
    margin: 0 0 10px; /* было 14px */
}

    .skills-list li {
        font-size: 0.8rem;
        color: var(--text-primary);
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid var(--glass-border, rgba(255,255,255,0.08));
        border-radius: 100px;
        padding: 4px 11px; /* было 5px 12px */
    }

.course-card__skills-final {
    font-size: 0.86rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-style: italic;
    line-height: 1.45;
}

.course-card__note {
    margin-top: 14px;
    padding: 10px 14px;
    font-size: 0.83rem;
    background: rgba(242, 166, 35, 0.06);
    border-left: 3px solid var(--accent);
    border-radius: 0 8px 8px 0;
    line-height: 1.45;
    font-style: italic;
}
/* "Что входит в курс" — out of accordion, inline */
.course-includes {
  background: rgba(255,255,255,0.025); border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md); padding: 16px 18px;
}
.course-includes__title {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px;
}
.course-includes__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px;
}
.course-include {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.88rem; color: var(--text-secondary);
}
    .course-include svg {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        color: var(--accent);
        /*  background: rgba(242,166,35,0.12); border-radius: 50%;*/ padding: 2px;
    }
.course-include--muted { opacity: 0.6; }
.course-include--muted svg { color: var(--text-muted); background: rgba(255,255,255,0.05); }

.course-card__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.course-card__lessons {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: var(--border-radius-sm);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  color: var(--text-primary); font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.course-card__lessons svg { width: 17px; height: 17px; color: var(--accent); }
.course-card__lessons:hover { background: var(--glass-bg-hover); border-color: rgba(242,166,35,0.3); }
/* Buy button lives in the media column, pinned to the bottom; accent outline — noticeable but not a CTA */
.course-card__buy {
  width: 100%; margin-top: auto;
  border-color: var(--accent); color: var(--accent);
  background: rgba(242,166,35,0.07);
  font-size: 0.92rem; font-weight: 600; padding: 12px 18px;
}
.course-card__buy:hover { background: rgba(242,166,35,0.16); border-color: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(242,166,35,0.2); }
/* "Курс скоро выйдет" replaces the buy button on unreleased courses */
.course-card__soon {
    width: 100%;
    margin: auto 0 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
/*    border-radius: var(--border-radius-sm);*/
    border-top: 1px solid var(--glass-border);
    /*border: 1px dashed rgba(242,166,35,0.4); background: rgba(242,166,35,0.04);*/
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
}
.course-card__soon svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.course-card__buy { font-size: 0.9rem; }
.course-card__note { font-size: 0.82rem; color: var(--accent); font-style: italic; margin: 0; }
.course-card__included { font-size: 0.82rem; color: var(--text-muted); margin: 0; }
.course-card--planned .course-card__content { opacity: 0.92; }

@media (max-width: 760px) {
  .course-card { grid-template-columns: 1fr; }
  .course-card__media { border-right: none; border-bottom: 1px solid var(--glass-border); }
  .course-card__content { padding: 24px; }
  .course-includes__grid { grid-template-columns: 1fr; }
}

/* ── Lessons modal (scrollable curriculum) — matches .media-box / .purchase-box ── */
.lessons-box {
  max-width: 560px; width: 92vw; text-align: left;
  background: #151b22; border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 28px;
}
.lessons-box__title {
  font-family: var(--font-cta); font-size: 1.4rem; color: var(--text-primary);
  margin: 0 0 4px; padding-right: 40px;
}
.lessons-box__sub { font-size: 0.88rem; color: var(--accent); margin: 0 0 18px; }
.lessons-box__scroll {
  max-height: 60vh; overflow-y: auto; padding-right: 8px;
  scrollbar-width: thin; scrollbar-color: var(--accent) transparent;
}
.lessons-box__scroll::-webkit-scrollbar { width: 7px; }
.lessons-box__scroll::-webkit-scrollbar-thumb { background: rgba(242,166,35,0.4); border-radius: 4px; }
.lessons-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.lessons-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 4px; border-bottom: 1px solid var(--glass-border);
}
.lessons-list li:last-child { border-bottom: none; }
.lessons-list__num {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: var(--accent);
  background: rgba(242,166,35,0.1); border: 1px solid rgba(242,166,35,0.25);
}
.lessons-list__text { font-size: 0.92rem; color: var(--text-secondary); }

/* Countdown */
.countdown {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.countdown__unit {
 /* background: rgba(242,166,35,0.1); border: 1px solid rgba(242,166,35,0.25);*/
  /*border-radius: 8px;*/ padding: 0px 8px; text-align: center;/* min-width: 56px;*/
}
.countdown__num { display: block; font-size: 1.4rem; font-weight: 700; color: var(--accent); line-height: 1; }
.countdown__label { display: block; font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; margin-top: 4px; }

/* Planned card */
.course-card--planned { opacity: 0.92; }
.course-card__img--planned { filter: blur(2px) brightness(0.4); }
.course-card__planned-label {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; font-weight: 900; color: var(--accent); letter-spacing: 0.05em;
}
.course-card__content--planned { opacity: 0.85; }
.course-card__release { font-size: 0.95rem; color: var(--text-secondary); }
.course-card__included { font-size: 0.85rem; color: var(--text-muted); }

/* ─── BLOCK 8 · MAIN OFFER ──────────────────────────── */
.offer-section { background: radial-gradient(ellipse at 50% 40%, rgba(242,166,35,0.05) 0%, transparent 70%); }

.offer-card {
  max-width: 960px; margin: 0 auto; padding: 0; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}
/* this card is a static panel — no hover lift/glow */
.offer-card:hover { background: var(--glass-bg); border-color: var(--glass-border); box-shadow: none; transform: none; }
.offer-card__left { padding: 40px; border-right: 1px solid var(--glass-border); min-width: 0; }
.offer-includes__title {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 16px;
}
.offer-includes { display: flex; flex-direction: column; margin-bottom: 28px; }
.offer-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--glass-border); font-size: 0.98rem;
}
.offer-row:last-child { border-bottom: none; }
.offer-row__name { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; color: var(--text-primary); }
.offer-row__idx {
  font-size: 0.72rem; font-weight: 700; color: var(--accent);
  width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(242,166,35,0.1); border: 1px solid rgba(242,166,35,0.25);
}

/* price-growth ladder */
.offer-ladder {
  background: rgba(255,255,255,0.025); border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md); padding: 18px;
}
.offer-ladder__lead { font-size: 0.88rem; line-height: 1.55; color: var(--text-secondary); margin-bottom: 18px; }
.offer-ladder__lead b { color: var(--accent); }

/* price-growth progress bar — 4 graduated milestones */
.offer-progress { padding: 38px 14px 30px; }
.offer-progress__track {
  position: relative; height: 8px; border-radius: 100px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border);
}
.offer-progress__fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 33.33%;
  border-radius: 100px; background: linear-gradient(90deg, var(--accent-dark), var(--accent-light));
}
.offer-progress__step { position: absolute; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; }
.offer-progress__step:first-of-type { align-items: flex-start; }
.offer-progress__step:last-of-type { align-items: flex-end; }
.offer-progress__dot {
  width: 13px; height: 13px; border-radius: 50%; position: relative; z-index: 1;
  background: linear-gradient(135deg, #44587a, #1c2740); border: 2px solid var(--bg-top);
  box-shadow: 0 0 0 1px var(--glass-border);
}
.offer-progress__dot--done { background: var(--accent-dark); box-shadow: 0 0 0 1px var(--accent-dark); }
.offer-progress__dot--now {
  width: 17px; height: 17px; background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 0 5px rgba(242,166,35,0.2);
}
.offer-progress__price {
  position: absolute; bottom: calc(100% + 9px); font-family: var(--font-cta);
  font-weight: 800; font-size: 1.05rem; color: #8a9abb; white-space: nowrap;
}
.offer-progress__price--now { font-size: 1.25rem; color: var(--accent); }
.offer-progress__note {
  position: absolute; top: calc(100% + 9px); font-size: 0.68rem;
  color: var(--text-muted); white-space: nowrap; line-height: 1.2;
}
.offer-progress__step--now .offer-progress__note { color: var(--text-secondary); font-weight: 600; }
.offer-progress__flag {
  position: absolute; bottom: calc(100% + 34px);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.03em; white-space: nowrap;
  background: var(--accent); color: #0a1628; padding: 2px 8px; border-radius: 100px;
}
.offer-progress__timer {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px;
  margin-top: 6px; font-size: 0.8rem; color: var(--text-secondary); text-align: center;
}
.offer-progress__timer svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.offer-progress__clock { font-variant-numeric: tabular-nums; color: var(--text-primary); }
.offer-progress__clock b { font-weight: 700; color: var(--accent); }

/* buy column */
.offer-card__buy {
  scroll-margin-top: 96px;
  padding: 40px; display: flex; flex-direction: column; justify-content: center; min-width: 0;
  background: rgba(242,166,35,0.03);
}
.offer-buy__heading { font-weight: 700; font-size: 1.02rem; line-height: 1.4; color: var(--text-primary); text-align: center; margin-bottom: 16px; }
.offer-buy__cover {
  width: 100%; aspect-ratio: 16 / 9; margin-bottom: 22px;
  border-radius: var(--border-radius-sm); /*border: 1px solid var(--glass-border);*/
  background-size: cover; background-position: center;
}
/* "Бесплатно" in the includes list — same size as "Доступен", muted slate-blue */
.offer-includes .badge--free {
  font-size: 0.78rem; padding: 4px 12px;
  background: rgba(148,163,184,0.14); color: #aebbd6; border-color: rgba(148,163,184,0.3);
}
/* premium price box, fused with the CTA */
.offer-pricebox {
  border-radius: var(--border-radius-md); padding: 22px 22px 22px;
  background:
    linear-gradient(150deg, rgba(242,166,35,0.16) 0%, rgba(242,166,35,0.04) 45%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(242,166,35,0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.offer-pricebox__row { display: flex; align-items: stretch; gap: 18px; }
.offer-pricebox__nowcol { display: flex; flex-direction: column; gap: 3px; }
.offer-pricebox__fullcol {
  display: flex; flex-direction: column; gap: 3px; justify-content: center;
  padding-left: 18px; border-left: 1px solid rgba(242,166,35,0.22);
}
.offer-pricebox__nowlabel,
.offer-pricebox__fulllabel {
  font-family: 'Roboto', sans-serif; font-weight: 500;
  font-size: 0.82rem; letter-spacing: 0.01em; color: var(--text-secondary);
}
.offer-pricebox__now {
  font-family: 'Roboto', sans-serif; font-weight: 500; line-height: 0.95;
  font-size: 3.4rem; letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--accent);
}
.offer-pricebox__cur { font-weight: 400; font-size: 1.7rem; vertical-align: top; line-height: 1; margin-right: 2px; }
.offer-pricebox__full {
  font-family: 'Roboto', sans-serif; font-weight: 500; line-height: 0.95;
  font-size: 3.4rem; letter-spacing: -0.01em; color: #8a9abb;
}
.offer-pricebox__sublabel {
  font-family: 'Roboto', sans-serif; font-weight: 400;
  font-size: 0.82rem; color: var(--text-secondary); margin: 14px 0 16px;
}
.offer-pricebox .offer-card__cta {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    margin: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), inset 0 -2px 4px rgba(120,70,0,0.35);
    transform: translateZ(0);
}
.offer-pricebox .offer-card__cta:hover { box-shadow: none; }

/* consultant secondary button */
.offer-consult { margin-top: 18px; text-align: center; }
.offer-consult__label {
  display: block; font-family: 'Roboto', sans-serif; font-weight: 400;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); margin-bottom: 8px;
}
.offer-consult__btn { width: 100%; padding: 12px 18px; font-size: 0.92rem; }
.offer-consult__btn svg { width: 18px; height: 18px; }
/* CTA — matches hero primary: bevel, no outer glow */
.offer-card__cta {
    width: 100%;
    padding: 17px;
    font-size: 1.1rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), inset 0 -2px 4px rgba(120,70,0,0.35);
    transform: translateZ(0);
}
.offer-card__cta:hover { box-shadow: none; }
.offer-card__cta:active { transform: translateZ(0) scale(0.97); }
.offer-card__assure { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--glass-border); }
.offer-card__assure-item { display: flex; align-items: center; gap: 11px; font-size: 0.88rem; line-height: 1.4; color: var(--text-secondary); }
.offer-card__assure-item b { color: var(--text-primary); font-weight: 700; }
.offer-card__assure-ic {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(242,166,35,0.1); border: 1px solid rgba(242,166,35,0.22);
}
.offer-card__assure-ic svg { width: 15px; height: 15px; color: var(--accent); }
.offer-buy__chat { width: 100%; margin-top: 14px; padding: 12px 18px; font-size: 0.92rem; }
.offer-buy__chat svg { width: 18px; height: 18px; }

/* features icon grid */
.offer-features {
  max-width: 960px; margin: 28px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.offer-feature {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; border-radius: var(--border-radius-md);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  transition: border-color var(--transition-base), transform var(--transition-base);
}
.offer-feature:hover { border-color: rgba(242,166,35,0.3); transform: translateY(-2px); }
.offer-feature__icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
/*  background: rgba(242,166,35,0.1); border: 1px solid rgba(242,166,35,0.22);*/
}
.offer-feature__icon svg { width: 22px; height: 22px; color: var(--accent); }
.offer-feature__body { display: flex; flex-direction: column; gap: 3px; }
.offer-feature__title { font-weight: 700; font-size: 0.96rem; color: var(--text-primary); }
.offer-feature__desc { font-size: 0.82rem; line-height: 1.45; color: var(--text-muted); }

/* value reassurance */
.offer-value {
  max-width: 960px; margin: 28px auto 0;
  display: flex; gap: 18px; align-items: center;
  padding: 24px 28px; border-radius: var(--border-radius-md);
  background: linear-gradient(135deg, rgba(242,166,35,0.1), rgba(242,166,35,0.03));
  border: 1px solid rgba(242,166,35,0.3);
}
.offer-value__icon {
  flex-shrink: 0; width: 64px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
/*  background: rgba(242,166,35,0.16); border: 1px solid rgba(242,166,35,0.35);*/
}
.offer-value__icon svg { width: 26px; height: 26px; color: var(--accent); }
.offer-value__title { display: block; font-weight: 800; font-size: 1.1rem; color: var(--text-primary); margin-bottom: 6px; }
.offer-value__text p { font-size: 0.92rem; line-height: 1.6; color: var(--text-secondary); margin: 0; }
.offer-value__text b { color: var(--accent); }

/* delivery steps */
.offer-delivery-block {
  max-width: 960px; margin: 28px auto 0;
  padding: 28px; border-radius: var(--border-radius-md);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
}
.offer-delivery__title { text-align: center; font-size: 1.15rem; font-weight: 800; color: var(--text-primary); margin-bottom: 22px; }
.offer-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.offer-step {
  position: relative; text-align: center;
  padding: 24px 16px 18px; border-radius: var(--border-radius-sm);
  background: rgba(255,255,255,0.025); border: 1px solid var(--glass-border);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
}
.offer-step__num {
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 128px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: #FFFFFF;
    background: linear-gradient(135deg, #3d4e9c, #2a516c);
}
.offer-step__icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 4px;
  display: flex; align-items: center; justify-content: center;
/*  background: rgba(242,166,35,0.1); border: 1px solid rgba(242,166,35,0.22);*/
}
.offer-step__icon svg { width: 24px; height: 24px; color: var(--accent); }
.offer-step__title { font-weight: 700; font-size: 0.95rem; color: var(--text-primary); }
.offer-step__desc { font-size: 0.82rem; line-height: 1.45; color: var(--text-muted); }
.offer-delivery__note {
  display: flex; align-items: center; gap: 9px; justify-content: center;
  margin-top: 20px; font-size: 0.82rem; color: var(--text-muted); text-align: center;
}
.offer-delivery__note svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

@media (max-width: 880px) {
  .offer-card { grid-template-columns: 1fr; }
  .offer-card__left { border-right: none; border-bottom: 1px solid var(--glass-border); padding: 28px 22px; }
  .offer-card__buy { padding: 28px 22px; }
  .offer-features, .offer-steps { grid-template-columns: 1fr; }
  .offer-value { flex-direction: column; gap: 14px; }
}

/* ─── BLOCK 9 · WHY UNITYCRAFT (comparison) ─────────── */
.cmp-grid {
  display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 0;
  align-items: center; max-width: 1040px; margin: 0 auto;
}
.cmp-col {
  background: rgba(255,255,255,0.025); border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md); padding: 28px 26px;
}
.cmp-col:first-child { border-radius: var(--border-radius-md) 0 0 var(--border-radius-md); border-right: none; }
.cmp-col:last-child { border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0; border-left: none; }
/* center column pops out: taller, gold-bordered, glowing, above the rest */
.cmp-col--main {
    position: relative;
    z-index: 2;
    padding: 30px 28px 28px;
    background: linear-gradient(180deg, rgba(242,166,35,0.17), rgba(242,166,35,0.12));
    border: 1.5px solid rgba(242,166,35,0.55);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 0 0 1px rgba(242,166,35,0.1), 0 24px 60px rgba(0,0,0,0.5), 0 0 50px rgba(242,166,35,0.12);
    backdrop-filter: blur(6px);
}

.cmp-col__head { padding-bottom: 18px; margin-bottom: 4px; border-bottom: 1px solid var(--glass-border); }
.cmp-col--main .cmp-col__head { border-bottom-color: rgba(242,166,35,0.25); }
.cmp-col__title { font-family: 'Roboto', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--text-primary); line-height: 1.1; }
.cmp-col__title--main { color: var(--accent); }
.cmp-col__sub {
  display: block; margin-top: 7px; font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted);
}
.cmp-col__sub--main { color: rgba(242,166,35,0.75); }
.cmp-col__badge {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px; white-space: nowrap;
  padding: 6px 14px; border-radius: 100px;
  background: rgba(242,166,35,0.12); border: 1px solid rgba(242,166,35,0.4);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent);
}
.cmp-col__badge svg { width: 15px; height: 15px; }

.cmp-list { list-style: none; margin: 0; padding: 0; }
.cmp-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--glass-border);
  font-size: 0.92rem; color: var(--text-primary); line-height: 1.35;
}
.cmp-row:last-child { border-bottom: none; }
.cmp-col--main .cmp-row { border-bottom-color: rgba(242,166,35,0.14); }
.cmp-ic {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.cmp-ic svg { width: 18px; height: 18px; }
.cmp-ic--yes { color: var(--success); /*background: rgba(46,204,113,0.14); */}
.cmp-ic--warn { color: var(--accent); /*background: rgba(242,166,35,0.14); */}
.cmp-ic--no { color: var(--danger); /*background: rgba(231,76,60,0.14); */}

.cmp-col__logo { display: inline-flex; align-items: center; gap: 10px; }
.cmp-col__logo .logo__text { font-size: 1.5rem; }
.cmp-col__logo .logo__mark { height: 40px; }

.cmp-col__cta {
  display: flex; justify-content: center; width: 100%; margin-top: 22px;
  padding: 14px; font-size: 1rem; font-weight: 600;
  border-color: var(--accent); color: var(--accent); background: rgba(242,166,35,0.07);
}
.cmp-col__cta:hover { background: rgba(242,166,35,0.16); border-color: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(242,166,35,0.2); }

/* ─── BLOCK 10 · LESSON EXAMPLES ────────────────────── */
/* examples: same card treatment as Unity Старт video cards */
.examples-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.example { padding: 0; overflow: hidden; cursor: pointer; }
.example:hover { transform: translateY(-4px); }
.lesson-thumb {
  position: relative; border-radius: var(--border-radius-md); overflow: hidden;
  aspect-ratio: 16/9; background-size: cover; background-position: center;
  transition: transform 0.25s ease;
}
.example .lesson-thumb { border-radius: 0; }
.example:hover .lesson-thumb { transform: scale(1.02); }
.lesson-thumb__overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.5);
  opacity: 0; transition: opacity 0.25s; display: flex; align-items: center; justify-content: center;
}
.example:hover .lesson-thumb__overlay,
.video-card:hover .lesson-thumb__overlay,
.gallery-slide:hover .lesson-thumb__overlay { opacity: 1; }
.lesson-thumb__play { font-size: 3rem; color: white; filter: drop-shadow(0 0 12px rgba(0,0,0,0.8)); }
.example__caption { padding: 12px 16px; background: rgba(0,0,0,0.3); display: flex; flex-direction: column; gap: 2px; }
.example__course { font-size: 0.78rem; color: var(--accent); font-weight: 600; text-transform:uppercase; }
.example__lesson { font-size: 0.9rem; color: var(--text-primary); font-weight: 500; }

/* ─── BLOCK 11 · HOW TO STUDY ───────────────────────── */
.howto-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  max-width: 900px; margin: 0 auto;
}
.howto-card {
  display: flex; gap: 16px; align-items: center;
  padding: 20px 22px; border-radius: var(--border-radius-md);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}
.howto-card:hover { transform: translateY(-3px); border-color: rgba(242,166,35,0.3); background: var(--glass-bg-hover); }
.howto-card--wide { grid-column: 1 / -1; }
.howto-card__img {
  width: 64px; height: 64px; flex-shrink: 0; object-fit: cover;
/*  border-radius: 16px; border: 1px solid var(--glass-border);*/
}
.howto-card__step {
  display: inline-block; white-space: nowrap; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 4px;
}
.howto-card__title { font-size: 1.02rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; line-height: 1.3; }
.howto-card__text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.55; }

/* friendly free-consultations callout */
.howto-consult {
  max-width: 900px; margin: 22px auto 0;
  display: flex; gap: 26px; align-items: center;
  padding: 30px 32px; border-radius: var(--border-radius-lg);
  background: linear-gradient(135deg, rgba(242,166,35,0.1), rgba(242,166,35,0.02));
  border: 1px solid rgba(242,166,35,0.3);
}
.howto-consult__media { flex-shrink: 0; width: 180px; display: flex; flex-direction: column; gap: 12px; }
.howto-consult__img {
  width: 100%; height: 140px; object-fit: cover;
  border-radius: 18px; border: 1px solid var(--glass-border);
}
.howto-consult__btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.howto-consult__btn svg { width: 18px; height: 18px; }
.howto-consult__tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent);
  background: rgba(242,166,35,0.12); border: 1px solid rgba(242,166,35,0.3);
  padding: 4px 12px; border-radius: 100px; margin-bottom: 12px;
}
.howto-consult__title { font-size: 1.3rem; font-weight: 800; color: var(--text-primary); margin-bottom: 8px; }
.howto-consult__text { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
/* consultation working hours */
.howto-hours {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.howto-hours__row {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 16px; border-radius: var(--border-radius-sm);
  background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border);
}
.howto-hours__days {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 0.85rem; font-weight: 600; color: var(--text-secondary);
}
.howto-hours__days svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.howto-hours__time { font-size: 0.92rem; font-weight: 700; color: var(--text-primary); font-variant-numeric: tabular-nums; }

@media (max-width: 680px) {
  .howto-grid { grid-template-columns: 1fr; }
  .howto-consult { flex-direction: column; text-align: center; gap: 18px; }
  .howto-consult__media { width: 100%; max-width: 280px; margin: 0 auto; }
}

/* ─── BLOCK 12 · GALLERY ────────────────────────────── */
.gallery { position: relative; }
.gallery-swiper { --swiper-theme-color: #F2A623; padding-bottom: 44px; }
/* each slide is a presentable card */
.gallery-swiper .swiper-slide {
  height: auto; background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md); overflow: hidden;
  transition: transform var(--transition-base), border-color var(--transition-base);
}
.gallery-swiper .swiper-slide:hover { border-color: rgba(242,166,35,0.35); }
.gallery-slide { cursor: pointer; }
.gallery-slide .lesson-thumb { border-radius: 0; }
.gallery-slide__caption { padding: 14px 16px; background: rgba(0,0,0,0.3); display: flex; flex-direction: column; gap: 3px; }
.gallery-slide__name { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); }
.gallery-slide__title { font-size: 0.82rem; color: var(--accent); font-weight: 500; }

/* side navigation arrows (SVG placeholders) */
.gallery-nav {
  position: absolute; top: calc(50% - 22px); transform: translateY(-50%); z-index: 6;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(22,28,36,0.85); border: 1px solid var(--glass-border);
  color: var(--text-primary); backdrop-filter: blur(6px);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.gallery-nav:hover { background: var(--accent); color: #0a1628; border-color: var(--accent); }
.gallery-nav svg { width: 20px; height: 20px; }
.gallery-nav--prev { left: -22px; }
.gallery-nav--next { right: -22px; }
.gallery-nav.swiper-button-disabled { opacity: 0.35; cursor: default; }
.gallery-nav.swiper-button-disabled:hover { background: rgba(22,28,36,0.85); color: var(--text-primary); border-color: var(--glass-border); }

/* pagination dots: inactive light-grey, active gold pill */
.gallery-swiper .swiper-pagination-bullet {
  width: 9px; height: 9px; background: #c7cfdd; opacity: 0.45;
  transition: width 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}
.gallery-swiper .swiper-pagination-bullet-active { width: 26px; border-radius: 5px; background: var(--accent); opacity: 1; }

.submit-card { max-width: 600px; margin: 48px auto 0; padding: 36px 32px; }
.submit-card:hover { background: var(--glass-bg); border-color: var(--glass-border); transform: none; box-shadow: none; }
.submit-card__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 24px; color: var(--text-primary); }
.submit-form { display: flex; flex-direction: column; gap: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

input[type="text"], input[type="email"], textarea, select {
  width: 100%; padding: 12px 16px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border); border-radius: 8px; color: var(--text-primary);
  font-size: 0.95rem; font-family: 'Roboto', sans-serif; outline: none;
  transition: border-color 0.2s;
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
input:focus, textarea:focus, select:focus { border-color: rgba(242,166,35,0.5); }
textarea { resize: vertical; }
select { cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 18px) center, calc(100% - 13px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }

.file-drop {
  border: 2px dashed var(--glass-border); border-radius: 8px; padding: 20px;
  text-align: center; cursor: pointer; color: var(--text-muted); font-size: 0.88rem;
  display: block; transition: border-color var(--transition-fast), color var(--transition-fast);
}
.file-drop:hover { border-color: rgba(242,166,35,0.4); color: var(--text-secondary); }
.form-note { font-size: 0.8rem; color: var(--text-muted); }
.form-success { font-size: 0.95rem; color: var(--success); padding: 16px; text-align: center; }

/* ── Inline-SVG icons ──────────────────────────────────────────────
   Every icon below lives as an <svg> in index.html so it can be swapped
   there directly. Each inherits its size from the parent's font-size (1em)
   and its colour from currentColor, so the surrounding styles still apply. */
.hamburger svg,
.game-shot__zoom svg,
.lesson-thumb__play svg { width: 1em; height: 1em; display: block; }
.course-card__tag { display: inline-flex; align-items: center; gap: 6px; }
.course-card__tag svg { width: 1.05em; height: 1.05em; flex-shrink: 0; }
.form-success:not([hidden]) { display: flex; align-items: center; justify-content: center; gap: 8px; }
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }
#work-file-text { display: inline-flex; align-items: center; gap: 8px; }
#work-file-text svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ─── BLOCK 13 · REVIEWS ────────────────────────────── */
.reviews-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: start; }
.reviews-list {
  max-height: 520px; overflow-y: scroll; display: flex; flex-direction: column; gap: 16px;
  padding-right: 14px; scrollbar-width: thin; scrollbar-color: var(--accent) rgba(255,255,255,0.06);
}
.reviews-list::-webkit-scrollbar { width: 8px; }
.reviews-list::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 100px; }
.reviews-list::-webkit-scrollbar-thumb { background: rgba(242,166,35,0.55); border-radius: 100px; }
.reviews-list::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.review-card { padding: 22px 24px; position: relative; }
/* keep ONLY the gentle brightening hover on review cards — no lift, no shadow */
.review-card:hover { background: var(--glass-bg-hover); border-color: var(--glass-border-hover); transform: none; box-shadow: none; }

.review-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.review-card__name { font-weight: 700; font-size: 1rem; color: var(--text-primary); }
.review-card__course { font-size: 0.78rem; color: var(--accent); white-space: nowrap; }
.review-card__text { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; }
.review-card__date { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 14px; }

.review-form-card { padding: 32px 28px; position: sticky; top: 88px; display: flex; flex-direction: column; }
/* form card: remove the block-lift hover entirely (it's a form, not a card to admire) */
.review-form-card:hover { background: var(--glass-bg); border-color: var(--glass-border); transform: none; box-shadow: none; }
.review-form-card__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.review-form-card__lead { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 20px; }
.review-form { display: flex; flex-direction: column; gap: 16px; }
.review-form__btn { margin-top: 4px; }

/* ── custom course dropdown (site-styled, dark glass) ── */
.cselect { position: relative; }
.cselect__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border); border-radius: 8px;
  color: var(--text-primary); font: inherit; font-size: 1rem; text-align: left; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.cselect__trigger:hover { border-color: var(--glass-border-hover); }
.cselect.is-open .cselect__trigger { border-color: rgba(242,166,35,0.5); background: rgba(255,255,255,0.06); }
.cselect.is-error .cselect__trigger { border-color: var(--danger); }
.cselect__value--empty { color: var(--text-muted); }
.cselect__arrow { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; transition: transform 0.22s ease; }
.cselect.is-open .cselect__arrow { transform: rotate(180deg); }

.cselect__list {
  list-style: none; margin: 6px 0 0; padding: 6px;
  position: absolute; left: 0; right: 0; top: 100%; z-index: 30;
  background: #0c1526; border: 1px solid var(--glass-border-hover); border-radius: 10px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.55);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; transform: translateY(-6px); transition: opacity 0.16s ease, transform 0.16s ease;
}
.cselect:not(.is-open) .cselect__list { pointer-events: none; }
.cselect.is-open .cselect__list { opacity: 1; transform: translateY(0); }
.cselect__option {
  padding: 11px 14px; border-radius: 7px; cursor: pointer;
  font-size: 0.95rem; color: var(--text-secondary);
  transition: background 0.15s, color 0.15s;
}
.cselect__option:hover, .cselect__option.is-active {
  background: rgba(242,166,35,0.12); color: var(--text-primary);
}
.cselect__option[aria-selected="true"] { color: var(--accent); font-weight: 600; }

/* ─── BLOCK 15.5 · FINAL CTA — THE TREASURE CHEST ───── */
@property --treasure-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes treasureSpin { to { --treasure-angle: 360deg; } }
@keyframes treasureGlow {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -10%) scale(1); }
  50%      { opacity: 0.9;  transform: translate(-50%, -10%) scale(1.12); }
}
@keyframes treasureShine {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.cta-section { position: relative; z-index: 1; }

/* the "treasure" — transparent gold fill + thick glowing animated gold rim */
.treasure {
  position: relative; isolation: isolate; overflow: hidden;
  text-align: center; padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  border-radius: var(--border-radius-xl);
  /* transparent gold — radial sheen from the top, NOT a flat gradient */
  background:
    radial-gradient(130% 90% at 50% -10%, rgba(242,166,35,0.20) 0%, rgba(242,166,35,0.06) 38%, rgba(242,166,35,0.02) 70%, transparent 100%),
    rgba(8, 14, 26, 0.30);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow:
    inset 0 1px 0 rgba(255,221,150,0.15),
    0 30px 80px rgba(0,0,0,0.55),
    0 0 60px rgba(242,166,35,0.14);
}
/* slowly drifting iridescent gold sheen across the whole block */
.treasure::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg,
    transparent 0%, rgba(242,166,35,0.08) 22%, rgba(255,221,150,0.18) 42%,
    rgba(255,243,214,0.22) 50%, rgba(255,221,150,0.18) 58%, rgba(242,166,35,0.08) 78%, transparent 100%);
  background-size: 260% 100%;
  animation: treasureShine 9s ease-in-out infinite;
  mix-blend-mode: screen;
}
@media (prefers-reduced-motion: reduce) { .treasure::after { animation: none; } }
/* thick shimmering gold border ring (masked so only the rim shows) */
.treasure::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  padding: 3.5px;
  background: conic-gradient(from var(--treasure-angle),
    rgba(242,166,35,0.25) 0deg, #ffd166 60deg, #fff3d6 90deg, var(--accent) 140deg,
    rgba(242,166,35,0.25) 200deg, var(--accent-dark) 260deg, #ffd166 320deg, rgba(242,166,35,0.25) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: treasureSpin 7s linear infinite;
  filter: drop-shadow(0 0 6px rgba(242,166,35,0.5));
}
@media (prefers-reduced-motion: reduce) { .treasure::before { animation: none; } }
/* soft inner light pool behind the content */
.treasure__glow {
  position: absolute; left: 50%; top: 0; z-index: -1;
  width: 60%; height: 220px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242,166,35,0.35), transparent 70%);
  filter: blur(28px); animation: treasureGlow 5s ease-in-out infinite;
}

.treasure__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-cta); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-light); padding: 7px 18px; border-radius: 100px;
  background: rgba(242,166,35,0.10); border: 1px solid rgba(242,166,35,0.4);
  box-shadow: 0 0 24px rgba(242,166,35,0.18); margin-bottom: 22px;
}
.treasure__title { font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 900; color: var(--text-primary); line-height: 1.16; margin-bottom: 14px; }
.treasure__title-accent {
  background: linear-gradient(115deg, var(--accent-light) 0%, var(--accent) 55%, var(--accent-dark) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.treasure__subtitle { font-size: 1.05rem; color: var(--text-secondary); max-width: 520px; margin: 0 auto 30px; line-height: 1.6; }

/* ── THE REWARD — bonus coupon (main payoff for scrolling to the bottom) ── */
.reward {
  position: relative; max-width: 460px; margin: 8px auto 36px;
  padding: 32px 30px 28px; border-radius: var(--border-radius-lg);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(242,166,35,0.20), rgba(242,166,35,0.04) 60%, transparent),
    rgba(8,14,26,0.42);
  border: 1px solid rgba(242,166,35,0.5);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45), inset 0 0 30px rgba(242,166,35,0.08), 0 0 44px rgba(242,166,35,0.16);
}
.reward__ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-cta); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #0a1628; background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
  padding: 5px 16px; border-radius: 100px; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(242,166,35,0.45);
}
.reward__label { display: block; font-size: 0.82rem; color: var(--text-secondary); margin: 6px 0 16px; }
.reward__amount { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 22px; }
.reward__pct {
  font-family: var(--font-cta); font-size: clamp(3.4rem, 9vw, 4.4rem); line-height: 0.85;
  background: linear-gradient(120deg, #fff3d6 0%, var(--accent-light) 40%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(242,166,35,0.5));
}
.reward__on { text-align: left; font-size: 0.98rem; font-weight: 600; color: var(--text-primary); line-height: 1.25; }
.reward__code-row { display: flex; align-items: stretch; justify-content: center; max-width: 340px; margin: 0 auto; }
.reward__code {
  display: flex; align-items: center; font-family: var(--font-cta); font-size: 1.2rem; letter-spacing: 0.08em;
  color: var(--accent-light); padding: 0 20px; background: rgba(242,166,35,0.08);
  border: 1.5px dashed rgba(242,166,35,0.55); border-right: none; border-radius: 10px 0 0 10px;
}
.reward__copy {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap;
  font-size: 0.92rem; font-weight: 700; color: #0a1628;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
  border: none; border-radius: 0 10px 10px 0; padding: 13px 20px;
  transition: filter var(--transition-fast);
}
.reward__copy:hover { filter: brightness(1.1); }
.reward__copy.is-copied { background: linear-gradient(135deg, #4ade80, #16a34a); color: #04210f; }
.reward__copy-icon { width: 16px; height: 16px; }

/* CTA button: same darker-gold rim as the other primary buttons */
.treasure__btn {
    min-width: 300px;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(0);
}
    .treasure__btn:active {
        transform: translateZ(0) scale(0.97);
    }


    .countdown--cta {
        justify-content: center;
        margin-top: 30px;
    }

/* ─── BLOCK 15 · FAQ ────────────────────────────────── */
.faq-item { border-radius: var(--border-radius-sm); overflow: hidden; margin-bottom: 12px; border: 1px solid var(--glass-border); }
.faq-trigger {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  padding: 20px 24px; background: var(--glass-bg); cursor: pointer;
  font-size: 1rem; font-weight: 600; color: var(--text-primary); user-select: none;
  border: none; text-align: left; transition: background var(--transition-fast);
}
.faq-trigger:hover { background: var(--glass-bg-hover); }
.faq-icon { font-size: 1.3rem; color: var(--accent); flex-shrink: 0; transition: transform 0.3s; font-weight: 300; }
.faq-item--open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item--open .faq-answer { max-height: 800px; }
.faq-answer__inner { padding: 16px 24px 24px; font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; border-top: 1px solid var(--glass-border); }

/* ─── BLOCK 16 · FOOTER ─────────────────────────────── */
.footer { position: relative; z-index: 1; background: #070a0e; padding: 48px 40px 28px; border-top: 1px solid var(--glass-border); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1.3fr 1fr; gap: 48px; max-width: var(--max-width); margin: 0 auto; }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.footer__tagline { font-size: 0.85rem; color: var(--text-muted); margin-top: 12px; }
.footer__social { margin-top: 18px; }
.footer__heading { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer__link { font-size: 0.9rem; color: var(--text-secondary); text-decoration: none; display: block; margin-bottom: 10px; transition: color var(--transition-fast); }
.footer__link:hover { color: var(--text-primary); }
.footer__link--email { color: var(--accent); font-weight: 500; margin-top: 6px; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  max-width: var(--max-width); margin: 36px auto 0; padding-top: 20px;
  border-top: 1px solid var(--glass-border); font-size: 0.83rem; color: var(--text-muted);
}
.footer__top { padding: 8px 16px; font-size: 0.8rem; }

.footer__disclaimer {
  width: 100%;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}

/* ─── MODALS ────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
/* The hidden attribute must win over display:flex — otherwise modals
   show on load and never close. */
.modal-overlay[hidden] { display: none !important; }
.media-overlay { z-index: 9100; }
.modal-box { position: relative; max-height: 90vh; overflow-y: auto; }
/* site-style thin gold scrollbar inside scrolling modal boxes */
.modal-box { scrollbar-width: thin; scrollbar-color: rgba(242,166,35,0.55) rgba(255,255,255,0.05); }
.modal-box::-webkit-scrollbar { width: 8px; }
.modal-box::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 100px; margin: 8px 0; }
.modal-box::-webkit-scrollbar-thumb { background: rgba(242,166,35,0.55); border-radius: 100px; }
.modal-box::-webkit-scrollbar-thumb:hover { background: var(--accent); }
/* shell wraps the (scrolling) box without clipping, so the close button can
   sit OUTSIDE the box corner. shrink-to-fit so it centers in the overlay. */
.modal-shell { position: relative; display: flex; max-height: 90vh; animation: modalIn 0.25s ease forwards; }
.modal-shell .modal-box { animation: none; }
.purchase-box {
  max-width: 520px; width: 100%; background: #151b22;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 36px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
}
/* circular close button, sitting clearly OUTSIDE the box's top-right corner
   (far enough that it never overlaps the box's scrollbar) */
.modal-close {
  position: absolute; top: -20px; right: -44px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #1c242e; border: 1px solid rgba(255,255,255,0.18);
  color: var(--text-primary); cursor: pointer; padding: 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.modal-close svg { width: 18px; height: 18px; }
.modal-close:hover { background: var(--accent); border-color: var(--accent); color: #0a1628; transform: scale(1.06); }
/* the media box is wide (up to 800px); on mid-size screens there isn't room
   outside it, so keep its close on-screen by tucking it just inside the corner */
@media (max-width: 980px) {
  .media-overlay .modal-close { top: 10px; right: 10px; background: rgba(28,36,46,0.92); }
}
.pm-head { display: flex; gap: 16px; align-items: center; }
.pm-head__img { border-radius: 12px; flex-shrink: 0; }
.pm-head__desc { font-size: 0.85rem; color: var(--text-secondary); margin-top: 4px; }
.pm-rule { border: none; border-top: 1px solid var(--glass-border); margin: 20px 0; }
.pm-field { margin-bottom: 16px; }
.pm-field label { display: block; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 6px; }
.pm-coupon { display: flex; gap: 10px; }
.pm-coupon input { flex: 1; }
.pm-coupon__btn { padding: 10px 18px; font-size: 0.88rem; flex-shrink: 0; }
.pm-coupon__msg { font-size: 0.85rem; margin-top: 8px; }
.pm-coupon__msg.ok { color: var(--success); }
.pm-coupon__msg.err { color: var(--danger); }
.pm-total { display: flex; justify-content: space-between; align-items: center; font-size: 1rem; }
.pm-total__value { font-size: 1.8rem; font-weight: 900; color: var(--accent); }
.pm-legal { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.pm-legal a { color: var(--accent); text-decoration: none; }
.pm-legal a:hover { text-decoration: underline; }
/* reassurance block (replaces the two emoji info lines) */
.pm-assure {
  display: flex; flex-direction: column; gap: 14px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md); padding: 16px 18px;
}
.pm-assure__item { display: flex; gap: 14px; align-items: flex-start; }
.pm-assure__icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(242,166,35,0.10); border: 1px solid rgba(242,166,35,0.28);
  color: var(--accent);
}
.pm-assure__icon svg { width: 19px; height: 19px; }
.pm-assure__text { display: flex; flex-direction: column; gap: 3px; }
.pm-assure__text strong { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); }
.pm-assure__text span { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.55; }
.pm-pay { width: 100%; margin-top: 18px; padding: 16px; font-size: 1.05rem; }

.media-box {
  max-width: 800px; width: 92vw; background: #151b22;
  border: 1px solid var(--glass-border); border-radius: 16px; padding: 24px;
}
.media-box__caption { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 16px; padding-right: 32px; }
.media-box__player { aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: #000; }
.media-box__player video { width: 100%; height: 100%; }
.media-box__player img { width: 100%; height: 100%; object-fit: contain; }
.media-box__player--image { aspect-ratio: auto; display: flex; align-items: center; justify-content: center; }
.media-box__player--image img { max-height: 78vh; }
.media-box__player .plyr { --plyr-color-main: var(--accent); height: 100%; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1199px) {
  .nav { gap: 18px; }
  .header__inner { padding: 0 24px; }
  .stats-grid { gap: 16px; }
}

/* Tablet landscape & small laptops — tighten vertical rhythm, thin out dense grids */
@media (max-width: 1024px) {
  :root { --space-3xl: 100px; }
  /* 4-up screenshot grids are too cramped below desktop → 2-up */
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer__inner { gap: 36px; }
  /* keep the wide media modal off the screen edges */
  .media-box { width: 92vw; }
}

/* Tablet portrait */
@media (max-width: 860px) {
  :root { --space-3xl: 84px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-features { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1.4fr 1fr; gap: 32px 40px; }
  .footer__brand { grid-column: 1 / -1; }
}

/* Header collapses to hamburger menu below 980px (avoids the cramped tablet zone) */
@media (max-width: 980px) {
  .header__buy, .header__left .lang-switch { display: none; }
  .hamburger { display: block; }
  .nav {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(13,17,22,0.98); backdrop-filter: blur(20px);
    padding: 16px; border-bottom: 1px solid var(--glass-border);
    transform: translateY(-145%);
    /* visibility gate: the closed menu can never paint (even for a stray frame
       on load or when crossing the breakpoint), so it no longer flashes-in then
       slides away. visibility flips to hidden only AFTER the slide-up finishes. */
    visibility: hidden; pointer-events: none;
    transition: transform 0.35s ease, visibility 0s linear 0.35s;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav.nav--open {
    transform: translateY(0);
    visibility: visible; pointer-events: auto;
    transition: transform 0.35s ease, visibility 0s;
  }
  .nav-link { font-size: 1.1rem; padding: 14px 0; border-bottom: 1px solid var(--glass-border); }
  .nav-link::after { display: none; }
  .nav__mobile-extra { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; }
  .lang-switch--mobile { justify-content: center; font-size: 1rem; }
  .nav__buy-mobile { width: 100%; }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --section-padding-v: 64px;
    --section-padding-h: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
  }
  .section { padding: 64px 16px; }
  .btn-primary, .btn-secondary { min-height: 44px; }

  /* Header */
  .header { height: 56px; }
  .header__inner { padding: 0 16px; }
  .nav { top: 56px; max-height: calc(100vh - 56px); }

  /* Hero */
  .hero { height: 100svh; }
  .hero__content { padding: 0 20px; }
  .hero__title { font-size: clamp(1.4rem, 6vw, 1.9rem); }
  .hero__subtitle { font-size: 1rem; max-width: 100%; }
  .hero__buttons { flex-direction: column; width: 100%; align-items: flex-start; }
  .hero__buttons .btn-primary, .hero__buttons .btn-secondary { width: 100%; max-width: 320px; }
  .hero__stat { padding: 0 16px; }
  .hero__stat-num { font-size: 1.5rem; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-card__num { font-size: 2.4rem; }

  /* Unity start */
  .video-grid { grid-template-columns: 1fr; }
  .unity-start__yt .btn-secondary { width: 100%; }

  /* Courses */
  .course-card { flex-direction: column; }
  .course-card__img { flex: none; width: 100%; height: 200px; }
  .course-card__content { padding: 24px 20px; }
  .course-card__buy { width: 100%; }
  .countdown--card { display: grid; grid-template-columns: repeat(2, 1fr); }

  /* Offer */
  .offer-card__now { font-size: 3rem; }
  .offer-features { grid-template-columns: 1fr; }
  .offer-value { flex-direction: column; text-align: center; gap: 14px; }

  /* Why / comparison */
  .cmp-grid { grid-template-columns: 1fr; gap: 16px; }
  .cmp-col, .cmp-col:first-child, .cmp-col:last-child { border-radius: var(--border-radius-md); border: 1px solid var(--glass-border); }
  .cmp-col--main { border: 1.5px solid rgba(242,166,35,0.55); }

  /* Examples */
  .examples-grid { grid-template-columns: 1fr; }

  /* Reviews */
  .reviews-layout { grid-template-columns: 1fr; }
  .review-form-card { position: static; order: -1; }
  .reviews-list { max-height: none; -webkit-mask-image: none; mask-image: none; }

  /* CTA */
  .treasure__title { font-size: clamp(1.6rem, 6vw, 2.1rem); }
  .treasure__btn { width: 100%; min-width: 0; }
  .reward__code-row { max-width: 100%; }
  .reward__copy-text { display: none; }
  .reward__copy { padding: 13px 16px; }
  .countdown--cta { display: grid; grid-template-columns: repeat(2, 1fr); }

  /* FAQ */
  .faq-trigger { padding: 16px 18px; font-size: 0.95rem; }
  .faq-answer__inner { padding: 12px 18px 20px; }

  /* Footer */
  .footer { padding: 48px 16px 24px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* Form grid */
  .form-grid { grid-template-columns: 1fr; }

  /* Purchase modal — bottom sheet */
  .modal-overlay { padding: 0; align-items: flex-end; }
  #purchase-modal .modal-shell { width: 100%; }
  .purchase-box {
    max-height: 92vh; border-radius: 16px 16px 0 0;
    padding: 28px 20px 32px;
  }
  .media-box { width: 100vw; border-radius: 12px 12px 0 0; padding: 16px; }
  /* keep the circular close on-screen on bottom sheets */
  .modal-close { top: 12px; right: 12px; background: rgba(28,36,46,0.92); }
}

/* Mobile S */
@media (max-width: 420px) {
  .countdown__unit { min-width: 48px; padding: 6px 10px; }
  .countdown__num { font-size: 1.2rem; }
}
