/* =============================================================
   X666 GAME — main.css
   Global styles + components (BEM-lite). Mobile-first.
   ============================================================= */

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--color-text-secondary);
  background-color: var(--color-bg-primary);
  background-image:
    radial-gradient(ellipse 60% 40% at 15% 0%, rgba(212,175,55,0.05), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 12%, rgba(156,122,38,0.05), transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; }
li { list-style: none; }

/* Page fade-in on load */
body.page-enter {
  animation: pageFade var(--dur-slow) var(--ease-out) both;
}
@keyframes pageFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  body.page-enter { animation: none; }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  margin: 0 0 var(--space-4);
  color: var(--color-text-primary);
  font-weight: 700;
  line-height: var(--lh-tight);
}

p { margin: 0 0 var(--space-4); }

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.text-gold {
  background: var(--grad-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-gold-primary);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--color-gold-primary);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--color-gold-primary);
  opacity: 0.7;
}

.lead {
  font-size: var(--fs-body-lg);
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
}

.muted { color: var(--color-text-muted); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--narrow { max-width: var(--container-narrow); }

.section {
  padding-block: var(--section-pad);
  position: relative;
}
.section--alt { background: var(--color-bg-secondary); }
.section--surface { background: var(--grad-surface); }

.section__head {
  max-width: 720px;
  margin: 0 auto var(--space-7);
  text-align: center;
}
.section__head--left {
  margin-inline: 0;
  text-align: left;
}
.section__title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-4);
}
.section__subtitle {
  font-size: var(--fs-body-lg);
  color: var(--color-text-muted);
}

.hairline {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--color-border-strong), transparent);
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: var(--space-3) var(--space-5);
  background: var(--color-gold-primary);
  color: #0A0A0A;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* Focus visibility (WCAG) */
:focus-visible {
  outline: 2px solid var(--color-gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--grad-gold);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.95rem 1.9rem;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border: 0;
  border-radius: var(--radius-pill);
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.99); }

/* Gold shimmer sweep */
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: var(--grad-gold-sheen);
  transform: skewX(-20deg);
  transition: left var(--dur-slow) var(--ease-out);
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

.btn--primary {
  background: var(--grad-gold);
  color: #16120A;
  box-shadow: var(--shadow-gold);
}
.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-gold-strong);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-strong);
}
.btn--ghost:hover {
  border-color: var(--color-gold-primary);
  color: var(--color-gold-bright);
  transform: translateY(-2px);
  box-shadow: var(--glow-gold);
}

.btn--telegram {
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  color: #fff;
  box-shadow: 0 10px 30px rgba(34, 158, 217, 0.3);
}
.btn--telegram:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 40px rgba(34, 158, 217, 0.45);
}
.btn--telegram::after { display: none; }

.btn--lg { padding: 1.15rem 2.4rem; font-size: var(--fs-body); }
.btn--sm { padding: 0.7rem 1.3rem; font-size: var(--fs-xs); }
.btn--block { display: flex; width: 100%; }

.btn__icon { width: 20px; height: 20px; flex: none; }

/* ---------- Badges / pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.4rem 0.9rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-gold-bright);
  background: var(--color-gold-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
}
.pill--dot::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border-neutral);
  transition: background var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.site-header__inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

/* Brand logo lockup */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  flex: none;
}
.brand__badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  padding: 4px;
  background: linear-gradient(160deg, #1c1c1c, #0c0c0c);
  border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.05);
  object-fit: contain;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.brand:hover .brand__badge {
  transform: rotate(-3deg) scale(1.05);
  box-shadow: var(--glow-gold);
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--color-text-primary);
}
.brand__name b { color: var(--color-gold-primary); }
.brand__tag {
  font-size: 0.62rem;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 3px;
}

