:root {
  color-scheme: dark;
  --surface: #0f131f;
  --surface-lowest: #0a0e1a;
  --surface-low: #171b28;
  --surface-mid: #1b1f2c;
  --surface-high: #262a37;
  --surface-highest: #313442;
  --text: #dfe2f3;
  --muted: #d0c5af;
  --outline: #4d4635;
  --gold: #f2ca50;
  --gold-deep: #d4af37;
  --gold-soft: #ffe088;
  --ruby: #e74c3c;
  --emerald: #2ecc71;
  --cyan: #76e5f7;
  --shadow: 0 24px 60px rgb(0 0 0 / 48%);
  --radius: 8px;
  --container: min(1440px, calc(100% - 40px));
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--font-sans);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  background:
    linear-gradient(135deg, rgb(10 14 26 / 98%), rgb(15 19 31 / 96%) 46%, rgb(23 27 40 / 98%)),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 3%) 0 1px, transparent 1px 96px);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.55;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(242 202 80 / 8%), transparent 26%, rgb(118 229 247 / 5%) 100%);
  mix-blend-mode: screen;
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.material-symbols-outlined {
  display: inline-grid;
  place-items: center;
  width: 1.15em;
  min-width: 1.15em;
  overflow: hidden;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.05em;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
}
.material-symbols-outlined::before {
  content: attr(data-icon);
}
.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: .75rem 1rem;
  background: var(--gold);
  color: #241a00;
  border-radius: var(--radius);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, rgb(27 31 44 / 88%), rgb(10 14 26 / 92%));
  border-bottom: 1px solid rgb(212 175 55 / 18%);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: var(--container);
  height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}
.brand { display: inline-flex; align-items: center; min-width: 156px; text-decoration: none; }
.brand img, .site-footer img { width: 164px; height: auto; }
.menu-toggle {
  display: none;
  border: 1px solid rgb(242 202 80 / 35%);
  background: rgb(242 202 80 / 10%);
  color: var(--gold);
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
}
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}
.primary-nav a, .footer-inner nav a {
  text-decoration: none;
  color: var(--muted);
  padding: .6rem .8rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 600;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"],
.footer-inner nav a:hover {
  color: var(--gold-soft);
  background: rgb(242 202 80 / 10%);
}
.header-actions { display: flex; align-items: center; gap: .65rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .7rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1;
}
.button.gold {
  color: #241a00;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold-deep));
  box-shadow: 0 0 22px rgb(212 175 55 / 28%), inset 0 1px 0 rgb(255 255 255 / 55%);
}
.button.ghost {
  color: var(--gold-soft);
  border-color: rgb(242 202 80 / 45%);
  background: rgb(242 202 80 / 8%);
}
.button.large { min-height: 50px; padding-inline: 1.25rem; }
.ticker {
  position: relative;
  height: 36px;
  overflow: hidden;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  background: var(--surface-highest);
}
.ticker-track {
  position: absolute;
  inset: 0 auto auto 0;
  display: flex;
  align-items: center;
  width: max-content;
  height: 36px;
  white-space: nowrap;
  color: var(--gold-soft);
  font-family: var(--font-sans);
  font-weight: 600;
  animation: ticker 34s linear infinite;
}
.ticker-segment {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
}
.ticker-segment span::after { content: "•"; margin-left: 2rem; color: var(--muted); }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero {
  width: var(--container);
  min-height: clamp(540px, 64dvh, 700px);
  margin: 24px auto 0;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgb(212 175 55 / 24%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--surface-lowest);
  isolation: isolate;
}
.hero-media, .hero-media img, .hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img {
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
  opacity: .58;
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgb(10 14 26 / 96%) 0%, rgb(10 14 26 / 78%) 42%, rgb(10 14 26 / 32%) 100%),
    linear-gradient(0deg, rgb(10 14 26 / 94%) 0%, transparent 42%);
  z-index: 1;
}
.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 760px;
  padding: clamp(1.5rem, 5vw, 4rem);
}
.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: .35rem .65rem;
  border: 1px solid rgb(242 202 80 / 34%);
  border-radius: 999px;
  color: var(--gold);
  background: rgb(242 202 80 / 10%);
  font-family: var(--font-sans);
  font-weight: 700;
}
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0;
  letter-spacing: 0;
}
h1 {
  font-size: 4.25rem;
  max-width: 13ch;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.hero-copy p {
  max-width: 68ch;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.15rem;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  max-width: 680px;
  margin: 1.75rem 0 0;
}
.hero-facts div {
  padding: .8rem;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: var(--radius);
  background: rgb(27 31 44 / 72%);
  backdrop-filter: blur(12px);
}
.hero-facts dt {
  color: var(--muted);
  font-size: .82rem;
}
.hero-facts dd {
  margin: .15rem 0 0;
  color: var(--gold-soft);
  font-weight: 700;
}

.trust-strip,
.hub-cards,
.games-showcase,
.page-shell,
.footer-inner {
  width: var(--container);
  margin-inline: auto;
}
.games-showcase {
  margin-top: 18px;
}
.showcase-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .8rem;
}
.section-kicker {
  display: inline-flex;
  margin-bottom: .35rem;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.showcase-head h2 {
  color: white;
  font-size: clamp(1.45rem, 1.05rem + 1.4vw, 2.25rem);
  text-wrap: balance;
}
.showcase-link {
  flex: 0 0 auto;
  color: var(--gold-soft);
  font-family: var(--font-sans);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .9rem;
}
.game-card {
  position: relative;
  min-height: 176px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius);
  background: var(--surface-mid);
  color: white;
  text-decoration: none;
  box-shadow: 0 14px 34px rgb(0 0 0 / 34%);
  isolation: isolate;
}
.game-card img {
  width: 100%;
  height: 100%;
  min-height: 176px;
  object-fit: cover;
  opacity: .78;
  transition: transform .35s ease, opacity .35s ease;
}
.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgb(10 14 26 / 8%), rgb(10 14 26 / 88%)),
    linear-gradient(90deg, rgb(242 202 80 / 14%), transparent 44%);
}
.game-card span {
  position: absolute;
  inset: auto .75rem .75rem;
  z-index: 2;
}
.game-card strong,
.game-card small {
  display: block;
}
.game-card strong {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 800;
}
.game-card small {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.25;
}
.game-card:hover img {
  transform: scale(1.05);
  opacity: .9;
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 8%);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-width: 0;
  padding: 1rem;
  background: rgb(23 27 40 / 88%);
}
.trust-item .material-symbols-outlined {
  color: var(--gold);
  font-size: 1.7rem;
}
.trust-item strong { display: block; color: white; }
.trust-item p { margin: .15rem 0 0; color: var(--muted); font-size: .92rem; }

