/* ============================================================
   Combo Chronicle — styles.css
   Visual DNA: "Dyotanya" editorial sketchbook — warm paper,
   oversized high-contrast serif, hard offset shadows, dusty-blue
   ink borders, a single coral link accent, hand-drawn squiggles.
   Methodology: BEM. No third-party CSS libraries.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --paper: #f5f5f3;
  --paper-2: #efefec;
  --ink: #000000;
  --charcoal: #333333;
  --white: #ffffff;
  --dusty: #81aed9;
  --cobalt: #55a1ea;
  --coral: #ff8562;
  --muted: #5a5d63;
  --muted-2: #828282;
  --line-soft: #d8dbe0;

  --font-display: "Playfair Display", Didot, Georgia, "Times New Roman", serif;
  --font-body:
    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;

  --shadow-card: 5px -5px 0 0 var(--charcoal);
  --shadow-btn: 4px -4px 0 0 var(--charcoal);

  --r-card: 28px;
  --r-shot: 22px;
  --r-pill: 999px;

  --container: 1200px;
  --pad-inline: clamp(20px, 5vw, 56px);
  --section-gap: clamp(64px, 9vw, 120px);

  --track: -0.036em;

  --stars-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27L6.18 20.9l1.64-6.81L2.6 9.51l6.99-.57L12 2.5l2.41 6.44 6.99.57-5.22 4.58 1.64 6.81z'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.56;
  letter-spacing: var(--track);
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("assets/img/bg/paper-grain.webp");
  background-size: 800px auto;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
button {
  font-family: inherit;
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
}
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2.5px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
}
.section {
  padding-block: var(--section-gap);
  position: relative;
}
.section--tight {
  padding-block: clamp(48px, 6vw, 80px);
}
.section--paper2 {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(129, 174, 217, 0.06) 40%,
    transparent
  );
}

.link {
  color: var(--coral);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.link:hover {
  text-decoration: underline;
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow__num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0;
}

/* Section header — editorial, asymmetric */
.sec-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.sec-head--right {
  margin-left: auto;
  text-align: right;
}
.sec-head__title {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.02;
  font-size: clamp(34px, 5.4vw, 60px);
  letter-spacing: -0.01em;
  margin-top: 18px;
}
.sec-head__title em {
  font-style: italic;
  font-weight: 400;
}
.sec-head__sub {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
  max-width: 58ch;
}
.sec-head--right .sec-head__sub {
  margin-left: auto;
}

/* ---------- Decorative squiggle ---------- */
.squiggle {
  position: absolute;
  pointer-events: none;
  overflow: visible;
  color: var(--ink);
  opacity: 0.5;
  z-index: 0;
}
.squiggle path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.squiggle--dusty {
  color: var(--dusty);
  opacity: 0.85;
}

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(245, 245, 243, 0.86);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1.5px solid transparent;
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}
.header.is-scrolled {
  border-bottom-color: var(--ink);
  background: rgba(245, 245, 243, 0.94);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}
