/* ============================================================
   is7 game — Crimson Pulse: Global Styles & Components
   ============================================================ */

*,*::before,*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth; -webkit-text-size-adjust: 100%;
  width: 100%; max-width: 100%;
  overflow-x: hidden; overflow-x: clip; /* clip also contains off-canvas fixed/absolute elements (drawer, FAB) that `hidden` can miss on some mobile browsers */
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  width: 100%; max-width: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--color-text-primary);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; overflow-x: clip;
}

img, svg, video, canvas, table { max-width: 100%; }
img, svg, video { height: auto; display: block; }
a { color: inherit; text-decoration: none; overflow-wrap: break-word; word-break: break-word; }
p, li, h1, h2, h3, h4 { overflow-wrap: break-word; word-break: break-word; }
ul { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-4);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p  { margin: 0 0 var(--space-4); color: var(--color-text-muted); }
strong { color: var(--color-text-primary); font-weight: 700; }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-6); }
.narrow { max-width: var(--container-narrow); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 120px); position: relative; }
.section--alt { background: var(--color-bg-alt); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.grid { display: grid; gap: var(--space-6); }
.flow > * + * { margin-top: var(--space-4); }

/* ---- Focus ---- */
:focus-visible {
  outline: 3px solid var(--color-red-bright);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: var(--z-toast);
  background: var(--color-red-primary); color:#fff; padding: 12px 20px;
  border-radius: 0 0 var(--radius-md) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---- Eyebrow / section headers ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--color-red-bright);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--gradient-cta);
}
.section-head { max-width: 760px; margin-bottom: var(--space-12); }
.section-head.text-center { margin-inline: auto; }
.section-head p { font-size: var(--fs-lead); }

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

/* ---- Diagonal pulse slash divider ---- */
.pulse-divider {
  height: 3px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--color-red-primary) 20%, var(--color-red-bright) 50%, var(--color-red-primary) 80%, transparent);
  transform: skewY(-0.6deg);
  opacity: 0.7;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: var(--radius-pill); border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur);
  will-change: transform; text-align: center; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--gradient-cta); color: #fff; box-shadow: 0 6px 20px rgba(225,6,0,0.35); }
.btn--primary:hover { box-shadow: var(--shadow-glow-red); transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,0.04); color: #fff; border-color: var(--color-border-strong); }
.btn--ghost:hover { border-color: var(--color-red-primary); background: var(--color-red-soft); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--color-text-on-white); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--tg { background: var(--color-telegram); color: #fff; }
.btn--tg:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(34,158,217,0.4); }
.btn--lg { padding: 18px 40px; font-size: 1.1rem; }
.btn--block { display: flex; width: 100%; }
.btn:active { transform: scale(0.97); }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: rgba(11,11,13,0.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--dur), box-shadow var(--dur);
}
.site-header.scrolled { background: rgba(11,11,13,0.94); box-shadow: 0 6px 24px rgba(0,0,0,0.4); }
.nav {
  display: flex; align-items: center; gap: var(--space-6);
  height: var(--header-h);
}
.nav__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__logo img { height: 42px; width: auto; }
.nav__logo b { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.02em; }
.nav__logo b span { color: var(--color-red-primary); }
.nav__links { display: flex; align-items: center; gap: var(--space-2); margin-inline: auto; }
.nav__links a {
  padding: 10px 14px; border-radius: var(--radius-pill); font-weight: 500;
  color: var(--color-text-muted); position: relative; transition: color var(--dur-fast);
}
.nav__links a:hover, .nav__links a.active { color: #fff; }
.nav__links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--gradient-cta); border-radius: 2px;
}
.nav__utils { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }

/* Telegram icon-button pill */
.tg-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--color-telegram); font-weight: 600; font-size: 0.9rem;
  padding: 9px 16px; border-radius: var(--radius-pill);
  transition: transform var(--dur-fast), box-shadow var(--dur);
}
.tg-pill svg { width: 18px; height: 18px; }
.tg-pill:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(34,158,217,0.4); }

