/* ==========================================================================
   Fonts (self-hosted, latin subset)
   ========================================================================== */
@font-face {
  font-family: "Inter";
  src: url(../fonts/inter-latin.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url(../fonts/sora-latin.woff2) format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Design tokens — change brand colors here only
   ========================================================================== */
:root {
  --primary: #a3f500;
  --primary-dark: #446503;
  --on-primary: #000000;
  --bg: #0b111b;
  --surface: #222a2c;
  --surface-head: #1a2122;
  --surface-faq: #212723;
  --surface-deep: #101820;
  --heading: #ffffff;
  --text: #f5f5f5;
  --muted: #ffffffbf;
  --faint: #ffffff66;
  --tile: #ffffff1a;
  --line: #ffffff14;

  --font-body: "Inter", Arial, sans-serif;
  --font-display: "Sora", "Arial Black", Arial, sans-serif;

  --gutter: 15px;
  --content: 800px;
  --radius: 16px;
  --radius-card: 11px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 20px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote {
  margin: 0;
}
ul, ol {
  padding: 0;
  list-style: none;
}
a {
  color: var(--primary);
}
strong {
  font-weight: 600;
}
button {
  font: inherit;
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

h1 {
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  line-height: 40px;
  letter-spacing: 0.33px;
  text-transform: uppercase;
}
h2 {
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 26px;
  text-transform: uppercase;
}
h3 {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
}
.accent {
  color: var(--primary);
}

/* ==========================================================================
   Page layout: every direct child of <main> is a centered column block
   ========================================================================== */
.page {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 20px;
}
.page > * {
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.page > section > * + * {
  margin-top: 12px;
}
.lead {
  font-weight: 500;
}
.page > section > h3 + ul {
  margin-top: 4px;
}
.page > section > h2 + .lead {
  margin-top: 4px;
}
[id] {
  scroll-margin-top: 20px;
}
.site-guide a {
  font-weight: 600;
  text-decoration: none;
}
.site-guide a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Buttons and links
   ========================================================================== */
.btn {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 28px;
  border: 0;
  background: none;
  color: var(--on-primary);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  line-height: 20px;
  letter-spacing: 0.33px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 10px;
  background: var(--primary);
  transform: skewX(-24deg);
  transition: filter 0.15s ease;
}
.btn:hover::before {
  filter: brightness(1.1);
}
.btn--block {
  display: flex;
  width: calc(100% - 20px);
  margin-inline: auto;
}
.btn--lg {
  min-height: 55px;
}
.btn--lg::before {
  transform: skewX(-13deg);
}
.btn--md {
  font-size: 14px;
}
.btn--outline {
  color: var(--heading);
}
.btn--outline::before {
  border: 2px solid var(--primary);
  background: var(--surface-deep);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-inline: 4px;
}
.btn-row .btn {
  flex: 1 1 150px;
}

.link-cta {
  display: block;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.link-cta:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Header and main navigation
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--bg);
}
.site-header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: calc(1100px + 2 * var(--gutter));
  min-height: 77px;
  margin-inline: auto;
  padding: 13px var(--gutter);
}
.nav-toggle {
  display: grid;
  place-items: center;
  justify-self: start;
  width: 51px;
  height: 51px;
  padding: 0;
  border: 0;
  border-radius: 8.5px 0 0 8.5px;
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle img {
  width: 28px;
  height: auto;
}
.site-logo {
  display: block;
  justify-self: center;
}
.site-logo img {
  width: 101px;
  height: auto;
}
.btn--header {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  min-width: 106px;
  padding-inline: 20px;
  font-size: 14px;
}
.site-nav {
  grid-column: 1 / -1;
  grid-row: 2;
  padding-top: 12px;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.site-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a.active,
.site-nav a[aria-current="page"] {
  color: var(--primary);
}

@media (max-width: 768px) {
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 8px var(--gutter) 16px;
    border-top: 1px solid var(--line);
    background: var(--bg);
    box-shadow: 0 16px 24px #00000080;
  }
  .js.nav-open .site-nav {
    display: block;
  }
  .js .site-nav ul {
    flex-direction: column;
    gap: 6px;
  }
  .js .site-nav a {
    padding: 12px 16px;
  }
}

/* ==========================================================================
   Bonus strip (repeating block under the header)
   ========================================================================== */
.bonus-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 77px;
  padding-block: 9px;
  overflow: hidden;
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--bg) 100%);
}
.bonus-strip__img {
  flex: none;
  width: 59px;
  height: 59px;
}
.bonus-strip__text {
  flex: 1 1 auto;
  min-width: 0;
}
.bonus-strip__text p {
  font-weight: 500;
  line-height: 16px;
}
.bonus-strip__text p + p {
  margin-top: 4px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 26px;
  text-transform: uppercase;
}
.bonus-strip .btn {
  flex: none;
  margin-right: 8px;
  padding-inline: 18px;
  font-size: 14px;
}

/* ==========================================================================
   Heroes
   ========================================================================== */
.hero-home {
  position: relative;
  z-index: 0;
  padding-top: 261px;
  overflow: hidden;
  text-align: center;
}
.hero-home__media {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 393px;
}
.hero-home__flag {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-home__art {
  position: absolute;
  top: 31px;
  left: 0;
  width: 100%;
  height: 362px;
  object-fit: cover;
}
.hero-home__media::after {
  content: "";
  position: absolute;
  inset: 31px 0 0;
  background: linear-gradient(0deg, #000000bf 0%, #00000000 100%);
}
.hero-home h1 {
  max-width: 383px;
  margin-inline: auto;
}
.page > .hero-home > h1 {
  margin-top: 0;
}
.hero-home .lead {
  line-height: 16px;
}
.page > .hero-home > .btn {
  margin-top: 35px;
  font-size: 14px;
}

.page > .page-hero > h1 {
  margin-top: 16px;
}
.page > .page-hero > .lead {
  margin-top: 12px;
  line-height: 16px;
}
.page > .page-hero > .btn-row {
  margin-top: 24px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 1.6px;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--heading);
}
.breadcrumbs li + li::before {
  content: "";
  width: 24px;
  height: 24px;
  background: url(../img/icons/chevron-right.svg) center / 6px 10px no-repeat;
}
.breadcrumbs a {
  color: var(--faint);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--text);
}

/* ==========================================================================
   Content blocks
   ========================================================================== */
.media-img {
  width: 100%;
  aspect-ratio: 410 / 264;
  border-radius: var(--radius);
  object-fit: cover;
}

.plain-list li,
.steps li {
  line-height: 24px;
}
.check-list li::before {
  content: "\2705\00a0";
}
.check-list li {
  line-height: 24px;
}

.feature-list {
  display: grid;
  gap: 12px;
}
.feature-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 16px;
  align-items: start;
}
.feature-list img {
  width: 24px;
  height: 24px;
}
.feature-list h3 + p {
  margin-top: 4px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.game-card {
  padding: 18px 15px 22px;
  border-radius: var(--radius-card);
  background: var(--surface);
}
.icon-tile {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--tile);
}
.icon-tile img {
  width: 16px;
  height: 16px;
}
.game-card h3,
.promo-card h3,
.device-card h3 {
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  line-height: 22px;
  text-transform: uppercase;
}
.game-card .icon-tile + h3 {
  margin-top: 22px;
}
.game-card__img {
  width: 100%;
  aspect-ratio: 167 / 106;
  border-radius: 8px;
  object-fit: cover;
}
.game-card__img + h3 {
  margin-top: 24px;
}
.game-card p,
.promo-card p,
.device-card p {
  color: var(--muted);
  font-weight: 500;
  line-height: 16px;
}
.game-card h3 + p {
  margin-top: 10px;
}