/* Desktop nav */
.nav {
  display: none;
  align-items: center;
  gap: var(--space-2);
}
.nav__link {
  position: relative;
  padding: 0.5rem 0.9rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: 0.3rem;
  height: 1.5px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-out);
}
.nav__link:hover,
.nav__link.is-active { color: var(--color-gold-bright); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Language switcher */
.lang {
  position: relative;
}
.lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem 0.8rem;
  background: var(--color-bg-surface-2);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-pill);
  color: var(--color-text-secondary);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.lang__toggle:hover { border-color: var(--color-border-strong); color: var(--color-gold-bright); }
.lang__toggle svg { width: 15px; height: 15px; }
.lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 150px;
  background: var(--color-bg-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur-fast), transform var(--dur-fast), visibility var(--dur-fast);
  z-index: 10;
}
.lang.is-open .lang__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.6rem 0.8rem;
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  font-size: var(--fs-sm);
  text-align: left;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.lang__option:hover { background: var(--color-gold-soft); color: var(--color-gold-bright); }
.lang__option.is-active { color: var(--color-gold-primary); }
.lang__option.is-active::after { content: "✓"; }

/* Hamburger */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: var(--color-bg-surface-2);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-gold-primary);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast);
}
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: calc(var(--z-header) - 1);
  background: rgba(8, 8, 8, 0.98);
  backdrop-filter: blur(10px);
  padding: var(--space-6) var(--space-5) var(--space-8);
  transform: translateX(100%);
  transition: transform var(--dur-mid) var(--ease-out);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-2);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-primary);
  border-bottom: 1px solid var(--color-border-neutral);
  transition: color var(--dur-fast), padding-left var(--dur-fast);
}
.mobile-nav__link:hover { color: var(--color-gold-bright); padding-left: var(--space-4); }
.mobile-nav__link span { color: var(--color-gold-primary); }
.mobile-nav__cta { margin-top: var(--space-6); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + var(--space-8));
  padding-bottom: var(--space-9);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--grad-hero-radial);
  pointer-events: none;
}
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
.hero__content { text-align: center; }
.hero__title {
  font-size: var(--fs-hero);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-5);
}
.hero__title .display { display: block; }
.hero__lead {
  max-width: 560px;
  margin: 0 auto var(--space-6);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-bottom: var(--space-6);
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5) var(--space-6);
  justify-content: center;
  align-items: center;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}
.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.hero__trust-item svg { width: 18px; height: 18px; color: var(--color-gold-primary); }

/* ---------- Phone mockup ---------- */
.mockup {
  position: relative;
  width: min(300px, 78vw);
  margin-inline: auto;
  aspect-ratio: 300 / 620;
}
.mockup__glow {
  position: absolute;
  inset: -12% -20%;
  z-index: 0;
  background: var(--grad-glow-gold);
  filter: blur(10px);
  animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
.mockup__frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 42px;
  padding: 11px;
  background: linear-gradient(160deg, #2a2a2a 0%, #0c0c0c 55%, #050505 100%);
  border: 1px solid var(--color-border-strong);
  box-shadow:
    var(--shadow-lg),
    inset 0 2px 3px rgba(255,255,255,0.08),
    inset 0 -2px 6px rgba(0,0,0,0.7),
    0 0 0 2px rgba(212,175,55,0.12);
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-0.4deg); }
}
.mockup__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 110px;
  height: 22px;
  background: #050505;
  border-radius: 0 0 14px 14px;
  border: 1px solid rgba(255,255,255,0.05);
}
.mockup__notch::after {
  content: "";
  position: absolute;
  top: 8px; right: 22px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #3a3a55, #101014);
}
.mockup__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.9);
}
.mockup__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.mockup__shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(115deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 30%);
  pointer-events: none;
  border-radius: 32px;
}
/* Floating stat chips around mockup */
.mockup__chip {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.55rem 0.85rem;
  background: rgba(20,20,20,0.9);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--color-text-primary);
  backdrop-filter: blur(6px);
  animation: floatChip 5s ease-in-out infinite;
}
.mockup__chip b { color: var(--color-gold-primary); }
.mockup__chip svg { width: 16px; height: 16px; color: var(--color-gold-primary); }
.mockup__chip--tl { top: 12%; left: -14%; animation-delay: 0.4s; }
.mockup__chip--br { bottom: 16%; right: -12%; animation-delay: 1.2s; }
.mockup__chip--ml { bottom: 40%; left: -18%; animation-delay: 2s; }
@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .mockup__frame, .mockup__glow, .mockup__chip { animation: none; }
}