.nav__toggle {
  display: none; background: transparent; border: 0; padding: 8px;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
}
.nav__toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px auto; border-radius: 2px; transition: transform var(--dur), opacity var(--dur); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: var(--z-drawer);
  opacity: 0; visibility: hidden; transition: opacity var(--dur), visibility var(--dur);
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(320px, 84vw);
  background: var(--color-bg-alt); z-index: var(--z-drawer);
  transform: translateX(100%); transition: transform var(--dur) var(--ease-out);
  padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2);
  border-left: 1px solid var(--color-border-red); overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer a { padding: 14px 16px; border-radius: var(--radius-md); font-size: 1.05rem; font-weight: 500; color: var(--color-text-muted); }
.drawer a:hover, .drawer a.active { background: var(--color-red-soft); color: #fff; }
.drawer .drawer__cta { margin-top: var(--space-4); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-4); }
.drawer__close { background: transparent; border: 0; color: #fff; font-size: 1.8rem; line-height: 1; padding: 4px 10px; }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 8vw, 110px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__particles { position: absolute; inset: 0; z-index: 1; }
.hero__glow {
  position: absolute; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(225,6,0,0.35), transparent 65%);
  top: -10%; right: -8%; z-index: 0; filter: blur(20px);
  animation: pulseGlow 7s var(--ease-in-out) infinite;
}
.hero .container { position: relative; z-index: 2; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-12); align-items: center; }
.hero__grid > * { min-width: 0; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: var(--space-6);
  padding: 8px 16px; border-radius: var(--radius-pill);
  background: var(--color-red-soft); border: 1px solid var(--color-border-red);
  font-size: var(--fs-small); font-weight: 600; color: #fff;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-red-bright); box-shadow: 0 0 10px var(--color-red-bright); animation: blink 1.6s infinite; }
.hero h1 { font-size: var(--fs-hero); margin-bottom: var(--space-6); }
.hero h1 em { font-style: italic; transform: skewX(-6deg); display: inline-block; color: var(--color-red-primary); }
.hero__lead { font-size: var(--fs-lead); max-width: 44ch; margin-bottom: var(--space-8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-8); }
.hero__mock { position: relative; display: flex; justify-content: center; padding-block: var(--space-8); }
.hero__mock-glow { position: absolute; inset: 6% 12%; background: radial-gradient(circle, rgba(225,6,0,0.4), transparent 70%); filter: blur(50px); z-index: -1; }
.hero__ring {
  position: absolute; top: 50%; left: 50%; width: 380px; height: 380px; z-index: -1;
  transform: translate(-50%,-50%); border-radius: 50%;
  border: 1px dashed var(--color-border-red);
  animation: spin 24s linear infinite;
}
.hero__ring::before, .hero__ring::after {
  content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-red-bright); box-shadow: 0 0 12px var(--color-red-bright);
}
.hero__ring::before { top: -4px; left: 50%; transform: translateX(-50%); }
.hero__ring::after { bottom: -4px; left: 50%; transform: translateX(-50%); }

/* ---- Phone frame (device mockup) ---- */
.phone-frame {
  position: relative;
  width: clamp(220px, 24vw, 300px);
  aspect-ratio: 9 / 19.5;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(160deg, #2c2b30 0%, #0c0c0e 60%, #050505 100%);
  box-shadow: 0 40px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06) inset, var(--shadow-glow-red);
  animation: floatY 5.5s var(--ease-in-out) infinite;
}
.phone-frame__screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 30px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.05) inset;
}
.phone-frame__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone-frame__notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 20px; background: #0c0c0e; border-radius: 12px; z-index: 2;
}
.phone-frame__home {
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 36%; height: 4px; background: rgba(255,255,255,0.35); border-radius: 4px; z-index: 2;
}

/* ---- Stat counters ---- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-4); margin-top: var(--space-8); }
.stat {
  background: var(--gradient-panel); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: var(--space-6) var(--space-4); text-align: center;
  position: relative; overflow: hidden;
}
.stat::before { content:""; position:absolute; top:0; left:0; right:0; height:2px; background: var(--gradient-cta); }
.stat__num { font-family: var(--font-display); font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 700; color: #fff; line-height: 1; }
.stat__num span { color: var(--color-red-primary); }
.stat__label { font-size: var(--fs-small); color: var(--color-text-dim); margin-top: 6px; }

/* ---- Cards / Feature grid ---- */
.card-grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); }
.feature-grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); }
.feature {
  background: var(--gradient-panel); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-8);
  transition: transform var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur);
  position: relative; overflow: hidden;
}
.feature::after { content:""; position:absolute; inset:0; background: var(--gradient-card-hover); opacity:0; transition: opacity var(--dur); pointer-events:none; }
.feature:hover { transform: translateY(-6px); border-color: var(--color-border-red); box-shadow: var(--shadow-glow-soft); }
.feature:hover::after { opacity: 1; }
.feature__icon {
  width: 56px; height: 56px; border-radius: var(--radius-md); display: grid; place-items: center;
  background: var(--color-red-soft); border: 1px solid var(--color-border-red); margin-bottom: var(--space-5);
  color: var(--color-red-bright);
}
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: var(--fs-h4); margin-bottom: var(--space-3); }
.feature p { margin: 0; font-size: 0.98rem; }

