@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --ground: #17220b;
  --ground-deep: #0e1706;
  --surface: #202a10;
  --surface-raised: #2a3617;
  --surface-quiet: #232d12;
  --text: #f1f4e9;
  --muted: #c8d0c4;
  --rule: #a0a49b;
  --rule-soft: #5c6259;
  --theme: #2b1055;
  --accent: #d7c5ff;
  --accent-strong: #eadfff;
  --radius: 0;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 22px;
  --space-5: 30px;
  --shadow: 0 5px 16px rgba(0, 0, 0, .26);
  --display: "Cinzel", Georgia, serif;
  --body: "Manrope", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 18px; }
body {
  margin: 0;
  color: var(--text);
  font: 400 15px/1.65 var(--body);
  background: transparent;
  isolation: isolate;
  min-width: 320px;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("/images/background.jpg") center / cover no-repeat;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(10, 15, 5, .56);
}
button, input { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 3px;
}
.page-frame {
  min-width: 0;
  width: min(1320px, calc(100% - 40px));
  margin: 18px auto 26px;
  display: grid;
  gap: 16px;
}
.panel, .topbar, .game-card, .category-button {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.topbar {
  height: 72px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-color: var(--rule);
}
.brand-logo { display: block; width: 180px; max-height: 46px; object-fit: contain; object-position: left center; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--theme);
  border-bottom: 3px solid #16082e;
  border-radius: 0;
  padding: 11px 18px 9px;
  background: var(--theme);
  color: #fff;
  font: 700 12px/1.25 var(--display);
  letter-spacing: .07em;
  text-decoration: none;
  text-align: center;
  transition: background-color .16s ease, transform .16s ease;
}
.button:hover { background: #402070; transform: translateY(-1px); }
.button span { font: 700 16px/1 var(--body); }
.button .entity-name { font: 400 12px/1.25 var(--body); letter-spacing: normal; }
.hero {
  position: relative;
  isolation: isolate;
  min-height: 390px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 47%) minmax(0, 53%);
  border-color: var(--rule);
}
.hero-copy {
  z-index: 2;
  align-self: center;
  padding: 25px 10px 25px 34px;
  max-width: 610px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  color: var(--muted);
  font: 600 10px/1.4 var(--display);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow span { width: 28px; height: 1px; background: var(--rule); box-shadow: 0 3px 0 var(--rule-soft); }
.eyebrow span:last-child { width: 9px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.16; }
h1 {
  margin: 0 0 11px;
  color: #fff;
  font-size: clamp(38px, 4.1vw, 52px);
  letter-spacing: -.025em;
}
h1 span, h2 span { color: var(--accent); }
.hero-intro { max-width: 490px; margin: 0 0 13px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.offer-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(345px, 100%);
  margin: 0 0 1px;
  color: var(--text);
  font: 600 10px/1.5 var(--display);
  letter-spacing: .16em;
}
.offer-rule::before, .offer-rule::after { content: ""; height: 1px; background: var(--rule); flex: 1; box-shadow: 0 3px 0 var(--rule-soft); }
.bonus-figure {
  display: block;
  width: fit-content;
  color: var(--accent-strong);
  font: 700 30px/1.22 var(--body);
  letter-spacing: -.04em;
}
.hero .bonus-figure { font-size: clamp(43px, 5vw, 63px); white-space: nowrap; }
.offer-terms { max-width: 460px; margin: 2px 0 12px; color: var(--text); font-size: 11px; line-height: 1.5; }
.hero-button { min-width: 184px; }
.hero-art {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 48%;
  background-image: linear-gradient(90deg, var(--surface) 0%, rgba(21,37,25,.88) 10%, rgba(21,37,25,.18) 43%, rgba(21,37,25,0) 73%), linear-gradient(0deg, rgba(21,37,25,.48), transparent 30%), url("/image.jpg");
  background-size: 100% 100%, 100% 100%, cover;
  background-position: center, center, 70% 7%;
  background-repeat: no-repeat;
}
.stage-mark {
  position: absolute;
  z-index: 3;
  right: 17px;
  bottom: 13px;
  padding: 4px 8px;
  background: rgba(21,37,25,.96);
  border: 1px solid var(--rule-soft);
  color: var(--muted);
  font: 600 9px/1.4 var(--display);
  letter-spacing: .12em;
}
main, .catalogue, .hero, .topbar { min-width: 0; }
.catalogue { min-width: 0; }
.filter-shell { padding: 8px; }
.category-rail {
  display: grid;
  grid-template-columns: repeat(19, minmax(0, 1fr));
  gap: 5px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--rule) var(--surface);
  padding-bottom: 3px;
}
.category-button {
  min-width: 62px;
  min-height: 67px;
  padding: 7px 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text);
  cursor: pointer;
  box-shadow: none;
  background: var(--surface-quiet);
  border-color: var(--rule-soft);
  font: 600 8px/1.18 var(--display);
  letter-spacing: .055em;
  text-align: center;
}
.category-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: square;
  stroke-linejoin: miter;
  color: var(--muted);
}
.category-button:hover, .category-button.is-selected {
  background: #26351f;
  border-color: var(--accent);
  color: #fff;
}
.category-button.is-selected { box-shadow: inset 0 -2px 0 var(--accent); }
.category-button.is-selected svg { color: var(--accent-strong); }
.search-row {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--rule-soft);
  margin-top: 7px;
  padding: 7px 3px 0;
}
.search-row label { color: var(--muted); font: 600 10px/1.3 var(--display); letter-spacing: .09em; }
.search-row input {
  flex: 1;
  min-width: 80px;
  height: 36px;
  padding: 6px 10px;
  color: var(--text);
  background: var(--ground-deep);
  border: 1px solid var(--rule-soft);
  border-radius: 0;
}
.search-row input::placeholder { color: #c1cabb; opacity: 1; }
.reset-button {
  min-height: 36px;
  padding: 5px 12px;
  color: var(--text);
  background: var(--surface-raised);
  border: 1px solid var(--rule);
  border-bottom: 2px solid var(--rule);
  border-radius: 0;
  cursor: pointer;
}
.reset-button:hover { background: #2a3b2b; }
.section-heading {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  box-shadow: var(--shadow);
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin: 17px 0 11px;
}
.section-heading .eyebrow { margin-bottom: 6px; }
h2 { margin: 0; font-size: clamp(23px, 2.6vw, 31px); letter-spacing: .01em; }
.catalogue-note, .compact-heading > p {
  max-width: 400px;
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.result-count { margin: 0 0 10px; padding: 8px 12px; background: var(--surface); border: 1px solid var(--rule-soft); color: var(--muted); font-size: 12px; }
.game-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.game-card { min-width: 0; overflow: hidden; transition: border-color .16s ease, transform .16s ease; }
.game-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.game-card a { display: block; height: 100%; color: inherit; text-decoration: none; }
.game-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #0c130e;
}
.game-caption {
  min-height: 61px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 8px 10px;
  background: var(--surface);
}
.game-name { color: #fff; font-size: 12px; font-weight: 700; line-height: 1.35; }
.game-category { color: var(--muted); font-size: 10px; line-height: 1.3; }
.site-stamp { display: block; color: var(--muted); font-size: 9px; line-height: 1.25; }
.entity-name { font-family: var(--body); font-weight: 400; font-style: normal; letter-spacing: normal; text-transform: none; }
.game-card[hidden] { display: none; }
.no-results { margin: 14px 0 0; padding: 18px; color: var(--text); }
.support-section { scroll-margin-top: 18px; }
.support-section .panel { padding: 23px 27px; }
.support-section .eyebrow { margin-bottom: 8px; }
.offer-panel { border-color: var(--rule); }
.offer-detail {
  display: grid;
  grid-template-columns: minmax(190px, .38fr) 1fr;
  align-items: start;
  gap: 20px;
  border-top: 1px solid var(--rule-soft);
  padding: 16px 0;
}
.offer-detail .bonus-figure { font-size: 24px; }
.offer-detail p { margin: 0; color: var(--text); }
.update-note { margin: 0; padding-top: 11px; border-top: 1px solid var(--rule-soft); color: var(--muted); font-size: 12px; }
.banking-panel p { color: var(--muted); }
.compact-heading { margin: 0 0 15px; align-items: end; }
.compact-heading > p { margin-bottom: 0; }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--rule-soft); }
table { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--surface-quiet); }
caption { padding: 9px 12px; color: var(--muted); text-align: left; font-size: 11px; }
th, td { padding: 10px 12px; border-top: 1px solid var(--rule-soft); text-align: left; vertical-align: top; }
thead th { color: var(--accent-strong); font: 600 11px/1.4 var(--display); letter-spacing: .06em; }
tbody th { width: 27%; color: var(--text); font-size: 13px; font-weight: 600; }
tbody td { color: var(--text); font-size: 13px; }
.banking-panel > p:last-child { margin: 13px 0 0; font-size: 13px; }
.steps-panel { position: relative; }
.steps-list {
  counter-reset: steps;
  list-style: none;
  margin: 14px 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.steps-list li { position: relative; min-height: 102px; padding: 14px 16px 14px 43px; border-right: 1px solid var(--rule-soft); color: var(--muted); font-size: 13px; }
.steps-list li:last-child { border-right: 0; }
.steps-list li::before {
  counter-increment: steps;
  content: "0" counter(steps);
  position: absolute;
  left: 12px;
  top: 15px;
  color: var(--accent-strong);
  font: 700 14px/1 var(--display);
}
.steps-list strong { color: var(--text); }
.text-link { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.about-panel { display: grid; grid-template-columns: 200px 1fr; gap: 26px; align-items: start; }
.about-panel > img { width: 166px; height: auto; margin-top: 3px; }
.about-panel p:not(.eyebrow) { margin: 10px 0 0; color: var(--muted); }
.responsibility-panel { border-color: var(--rule); }
.responsible-copy { max-width: 970px; display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 12px; }
.responsible-copy p { margin: 0; color: var(--text); }
.questions-panel details { border-top: 1px solid var(--rule-soft); padding: 12px 0; }
.questions-panel details:last-child { border-bottom: 1px solid var(--rule-soft); }
.questions-panel summary { width: fit-content; min-height: 32px; cursor: pointer; color: var(--text); font-weight: 700; }
.questions-panel details p { max-width: 920px; margin: 8px 0 2px; color: var(--muted); }
.footer { padding: 20px 23px 16px; }
.footer-main { display: grid; grid-template-columns: 185px 1fr auto; align-items: center; gap: 22px; }
.footer-main img { width: 166px; height: auto; }
.footer-main p { max-width: 570px; margin: 0; color: var(--muted); font-size: 12px; }
.footer-button { min-height: 44px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 7px 19px; border-top: 1px solid var(--rule-soft); margin-top: 16px; padding-top: 12px; }
.footer-nav a { min-height: 28px; color: var(--text); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid var(--rule-soft); margin-top: 9px; padding-top: 8px; }
.footer-legal p { margin: 0; color: var(--muted); font-size: 11px; }
[hidden] { display: none !important; }

@media (min-width: 1440px) {
  .page-frame { width: min(1320px, calc(100% - 48px)); }
}
@media (max-width: 1050px) {
  .category-rail { grid-template-columns: repeat(19, minmax(63px, 1fr)); }
  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .hero { min-height: 390px; grid-template-columns: minmax(0, 52%) minmax(0, 48%); }
  .hero-copy { padding-left: 25px; }
  .hero-art { inset: 0 0 0 52%; background-position: center, center, 70% 7%; }
  .stage-mark { display: none; }
}
@media (max-width: 700px) {
  .page-frame { width: calc(100% - 20px); min-width: 0; margin: 10px auto 16px; gap: 10px; }
  main, .catalogue, .hero, .topbar { min-width: 0; }
  .topbar { height: 62px; padding: 8px 11px; }
  .brand-logo { width: 142px; max-height: 40px; }
  .button { min-height: 44px; padding: 9px 11px 7px; gap: 6px; font-size: 10px; }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-art {
    position: relative;
    inset: auto;
    order: 0;
    flex: 0 0 260px;
    width: 100%;
    max-width: 100%;
    height: 260px;
    background-image: linear-gradient(0deg, var(--surface) 0%, rgba(21,37,25,.65) 17%, rgba(21,37,25,0) 54%), url("/image.jpg");
    background-size: 100% 100%, cover;
    background-position: center, 70% 8%;
  }
  .hero-copy { order: 1; padding: 17px 17px 20px; max-width: none; }
  .hero .bonus-figure { font-size: clamp(42px, 11vw, 54px); }
  h1 { font-size: clamp(31px, 8.6vw, 40px); }
  .hero-intro { margin-bottom: 11px; }
  .offer-terms { margin-bottom: 10px; }
  .category-rail { grid-template-columns: repeat(19, 68px); }
  .search-row { flex-wrap: wrap; }
  .search-row label { width: 100%; }
  .search-row input { flex-basis: 50%; }
  .section-heading { align-items: start; flex-direction: column; gap: 7px; margin-top: 14px; }
  .catalogue-note { max-width: 100%; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .game-caption { min-height: 60px; padding: 7px 8px; }
  .game-name { font-size: 11px; }
  .support-section .panel { padding: 18px 15px; }
  .offer-detail { grid-template-columns: 1fr; gap: 6px; padding: 13px 0; }
  .offer-detail .bonus-figure { font-size: 21px; }
  .compact-heading { align-items: start; }
  .steps-list { grid-template-columns: 1fr; }
  .steps-list li { min-height: auto; border-right: 0; border-bottom: 1px solid var(--rule-soft); }
  .steps-list li:last-child { border-bottom: 0; }
  .about-panel { grid-template-columns: 1fr; gap: 12px; }
  .about-panel > img { width: 146px; }
  .responsible-copy { grid-template-columns: 1fr; gap: 12px; }
  .footer { padding: 16px 14px 13px; }
  .footer-main { grid-template-columns: 1fr auto; gap: 10px; }
  .footer-main img { grid-column: 1 / -1; width: 145px; }
  .footer-main p { font-size: 11px; }
  .footer-button { grid-column: 1 / -1; justify-self: start; }
  .footer-legal { grid-template-columns: 1fr; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