.brand {
  font-family: var(--font-display);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.04em;
  line-height: 1;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
}
.brand__accent {
  color: var(--cobalt);
  font-style: italic;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
}
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 20px);
  flex-wrap: wrap;
}
.nav__link {
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  padding-block: 4px;
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1.5px;
  background: var(--ink);
  transition: right 0.22s ease;
}
.nav__link:hover::after,
.nav__link:focus-visible::after {
  right: 0;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-btn);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.burger:hover {
  transform: translate(1px, -1px);
}
.burger__bar {
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

/* Mobile overlay nav */
.navmenu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--paper);
  background-image: url("assets/img/bg/paper-grain.webp");
  background-size: 600px auto;
  display: none;
  flex-direction: column;
  padding: 28px var(--pad-inline) 48px;
}
.navmenu.is-open {
  display: flex;
}
.navmenu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}
.navmenu__close {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-btn);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.navmenu__list {
  margin-top: auto;
  margin-bottom: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.navmenu__link {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(30px, 8vw, 46px);
  line-height: 1.16;
  text-decoration: none;
  color: var(--ink);
}
.navmenu__link em {
  font-style: italic;
}
.navmenu__index {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--muted);
  margin-right: 12px;
}
.navmenu__foot {
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.navmenu__foot a {
  color: var(--coral);
  text-decoration: none;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding-top: clamp(40px, 6vw, 76px);
  padding-bottom: clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--ink);
  font-size: clamp(44px, 8.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
}
.hero__title .u {
  display: inline-block;
  position: relative;
}
.hero__title .u::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0.06em;
  height: 0.1em;
  background: var(--dusty);
  border-radius: 999px;
  z-index: -1;
}
.hero__lead {
  margin-top: clamp(22px, 3vw, 34px);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.58;
  color: var(--muted);
  max-width: 52ch;
}
.hero__actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.hero__note {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__note svg {
  width: 16px;
  height: 16px;
  color: var(--dusty);
}

/* Hero icon collage */
.hero__showcase {
  position: relative;
}
.showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.showcase__tile {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--dusty);
  border-radius: 22px;
  padding: 12px;
  box-shadow: var(--shadow-card);
}
.showcase__tile:nth-child(3n + 2) {
  transform: translateY(16px);
}
.showcase__tile img {
  border-radius: 14px;
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
}
.showcase__badge {
  position: absolute;
  top: -12px;
  left: -12px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 13px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 16px 26px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-btn);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}
.btn:hover {
  transform: translate(1px, -1px);
  box-shadow: 6px -6px 0 0 var(--charcoal);
}
.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px -2px 0 0 var(--charcoal);
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn--primary {
  background: var(--dusty);
  color: var(--ink);
}
.btn--ink {
  background: var(--ink);
  color: var(--white);
}
.btn--ghost {
  background: transparent;
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--white);
  box-shadow: var(--shadow-btn);
}
.btn--full {
  width: 100%;
  justify-content: center;
}
.btn--sm {
  padding: 12px 20px;
  font-size: 12.5px;
}

/* ---------- Rating stars ---------- */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rating__stars {
  position: relative;
  display: inline-block;
  width: 106px;
  height: 20px;
}
.rating__stars::before,
.rating__stars::after {
  content: "";
  position: absolute;
  inset: 0;
  -webkit-mask: var(--stars-mask) left center / 21.2px 20px repeat-x;
  mask: var(--stars-mask) left center / 21.2px 20px repeat-x;
}
.rating__stars::before {
  background: var(--line-soft);
  right: 0;
}
.rating__stars::after {
  background: var(--cobalt);
  width: var(--fill, 90%);
}
.rating__num {
  font-weight: 600;
  font-size: 13px;
  color: var(--charcoal);
}

/* ============================================================
   Games catalogue
   ============================================================ */
.games__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
  align-items: start;
}
.game-card {
  background: var(--white);
  border: 1.5px solid var(--dusty);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.games__grid > .game-card:nth-child(3n + 2) {
  transform: translateY(30px);
}
.games__grid > .game-card:nth-child(3n + 2):hover {
  transform: translateY(27px) translate(1px, -1px);
}
.game-card:hover {
  transform: translate(1px, -1px);
  box-shadow: 7px -7px 0 0 var(--charcoal);
}
.game-card__index {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 22px;
  color: var(--line-soft);
}
.game-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.game-card__icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  border: 1.5px solid var(--ink);
  object-fit: cover;
  flex-shrink: 0;
}
.game-card__name {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.12;
}
.game-card__dev {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px;
}
.game-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  border: 1.5px solid var(--line-soft);
  border-radius: var(--r-pill);
  padding: 4px 12px;
}
.game-card__shot-wrap {
  border: 1.5px solid var(--ink);
  border-radius: var(--r-shot);
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 4 / 3;
}
.game-card__shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.game-card__desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}
.game-card__foot {
  margin-top: auto;
}
.game-card__disc {
  font-size: 11.5px;
  color: var(--muted-2);
  margin-top: 10px;
  text-align: center;
}

/* ============================================================
   How we earn (monetization)
   ============================================================ */