.hub-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .9rem;
  margin-top: 18px;
}
.hub-cards,
.page-shell {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}
.image-card {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgb(255 255 255 / 10%);
  background: var(--surface-mid);
  text-decoration: none;
  box-shadow: 0 10px 28px rgb(0 0 0 / 32%);
}
.image-card img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  transition: transform .35s ease, opacity .35s ease;
}
.image-card:hover img { transform: scale(1.05); opacity: .82; }
.image-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(10 14 26 / 94%), transparent 64%);
}
.image-card-copy {
  position: absolute;
  inset: auto 0 0;
  padding: .85rem;
}
.image-card-copy strong,
.image-card-copy span { display: block; }
.image-card-copy strong { color: white; font-weight: 800; }
.image-card-copy span { color: var(--muted); font-size: .92rem; }

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.25rem;
  align-items: start;
  margin-top: 24px;
}
.content,
.side-card {
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgb(27 31 44 / 90%), rgb(15 19 31 / 92%));
  box-shadow: 0 18px 42px rgb(0 0 0 / 30%);
}
.content {
  min-width: 0;
  padding: clamp(1.2rem, 3vw, 2.25rem);
}
.content > * + * { margin-top: 1rem; }
.content h2 {
  margin-top: 2.1rem;
  color: white;
  font-size: 2.1rem;
  text-wrap: balance;
}
.content h3 {
  margin-top: 1.5rem;
  color: var(--gold-soft);
  font-size: 1.35rem;
}
.content .qa-item {
  margin-top: 1rem;
  padding-top: .65rem;
  border-top: 1px solid rgb(242 202 80 / 16%);
}
.content .qa-item > summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
}
.content .qa-item > summary::-webkit-details-marker { display: none; }
.content .qa-item > summary::after {
  content: "-";
  flex: 0 0 auto;
  color: var(--gold);
  font-weight: 800;
}
.content .qa-item:not([open]) > summary::after { content: "+"; }
.content .qa-item > summary .qa-question {
  margin: 0;
  padding-top: 0;
  border-top: 0;
}
.content .qa-item > p {
  margin: .65rem 0 0;
}
.content .qa-question {
  padding-top: .65rem;
  border-top: 1px solid rgb(242 202 80 / 16%);
}
.content p, .content li {
  color: rgb(223 226 243 / 90%);
  text-wrap: pretty;
}
.content a {
  color: var(--gold-soft);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
.content blockquote {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--gold-deep);
  border-radius: var(--radius);
  background: rgb(242 202 80 / 9%);
  color: white;
}
.content ul, .content ol { padding-left: 1.35rem; }
.content li + li { margin-top: .45rem; }
.content-photo,
.content-photo-grid figure {
  margin-inline: 0;
}
.content-photo {
  margin-block: 1.35rem;
}
.content-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  margin-block: 1.3rem;
}
.content-photo img,
.content-photo-grid img {
  width: 100%;
  object-fit: cover;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: var(--radius);
  background: var(--surface-lowest);
  box-shadow: 0 12px 30px rgb(0 0 0 / 26%);
}
.content-photo img {
  height: clamp(220px, 28vw, 360px);
  max-height: 360px;
}
.content-photo-grid img {
  aspect-ratio: 4 / 3;
  height: clamp(150px, 16vw, 210px);
}
.content-photo figcaption,
.content-photo-grid figcaption {
  margin-top: .5rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.35;
}
.content hr {
  border: 0;
  height: 1px;
  margin: 2rem 0;
  background: linear-gradient(90deg, transparent, rgb(242 202 80 / 45%), transparent);
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: var(--radius);
}
table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: rgb(10 14 26 / 42%);
}
th, td {
  padding: .78rem .9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
}
thead th {
  color: #241a00;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold-deep));
  font-family: var(--font-sans);
}
tbody th[scope="row"] {
  color: var(--gold-soft);
  background: rgb(242 202 80 / 7%);
  font-family: var(--font-sans);
  font-weight: 700;
}
td { color: rgb(223 226 243 / 88%); }

