:root {
  --background: #03150d;
  --surface: #082319;
  --surface-strong: #0c3021;
  --surface-soft: #113b29;
  --foreground: #f3fff7;
  --muted: #a7c7b2;
  --primary: #b9f529;
  --primary-strong: #35c96b;
  --primary-ink: #092010;
  --accent: #f1cf57;
  --danger: #ff7b73;
  --line: #276044;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.34);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-text-size-adjust: 100%;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3 {
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  color: var(--primary);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 21, 13, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo img {
  width: 148px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.86rem;
  font-weight: 800;
}

.desktop-nav a,
.footer-nav a {
  color: var(--muted);
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"],
.footer-nav a:hover {
  color: var(--primary);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
}

.language-link {
  min-width: 74px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
  box-shadow: 0 12px 30px rgba(185, 245, 41, 0.18);
}

.btn-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--foreground);
}

.icon-button {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--foreground);
  cursor: pointer;
}

.icon-button svg {
  width: 22px;
  height: 22px;
}

.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(1, 14, 7, 0.97) 0%, rgba(2, 20, 11, 0.84) 48%, rgba(2, 20, 11, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 82px;
}

.hero-kicker {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-offer {
  max-width: 700px;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-note {
  max-width: 680px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.82rem;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust-grid {
  min-height: 88px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item span,
.fact-card span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}

.trust-item strong {
  color: var(--primary);
}

.game-band {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface-strong);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.section-heading p {
  max-width: 520px;
  color: var(--muted);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.game-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.game-card div {
  padding: 12px;
}

.game-card strong,
.game-card span {
  display: block;
}

.game-card span {
  color: var(--muted);
  font-size: 0.8rem;
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 44px;
  padding-block: 54px 80px;
}

.article {
  min-width: 0;
}

.lead {
  color: #d8eee0;
  font-size: 1.12rem;
}

.author-box {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: 24px 0;
  padding: 18px 0;
  border-block: 1px solid var(--line);
}

.author-box img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
}

.author-box p {
  margin: 0;
}

.author-box small {
  color: var(--muted);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 24px 0;
}

.fact-card,
.content-card,
.quote,
.callout,
.calculator,
.faq-item,
.side-panel {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.fact-card {
  padding: 14px;
}

.content-section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.content-section:last-child {
  border-bottom: 0;
}

.content-section ul,
.content-section ol {
  padding-left: 22px;
}

.content-section li {
  margin: 8px 0;
}

.content-card,
.callout,
.quote,
.calculator {
  margin: 20px 0;
  padding: 20px;
}

.callout {
  border-left: 4px solid var(--accent);
}

.callout-danger {
  border-left-color: var(--danger);
}

.quote {
  border-left: 4px solid var(--primary-strong);
  color: #dcefe3;
  font-style: italic;
}

.table-wrap {
  margin: 20px 0;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--surface-soft);
  color: var(--primary);
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.calc-grid label {
  color: var(--muted);
  font-size: 0.82rem;
}

.calc-grid input {
  width: 100%;
  margin-top: 5px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--background);
  color: var(--foreground);
}

.calc-result {
  margin: 16px 0 0;
  color: var(--primary);
  font-size: 1.55rem;
  font-weight: 900;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pros-cons > div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.pros-cons h3 {
  color: var(--accent);
}

.faq-item {
  margin: 9px 0;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px;
  border: 0;
  background: transparent;
  color: var(--foreground);
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 17px 17px;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.side-panel {
  position: sticky;
  top: 98px;
  align-self: start;
  overflow: hidden;
}

.side-panel-title {
  padding: 16px;
  background: var(--surface-soft);
  color: var(--primary);
  font-weight: 900;
}

.side-panel nav {
  display: grid;
  padding: 8px 16px;
}

.side-panel nav a {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.side-panel nav a:last-child {
  border-bottom: 0;
}

.footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  background: #010d07;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 34px;
}

.footer-logo {
  width: 150px;
  margin-bottom: 14px;
}

.footer p,
.footer small {
  color: var(--muted);
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.mobile-drawer,
.menu-overlay {
  display: none;
}

.mobile-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 100;
  width: min(86vw, 340px);
  padding: 18px;
  border-right: 1px solid var(--line);
  background: var(--background);
  transform: translateX(-105%);
  transition: transform 180ms ease;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer nav {
  display: grid;
  margin-top: 24px;
}

.mobile-drawer nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.74);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .icon-button,
  .mobile-drawer,
  .menu-overlay {
    display: grid;
  }

  .page-shell {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
    order: -1;
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 64px;
    gap: 10px;
  }

  .logo img {
    width: 112px;
  }

  .header-actions .btn-secondary,
  .language-link {
    display: none;
  }

  .header-actions .btn-primary {
    max-width: 150px;
    padding-inline: 10px;
    font-size: 0.76rem;
  }

  .hero {
    min-height: 520px;
  }

  .hero-media {
    object-position: 62% top;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(1, 14, 7, 0.98) 0%, rgba(2, 20, 11, 0.82) 72%, rgba(2, 20, 11, 0.38) 100%);
  }

  .hero-content {
    padding-block: 58px;
  }

  .trust-grid,
  .fact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .games-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .game-card {
    min-width: 76vw;
    scroll-snap-align: start;
  }

  .section-heading,
  .pros-cons,
  .calc-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .page-shell {
    padding-top: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