.earn__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.earn__points {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.earn-point {
  display: flex;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid var(--dusty);
  border-radius: 22px;
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
}
.earn-point__n {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  color: var(--dusty);
  flex-shrink: 0;
  line-height: 1;
}
.earn-point__t {
  font-family: var(--font-display);
  font-size: 19px;
  margin-bottom: 4px;
}
.earn-point__d {
  font-size: 14px;
  color: var(--muted);
}
.earn__figure {
  border: 1.5px solid var(--ink);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--white);
}
.earn__figure img {
  width: 100%;
  aspect-ratio: 14/9;
  object-fit: cover;
}
.earn__note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}

/* ============================================================
   Why trust — icon pillars
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2vw, 26px);
}
.pillar {
  background: var(--white);
  border: 1.5px solid var(--dusty);
  border-radius: 24px;
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
}
.pillar:nth-child(even) {
  transform: translateY(22px);
}
.pillar__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--ink);
  background: var(--paper);
}
.pillar__icon svg {
  width: 26px;
  height: 26px;
}
.pillar__t {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 8px;
}
.pillar__d {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ============================================================
   Stats
   ============================================================ */
.stats {
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: clamp(28px, 4vw, 44px) 20px;
  text-align: center;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1.5px;
  background: var(--line-soft);
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1;
  color: var(--ink);
}
.stat__num em {
  color: var(--dusty);
  font-style: normal;
}
.stat__label {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ============================================================
   How to start — steps
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 34px);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 12px;
}
.step__n {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  color: var(--dusty);
  margin-bottom: 14px;
}
.step__t {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 8px;
}
.step__d {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ============================================================
   Reviews
   ============================================================ */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 30px);
}
.reviews__card {
  background: var(--white);
  border: 1.5px solid var(--dusty);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reviews__card:nth-child(2) {
  transform: translateY(26px);
}
.reviews__quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.4;
}
.reviews__quote em {
  font-style: italic;
  font-weight: 400;
}
.reviews__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 15px;
  background: var(--dusty);
  color: var(--ink);
}
.reviews__name {
  font-weight: 600;
  font-size: 14px;
}
.reviews__role {
  font-size: 12.5px;
  color: var(--muted);
}

/* ============================================================
   Subscribe form
   ============================================================ */
.subscribe__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.subscribe__card {
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-card);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.field__label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--charcoal);
}
.field__req {
  color: var(--coral);
}
.input {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  padding: 14px 18px;
  border: 1.5px solid var(--dusty);
  border-radius: 30px;
  background: var(--paper);
  transition: border-color 0.18s ease;
}
.input::placeholder {
  color: var(--muted-2);
}
.input:focus {
  outline: none;
  border-color: var(--cobalt);
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 6px 0 20px;
}
.consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--cobalt);
  flex-shrink: 0;
}
.consent label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.form__success {
  display: none;
  margin-top: 18px;
  padding: 16px 20px;
  border: 1.5px solid var(--dusty);
  border-radius: 20px;
  background: rgba(129, 174, 217, 0.14);
  font-size: 14.5px;
  color: var(--charcoal);
}
.form__success.is-visible {
  display: flex;
  gap: 12px;
  align-items: center;
}
.form__success svg {
  width: 22px;
  height: 22px;
  color: var(--cobalt);
  flex-shrink: 0;
}
.form__error {
  display: none;
  margin-top: 10px;
  font-size: 13px;
  color: #b0442a;
}
.form__error.is-visible {
  display: block;
}

/* ============================================================
   FAQ accordion
   ============================================================ */

.faq__item {
  border-bottom: 1.5px solid var(--line-soft);
}
.faq__item:first-child {
  border-top: 1.5px solid var(--ink);
}
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 26px 44px 26px 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.6vw, 27px);
  color: var(--ink);
  position: relative;
  line-height: 1.25;
}
.faq__q::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background: var(--stars-none, transparent);
  transition: transform 0.25s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E")
    center/contain no-repeat;
  background-color: var(--ink);
}
.faq__item.is-open .faq__q::after {
  transform: rotate(135deg);
}
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.faq__item.is-open .faq__a {
  max-height: 340px;
}
.faq__a-inner {
  padding: 0 44px 26px 0;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   Safety / guarantees
   ============================================================ */
.safety__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 30px);
}
.safety-card {
  border: 1.5px solid var(--dusty);
  border-radius: var(--r-card);
  padding: 28px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 16px;
}
.safety-card__icon {
  color: var(--dusty);
  flex-shrink: 0;
}
.safety-card__icon svg {
  width: 34px;
  height: 34px;
}
.safety-card__t {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 6px;
}
.safety-card__d {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1.5px solid var(--ink);
  padding-block: clamp(48px, 6vw, 72px);
  position: relative;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}