/* ---- Game cards ---- */
.games-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); }
.game-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  background: var(--color-surface); border: 1px solid var(--color-border);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur);
  display: flex; flex-direction: column;
}
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow-soft); }
.game-card__media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--color-bg-alt); }
.game-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.game-card:hover .game-card__media img { transform: scale(1.08); }
.game-card__tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: rgba(11,11,13,0.8); color: #fff; font-size: var(--fs-xs); font-weight: 600;
  padding: 4px 10px; border-radius: var(--radius-pill); border: 1px solid var(--color-border-red);
}
.game-card__hot { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--gradient-cta); color:#fff; font-size: var(--fs-xs); font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill); }
.game-card__body { padding: var(--space-4); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.game-card__name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: #fff; }
.game-card__meta { display: flex; align-items: center; justify-content: space-between; font-size: var(--fs-xs); color: var(--color-text-dim); }
.stars { color: var(--color-gold); letter-spacing: 1px; font-size: 0.85rem; }
.game-card__play {
  margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px; border-radius: var(--radius-sm); background: var(--color-red-soft);
  color: var(--color-red-bright); font-weight: 600; font-size: 0.9rem; border: 1px solid var(--color-border-red);
  transition: background var(--dur), color var(--dur);
}
.game-card__play:hover { background: var(--gradient-cta); color: #fff; }

/* Featured animated gradient border card */
.game-card--featured { position: relative; }
.game-card--featured::before {
  content: ""; position: absolute; inset: -2px; border-radius: calc(var(--radius-md) + 2px); z-index: -1;
  background: conic-gradient(from 0deg, var(--color-red-primary), var(--color-red-bright), var(--color-gold), var(--color-red-primary));
  opacity: 0; transition: opacity var(--dur); animation: spin 4s linear infinite;
}
.game-card--featured:hover::before { opacity: 1; }

/* ---- Screenshots gallery ---- */
.shots {
  display: flex; gap: var(--space-5); overflow-x: auto; padding-bottom: var(--space-4);
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--color-red-deep) transparent;
  min-width: 0; max-width: 100%;
}
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: var(--color-red-deep); border-radius: 8px; }
.shot {
  flex: 0 0 auto; width: 240px; scroll-snap-align: center;
  border-radius: 28px; overflow: hidden; border: 3px solid var(--color-surface-2);
  box-shadow: var(--shadow-card); background: #000; position: relative;
}
.shot::before { content:""; position:absolute; top:8px; left:50%; transform:translateX(-50%); width:64px; height:5px; background: rgba(255,255,255,0.25); border-radius: 3px; z-index:2; }
.shot img { width: 100%; aspect-ratio: 9/19; object-fit: cover; }

/* ---- Steps / timeline ---- */
.steps { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); counter-reset: step; }
.step {
  background: var(--gradient-panel); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6); position: relative;
}
.step__num {
  width: 48px; height: 48px; border-radius: var(--radius-md); display: grid; place-items: center;
  background: var(--gradient-cta); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  margin-bottom: var(--space-5); box-shadow: var(--shadow-glow-soft);
}
.step h3 { font-size: var(--fs-h4); margin-bottom: var(--space-2); }
.step p { margin: 0; font-size: 0.98rem; }

