@font-face {
  font-family: Inter;
  src: url('/assets/inter.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #100f0e;
  --header: #0d0c0b;
  --surface: #1a1815;
  --line: #363029;
  --line-gold: #57452b;
  --gold: #e9bd69;
  --gold-light: #f4d395;
  --text: #f6f2e9;
  --muted: #c5bdb0;
  --dim: #a79f93;
  --wrap: 1264px;
  --gutter: clamp(16px, 3vw, 46px);
  --panel-radius: 16px;
  background: var(--background);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul { margin: 0; }
body { min-width: 280px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-light); }
summary { cursor: pointer; }
summary::-webkit-details-marker { display: none; }
h1, h2, h3 { font-weight: 600; line-height: 1.16; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.3rem); letter-spacing: -.025em; }
h3 { font-size: 1.15rem; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 5px; }

.wrap, .hero, .availability, .page-hero {
  width: min(var(--wrap), calc(100% - var(--gutter) - var(--gutter)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10;
  inset: 12px auto auto 12px;
  padding: 10px 16px;
  background: var(--gold-light);
  color: #15100a;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid var(--line);
  background: var(--header);
}

.header-inner, .account-actions, .brand {
  display: flex;
  align-items: center;
}

.header-inner { min-height: 74px; justify-content: space-between; gap: clamp(12px, 2vw, 28px); }
.brand { flex: 0 0 auto; flex-direction: column; align-items: flex-start; gap: 3px; color: var(--gold); }
.brand:hover { color: var(--gold-light); }

.brand-mark {
  position: relative;
  width: 128px;
  height: 34px;
  overflow: hidden;
  mix-blend-mode: screen;
}

.brand-mark img {
  position: absolute;
  top: -44px;
  left: -17px;
  width: 162px;
  height: auto;
  max-width: none;
}

.brand-region { color: var(--muted); font-size: .625rem; font-weight: 600; line-height: .9; letter-spacing: .17em; }
.desktop-nav { align-self: stretch; }
.desktop-nav ul { display: flex; height: 100%; gap: clamp(11px, 1.35vw, 23px); }
.desktop-nav a {
  display: flex;
  height: 100%;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
}

.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--gold-light); }
.desktop-nav a[aria-current] { border-bottom-color: var(--gold); }
.account-actions, .actions { display: flex; flex-wrap: wrap; gap: 9px; }

.button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: 9px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 750;
  line-height: 1.25;
  white-space: nowrap;
  transition: color .16s, background-color .16s, border-color .16s;
}

