:root {
  color-scheme: dark;
  --ground: #191719;
  --surface: #211f21;
  --surface-raised: #292629;
  --text: #f6f4f5;
  --muted: #c8c5c8;
  --silver: #9da1a8;
  --accent: #e87899;
  --accent-deep: #741632;
  --edge: #62636a;
  --edge-soft: #44434a;
  --radius: 0px;
  --space: 20px;
  --shadow: 0 8px 20px rgba(0, 0, 0, .28);
  --display: "Roboto Slab", Georgia, serif;
  --body: "Source Sans 3", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 18px; }
body { margin: 0; min-width: 320px; background: transparent; color: var(--text); font: 400 16px/1.52 var(--body); }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("/images/background.jpg") center / cover no-repeat;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(25, 23, 25, .58);
}
a { color: inherit; }
.page-frame { position: relative; z-index: 1; width: min(1320px, calc(100% - 48px)); margin: 18px auto 36px; display: grid; gap: 16px; }
.surface, .game-card, .category-button, .catalogue-tools {
  background: var(--surface);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow);
}
.site-header { height: 72px; padding: 10px 22px; display: flex; align-items: center; justify-content: space-between; border-color: var(--silver); }
.brand-mark { display: inline-flex; align-items: center; }
.brand-mark img { width: 176px; height: 44px; object-fit: contain; }
.button {
  min-height: 48px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  color: #211719;
  background: var(--accent);
  border: 0;
  border-bottom: 2px solid var(--accent-deep);
  clip-path: polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px);
  font: 700 14px/1.2 var(--display);
  letter-spacing: .045em;
  text-decoration: none;
  text-transform: uppercase;
}
.button:hover { background: #df6388; }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hero-stage { min-height: 362px; position: relative; isolation: isolate; overflow: hidden; border-color: var(--silver); display: flex; align-items: stretch; }
.hero-stage::before {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(157,161,168,.72) 1px, transparent 1.6px) 13px 11px / 19px 19px;
  opacity: .22;
  mask-image: linear-gradient(90deg, #000, transparent 19%, transparent 81%, #000);
}
.hero-art {
  position: absolute;
  inset: 0 0 0 37%;
  z-index: 0;
  background-image: linear-gradient(90deg, var(--surface) 0%, rgba(33,31,33,.96) 7%, rgba(33,31,33,.35) 42%, rgba(33,31,33,.02) 74%), linear-gradient(0deg, rgba(33,31,33,.22), transparent 18%, transparent 82%, rgba(33,31,33,.18)), url("/image.jpg");
  background-position: center, center, 62% 43%;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-copy { position: relative; z-index: 1; width: 48%; min-height: 362px; padding: 21px 30px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.eyebrow, .offer-label, .kicker { margin: 0; color: var(--silver); font: 600 10px/1.4 var(--display); letter-spacing: .17em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.eyebrow span, .offer-label span { display: inline-block; height: 1px; width: 21px; background: var(--silver); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 10px; color: #fff; font: 700 clamp(32px, 3.25vw, 46px)/1.05 var(--display); letter-spacing: -.035em; }
h1 em { color: var(--accent); font-style: normal; }
.offer { margin-bottom: 11px; }
.offer-label { display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 1px; font-size: 10px; }
.bonus-figure { display: inline-block; color: #fff; font: 700 1.12em/1.2 var(--body); }
.hero-stage .bonus-figure { color: var(--accent); font-size: clamp(45px, 5vw, 67px); letter-spacing: -.045em; white-space: nowrap; }
.offer-terms { margin: 0; font-size: 13px; color: var(--text); }
.hero-button { min-width: 220px; min-height: 48px; margin-top: 2px; }
.hero-note { margin: 7px 0 0; font-size: 11px; line-height: 1.3; color: var(--muted); }
.catalogue { min-width: 0; }
.category-rail { display: grid; grid-template-columns: repeat(19, minmax(0, 1fr)); gap: 5px; margin-bottom: 8px; }
.category-button {
  position: relative;
  min-width: 0;
  min-height: 48px;
  padding: 5px 3px 8px;
  color: var(--text);
  font: 600 10px/1.1 var(--display);
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(5px 0,100% 0,100% calc(100% - 5px),calc(100% - 5px) 100%,0 100%,0 5px);
}
.category-button::after { content: ""; position: absolute; bottom: 0; left: 22%; width: 56%; height: 3px; background: transparent; }
.category-button.is-selected { background: #30252b; border-color: var(--accent); }
.category-button.is-selected::after { background: var(--accent); }
.category-button:disabled { cursor: default; opacity: 1; }
.catalogue-tools { min-height: 48px; padding: 7px 12px; display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.catalogue-tools label { font: 600 12px var(--display); }
.catalogue-tools input { width: min(250px, 40vw); min-height: 34px; padding: 5px 9px; color: var(--text); background: #161516; border: 1px solid var(--edge); font: 400 14px var(--body); }
.catalogue-tools button { min-height: 34px; padding: 4px 12px; color: #fff; background: var(--surface-raised); border: 1px solid var(--silver); cursor: pointer; font: 600 12px var(--body); }
.catalogue-tools button:disabled, .catalogue-tools input:disabled { opacity: .85; }
.result-count { margin: 0 0 0 auto; color: var(--muted); font-size: 13px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 0 0 10px; padding: 12px 15px; background: var(--surface); border: 1px solid var(--edge); box-shadow: var(--shadow); clip-path: polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px); }
.kicker { margin-bottom: 3px; }
h2 { margin-bottom: 0; font: 700 24px/1.2 var(--display); letter-spacing: -.02em; }
.section-heading > p { max-width: 430px; margin: 0; text-align: right; color: var(--muted); font-size: 13px; }
.game-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.game-card { min-width: 0; overflow: hidden; clip-path: polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px); }
.game-card a { min-height: 100%; display: flex; flex-direction: column; text-decoration: none; }
.game-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: #151416; }
.game-caption { min-height: 52px; padding: 6px 9px 7px; display: flex; flex-direction: column; justify-content: center; gap: 1px; background: var(--surface); }
.game-name { color: var(--text); font-weight: 700; font-size: 14px; line-height: 1.2; }
.game-category { color: var(--muted); font-size: 11px; line-height: 1.2; }
.game-card:hover { border-color: var(--accent); }
.game-card:hover img { filter: brightness(1.08); }
.game-card a:focus-visible { outline-offset: -4px; }
.no-results { margin: 10px 0; padding: 15px; }
.info-panel { padding: 23px 27px; scroll-margin-top: 18px; }
.panel-heading { margin-bottom: 13px; }
.panel-heading .kicker { margin-bottom: 4px; }
.info-panel > p { color: var(--muted); max-width: 920px; margin-bottom: 12px; }
.offer-details { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; align-items: stretch; }
.offer-details > div:first-child { max-width: 760px; }
.offer-details p { color: var(--muted); }
.offer-details .offer-large { color: var(--text); }
.term-callout { padding: 16px 18px; background: var(--surface-raised); border: 1px solid var(--edge); clip-path: polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px); }
.term-callout p:first-child { margin-bottom: 4px; color: var(--silver); font: 600 12px var(--display); text-transform: uppercase; letter-spacing: .08em; }
.term-callout .bonus-figure { display: block; color: var(--accent); font-size: 34px; margin-bottom: 5px; }
.term-callout p:last-child { margin: 0; font-size: 14px; }
.date-note, .quiet-note { margin: 11px 0 0 !important; font-size: 12px; }
.table-wrap { max-width: 900px; overflow-x: auto; border: 1px solid var(--edge-soft); }
table { border-collapse: collapse; width: 100%; min-width: 560px; background: var(--surface); }
caption { padding: 8px 12px; color: var(--silver); text-align: left; font-size: 12px; }
th, td { padding: 9px 12px; text-align: left; vertical-align: top; border-top: 1px solid var(--edge-soft); }
th { width: 31%; color: var(--text); font-weight: 700; }
td { color: var(--muted); }
td .bonus-figure { color: var(--text); }
.steps-list { list-style: none; padding: 0; margin: 17px 0 16px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.steps-list li { display: flex; gap: 12px; padding: 13px; background: var(--surface-raised); border: 1px solid var(--edge-soft); }
.step-number { color: var(--accent); font: 700 19px var(--display); }
.steps-list h3, .about-aside h3, .responsible-grid h3, .faq-grid h3 { margin: 0 0 5px; font: 700 16px/1.3 var(--display); }
.steps-list p { margin: 0; color: var(--muted); font-size: 14px; }
.text-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.about-columns, .responsible-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
.about-columns p, .responsible-grid p, .about-aside p, .responsible-grid li { color: var(--muted); }
.about-aside { padding: 16px; background: var(--surface-raised); border: 1px solid var(--edge-soft); }
.about-aside p:last-child { margin-bottom: 0; }
.responsible-grid { grid-template-columns: 1.2fr 1fr; }
.responsible-grid ul { margin: 8px 0 0; padding-left: 20px; }
.responsible-grid li { padding-left: 3px; margin-bottom: 5px; }
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.faq-grid article { padding: 14px; background: var(--surface-raised); border: 1px solid var(--edge-soft); }
.faq-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.site-footer { display: grid; grid-template-columns: 1fr .7fr 1.5fr; gap: 20px; padding: 20px 24px 13px; }
.footer-brand img { width: 162px; height: 40px; object-fit: contain; margin-bottom: 8px; }
.body-logo { display: block; width: 150px; height: 38px; object-fit: contain; margin: 0 0 12px; }
.site-footer h2 { margin-bottom: 9px; font-size: 15px; }
.site-footer p, .site-footer a { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.footer-links h2 { color: var(--text); }
.footer-links a { text-decoration: underline; text-underline-offset: 2px; }
.footer-notes p { margin-bottom: 6px; }
.footer-bottom { grid-column: 1 / -1; margin: 2px 0 0 !important; padding-top: 9px; border-top: 1px solid var(--edge-soft); font-size: 11px !important; }
.brand-name { font-family: var(--body); font-weight: 400; font-style: normal; }
[hidden] { display: none !important; }
@media (max-width: 1050px) {
  .page-frame { width: calc(100% - 32px); margin-top: 12px; gap: 12px; }
  .category-rail { display: flex; overflow-x: auto; padding: 1px 1px 5px; scrollbar-color: var(--silver) var(--surface); }
  .category-button { flex: 0 0 91px; min-height: 48px; }
  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .hero-copy { width: 54%; }
}
@media (max-width: 700px) {
  .page-frame { width: calc(100% - 20px); margin: 10px auto 20px; gap: 10px; }
  .site-header { height: 64px; padding: 8px 12px; }
  .brand-mark img { width: 139px; height: 38px; }
  .button-header { min-height: 44px; padding: 8px 11px; font-size: 11px; }
  .hero-stage { min-height: 0; display: flex; flex-direction: column; position: relative; isolation: auto; overflow: hidden; background-color: var(--surface); }
  .hero-stage::before { display: none; }
  .hero-art { display: block; position: relative; inset: auto; z-index: auto; width: 100%; height: 255px; flex: 0 0 255px; background-image: linear-gradient(0deg, var(--surface) 0%, rgba(33,31,33,.38) 18%, transparent 60%), url("/image.jpg"); background-position: center, 62% 30%; background-size: cover; background-repeat: no-repeat; }
  .hero-copy { display: flex; position: relative; z-index: auto; width: 100%; min-height: 0; margin: 0; padding: 8px 15px 18px; background: var(--surface); }
  h1 { font-size: clamp(32px, 9vw, 42px); }
  .hero-stage .bonus-figure { font-size: clamp(47px, 13vw, 61px); }
  .hero-note { max-width: 300px; }
  .catalogue-tools { display: grid; grid-template-columns: auto 1fr auto; gap: 7px; padding: 8px; }
  .catalogue-tools label { grid-column: 1 / -1; }
  .catalogue-tools input { width: 100%; min-width: 0; }
  .result-count { grid-column: 1 / -1; margin: 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .section-heading > p { text-align: left; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .game-caption { min-height: 51px; padding: 6px; }
  .game-name { font-size: 13px; }
  .info-panel { padding: 17px 15px; }
  h2 { font-size: 21px; }
  .offer-details, .about-columns, .responsible-grid { grid-template-columns: 1fr; gap: 9px; }
  .steps-list, .faq-grid { grid-template-columns: 1fr; }
  .steps-list li { padding: 11px; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 14px; padding: 16px 14px 12px; }
  .footer-notes { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .brand-mark img { width: 123px; }
  .button-header { font-size: 10px; padding-inline: 8px; }
  .game-name { font-size: 12px; }
}
@media (max-width: 700px) {
  .hero-stage.surface { display: flex !important; flex-direction: column !important; position: relative !important; isolation: auto !important; min-height: 0 !important; background: var(--surface) !important; }
  .hero-stage .hero-art { display: block !important; position: relative !important; z-index: 1 !important; inset: auto !important; flex: 0 0 255px !important; width: 100% !important; height: 255px !important; background-image: linear-gradient(0deg, var(--surface) 0%, rgba(33,31,33,.2) 30%, transparent 70%), url("/image.jpg") !important; background-position: center, 62% 30% !important; background-size: cover !important; background-repeat: no-repeat !important; }
  .hero-stage .hero-copy { display: flex !important; position: relative !important; z-index: 2 !important; width: 100% !important; min-height: 0 !important; margin: 0 !important; padding: 8px 15px 18px !important; background: var(--surface) !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