.promo-list {
  display: grid;
  gap: 16px;
}
.promo-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 20px 19px;
  border-radius: var(--radius-card);
  background: var(--surface);
}
.promo-card__img {
  width: 110px;
  height: 110px;
  border-radius: 12px;
  object-fit: cover;
}
.promo-card p {
  margin-top: 4px;
}
.promo-card .btn {
  display: flex;
  width: calc(100% - 12px);
  margin: 12px 0 0 6px;
  font-size: 14px;
}

.device-list {
  display: grid;
  gap: 16px;
}
.device-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 18px;
  padding: 18px 15px 20px;
  border-radius: var(--radius-card);
  background: var(--surface);
}
.device-card p {
  margin-top: 6px;
}

.notice {
  padding: 10px 20px;
  border: 1px solid var(--primary);
  border-radius: 12px;
  background: var(--surface-deep);
  color: var(--heading);
  font-size: 12px;
  line-height: 16px;
}
.notice strong {
  color: var(--primary);
}

/* Tables (scroll sideways on small screens) */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 13.65px;
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th,
.data-table td {
  padding: 14px 22px;
  white-space: nowrap;
  text-align: left;
  vertical-align: middle;
}
.data-table th {
  background: var(--surface-head);
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 13.65px;
  font-weight: 800;
  line-height: 16px;
  text-transform: uppercase;
}
.data-table td {
  background: var(--surface);
  color: var(--heading);
  line-height: 16px;
}
.data-table th:first-child,
.data-table td:first-child {
  border-right: 1px solid var(--line);
}