/* ---- Marquee ticker ---- */
.marquee { background: var(--gradient-cta); overflow: hidden; padding: 14px 0; position: relative; }
.marquee__track { display: flex; gap: var(--space-12); white-space: nowrap; animation: marquee 26s linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.marquee span::before { content: "★"; color: rgba(255,255,255,0.6); }

/* ---- Split / prose blocks ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
.split--wide-left { grid-template-columns: 1.2fr 0.8fr; }
.split > * { min-width: 0; }
.prose { max-width: 72ch; }
.prose p { font-size: var(--fs-body); }
.prose h2, .prose h3 { margin-top: var(--space-10); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 var(--space-5) 1.2em; }
.prose li { margin-bottom: var(--space-2); color: var(--color-text-muted); }
.prose a { color: var(--color-red-bright); text-decoration: underline; text-underline-offset: 3px; }

/* Media frame */
.media-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); box-shadow: var(--shadow-lg); position: relative; }
.media-frame img { width: 100%; }

/* ---- Check list ---- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--color-text-muted); }
.check-list li::before {
  content: "✓"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--color-red-soft); color: var(--color-red-bright); display: grid; place-items: center;
  font-weight: 700; font-size: 0.85rem; border: 1px solid var(--color-border-red); margin-top: 2px;
}

/* ---- Info panels / pill row ---- */
.pill-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.pill { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-pill); padding: 8px 16px; font-size: var(--fs-small); color: var(--color-text-muted); }
.pill--active { background: var(--gradient-cta); color: #fff; border-color: transparent; }

.info-panel { background: var(--gradient-panel); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-8); }
.info-panel--red { border-color: var(--color-border-red); background: linear-gradient(160deg, rgba(225,6,0,0.12), var(--color-surface)); }

/* ---- FAQ accordion ---- */
.faq { display: grid; gap: var(--space-3); max-width: 860px; margin-inline: auto; }
.faq__item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; transition: border-color var(--dur); }
.faq__item[open] { border-color: var(--color-border-red); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-5) var(--space-6); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  cursor: pointer; list-style: none; color: #fff;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q .plus { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--color-border-red); display: grid; place-items: center; color: var(--color-red-bright); transition: transform var(--dur); font-size: 1.1rem; }
.faq__item[open] .faq__q .plus { transform: rotate(45deg); }
.faq__a { padding: 0 var(--space-6) var(--space-6); }
.faq__a p { margin: 0; }

/* ---- Testimonials ---- */
.quote-grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); }
.quote {
  background: var(--gradient-panel); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: var(--space-8); position: relative;
}
.quote::before { content: "“"; font-family: var(--font-display); font-size: 4rem; color: var(--color-red-primary); position: absolute; top: 8px; right: 20px; opacity: 0.3; line-height: 1; }
.quote p { color: var(--color-text-primary); font-size: 1.05rem; }
.quote__who { display: flex; align-items: center; gap: 12px; margin-top: var(--space-4); }
.quote__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gradient-cta); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; }
.quote__name { font-weight: 600; color: #fff; font-size: 0.95rem; }
.quote__role { font-size: var(--fs-xs); color: var(--color-text-dim); }

/* ---- CTA band ---- */
.cta-band { position: relative; overflow: hidden; text-align: center; border-radius: var(--radius-xl); padding: clamp(40px,6vw,80px); background: var(--gradient-hero); border: 1px solid var(--color-border-red); }
.cta-band__glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(225,6,0,0.5), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: var(--fs-h1); }
.cta-band p { color: var(--color-off-white); font-size: var(--fs-lead); max-width: 52ch; margin-inline: auto; }
.cta-band .hero__actions { justify-content: center; margin-top: var(--space-6); }

/* ---- Banner (OG) section ---- */
.og-banner {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--color-border-red); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; min-height: 320px;
  background: var(--gradient-panel);
}
.og-banner > * { min-width: 0; }
.og-banner__content { padding: clamp(28px,4vw,56px); position: relative; z-index: 2; }
.og-banner__media { position: relative; height: 100%; min-height: 260px; }
.og-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.og-banner__media::before { content:""; position:absolute; inset:0; background: linear-gradient(90deg, var(--color-surface), transparent 45%); z-index:1; }
.big-bonus { font-family: var(--font-display); font-size: clamp(2.4rem,5vw,4rem); font-weight: 700; color: var(--color-red-primary); line-height: 1; }

