:root {
  --bg: #ebe5d3;
  --bg-2: #efe9d6;
  --blue: #1f3eea;
  --blue-2: #3854ff;
  --blue-soft: #6e85ff;
  --blue-pale: #b8c3ff;
  --blue-bg: #1a32d8;
  --ink: #091226;
  --ink-2: #0b1532;
  --text: #091226;
  --text-soft: #2a3672;
  --text-dim: #5b6594;
  --line: rgba(31, 62, 234, 0.25);
  --line-strong: rgba(31, 62, 234, 0.5);
  --white: #ffffff;
  --cream: #f3edd9;
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --container: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100vw; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.site-header {
  padding: 28px 0 8px;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 36px;
  border: 2px solid var(--blue);
  border-radius: var(--radius-pill);
  background: var(--bg);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 18px;
  color: var(--blue);
}
.brand__mark {
  width: 28px;
  height: 28px;
  position: relative;
}
.brand__mark::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--blue);
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.nav { display: flex; align-items: center; gap: 60px; }
.nav__list { display: flex; gap: 36px; list-style: none; }
.nav__link {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.04em;
  text-transform: capitalize;
}
.nav__link:hover { color: var(--blue-bg); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(31, 62, 234, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); background: var(--blue-bg); }
.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--outline:hover { background: var(--blue); color: var(--white); }
.btn--big {
  padding: 18px 56px;
  font-size: 16px;
}
.btn--full {
  display: flex;
  width: 100%;
}
.btn--social {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--blue);
  border: none;
  font-weight: 700;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--blue);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.burger__line { width: 18px; height: 2px; background: var(--blue); border-radius: 2px; }

.hero { padding: 30px 0 80px; position: relative; }
.hero__stage {
  position: relative;
  min-height: 820px;
}
.hero__words {
  position: relative;
  z-index: 2;
}
.hero__word {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(56px, 17vw, 250px);
  line-height: 0.85;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: -0.05em;
  margin: 0;
  display: block;
  word-break: break-word;
  max-width: 100%;
}
.hero__word--mav { padding-top: 80px; }
.hero__mascot {
  position: absolute;
  top: 60px;
  right: 16%;
  width: 38%;
  max-width: 540px;
  z-index: 1;
  pointer-events: none;
}
.hero__mascot-svg {
  width: 100%;
  height: auto;
  display: block;
}
.hero__lead {
  position: absolute;
  top: 260px;
  right: 0;
  z-index: 3;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1.55;
  text-align: right;
  max-width: 280px;
}
.hero__pill {
  margin: 60px auto 0;
  max-width: 920px;
  padding: 26px 40px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 36px rgba(31, 62, 234, 0.3);
}
.hero__sub {
  margin: 30px auto 0;
  max-width: 720px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  text-align: center;
  line-height: 1.6;
}

.section { padding: 100px 0; position: relative; }
.hero, .about-section, .what-section, .picks-section, .readable-section, .game-detail, .legal, .footer { overflow: hidden; }
.section--divider { border-top: 1px solid var(--blue); }
.section--dark { background: var(--ink); color: var(--white); }
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
}