/* FAQ accordion (native <details>, works without JavaScript) */
.faq-list {
  display: grid;
  gap: 14px;
}
.faq-item {
  border-radius: var(--radius);
  background: var(--surface-faq);
}
.faq-item summary {
  position: relative;
  padding: 15px 52px 15px 17px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  line-height: 22px;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background: url(../img/icons/chevron-up.svg) center / 10px 6px no-repeat;
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}
.faq-item[open] summary {
  padding-bottom: 12px;
}
.faq-item[open] summary::after {
  transform: none;
}
.faq-item p {
  padding: 0 35px 18px 17px;
}

/* CTA box with background image */
.cta-box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  text-align: center;
}
.page > .cta-box {
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--content);
  padding: 46px 22px 34px;
}
.cta-box__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page > .cta-box > .cta-box__bg + * {
  margin-top: 0;
}
.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #000000bf;
}
.cta-box h2 {
  font-size: 40px;
  line-height: 40px;
  letter-spacing: 0.33px;
}
.page > .cta-box > p {
  font-weight: 500;
}
.page > .cta-box > h2 + p {
  margin-top: 22px;
}
.page > .cta-box > .btn {
  margin-top: 24px;
}
.cta-box ul {
  text-align: left;
}
.cta-box .small {
  font-size: 12px;
  line-height: 16px;
}
.page > .cta-box > .small {
  margin-top: 24px;
}

/* Category chips (in-page jump links) */
.chips {
  display: flex;
  gap: 6px;
  margin-inline: calc(-1 * var(--gutter));
  padding: 0 calc(var(--gutter) + 4px);
  overflow-x: auto;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar {
  display: none;
}
.chip {
  position: relative;
  z-index: 0;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  padding: 0 22px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  line-height: 20px;
  letter-spacing: 0.33px;
  text-decoration: none;
  text-transform: uppercase;
}
.chip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid #ffffff0d;
  border-radius: 10px;
  background: var(--surface-deep);
  transform: skewX(-6deg);
}
.chip.is-active {
  color: var(--on-primary);
}
.chip.is-active::before {
  border-color: var(--primary);
  background: var(--primary);
}
.chips-section .chips {
  margin-top: 16px;
}