/* ---- Page hero (interior pages) ---- */
.page-hero { position: relative; padding-block: clamp(56px, 8vw, 100px) clamp(40px,5vw,64px); overflow: hidden; border-bottom: 1px solid var(--color-border); }
.page-hero__glow { position: absolute; top: -30%; left: 50%; transform: translateX(-50%); width: 900px; height: 600px; background: radial-gradient(circle, rgba(225,6,0,0.22), transparent 65%); z-index: 0; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: var(--fs-h1); }
.page-hero p { font-size: var(--fs-lead); max-width: 62ch; }
.breadcrumb { display: flex; gap: 8px; font-size: var(--fs-small); color: var(--color-text-dim); margin-bottom: var(--space-4); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--color-red-bright); }
.breadcrumb span { color: var(--color-text-dim); }

/* ---- Stat band (numbers) ---- */
.stat-band { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: var(--space-6); }
.stat-band .stat__num { font-size: clamp(2rem,4vw,3rem); }

/* ---- Two-col content list ---- */
.def-list { display: grid; gap: var(--space-6); }
.def-list__item { border-left: 3px solid var(--color-red-primary); padding-left: var(--space-5); }
.def-list__item h3 { font-size: var(--fs-h4); margin-bottom: var(--space-2); }
.def-list__item p { margin: 0; }

/* ---- Forms ---- */
.form { display: grid; gap: var(--space-5); }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 0.95rem; color: #fff; }
.field input, .field textarea, .field select {
  background: var(--color-bg); border: 1px solid var(--color-border-strong); border-radius: var(--radius-md);
  padding: 14px 16px; color: #fff; font-family: inherit; font-size: 1rem; transition: border-color var(--dur), box-shadow var(--dur);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--color-red-primary); box-shadow: 0 0 0 4px var(--color-red-soft); }
.field textarea { resize: vertical; min-height: 140px; }
.field__error { color: var(--color-red-bright); font-size: var(--fs-small); display: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--color-red-bright); }
.field.invalid .field__error { display: block; }
.form__note { font-size: var(--fs-small); color: var(--color-text-dim); }
.form-success { display: none; padding: var(--space-6); border-radius: var(--radius-md); background: rgba(46,204,113,0.12); border: 1px solid rgba(46,204,113,0.4); color: #eafff2; }
.form-success.show { display: block; }

/* ---- Contact cards ---- */
.contact-cards { display: grid; gap: var(--space-5); }
.contact-card { display: flex; gap: var(--space-4); align-items: flex-start; background: var(--gradient-panel); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); transition: border-color var(--dur), transform var(--dur); }
.contact-card:hover { border-color: var(--color-border-red); transform: translateY(-3px); }
.contact-card__icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--color-red-soft); color: var(--color-red-bright); border: 1px solid var(--color-border-red); }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.contact-card p { margin: 0; font-size: 0.95rem; }

/* ---- Blog cards ---- */
.blog-grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); }
.blog-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--dur), box-shadow var(--dur), border-color var(--dur); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow-soft); border-color: var(--color-border-red); }
.blog-card__media { aspect-ratio: 16/9; overflow: hidden; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow); }
.blog-card:hover .blog-card__media img { transform: scale(1.06); }
.blog-card__body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.blog-card__meta { display: flex; gap: 12px; font-size: var(--fs-xs); color: var(--color-text-dim); flex-wrap: wrap; }
.blog-card__cat { color: var(--color-red-bright); font-weight: 600; }
.blog-card h3 { font-size: var(--fs-h4); margin: 0; }
.blog-card p { margin: 0; font-size: 0.95rem; flex: 1; }
.blog-card__link { color: var(--color-red-bright); font-weight: 600; font-size: 0.9rem; display: inline-flex; gap: 6px; align-items: center; }

/* ---- Related / carousel ---- */
.rail { display: flex; gap: var(--space-5); overflow-x: auto; padding-bottom: var(--space-4); scroll-snap-type: x mandatory; min-width: 0; max-width: 100%; }
.rail > * { flex: 0 0 220px; scroll-snap-align: start; }

/* ---- Rating / detail hero ---- */
.detail-hero { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-12); align-items: center; }
.detail-hero > * { min-width: 0; }
.detail-hero__media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border-red); box-shadow: var(--shadow-glow-soft); }
.detail-hero__media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.tag-badge { display: inline-flex; padding: 6px 14px; border-radius: var(--radius-pill); background: var(--color-red-soft); border: 1px solid var(--color-border-red); color: var(--color-red-bright); font-size: var(--fs-small); font-weight: 600; }

