:root {
  color-scheme: dark;
  --ground: #233341;
  --surface: #304352;
  --surface-raised: #3a5060;
  --surface-input: #1c2b38;
  --text: #f4f8fa;
  --muted: #c6d5df;
  --accent: #a9e4f4;
  --accent-deep: #0d1b2a;
  --partner: #c9b8f5;
  --border: #668092;
  --border-bright: #9cdcec;
  --radius: 20px;
  --radius-small: 14px;
  --pill: 999px;
  --gap: 16px;
  --shadow: 0 8px 22px rgba(6, 16, 25, .22);
  --display: "Baloo 2", "Trebuchet MS", sans-serif;
  --body: "Nunito Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 18px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  background: transparent;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("/images/background.jpg") center / cover no-repeat;
}
.page-frame {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 1320px);
  margin: 16px auto 28px;
}
.topbar, .hero-stage, .category-tile, .catalogue-tools, .game-card, .info-panel, .site-footer {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.topbar {
  min-height: 70px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--surface);
  border-radius: var(--radius);
}
.site-logo { display:block; width: 178px; height: auto; max-height: 48px; }
a { color: var(--accent); }
.button {
  display: inline-flex;
  min-height: 48px;
  padding: 10px 25px;
  justify-content: center;
  align-items: center;
  border-radius: var(--pill);
  border: 1px solid var(--accent);
  box-shadow: inset 0 0 0 2px rgba(244,248,250,.14);
  background: linear-gradient(115deg, var(--accent), #caeaf1 68%, #e9c3df);
  color: #112635;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .16s ease, filter .16s ease;
}
.button:hover { transform: translateY(-1px); filter: brightness(1.04); }
.button-header { min-width: 190px; }
.hero-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 365px;
  margin-top: var(--gap);
  overflow: hidden;
  border-color: var(--border-bright);
  border-radius: var(--radius);
  background: var(--surface);
}
.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 20px 14px 22px 30px;
  text-align: center;
}
.hero-visual {
  position: absolute;
  inset: 0 0 0 43%;
  z-index: 1;
  background-image:
    linear-gradient(0deg, var(--surface) 0%, rgba(48,67,82,0) 20%, rgba(48,67,82,0) 83%, var(--surface) 100%),
    linear-gradient(90deg, var(--surface) 0%, rgba(48,67,82,.84) 13%, rgba(48,67,82,.04) 48%),
    url("/image.jpg");
  background-size: cover;
  background-position: 51% 0%;
  background-repeat: no-repeat;
}
.hero-copy { width: 100%; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  color: var(--partner);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  height: 3px;
  flex: 1 1 22px;
  max-width: 52px;
  border-top: 1px solid var(--border-bright);
  border-bottom: 1px solid rgba(201,184,245,.7);
}
.hero-copy .eyebrow { justify-content: center; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .category-tile, .small-label, .step-number {
  font-family: var(--display);
}
h1 {
  margin: 0 0 7px;
  font-size: clamp(38px, 4vw, 51px);
  line-height: .98;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.headline-light, .headline-heavy { display: block; color: var(--accent); }
.headline-light { font-weight: 600; }
.headline-heavy { font-weight: 800; }
.hero-intro {
  max-width: 465px;
  margin: 0 auto 9px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
}
.brand-name { font-family: var(--body); font-weight: 500 !important; font-style: normal; }
.hero-offer { margin: 5px auto 11px; max-width: 465px; }
.engraved-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--partner);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.engraved-label::before, .engraved-label::after {
  content: "";
  width: 32px;
  height: 3px;
  border-top: 1px solid var(--border-bright);
  border-bottom: 1px solid rgba(201,184,245,.75);
}
.bonus-figure {
  display: block;
  color: var(--accent);
  font-family: var(--body);
  font-size: 1.28em;
  font-weight: 700;
  line-height: 1.16;
}
.hero-offer .bonus-figure { margin: 0; font-size: clamp(46px, 4.1vw, 58px); letter-spacing: -.04em; }
.hero-terms { max-width: 400px; margin: 2px auto 0; color: var(--text); font-size: 12px; line-height: 1.35; }
.button-hero { min-width: 205px; }
.catalogue { margin-top: 14px; }
.category-rail {
  display: flex;
  gap: 8px;
  padding: 2px 1px 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-color: var(--border-bright) var(--surface);
  scrollbar-width: thin;
}
.category-tile {
  flex: 0 0 auto;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
}
.category-tile svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.category-tile:hover, .category-tile.is-selected {
  border-color: var(--border-bright);
  background: var(--surface-raised);
}
.category-tile.is-selected { box-shadow: inset 0 0 0 1px var(--accent), 0 0 12px rgba(169,228,244,.14); }
.catalogue-tools {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: 3px;
  padding: 10px 13px;
  border-radius: var(--radius-small);
  background: var(--surface);
}
.search-control {
  display: grid;
  gap: 3px;
  min-width: min(100%, 300px);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.search-control input {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  background: var(--surface-input);
  color: var(--text);
  font: 500 15px var(--body);
}
.search-control input::placeholder { color: var(--muted); opacity: 1; }
.search-control input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(169,228,244,.2); }
.reset-button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--border-bright);
  border-radius: var(--pill);
  background: var(--surface-raised);
  color: var(--text);
  font: 800 12px var(--display);
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.result-count { margin: 0 0 9px auto; color: var(--muted); font-size: 13px; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin: 10px 0 13px;
}
.section-heading .eyebrow { margin-bottom: 1px; }
h2 {
  margin: 0;
  color: var(--accent);
  font-size: clamp(25px, 2.4vw, 34px);
  font-weight: 800;
  line-height: 1.12;
}
.section-heading > p { max-width: 430px; margin: 0 0 2px; color: var(--muted); font-size: 14px; }
.game-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.game-card {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-small);
  background: var(--surface);
  transition: border-color .16s ease, transform .16s ease;
}
.game-card:hover { transform: translateY(-2px); border-color: var(--border-bright); }
.game-card a {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: var(--text);
  text-decoration: none;
}
.game-card a:focus-visible { outline: 3px solid var(--accent); outline-offset: -4px; }
.game-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #1b2b37;
}
.game-caption {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 2px;
  padding: 8px 10px 10px;
}
.game-name { font-size: 14px; font-weight: 800; line-height: 1.25; }
.game-category { color: var(--muted); font-size: 12px; line-height: 1.35; }
.no-results {
  margin: 0 0 12px;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--text);
}
.info-panel {
  margin-top: var(--gap);
  padding: clamp(18px, 3vw, 30px);
  border-radius: var(--radius);
  background: var(--surface);
}
.info-panel h2 { margin-bottom: 10px; }
.info-panel p { color: var(--muted); }
.panel-intro { max-width: 870px; }
.panel-intro > p:last-child { margin-bottom: 18px; }
.offer-detail {
  display: grid;
  grid-template-columns: minmax(240px, .78fr) 1.22fr;
  gap: 17px;
  align-items: stretch;
}
.offer-value, .offer-terms {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  background: var(--surface-raised);
}
.offer-value { display: flex; flex-direction: column; justify-content: center; }
.small-label { color: var(--partner); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.offer-value .bonus-figure { margin: 4px 0; font-size: clamp(32px, 4vw, 44px); }
.offer-value p, .offer-terms p:last-child { margin-bottom: 0; }
.offer-detail .bonus-figure { display: inline; font-size: 1.15em; }
.offer-detail .offer-value .bonus-figure { display: block; }
.offer-terms p { margin: 0 0 11px; }
.support-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: var(--gap);
  align-items: stretch;
}
.support-grid > .info-panel { margin-top: var(--gap); }
.info-panel .eyebrow { margin-bottom: 6px; }
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 14px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  background: var(--surface-raised);
}
table { width: 100%; border-collapse: collapse; text-align: left; }
caption { padding: 11px 13px 4px; color: var(--muted); font-size: 12px; text-align: left; }
th, td { padding: 11px 13px; border-top: 1px solid var(--border); vertical-align: top; }
th { min-width: 140px; color: var(--text); font-weight: 700; }
td { color: var(--muted); }
td .bonus-figure { color: var(--text); }
.fact-list { margin: 16px 0; border-top: 1px solid var(--border); }
.fact-list div { display: grid; grid-template-columns: minmax(120px, .7fr) 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.fact-list dt { color: var(--muted); font-weight: 700; }
.fact-list dd { margin: 0; color: var(--text); }
.fact-list .bonus-figure { display: inline; color: var(--text); }
.steps-panel {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
  align-items: start;
}
.steps-panel > div:first-child p:last-child { margin-bottom: 0; }
.steps-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.steps-list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 13px; border: 1px solid var(--border); border-radius: var(--radius-small); background: var(--surface-raised); }
.step-number { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border-bright); border-radius: 50%; color: var(--accent); font-size: 15px; font-weight: 800; }
.steps-list h3, .safe-columns h3 { margin: 0 0 2px; color: var(--text); font-size: 17px; font-weight: 700; }
.steps-list p, .safe-columns p { margin: 0; color: var(--muted); font-size: 14px; }
.contact-panel { display: grid; grid-template-columns: minmax(160px, .4fr) 1.6fr; gap: 28px; align-items: center; }
.contact-mark { display: grid; place-items: center; min-height: 135px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-small); background: var(--surface-raised); }
.contact-mark img { width: min(100%, 165px); height: auto; }
.contact-panel h2 { margin-bottom: 9px; }
.contact-panel p { margin-bottom: 8px; }
.text-link { display: inline-block; margin-top: 4px; color: var(--accent); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.safe-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.safe-columns > div { padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-small); background: var(--surface-raised); }
.safe-columns h3 { margin-bottom: 5px; }
.age-note { padding: 13px 15px; border: 1px solid var(--border-bright); border-radius: var(--radius-small); background: var(--surface-raised); color: var(--text) !important; }
.faq-list { display: grid; gap: 9px; }
.faq-list details { border: 1px solid var(--border); border-radius: var(--radius-small); background: var(--surface-raised); }
.faq-list summary { min-height: 48px; padding: 12px 16px; color: var(--text); font-weight: 800; cursor: pointer; }
.faq-list details p { padding: 0 16px 14px; margin: 0; }
.site-footer {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 16px 28px;
  margin-top: var(--gap);
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
}
.footer-brand img { display: block; width: 164px; height: auto; max-height: 44px; }
.footer-brand p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; align-content: start; gap: 8px 17px; }
.footer-links a { min-height: 36px; display: inline-flex; align-items: center; color: var(--text); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.footer-notes { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid var(--border); }
.footer-notes p { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
:focus-visible { outline: 3px solid var(--partner); outline-offset: 3px; }
[hidden] { display: none !important; }

@media (max-width: 1050px) {
  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-stage { grid-template-columns: 49% 51%; min-height: 360px; }
  .hero-visual { left: 43%; }
  .hero-copy { padding-left: 18px; padding-right: 10px; }
}
@media (max-width: 760px) {
  .page-frame { width: calc(100% - 20px); margin-top: 10px; }
  .topbar { min-height: 64px; padding: 8px 12px; border-radius: 16px; }
  .site-logo { width: 138px; }
  .button-header { min-width: 0; min-height: 44px; padding: 9px 14px; font-size: 12px; }
  .hero-stage { grid-template-columns: 1fr; min-height: 0; border-radius: 16px; }
  .hero-visual {
    position: relative;
    inset: auto;
    order: 0;
    height: 258px;
    background-image:
      linear-gradient(0deg, var(--surface) 0%, rgba(48,67,82,0) 44%),
      linear-gradient(90deg, rgba(48,67,82,.06), rgba(48,67,82,0) 70%),
      url("/image.jpg");
    background-size: cover;
    background-position: 56% 0%;
  }
  .hero-copy { grid-row: 2; padding: 0 18px 22px; }
  h1 { font-size: clamp(34px, 9vw, 43px); }
  .hero-intro { font-size: 14px; }
  .hero-offer .bonus-figure { font-size: clamp(48px, 13vw, 62px); }
  .hero-terms { font-size: 12px; }
  .category-rail { margin-right: -1px; gap: 7px; }
  .category-tile { min-height: 46px; padding: 7px 10px; font-size: 12px; }
  .category-tile svg { width: 17px; height: 17px; flex-basis: 17px; }
  .catalogue-tools { flex-wrap: wrap; align-items: end; }
  .search-control { flex: 1 1 190px; }
  .result-count { flex: 1 0 100%; margin: 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 5px; }
  .section-heading > p { font-size: 13px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .game-caption { padding: 7px 8px 9px; }
  .game-name { font-size: 13px; }
  .game-category { font-size: 11px; }
  .info-panel { margin-top: 12px; padding: 18px 15px; border-radius: 16px; }
  .support-grid { grid-template-columns: 1fr; gap: 0; }
  .support-grid > .info-panel { margin-top: 12px; }
  .offer-detail, .steps-panel, .contact-panel { grid-template-columns: 1fr; gap: 12px; }
  .offer-value, .offer-terms { padding: 14px; }
  .safe-columns { grid-template-columns: 1fr; gap: 9px; }
  .safe-columns > div { padding: 13px; }
  .contact-mark { min-height: 90px; }
  .site-footer { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; padding: 18px 15px; border-radius: 16px; }
  .footer-notes { grid-column: auto; }
  .table-wrap { margin-left: 0; margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