.about-section { position: relative; padding: 100px 0 120px; }
.about-section__grid {
  display: grid;
  grid-template-columns: 0.45fr 1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.about-section__vertical {
  position: relative;
  font-size: clamp(120px, 14vw, 220px);
  font-weight: 900;
  line-height: 0.85;
  color: var(--blue);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.about-section__copy {
  color: var(--blue);
  font-size: 16px;
  line-height: 1.65;
  padding-top: 40px;
}
.about-section__copy p + p { margin-top: 18px; }
.about-section__visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding-top: 200px;
}
.shape-card {
  aspect-ratio: 1;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 45%, #1a32d8 0%, #1a32d8 32%, transparent 33%),
    linear-gradient(180deg, #d4c8a8 0%, #6e85ff 60%, #1f3eea 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(31, 62, 234, 0.2);
}

.what-section { padding: 80px 0 120px; text-align: center; }
.what-section__eyebrow { text-align: left; max-width: var(--container); margin: 0 auto 24px; padding: 0 32px; }
.what-section__title {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blue);
  letter-spacing: 0.04em;
  line-height: 1.25;
  max-width: 1100px;
  margin: 0 auto;
}
.what-section__cta { margin-top: 30px; }
.what-section__visuals {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.6fr 1fr 1fr;
  gap: 24px;
  align-items: end;
}
.what-card {
  background: var(--blue);
  border-radius: 16px;
  aspect-ratio: 16 / 11;
  position: relative;
  overflow: hidden;
}
.what-card::before {
  content: "";
  position: absolute;
  top: 18%;
  left: 18%;
  width: 18%;
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--white), transparent 70%);
  filter: blur(6px);
  opacity: 0.85;
}
.what-card--big {
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 60% 50%, #1f3eea 0%, #1f3eea 38%, transparent 39%),
    radial-gradient(circle at 50% 50%, #d4c8a8, #6e85ff 65%, #1f3eea 100%);
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(31, 62, 234, 0.25);
}
.what-card__label {
  position: absolute;
  bottom: -28px;
  left: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.picks-section { padding: 120px 0; border-top: 1px solid var(--blue); }
.picks-section__title {
  font-size: clamp(72px, 9vw, 140px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--blue);
  text-transform: uppercase;
}
.picks-section__lead {
  margin-top: 28px;
  max-width: 780px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1.6;
}
.games-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1.6fr 1.6fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 22px;
}
.game-card {
  position: relative;
  border: 2px solid var(--blue);
  border-radius: 26px;
  background: var(--bg);
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  min-height: 340px;
  isolation: isolate;
  contain: paint;
  max-width: 100%;
}
.game-card__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}
.game-card__name {
  display: inline-flex;
  align-self: flex-start;
  padding: 10px 22px;
  background: var(--bg);
  border: 2px solid var(--blue);
  border-radius: var(--radius-pill);
  font-size: 18px;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 8px;
}
.game-card__desc {
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.55;
  margin-top: 8px;
}
.game-card__shape {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 56%;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 50%, #d4c8a8 0%, #6e85ff 60%, #1f3eea 100%);
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(31, 62, 234, 0.18);
  transform: rotate(-12deg);
}
.game-card__shape::after {
  content: "";
  position: absolute;
  top: 38%;
  left: 38%;
  width: 14%;
  aspect-ratio: 1;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--white);
}
.game-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.game-card--first { grid-column: span 1; }
.game-card--vertical { grid-column: span 1; }
.game-card--small { min-height: 340px; }
.game-card--row2 {
  grid-column: span 1;
}