/* ---------- Bonus highlight ---------- */
.bonus-band {
  position: relative;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background:
    radial-gradient(ellipse 60% 120% at 50% 50%, rgba(212,175,55,0.1), transparent 70%),
    var(--color-bg-secondary);
  overflow: hidden;
}
.bonus-band__inner {
  display: grid;
  gap: var(--space-6);
  align-items: center;
  text-align: center;
}
.bonus-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 12vw, 7rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.bonus-amount small {
  font-size: 0.34em;
  vertical-align: super;
  margin-right: 0.1em;
}

/* ---------- Stat strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.stat {
  padding: var(--space-5) var(--space-4);
  text-align: center;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-md);
  transition: border-color var(--dur-fast), transform var(--dur-fast);
}
.stat:hover { border-color: var(--color-border); transform: translateY(-3px); }
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--color-gold-primary);
  line-height: 1;
}
.stat__label {
  margin-top: var(--space-2);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-text-muted);
}

/* ---------- Cards grid ---------- */
.grid {
  display: grid;
  gap: var(--space-5);
}
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }

/* Feature card */
.feature {
  padding: var(--space-6);
  background: var(--grad-surface);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-lg);
  transition: transform var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
}
.feature:hover {
  transform: translateY(-6px);
  border-color: var(--color-border);
  box-shadow: var(--shadow-gold);
}
.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-gold-soft);
  border: 1px solid var(--color-border);
  color: var(--color-gold-primary);
}
.feature__icon svg { width: 28px; height: 28px; }
.feature__title {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-2);
}
.feature__text {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------- Game cards ---------- */
.game-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-neutral);
  transition: transform var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
}
.game-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-gold);
}
.game-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(160deg, #1c1c1c, #0d0d0d);
}
.game-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.game-card:hover .game-card__img { transform: scale(1.09); }
.game-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10,10,10,0.85) 100%);
}
.game-card__tag {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 2;
  padding: 0.3rem 0.7rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: #16120A;
  background: var(--grad-gold);
  border-radius: var(--radius-pill);
}
.game-card__body {
  position: relative;
  z-index: 2;
  padding: var(--space-4) var(--space-5) var(--space-5);
  margin-top: -46px;
}
.game-card__title {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-1);
}
.game-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}
.game-card__rtp { color: var(--color-gold-primary); font-weight: 700; }
.game-card__play {
  margin-top: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-gold-bright);
}
.game-card__play svg { width: 14px; height: 14px; transition: transform var(--dur-fast); }
.game-card:hover .game-card__play svg { transform: translateX(4px); }

/* ---------- Category chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-7);
}
.chip {
  padding: 0.6rem 1.2rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  color: var(--color-text-secondary);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-pill);
  transition: all var(--dur-fast) var(--ease-out);
}
.chip:hover,
.chip.is-active {
  color: #16120A;
  background: var(--grad-gold);
  border-color: transparent;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: var(--space-5); }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-5);
  background: var(--grad-surface);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur-fast), transform var(--dur-fast);
}
.step:hover { border-color: var(--color-border); transform: translateX(4px); }
.step__num {
  counter-increment: step;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-gold-primary);
  background: var(--color-gold-soft);
  border: 1px solid var(--color-border);
  border-radius: 50%;
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step__title { font-size: var(--fs-h4); margin-bottom: var(--space-2); }
.step__text { font-size: var(--fs-sm); color: var(--color-text-muted); margin: 0; }

/* ---------- Banner / promo image blocks ---------- */
.promo-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.promo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.promo-banner:hover img { transform: scale(1.04); }