button.button { cursor: pointer; }
.button-gold { border-color: #efc77f; background: var(--gold); color: #18110a; }
.button-gold:hover { background: var(--gold-light); color: #18110a; }
.button-line { border-color: var(--line-gold); background: #151310; color: var(--text); }
.button-line:hover { border-color: var(--gold); background: #251e15; color: var(--gold-light); }
.account-actions { flex-wrap: nowrap; }

.mobile-menu { display: none; }
.mobile-menu summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line-gold);
  border-radius: 5px;
  color: var(--text);
  font-size: .875rem;
  font-weight: 700;
  list-style: none;
}

.menu-glyph {
  width: 14px;
  height: 10px;
  border-block: 1px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center/100% 1px no-repeat;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(14px, 2.1vw, 28px);
  border: 1px solid var(--line-gold);
  border-radius: var(--panel-radius);
  background: #15110d;
}

.hero-art {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: 79%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #15110d 6%, #15110d 22%, #15110dd9 38%, transparent 70%),
    linear-gradient(0deg, #100d0a88, transparent 42%);
}

.hero-inner {
  display: flex;
  width: auto;
  min-height: 416px;
  flex-direction: column;
  justify-content: center;
  padding: 34px clamp(24px, 5.2vw, 72px) 39px;
}
.hero-inner::before { content: ''; width: 43px; height: 2px; margin-bottom: 22px; background: var(--gold); }
.hero h1 { font-size: clamp(3.6rem, 6.45vw, 5.8rem); line-height: .96; letter-spacing: -.055em; }
.hero h1 span { display: block; margin-top: 7px; color: var(--gold); }
.hero-description { max-width: 29rem; margin-top: 21px; color: var(--muted); font-size: 1.05rem; }
.hero .actions { gap: 12px; margin-top: 24px; }
.hero .button { min-height: 47px; padding-inline: 20px; }

.availability { margin-top: 10px; border: 1px solid var(--line); border-radius: 9px; background: #181511; }
.availability-inner {
  display: flex;
  width: auto;
  min-height: 44px;
  padding-inline: 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  color: var(--dim);
  font-size: .8125rem;
}
.availability-inner span:first-child { display: flex; align-items: center; gap: 10px; color: var(--gold-light); font-weight: 650; }
.availability i { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

.section { padding-top: clamp(35px, 3.85vw, 56px); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; margin-bottom: 22px; }
.eyebrow {
  color: var(--gold);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.45vw, 20px); }
.game-card, .feature {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color .16s, background-color .16s;
}
.game-card:hover, .feature:hover { border-color: #8d6e40; background: #211c16; }

.game-image {
  aspect-ratio: 3 / 2;
  background-image: url('/assets/game-categories.jpg');
  background-repeat: no-repeat;
  background-size: 200% 200%;
  background-position: var(--image-position);
}
.art-slots { --image-position: left top; }
.art-live-casino { --image-position: right top; }
.art-sports { --image-position: left bottom; }
.art-esports { --image-position: right bottom; }

.game-card { display: grid; grid-template-areas: 'tile'; }
.game-card .game-image { grid-area: tile; min-width: 0; }
.game-card-copy {
  position: relative;
  grid-area: tile;
  align-self: end;
  padding: 55px 42px 18px 16px;
  background: linear-gradient(180deg, transparent, #120f0ce8 45%, #120f0cfb);
}
.game-card:hover .game-card-title { color: var(--gold-light); }
.game-card-title { color: var(--text); font-size: 1.15rem; letter-spacing: 0; }
.game-card p, .feature p { margin-top: 7px; color: var(--muted); font-size: .875rem; }
.game-card p { min-height: 2.8em; }

.circle-chevron {
  position: absolute;
  bottom: 17px;
  right: 12px;
  display: grid;
  width: 26px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  color: var(--gold);
}

.circle-chevron::after {
  content: '';
  width: 6px;
  height: 6px;
  margin-right: 2px;
  border: solid currentColor;
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
}

.home-shortcuts {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(15px, 2.1vw, 28px);
  margin-top: clamp(42px, 5vw, 64px);
}
.home-shortcuts > section {
  padding: clamp(16px, 2.2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: radial-gradient(ellipse at 96% 0%, #282016 0%, var(--surface) 64%);
}
.home-shortcuts h2 { margin-bottom: 18px; font-size: clamp(1.35rem, 2.45vw, 1.9rem); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feature {
  min-height: 191px;
  padding: 18px;
  background: linear-gradient(155deg, #282014, #1a1815 60%);
}

.feature-icon {
  display: grid;
  width: 40px;
  margin-bottom: 15px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line-gold);
  border-radius: 8px;
  background: #22190e;
  color: var(--gold);
  font-size: 1.65rem;
}

.feature h3 { font-size: 1.3rem; }
.resource-grid > a { display: block; padding: 10px 0; border-top: 1px solid var(--line); }
.resource-grid strong { font-size: .95rem; font-weight: 650; }
.resource-grid span { display: block; margin-top: 1px; color: var(--muted); font-size: .875rem; }

.home-faq { padding-bottom: 59px; }
.faq-list { display: grid; gap: 9px; }
.faq { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); }
.faq[open] { border-color: var(--line-gold); }
.faq summary { position: relative; padding: 16px 42px 16px 18px; list-style: none; font-weight: 650; }
.faq summary::after { content: '+'; position: absolute; top: 13px; right: 18px; color: var(--gold); font-size: 1.2rem; }
.faq[open] summary::after { content: '−'; }
.faq p { padding: 0 18px 17px; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); background: var(--header); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 28px; padding-block: 46px 38px; }
.footer-grid h2 { margin-bottom: 14px; font: 700 .9375rem/1.25 Inter, sans-serif; letter-spacing: 0; }
.footer-grid p { margin-top: 13px; max-width: 26ch; }
.footer-grid p, .footer-grid ul { color: var(--muted); font-size: .875rem; }
.footer-grid li + li { margin-top: 7px; }
.footer-grid [aria-current] { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-block: 17px 20px; color: var(--dim); font-size: .8125rem; }

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(14px, 2.1vw, 28px);
  border: 1px solid var(--line-gold);
  border-radius: var(--panel-radius);
  background: radial-gradient(ellipse at 96% 15%, #3b2a17, transparent 62%), linear-gradient(145deg, #201a13, #151311 60%);
}

.page-art { position: absolute; z-index: -1; inset: 0 0 0 auto; width: min(55%, 680px); opacity: .79; }
.page-art::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 100%;
  aspect-ratio: 3 / 2;
  transform: translateY(-50%);
  background: url('/assets/game-categories.jpg') var(--image-position) / 200% 200% no-repeat;
}
.page-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #221a12, transparent 76%); }
.page-intro { width: auto; padding: 22px clamp(20px, 4.3vw, 56px) 38px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 24px; color: var(--muted); font-size: .875rem; }
.breadcrumb a { color: var(--gold-light); }
.page-intro h1 { font-size: clamp(2.45rem, 5.35vw, 4.35rem); letter-spacing: -.047em; }
.page-intro .eyebrow { margin-bottom: 8px; }
.page-description { max-width: 54ch; margin-top: 14px; color: #d7ccbc; font-size: clamp(1rem, 2.5vw, 1.125rem); }
.page-body { padding-block: clamp(22px, 2.8vw, 38px) clamp(42px, 5vw, 72px); }
.article-contents {
  margin-bottom: clamp(26px, 3vw, 42px);
  padding: clamp(14px, 1.8vw, 23px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(125deg, #231d15, var(--surface) 36%);
}
.contents-wide ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 23px; }
.contents-narrow { display: none; }
.contents-narrow summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 650; }
.contents-narrow summary::after { content: '+'; color: var(--gold); font-size: 1.2rem; line-height: 1; }
.contents-narrow[open] summary::after { content: '−'; }
.contents-narrow[open] summary { margin-bottom: 10px; }
.article-contents h2 { margin-bottom: 14px; color: var(--gold-light); font-size: 1rem; letter-spacing: 0; }
.article-contents li { border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.article-contents a { display: block; padding: 9px 0; font-weight: 500; }
.notice { margin-bottom: 20px; padding: 13px 16px; border: 1px solid #493820; border-left: 3px solid var(--gold); border-radius: 7px; background: #221b13; color: var(--gold-light); }
.prose { font-size: clamp(1rem, 1.38vw, 1.0625rem); line-height: 1.72; }
.prose section + section { margin-top: clamp(32px, 3.8vw, 50px); padding-top: clamp(24px, 2.9vw, 38px); border-top: 1px solid var(--line); }
.prose h2 { margin-bottom: 15px; font-size: clamp(1.48rem, 2.85vw, 2.08rem); }
.prose h2::before { content: ''; display: block; width: 26px; height: 2px; margin-bottom: 12px; background: var(--gold); }
.prose h3 { margin-top: 22px; }
.prose :is(p, .article-list, .article-table, .faq-list) { margin-top: 13px; }
.prose p, .article-list { color: var(--muted); }
.prose p a { color: var(--gold-light); }
.prose p a:hover { color: var(--text); }
.prose .faq p { margin-top: 0; }
.prose :is(section, h3) { scroll-margin-top: 24px; }
.prose section:target > h2, .prose h3:target { color: var(--gold-light); }
.article-list { list-style: disc; padding-left: 1.4em; }
.article-list li + li { margin-top: 7px; }
.article-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 11px; }
.article-table table { width: 100%; min-width: 23rem; border-collapse: collapse; }
.article-table :is(th, td) { padding: 12px 15px; text-align: left; vertical-align: top; }
.article-table th { font-weight: 600; }
.article-table td { color: var(--muted); }
.article-table thead { background: #251e16; color: var(--gold-light); }
.article-table tbody tr { border-top: 1px solid var(--line); }
.article-table tbody tr:nth-child(even) { background: #151310; }
.home-article { margin-top: clamp(36px, 4.7vw, 64px); border-top: 1px solid var(--line); padding-bottom: 0; }
.page-body .game-grid { margin-bottom: clamp(22px, 3vw, 35px); }

@media (max-width: 1140px) {
  .desktop-nav, .desktop-actions { display: none; }
  .header-inner {
    --header-row-height: 74px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: var(--header-row-height);
  }
  .header-inner > .brand {
    justify-self: start;
    margin-block: calc((var(--header-row-height) - 46px) / 2);
  }
  .mobile-menu { display: block; }
  .mobile-menu summary {
    position: absolute;
    top: calc(var(--header-row-height) / 2);
    right: 0;
    transform: translateY(-50%);
  }
  .mobile-menu-panel {
    max-height: 72vh;
    overflow: auto;
    padding: 3px 2px 16px;
    border-top: 1px solid var(--line);
  }
  .mobile-menu-panel ul { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 15px; }
  .mobile-menu-panel li { border-bottom: 1px solid var(--line); }
  .mobile-menu-panel nav a { display: block; padding: 10px 8px 10px 0; }
  .mobile-menu-panel a[aria-current] { color: var(--gold); }
}

@media (max-width: 800px) {
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { min-height: 404px; }
  .hero-art { width: 100%; object-position: 62% 55%; }
  .hero::after { background: linear-gradient(90deg, #15110dfa 5%, #15110de0 25%, #15110d54 80%); }
  .home-shortcuts { grid-template-columns: 1fr; }
  .feature { min-height: 155px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contents-wide { display: none; }
  .contents-narrow { display: block; }
}

@media (max-width: 570px) {
  :root { --panel-radius: 12px; }
  .header-inner { --header-row-height: 65px; }
  .hero-art { inset: 0 0 auto; height: 59%; object-position: 72% 56%; }
  .hero::after { background: linear-gradient(0deg, #15110d 33%, #15110de8 49%, #15110d12 87%), linear-gradient(90deg, #15110d55, transparent 50%); }
  .hero-inner { min-height: 407px; padding: 130px 18px 25px; justify-content: end; }
  .hero-inner::before { margin-bottom: 15px; width: 31px; }
  .hero h1 { font-size: clamp(2.75rem, 11vw, 4.2rem); }
  .hero h1 span { margin-top: 9px; }
  .hero-description { margin-top: 18px; font-size: .95rem; }
  .hero .actions { margin-top: 18px; gap: 8px; }
  .hero .button { min-height: 43px; padding-inline: 11px; }
  .availability-inner { min-height: 0; flex-wrap: wrap; gap: 2px; padding: 8px 10px; }
  .availability-inner span { flex-basis: 100%; }
  .availability-inner span + span { padding-left: 16px; }
  .section-heading { flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
  .section-heading .button { min-height: 37px; padding-inline: 12px; }
  .game-grid { gap: 9px; }
  .game-card { grid-template-areas: 'art' 'caption'; grid-template-rows: auto 1fr; }
  .game-card .game-image { grid-area: art; }
  .game-card-copy { grid-area: caption; align-self: stretch; padding: 11px 12px 13px; background: transparent; }
  .game-card-title { font-size: 1rem; }
  .game-card p { min-height: 0; }
  .circle-chevron { display: none; }
  .feature-grid { grid-template-columns: 1fr; gap: 8px; }
  .feature { display: grid; min-height: 0; grid-template-columns: 34px minmax(0, 1fr); align-items: start; gap: 3px 11px; padding: 13px; }
  .feature-icon { grid-row: span 2; width: 34px; margin: 0; font-size: 1.35rem; }
  .feature h3 { margin-top: 3px; font-size: 1.15rem; }
  .feature p { margin-top: 0; }
  .home-faq { padding-bottom: 39px; }
  .footer-grid { gap: 25px 14px; padding-block: 26px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: none; }
  .page-intro { padding: 17px 18px 27px; }
  .page-art { width: 60%; opacity: .28; }
  .breadcrumb { margin-bottom: 21px; }
  .prose h2::before { margin-bottom: 9px; }
  .article-table :is(th, td) { padding: 10px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