/* ---- Lightbox ---- */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: var(--z-modal); display: none; place-items: center; padding: var(--space-6); }
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius-md); }
.lightbox__close { position: absolute; top: 20px; right: 24px; background: transparent; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; }

/* ---- Compliance / restricted ---- */
.compliance-strip { background: var(--color-bg-alt); border-top: 1px solid var(--color-border-red); border-bottom: 1px solid var(--color-border-red); }
.restricted-box { background: linear-gradient(160deg, rgba(225,6,0,0.10), var(--color-surface)); border: 1px solid var(--color-border-red); border-radius: var(--radius-lg); padding: var(--space-8); }
.restricted-box h3 { color: #fff; }
.age-badge { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--color-red-primary); font-family: var(--font-display); font-weight: 700; color: var(--color-red-bright); font-size: 1.1rem; flex-shrink: 0; }

/* ---- Footer ---- */
.site-footer { background: var(--color-bg-alt); border-top: 1px solid var(--color-border); padding-block: var(--space-16) var(--space-8); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--space-10); margin-bottom: var(--space-12); }
.footer-brand img { height: 42px; width: auto; margin-bottom: var(--space-4); }
.footer-brand p { font-size: 0.95rem; max-width: 40ch; }
.footer-col h4 { font-family: var(--font-display); font-size: 1rem; color: #fff; margin-bottom: var(--space-4); }
.footer-col ul { list-style: none; display: grid; gap: var(--space-2); }
.footer-col a { color: var(--color-text-muted); font-size: 0.95rem; transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--color-red-bright); }
.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.footer-social a { width: 42px; height: 42px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--color-surface); border: 1px solid var(--color-border); color: #fff; transition: all var(--dur); }
.footer-social a:hover { border-color: var(--color-red-primary); color: var(--color-red-bright); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid var(--color-border); padding-top: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; align-items: center; }
.footer-legal { display: flex; flex-direction: column; gap: var(--space-3); max-width: 70ch; }
.footer-compliance { font-size: var(--fs-small); color: var(--color-text-dim); max-width: 70ch; line-height: 1.7; margin: 0; }
.footer-compliance strong { color: var(--color-text-muted); }
.footer-compliance--disclaimer { font-size: var(--fs-xs); color: var(--color-text-dim); opacity: 0.85; padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-border); }

/* ---- Floating Telegram FAB ---- */
.tg-fab {
  position: fixed; bottom: 22px; right: 22px; z-index: var(--z-fab);
  width: 58px; height: 58px; border-radius: 50%; background: var(--color-telegram); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(34,158,217,0.5);
  transition: transform var(--dur); animation: fabPulse 2.4s var(--ease-in-out) infinite;
}
.tg-fab:hover { transform: scale(1.1); }
.tg-fab svg { width: 28px; height: 28px; }

/* ---- Tilt (parallax) ---- */
.tilt { transform-style: preserve-3d; transition: transform 0.1s ease-out; }

/* ---- Utility ---- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--color-text-dim); }
.lead { font-size: var(--fs-lead); color: var(--color-text-muted); }
.badge-inline { display:inline-block; padding: 2px 10px; border-radius: var(--radius-pill); background: var(--color-red-soft); color: var(--color-red-bright); font-size: var(--fs-xs); font-weight: 600; border: 1px solid var(--color-border-red); }
.divider-space { height: 1px; background: var(--color-border); margin-block: var(--space-8); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__mock { order: -1; }
  .phone-frame { width: clamp(200px, 46vw, 260px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-hero { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__utils .tg-pill span { display: none; }
  .nav__toggle { display: block; }
  .nav__utils .btn--primary.nav-cta { display: none; }
  .split, .split--wide-left { grid-template-columns: 1fr; }
  .og-banner { grid-template-columns: 1fr; }
  .og-banner__media { min-height: 200px; order: -1; }
  .og-banner__media::before { background: linear-gradient(0deg, var(--color-surface), transparent 55%); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .hero__ring { width: 280px; height: 280px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn--lg { padding: 15px 26px; }
  .container { padding-inline: var(--space-4); }
  .hero__ring { width: 220px; height: 220px; }
}