.footer__brand {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 28px;
  letter-spacing: 0.04em;
}
.footer__brand em {
  color: var(--cobalt);
  font-style: italic;
}
.footer__tag {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  max-width: 34ch;
}
.footer__mail {
  margin-top: 18px;
  display: inline-block;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--coral);
  text-decoration: none;
}
.footer__mail:hover {
  text-decoration: underline;
}
.footer__col-t {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer__link {
  font-size: 14.5px;
  text-decoration: none;
  color: var(--charcoal);
}
.footer__link:hover {
  color: var(--coral);
}
.footer__bottom {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1.5px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}
.footer__bottom a {
  color: var(--muted);
}

/* ============================================================
   Back-to-top + cookie banner
   ============================================================ */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 55;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top svg {
  width: 20px;
  height: 20px;
}

.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 65;
  max-width: 640px;
  margin-inline: auto;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  padding: 20px 22px;
  display: none;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie.is-visible {
  display: flex;
}
.cookie__text {
  font-size: 13.5px;
  color: var(--muted);
  flex: 1 1 260px;
  line-height: 1.5;
}
.cookie__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============================================================
   Legal pages
   ============================================================ */
.legal {
  padding-block: clamp(48px, 6vw, 88px);
}
.legal__head {
  max-width: 820px;
  margin-bottom: 40px;
}
.legal__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.legal__title em {
  font-style: italic;
  font-weight: 400;
}
.legal__updated {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
}
.legal__body {
  max-width: 820px;
}
.legal__body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3.2vw, 32px);
  margin: 42px 0 14px;
}
.legal__body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  margin: 26px 0 10px;
}
.legal__body p {
  font-size: 15.5px;
  color: var(--charcoal);
  line-height: 1.62;
  margin-bottom: 14px;
}
.legal__body ul {
  margin: 0 0 16px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.legal__body li {
  font-size: 15.5px;
  color: var(--charcoal);
  line-height: 1.55;
  padding-left: 26px;
  position: relative;
}
.legal__body li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dusty);
}
.legal__body a {
  color: var(--coral);
}
.legal__toc {
  background: var(--white);
  border: 1.5px solid var(--dusty);
  border-radius: 22px;
  padding: 22px 26px;
  box-shadow: var(--shadow-card);
  margin-bottom: 8px;
}
.legal__toc-t {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.legal__toc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.legal__toc a {
  font-size: 14px;
  color: var(--charcoal);
  text-decoration: none;
}
.legal__toc a:hover {
  color: var(--coral);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .nav__list {
    display: none;
  }
  .nav .btn {
    display: none;
  }
  .burger {
    display: flex;
  }
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__showcase {
    max-width: 460px;
    margin-top: 8px;
  }
  .games__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .games__grid > .game-card:nth-child(3n + 2) {
    transform: none;
  }
  .games__grid > .game-card:nth-child(3n + 2):hover {
    transform: translate(1px, -1px);
  }
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .earn__grid,
  .subscribe__grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .games__grid {
    grid-template-columns: 1fr;
  }
  .game-card__shot-wrap {
    aspect-ratio: 16/10;
  }
  .pillars {
    grid-template-columns: 1fr;
  }
  .pillar:nth-child(even) {
    transform: none;
  }
  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat:nth-child(3)::before,
  .stat:nth-child(2n + 1)::before {
    display: none;
  }
  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-top: 1.5px solid var(--line-soft);
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .reviews__grid {
    grid-template-columns: 1fr;
  }
  .reviews__card:nth-child(2) {
    transform: none;
  }
  .safety__grid {
    grid-template-columns: 1fr;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .showcase {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
  .showcase__tile,
  .game-card,
  .pillar,
  .reviews__card,
  .games__grid > .game-card:nth-child(3n + 2) {
    transform: none !important;
  }
}