.og-banner {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-gold);
}
.og-banner img { width: 100%; height: auto; }
.og-banner__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: var(--space-5);
  background: linear-gradient(90deg, rgba(10,10,10,0.15), transparent 60%);
}

/* ---------- Screenshot gallery ---------- */
.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 62%;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-4);
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold-deep) transparent;
}
.shots::-webkit-scrollbar { height: 6px; }
.shots::-webkit-scrollbar-thumb { background: var(--color-gold-deep); border-radius: 3px; }
.shot {
  scroll-snap-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-neutral);
  background: #0d0d0d;
  transition: border-color var(--dur-fast), transform var(--dur-fast);
}
.shot:hover { border-color: var(--color-border-strong); transform: translateY(-4px); }
.shot img { width: 100%; height: auto; aspect-ratio: 9 / 19; object-fit: cover; object-position: top; }
.shot__cap {
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: center;
}

/* ---------- Testimonials ---------- */
.quote {
  padding: var(--space-6);
  background: var(--grad-surface);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur-fast), transform var(--dur-fast);
}
.quote:hover { border-color: var(--color-border); transform: translateY(-4px); }
.quote__stars { color: var(--color-gold-primary); letter-spacing: 3px; margin-bottom: var(--space-3); font-size: 1.05rem; }
.quote__text { font-size: var(--fs-body); color: var(--color-text-secondary); margin-bottom: var(--space-4); }
.quote__author { display: flex; align-items: center; gap: var(--space-3); }
.quote__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  color: #16120A;
  background: var(--grad-gold);
  flex: none;
}
.quote__name { font-weight: 700; color: var(--color-text-primary); font-size: var(--fs-sm); }
.quote__role { font-size: var(--fs-xs); color: var(--color-text-muted); }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item {
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  background: var(--color-bg-surface);
  overflow: hidden;
  transition: border-color var(--dur-fast);
}
.faq__item.is-open { border-color: var(--color-border-strong); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-5);
  background: transparent;
  border: 0;
  text-align: left;
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: var(--fs-body-lg);
  font-weight: 600;
}
.faq__icon {
  flex: none;
  width: 24px; height: 24px;
  position: relative;
  transition: transform var(--dur-mid) var(--ease-out);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 2px;
  background: var(--color-gold-primary);
  transform: translate(-50%, -50%);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon::after { opacity: 0; }
.faq__item.is-open .faq__icon { transform: rotate(180deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-mid) var(--ease-out);
}
.faq__a-inner {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}
.faq__a-inner p { margin-bottom: var(--space-3); }
.faq__a-inner p:last-child { margin-bottom: 0; }

/* ---------- Callout / CTA band ---------- */
.cta-band {
  position: relative;
  text-align: center;
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-5);
  background:
    radial-gradient(ellipse 70% 130% at 50% 0%, rgba(212,175,55,0.16), transparent 70%),
    var(--grad-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.cta-band__title { font-size: var(--fs-h2); margin-bottom: var(--space-4); }
.cta-band__cta { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; margin-top: var(--space-6); }

/* ---------- Content prose (legal / articles) ---------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: var(--fs-h3); margin-top: var(--space-7); }
.prose h3 { font-size: var(--fs-h4); margin-top: var(--space-6); color: var(--color-gold-bright); }
.prose p, .prose li { color: var(--color-text-secondary); font-size: var(--fs-body); }
.prose ul, .prose ol { margin: 0 0 var(--space-4) var(--space-5); }
.prose li { margin-bottom: var(--space-2); position: relative; padding-left: var(--space-4); }
.prose ul li::before {
  content: "";
  position: absolute; left: 0; top: 0.65em;
  width: 6px; height: 6px;
  background: var(--color-gold-primary);
  border-radius: 50%;
}
.prose ol { counter-reset: li; list-style: none; }
.prose ol li { counter-increment: li; }
.prose ol li::before {
  content: counter(li);
  position: absolute; left: 0; top: 0;
  color: var(--color-gold-primary);
  font-weight: 700;
}
.prose strong { color: var(--color-text-primary); }
.prose a { color: var(--color-gold-bright); text-decoration: underline; text-underline-offset: 3px; }

/* Table of contents */
.toc {
  padding: var(--space-5);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-7);
}
.toc h2 { font-size: var(--fs-h4); margin-top: 0; }
.toc a { display: block; padding: var(--space-2) 0; color: var(--color-text-muted); font-size: var(--fs-sm); text-decoration: none; }
.toc a:hover { color: var(--color-gold-bright); }

/* ---------- Info / trust rows ---------- */
.trust-row {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
.trust-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-md);
}
.trust-item__icon {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: var(--color-gold-primary);
  background: var(--color-gold-soft);
  border: 1px solid var(--color-border);
}
.trust-item__icon svg { width: 22px; height: 22px; }
.trust-item h3 { font-size: var(--fs-h4); margin-bottom: var(--space-1); }
.trust-item p { font-size: var(--fs-sm); color: var(--color-text-muted); margin: 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  padding-top: calc(var(--header-h) + var(--space-5));
}
.breadcrumb a { color: var(--color-text-muted); transition: color var(--dur-fast); }
.breadcrumb a:hover { color: var(--color-gold-bright); }
.breadcrumb span[aria-current] { color: var(--color-gold-primary); }
.breadcrumb__sep { color: var(--color-text-faint); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-top: var(--space-6);
  padding-bottom: var(--space-7);
  text-align: center;
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; background: var(--grad-hero-radial); pointer-events: none; }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__title { font-size: var(--fs-h1); margin-bottom: var(--space-4); }
.page-hero__lead { max-width: 640px; margin-inline: auto; }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--space-4); }
.field { display: grid; gap: var(--space-2); }
.field label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: inherit;
  font-size: var(--fs-body);
  color: var(--color-text-primary);
  background: var(--color-bg-surface-3);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--color-gold-primary);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}