.side-panel {
  position: sticky;
  top: 104px;
  display: grid;
  min-width: 0;
  gap: 1rem;
}
.side-card {
  padding: 1rem;
  content-visibility: auto;
  contain-intrinsic-size: auto 320px;
}
.side-card h2 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: .55rem;
}
.action-card .material-symbols-outlined {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: .7rem;
  color: var(--gold);
  border-radius: var(--radius);
  background: rgb(242 202 80 / 12%);
}
.side-card p { color: var(--muted); margin: 0 0 1rem; }
.related-links { display: grid; gap: .45rem; }
.related-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  padding: .68rem .75rem;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: var(--radius);
  color: var(--muted);
  text-decoration: none;
  background: rgb(10 14 26 / 30%);
}
.related-links a:hover {
  color: var(--gold-soft);
  border-color: rgb(242 202 80 / 28%);
}
.compact-facts dl { margin: 0; display: grid; gap: .6rem; }
.compact-facts div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: .75rem;
  font-size: .93rem;
}
.compact-facts dt { color: var(--muted); }
.compact-facts dd { margin: 0; color: white; }

.site-footer {
  margin-top: 40px;
  padding: 32px 0 110px;
  border-top: 1px solid rgb(255 255 255 / 8%);
  background: rgb(10 14 26 / 84%);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
}
.footer-inner p {
  max-width: 720px;
  color: var(--muted);
}
.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: .35rem;
}
.bottom-nav { display: none; }

@media (max-width: 1180px) {
  h1 { font-size: 3.35rem; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hub-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-shell { grid-template-columns: 1fr; }
  .side-panel { position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  :root { --container: min(720px, calc(100% - 28px)); }
  body { padding-bottom: 82px; }
  .header-inner {
    height: 64px;
    grid-template-columns: auto 1fr auto;
  }
  .brand img { width: 120px; }
  .menu-toggle { display: inline-grid; place-items: center; justify-self: end; }
  .primary-nav {
    position: absolute;
    inset: 64px 14px auto;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: .8rem;
    background: rgb(10 14 26 / 96%);
    border: 1px solid rgb(242 202 80 / 24%);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: grid; }
  .header-actions { display: none; }
  .hero {
    min-height: 560px;
    margin-top: 14px;
  }
  .hero-overlay {
    background: linear-gradient(0deg, rgb(10 14 26 / 98%) 0%, rgb(10 14 26 / 70%) 58%, rgb(10 14 26 / 18%) 100%);
  }
  h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 7.4vw, 2.05rem);
    line-height: 1.08;
  }
  .content h2 { font-size: 1.55rem; }
  .content h3 { font-size: 1.12rem; }
  .hero-copy p { font-size: 1rem; }
  .hero-copy {
    align-self: end;
    width: 100%;
    max-width: 100%;
    padding: 1.15rem;
  }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: 1fr; }
  .showcase-head {
    align-items: start;
    flex-direction: column;
  }
  .game-grid,
  .trust-strip, .hub-cards, .side-panel { grid-template-columns: 1fr; }
  .game-card { min-height: 168px; }
  .game-card img { min-height: 168px; }
  .content { padding: 1rem; }
  .content-photo-grid { grid-template-columns: 1fr; }
  .content-photo img {
    height: clamp(180px, 52vw, 280px);
    max-height: 280px;
  }
  .content-photo-grid img { height: clamp(170px, 54vw, 240px); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner nav { justify-content: start; }
  .bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: 72px;
    padding: .45rem .55rem max(.45rem, env(safe-area-inset-bottom));
    border-top: 1px solid rgb(242 202 80 / 18%);
    background: rgb(10 14 26 / 96%);
    backdrop-filter: blur(16px);
  }
  .bottom-nav a {
    display: grid;
    place-items: center;
    gap: .1rem;
    color: var(--muted);
    text-decoration: none;
    font-size: .76rem;
  }
  .bottom-nav .material-symbols-outlined { color: var(--gold); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation-duration: 120s; }
  .image-card img,
  .game-card img { transition: none; }
  html { scroll-behavior: auto; }
}

@media (forced-colors: active) {
  .button, .content, .side-card, .hero, .trust-strip, .image-card, .game-card { border: 1px solid CanvasText; }
}
