:root {
  color-scheme: dark;
  --ground: #1c1028;
  --surface: #251832;
  --surface-raised: #2d1d3b;
  --text: #f6f2f8;
  --muted: #d0c7d8;
  --accent: #77dc78;
  --accent-deep: #1b5e20;
  --rule: #80668d;
  --rule-bright: #77dc78;
  --radius: 0;
  --space: 16px;
  --shadow: 0 5px 18px rgba(0, 0, 0, .28);
  --display: "Cinzel", "Palatino Linotype", Georgia, serif;
  --body: "Inter", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 12px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  background: transparent;
  position: relative;
  isolation: isolate;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("/images/background.jpg") center / cover no-repeat;
  pointer-events: none;
}
.page-frame {
  width: min(1344px, calc(100% - 40px));
  margin: 12px auto 32px;
  display: grid;
  gap: 14px;
}
.panel, .category-button, .game-card, .terms-box, .question-list details {
  background-color: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.site-header {
  min-height: 68px;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-color: var(--accent);
}
.brand-logo { display: block; width: 178px; height: auto; max-height: 48px; object-fit: contain; object-position: left center; }
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 17px;
  border: 2px solid var(--accent);
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
  font: 600 12px/1.2 var(--display);
  letter-spacing: .075em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}
.button:hover, .button:focus-visible, .category-button:hover:not(:disabled), .category-button:focus-visible {
  color: #102012;
  background: var(--accent);
}
.button-header { min-width: 192px; }
.hero {
  min-height: 350px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 44% 56%;
  border-color: var(--accent);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 22px 24px 20px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-copy h1 {
  margin: 0 0 7px;
  color: var(--accent);
  font: 600 clamp(32px, 3.7vw, 50px)/1.08 var(--display);
  letter-spacing: .035em;
  text-transform: uppercase;
}
.hero-intro { max-width: 505px; margin: 0 0 8px; color: var(--muted); font-size: 13px; line-height: 1.42; }
.ticket-label {
  width: min(100%, 390px);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 1px 0 0;
  color: var(--muted);
  font: 500 10px/1 var(--display);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.ticket-label::before, .ticket-label::after { content: ""; flex: 1; height: 3px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.hero-bonus { margin: 4px 0 0; line-height: 1.05; }
.bonus-figure {
  color: var(--text);
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.18em;
}
.hero-bonus .bonus-figure {
  color: var(--accent);
  font-size: clamp(47px, 5.7vw, 72px);
  letter-spacing: -.055em;
  white-space: nowrap;
}
.hero-terms { margin: 3px 0 12px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.button-hero { min-width: 208px; }
.entity-name {
  font-family: var(--body) !important;
  font-weight: 500 !important;
  font-style: normal !important;
}
.hero-art {
  min-width: 0;
  min-height: 350px;
  position: relative;
  background-image: linear-gradient(90deg, var(--surface) 0%, rgba(37, 24, 50, .60) 12%, rgba(37, 24, 50, 0) 40%), linear-gradient(0deg, rgba(37, 24, 50, .22), transparent 23%), url("/image.jpg");
  background-size: 100% 100%, 100% 100%, cover;
  background-position: center, center, 58% 0%;
  background-repeat: no-repeat;
}
.catalogue { display: grid; gap: 10px; }
.category-rail {
  min-height: 59px;
  padding: 5px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--rule-bright) var(--surface);
}
.category-button {
  flex: 1 0 112px;
  min-width: 112px;
  min-height: 46px;
  padding: 5px 10px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 500 10px/1.2 var(--display);
  letter-spacing: .045em;
  text-transform: uppercase;
  cursor: pointer;
}
.category-button svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.category-button.is-selected { color: #112313; border-color: var(--accent); background: var(--accent); }
.category-button:disabled { opacity: 1; cursor: default; }
.js-ready .category-button:disabled { opacity: 1; }
.catalogue-tools {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.catalogue-tools h2 { margin: 0; font: 600 17px/1.25 var(--display); color: var(--accent); text-transform: uppercase; }
.catalogue-intro { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.search-controls { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.search-controls label { color: var(--text); font-size: 12px; font-weight: 600; }
.search-controls input {
  width: 205px;
  min-height: 42px;
  padding: 8px 10px;
  background: #1a1024;
  border: 1px solid var(--rule);
  border-radius: 0;
  color: var(--text);
  font: 400 13px var(--body);
}
.search-controls input::placeholder { color: var(--muted); }
.search-controls input:disabled { opacity: .8; }
.button-reset { min-height: 42px; padding: 7px 12px; }
.button:disabled { opacity: .65; cursor: not-allowed; }
.result-status { margin: -5px 0 0; min-height: 0; padding: 8px 12px; color: var(--muted); font-size: 12px; }
.result-status:empty { display: none; }
.game-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.game-card { overflow: hidden; min-width: 0; border-color: #695276; transition: border-color .15s ease, transform .15s ease; }
.game-card:hover, .game-card:focus-within { border-color: var(--accent); transform: translateY(-2px); }
.game-card a { display: block; color: var(--text); text-decoration: none; height: 100%; }
.game-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; display: block; object-fit: contain; }
.game-caption {
  min-height: 50px;
  padding: 7px 9px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  background: var(--surface);
}
.game-caption strong { font: 600 12px/1.25 var(--body); }
.game-caption span { color: var(--muted); font-size: 11px; line-height: 1.2; }
.no-results { margin: 0; padding: 16px; color: var(--muted); }
[hidden] { display: none !important; }
.info-panel { padding: 20px 22px; scroll-margin-top: 14px; }
.about-brand { display: flex; align-items: center; gap: 14px; margin: 12px 0; padding: 10px 12px; width: fit-content; max-width: 100%; background: var(--surface-raised); border: 1px solid var(--rule); color: var(--muted); font-size: 12px; }
.about-brand img { width: 140px; height: auto; max-height: 36px; object-fit: contain; }
.info-panel h2 { margin: 2px 0 10px; color: var(--accent); font: 600 22px/1.3 var(--display); text-transform: uppercase; }
.info-panel p { max-width: 980px; margin: 8px 0; color: var(--text); }
.section-kicker { margin-bottom: 4px; color: var(--muted); font: 500 10px/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.terms-box { margin: 14px 0; padding: 12px 15px; border-color: var(--rule-bright); box-shadow: none; }
.terms-box p { margin: 0; }
.table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--rule); }
table { width: 100%; border-collapse: collapse; background: var(--surface); text-align: left; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { width: 35%; color: var(--text); font-weight: 600; }
td { color: var(--text); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
.steps-list { padding-left: 24px; margin: 12px 0 0; }
.steps-list li { padding: 5px 0 5px 4px; }
.steps-list li::marker { color: var(--accent); font-weight: 700; }
.steps-list strong { color: var(--text); }
.question-list { display: grid; gap: 8px; }
.question-list details { padding: 0 14px; box-shadow: none; }
.question-list summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; color: var(--text); font-weight: 600; }
.question-list details p { padding: 0 0 10px; margin: 0; color: var(--muted); }
.site-footer {
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 10px 20px;
  align-items: center;
}
.footer-logo { width: 150px; height: auto; max-height: 40px; object-fit: contain; object-position: left center; }
.footer-links { display: flex; justify-content: flex-end; gap: 10px 18px; flex-wrap: wrap; }
.footer-links a, .footer-entry { color: var(--text); text-underline-offset: 3px; }
.footer-links a:hover, .footer-entry:hover { color: var(--accent); }
.site-footer p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; }
.footer-entry { grid-column: 1 / -1; justify-self: start; color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
@media (max-width: 1000px) {
  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero { grid-template-columns: 48% 52%; min-height: 340px; }
  .hero-art { min-height: 340px; }
  .hero-copy { padding: 18px 15px; }
  .hero-bonus .bonus-figure { font-size: clamp(42px, 6vw, 62px); }
  .catalogue-tools { align-items: flex-start; }
}
@media (max-width: 640px) {
  .page-frame { width: calc(100% - 20px); margin: 8px auto 20px; gap: 10px; }
  .site-header { min-height: 60px; padding: 7px 10px; }
  .brand-logo { width: 136px; max-height: 40px; }
  .button-header { min-width: 0; min-height: 44px; padding: 8px 9px; font-size: 9px; }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-art {
    order: 0;
    min-height: 0;
    height: 270px;
    flex: 0 0 270px;
    background-image: linear-gradient(0deg, var(--surface) 0%, rgba(37, 24, 50, .74) 13%, rgba(37, 24, 50, 0) 42%), url("/image.jpg");
    background-size: 100% 100%, cover;
    background-position: center, 58% 0%;
  }
  .hero-copy { order: 1; padding: 8px 14px 16px; }
  .hero-copy h1 { font-size: clamp(29px, 8vw, 38px); }
  .hero-intro { margin-bottom: 8px; font-size: 13px; }
  .hero-bonus .bonus-figure { font-size: clamp(46px, 12vw, 60px); }
  .category-rail { min-height: 57px; }
  .category-button { flex: 0 0 118px; }
  .catalogue-tools { display: block; padding: 11px; }
  .catalogue-tools h2 { font-size: 16px; }
  .catalogue-intro { margin-bottom: 8px; }
  .search-controls { justify-content: flex-start; }
  .search-controls label { flex: 0 0 100%; }
  .search-controls input { flex: 1 1 160px; width: auto; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .game-caption { min-height: 52px; padding: 6px 7px; }
  .game-caption strong { font-size: 11px; }
  .info-panel { padding: 16px 14px; }
  .about-brand { width: 100%; }
  .info-panel h2 { font-size: 19px; }
  th, td { padding: 8px; min-width: 130px; }
  th { min-width: 150px; }
  .site-footer { grid-template-columns: 1fr; gap: 9px; padding: 14px; }
  .footer-links { justify-content: flex-start; }
  .site-footer p, .footer-entry { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