.readable-section { padding: 140px 0 100px; border-top: 1px solid var(--blue); }
.readable-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.readable-visual {
  position: relative;
  aspect-ratio: 1;
  background:
    linear-gradient(135deg, #b8c3ff 0%, #6e85ff 40%, #1f3eea 70%, #0a1a8a 100%);
  border-radius: 32px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(31, 62, 234, 0.25);
  isolation: isolate;
  contain: paint;
  max-width: 100%;
}
.readable-visual__stack {
  position: absolute;
  top: 60px;
  left: 50px;
  font-size: clamp(48px, 6.5vw, 92px);
  font-weight: 900;
  line-height: 0.95;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.readable-visual__stack span { display: block; }
.readable-visual__circle {
  position: absolute;
  right: -10%;
  bottom: -10%;
  width: 75%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(180deg, #1f3eea, #0a1a8a);
}
.readable-text__title {
  font-size: clamp(40px, 5vw, 76px);
  font-weight: 900;
  line-height: 0.95;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.readable-text__body {
  margin-top: 26px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}
.readable-text__body p + p { margin-top: 16px; }
.readable-text__cta { margin-top: 30px; }

.footer {
  background: var(--ink);
  color: var(--white);
  padding: 60px 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}
.footer__brand { color: var(--white); }
.footer__brand .brand__mark::before { border-color: var(--white); }
.footer__brand .brand__mark::after { background: var(--white); }
.footer__links { display: flex; flex-direction: column; gap: 12px; list-style: none; }
.footer__links a { color: var(--white); font-size: 15px; }
.footer__links a:hover { color: var(--blue-pale); }
.footer__info {
  color: var(--white);
  font-size: 14px;
  line-height: 1.7;
}
.footer__info a:hover { color: var(--blue-pale); }
.footer__bottom {
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__socials { display: flex; gap: 12px; }

.cookie {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 320px;
  padding: 28px 26px;
  background: var(--bg);
  border: 2px solid var(--blue);
  border-radius: 26px;
  z-index: 100;
  display: none;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}
.cookie.is-visible { display: block; }
.cookie__title {
  font-size: 38px;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--blue);
  letter-spacing: -0.01em;
}
.cookie__body {
  margin-top: 14px;
  color: var(--blue);
  font-size: 13px;
  line-height: 1.55;
}
.cookie__actions { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }

.game-detail {
  position: relative;
  padding: 60px 0 100px;
  background: var(--bg);
}
.game-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.game-detail__title {
  font-size: clamp(96px, 13vw, 200px);
  font-weight: 900;
  line-height: 0.88;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: -0.04em;
}
.game-detail__title span { display: block; }
.game-detail__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 30px;
  padding-top: 80px;
}
.game-detail__desc {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  text-align: right;
  line-height: 1.65;
  max-width: 460px;
}
.game-detail__icon {
  width: 220px;
  height: 220px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(31, 62, 234, 0.2);
}
.game-detail__icon img { width: 100%; height: 100%; object-fit: cover; }
.game-detail__cta-wrap {
  margin-top: 40px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.game-detail__cta {
  width: 100%;
  padding: 22px 60px;
  font-size: 18px;
}

.legal {
  position: relative;
  padding: 60px 0 100px;
}
.legal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.legal__title {
  font-size: clamp(72px, 10vw, 168px);
  font-weight: 900;
  line-height: 0.88;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: -0.03em;
}
.legal__title span { display: block; }
.legal__body {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  text-align: right;
  line-height: 1.65;
  padding-top: 20px;
}
.legal__body h2 {
  font-size: 13px;
  font-weight: 800;
  margin: 16px 0 4px;
  letter-spacing: 0.06em;
}
.legal__body p { margin: 4px 0; }
.legal__body ul { padding: 0; list-style: none; margin: 6px 0; }
.legal__body ul li::before { content: " "; }
.legal__body a { text-decoration: underline; color: var(--blue); }

@media (max-width: 1024px) {
  .hero__stage { min-height: 0; }
  .hero__mascot { position: relative; top: 0; right: 0; width: 70%; max-width: 360px; margin: 20px auto; }
  .hero__lead { position: relative; top: 0; padding-top: 0; text-align: center; max-width: 100%; margin: 16px auto 0; }
  .hero__word--mav { padding-top: 20px; }
  .about-section__grid { grid-template-columns: 0.3fr 1fr; }
  .about-section__visuals { grid-column: 1 / -1; padding-top: 30px; grid-template-columns: 1fr 1fr; }
  .what-section__visuals { grid-template-columns: 1fr 1fr; }
  .games-grid { grid-template-columns: 1fr 1fr; }
  .readable-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .game-detail__grid { grid-template-columns: 1fr; }
  .game-detail__right { padding-top: 0; align-items: flex-start; }
  .game-detail__desc { text-align: left; }
  .legal__grid { grid-template-columns: 1fr; }
  .legal__body { text-align: left; padding-top: 0; }
  .nav__list { gap: 22px; }
}

@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .header-shell { padding: 12px 18px; }
  .brand { font-size: 14px; }
  .nav__list { display: none; }
  .nav.is-open .nav__list {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 18px;
    right: 18px;
    padding: 24px;
    background: var(--bg);
    border: 2px solid var(--blue);
    border-radius: 22px;
    z-index: 60;
  }
  .nav__cta { display: none; }
  .burger { display: inline-flex; }
  .header-shell { padding: 14px 22px; }
  .hero { padding: 30px 0 60px; }
  .hero__title { font-size: 80px; }
  .hero__pill { padding: 18px 22px; font-size: 14px; }
  .section, .about-section, .what-section, .picks-section, .readable-section { padding: 60px 0; }
  .about-section__grid { grid-template-columns: 1fr; }
  .about-section__vertical { writing-mode: horizontal-tb; transform: none; font-size: 72px; }
  .games-grid { grid-template-columns: 1fr; }
  .what-section__visuals { grid-template-columns: 1fr 1fr; }
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 22px 20px; }
  .cookie__title { font-size: 26px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .game-detail__title { font-size: 56px; }
  .game-detail__icon { width: 140px; height: 140px; }
  .legal__title { font-size: 52px; word-break: break-word; }
  .picks-section__title { font-size: 52px; word-break: break-word; }
  .what-section__title { font-size: 18px; }
  .readable-text__title { font-size: 40px; word-break: break-word; }
  .readable-visual__stack { font-size: 36px; top: 24px; left: 22px; }
  .about-section__vertical { font-size: 56px; }
  .hero__pill { font-size: 12px; padding: 16px 20px; letter-spacing: 0.02em; }
  .hero__sub { font-size: 11px; }
}