.field textarea { min-height: 140px; resize: vertical; }
.form__note { font-size: var(--fs-xs); color: var(--color-text-faint); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding-top: var(--space-9);
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(212,175,55,0.06), transparent 60%),
    var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
}
.footer__grid {
  display: grid;
  gap: var(--space-7);
  grid-template-columns: 1fr;
  padding-bottom: var(--space-7);
}
.footer__brand-blurb {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  max-width: 340px;
  margin-top: var(--space-4);
}
.footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.footer__social a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--color-bg-surface-2);
  border: 1px solid var(--color-border-neutral);
  color: var(--color-text-secondary);
  transition: all var(--dur-fast) var(--ease-out);
}
.footer__social a:hover {
  color: var(--color-gold-bright);
  border-color: var(--color-gold-primary);
  transform: translateY(-3px);
  box-shadow: var(--glow-gold);
}
.footer__social svg { width: 20px; height: 20px; }
.footer__col h4 {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--color-gold-primary);
  margin-bottom: var(--space-4);
}
.footer__col ul li { margin-bottom: var(--space-3); }
.footer__col a {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  transition: color var(--dur-fast), padding-left var(--dur-fast);
}
.footer__col a:hover { color: var(--color-gold-bright); padding-left: 4px; }

.footer__disclaimer {
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-border-neutral);
  border-bottom: 1px solid var(--color-border-neutral);
}
.footer__age {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.5rem 1rem;
  margin-bottom: var(--space-4);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  color: var(--color-gold-bright);
}
.footer__age b {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--color-danger);
  color: #fff;
  font-size: var(--fs-xs);
}
.footer__disclaimer p {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  line-height: var(--lh-normal);
  margin-bottom: var(--space-3);
  max-width: 960px;
}
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5) 0;
  font-size: var(--fs-xs);
  color: var(--color-text-faint);
}
.footer__bottom a { color: var(--color-text-muted); }
.footer__bottom a:hover { color: var(--color-gold-bright); }