/* Long-form text (legal and info pages) */
.prose > * + * {
  margin-top: 12px;
}
.prose h2 {
  margin-top: 28px;
}
.prose ul {
  padding-left: 20px;
  list-style: disc;
}
.prose li + li {
  margin-top: 6px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 32px var(--gutter) 30px;
  text-align: center;
}
.site-footer__inner {
  display: grid;
  justify-items: center;
  gap: 20px;
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin-inline: auto;
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 30px;
}
.footer-nav a {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 50px;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
  text-transform: uppercase;
}
.footer-nav a:hover {
  color: var(--primary);
}
.footer-nav img {
  width: 32px;
  height: 32px;
}
.footer-support {
  display: flex;
  align-items: center;
  gap: 17px;
  max-width: 387px;
  text-align: left;
}
.footer-support > img {
  flex: none;
  width: 32px;
  height: 32px;
}
.footer-support h2 {
  letter-spacing: -0.33px;
}
.footer-contacts li {
  line-height: 24px;
}
.footer-contacts a {
  font-weight: 600;
  text-decoration: none;
}
.footer-contacts a:hover {
  text-decoration: underline;
}
.footer-note {
  max-width: 385px;
}
.footer-legal ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
}
.footer-legal a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
.footer-legal a:hover {
  color: var(--primary);
}
.footer-disclaimer {
  max-width: 385px;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}

/* ==========================================================================
   Welcome modal — shown in page flow without JS (editor), as overlay with JS
   ========================================================================== */
.welcome-modal {
  display: grid;
  place-items: center;
  padding: 0 var(--gutter) 40px;
}
.welcome-modal__box {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 23px;
  width: 100%;
  max-width: 392px;
}
.welcome-modal__img {
  width: 100%;
  aspect-ratio: 392 / 429;
  object-fit: cover;
}
.welcome-modal__box .btn {
  min-width: 240px;
  font-size: 14px;
}
.welcome-modal__close {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  padding: 5px;
  border: 0;
  background: none;
  cursor: pointer;
}
.welcome-modal__close img {
  width: 30px;
  height: 30px;
}
.js .welcome-modal {
  display: none;
}
.js .welcome-modal.is-open {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  padding: 20px var(--gutter);
  background: #000000b3;
}
.js .welcome-modal__close {
  display: block;
}

/* ==========================================================================
   Small phones
   ========================================================================== */
@media (max-width: 400px) {
  h1 {
    font-size: 34px;
    line-height: 36px;
  }
  .cta-box h2 {
    font-size: 32px;
    line-height: 34px;
  }
  .site-logo img {
    width: 88px;
  }
  .btn--header {
    min-width: 0;
    padding-inline: 16px;
    font-size: 12px;
  }
  .bonus-strip__img {
    width: 46px;
    height: 46px;
  }
  .bonus-strip__text p + p {
    font-size: 16px;
    line-height: 20px;
  }
  .bonus-strip .btn {
    padding-inline: 14px;
    font-size: 12px;
  }
}

/* ==========================================================================
   Desktop (above the 768px mobile breakpoint)
   ========================================================================== */
@media (min-width: 769px) {
  h1 {
    font-size: 48px;
    line-height: 50px;
  }
  .site-header__bar {
    grid-template-columns: auto 1fr auto;
    gap: 24px;
  }
  .nav-toggle {
    display: none;
  }
  .site-logo {
    grid-column: 1;
    grid-row: 1;
  }
  .site-nav {
    grid-column: 2;
    grid-row: 1;
    padding-top: 0;
  }
  .site-nav ul {
    justify-content: center;
    gap: 4px;
  }
  .site-nav a {
    background: none;
  }
  .btn--header {
    grid-column: 3;
    grid-row: 1;
  }
  .page > .bonus-strip {
    padding-inline: 24px;
    border-radius: var(--radius);
  }
  .hero-home {
    padding-top: 330px;
    border-radius: var(--radius);
  }
  .hero-home__media {
    height: 470px;
    overflow: hidden;
    border-radius: var(--radius);
  }
  .btn--block {
    max-width: 480px;
  }
  .hero-home__art {
    height: 439px;
  }
  .hero-home h1 {
    max-width: 760px;
  }
  .media-img {
    max-height: 440px;
  }
  .card-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page > .cta-box {
    padding: 60px 48px 48px;
  }
  .cta-box ul {
    width: fit-content;
    margin-inline: auto;
  }
}