/* ---------- Floating action button (Telegram) ---------- */
.fab {
  position: fixed;
  right: 18px;
  bottom: 90px;
  z-index: var(--z-fab);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  color: #fff;
  box-shadow: 0 10px 30px rgba(34,158,217,0.45);
  overflow: hidden;
  transition: width var(--dur-mid) var(--ease-out), box-shadow var(--dur-fast);
  animation: fabPulse 2.6s ease-in-out infinite;
}
.fab__icon {
  flex: none;
  width: 58px; height: 58px;
  display: grid; place-items: center;
}
.fab__icon svg { width: 28px; height: 28px; }
.fab__label {
  white-space: nowrap;
  font-size: var(--fs-sm);
  font-weight: 700;
  opacity: 0;
  max-width: 0;
  transition: opacity var(--dur-fast), max-width var(--dur-mid);
}
.fab:hover {
  width: 190px;
  animation-play-state: paused;
  box-shadow: 0 14px 40px rgba(34,158,217,0.6);
}
.fab:hover .fab__label { opacity: 1; max-width: 130px; padding-right: var(--space-4); }
@keyframes fabPulse {
  0% { box-shadow: 0 10px 30px rgba(34,158,217,0.45), 0 0 0 0 rgba(34,158,217,0.5); }
  70% { box-shadow: 0 10px 30px rgba(34,158,217,0.45), 0 0 0 16px rgba(34,158,217,0); }
  100% { box-shadow: 0 10px 30px rgba(34,158,217,0.45), 0 0 0 0 rgba(34,158,217,0); }
}
@media (prefers-reduced-motion: reduce) { .fab { animation: none; } }

/* ---------- Sticky mobile bottom bar ---------- */
.mobile-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: var(--z-mobilebar);
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom, 0));
  background: rgba(12,12,12,0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border);
  transform: translateY(120%);
  transition: transform var(--dur-mid) var(--ease-out);
}
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar .btn { flex: 1; padding-block: 0.85rem; }
.mobile-bar__telegram {
  flex: none;
  width: 50px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  color: #fff;
}
.mobile-bar__telegram svg { width: 24px; height: 24px; }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-reveal-delay="5"] { transition-delay: 0.40s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mb-0 { margin-bottom: 0; }
.hide-mobile { display: none; }
.divider-glow {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-primary), transparent);
  opacity: 0.4;
  margin-block: var(--space-8);
}

/* keyword ribbon */
.kw-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}
.kw-ribbon span {
  font-size: var(--fs-xs);
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-pill);
  color: var(--color-text-muted);
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.kw-ribbon span:hover { color: var(--color-gold-bright); border-color: var(--color-border); }

/* ============================================================
   Responsive — tablet (>=768px)
   ============================================================ */
@media (min-width: 768px) {
  .nav { display: flex; }
  .hamburger { display: none; }
  .mobile-nav { display: none; }
  .mobile-bar { display: none; }

  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-auto-columns: 34%; }

  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }

  .hide-mobile { display: inline-flex; }

  .step { grid-template-columns: 64px 1fr; }
}

/* ============================================================
   Responsive — desktop (>=1200px)
   ============================================================ */
@media (min-width: 1200px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-9);
  }
  .hero__content { text-align: left; }
  .hero__lead { margin-inline: 0; }
  .hero__cta { justify-content: flex-start; }
  .hero__trust { justify-content: flex-start; }
  .mockup { width: min(320px, 40vw); }

  .bonus-band__inner { grid-template-columns: 1fr 1fr; text-align: left; }

  .shots { grid-auto-columns: 23%; }
}
