:root {
  color-scheme: dark;
  --page: #0d0a0e;
  --panel: #1c151a;
  --red: #881e2d;
  --gold: #f0c878;
  --gold-light: #ffe8b4;
  --text: #f7f2f4;
  --muted: #ccc0c5;
  --line: #a6919873;
  --header-metal: linear-gradient(160deg, #38232d, #171218 65%, #2a1020);
  --dark-metal: linear-gradient(162deg, #372d35, #1a151b 62%, #23171f);
  --lacquer: radial-gradient(ellipse at 78% 0, #87243a, transparent 76%), linear-gradient(143deg, #55202d, #301724);
  --header-height: 58px;
  --nav-width: 104px;
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, system-ui, sans-serif;
  background: var(--page);
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + .75rem); }
body { margin: 0; min-width: 0; min-height: 100vh; padding-bottom: calc(62px + env(safe-area-inset-bottom)); background: radial-gradient(ellipse at 54% 0, #431320 0, #1f1018 37rem, var(--page) 70rem); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
ul { padding: 0; margin: 0; list-style: none; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 9; top: .5rem; left: .5rem; padding: .65rem 1rem; background: #20131c; border-radius: .5rem; }

.site-header {
  min-height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
  padding: .35rem .8rem;
  background: var(--header-metal);
  border-bottom: 1px solid #d9d0d069;
  box-shadow: 0 4px 24px #060308a0;
}
.wordmark { display: block; flex: 0 1 224px; }
.wordmark img { width: 100%; height: auto; }
.site-header .wordmark { flex-basis: 165px; min-width: 0; }
.site-account-actions { display: flex; align-items: center; gap: .4rem; flex: none; }
.site-account-actions .button { white-space: nowrap; padding-inline: clamp(.35rem, 1.5vw, .65rem); font-size: .8125rem; }
.header-nav { display: none; gap: .3rem; align-items: center; }
.header-nav a, .category-nav a, .mobile-nav a {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: .15rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  font-weight: 650;
  color: var(--text);
  transition: background-color .15s, border-color .15s;
}
.header-nav a { min-width: 78px; padding: .28rem .5rem; font-size: .875rem; }
.header-nav img { width: 33px; height: 33px; object-fit: contain; }
.favorite-icon { display: grid; width: 33px; height: 33px; place-items: center; font-size: 1.55rem; color: var(--gold-light); }
.header-nav a:hover, .header-nav .current, .mobile-nav .current {
  background: #7c1c2d9c;
  border-color: var(--line);
  color: var(--gold-light);
}
.mobile-nav { position: fixed; z-index: 4; inset: auto 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .15rem; padding: .25rem .35rem calc(.25rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--header-metal); }
.mobile-nav a { min-height: 49px; font-size: clamp(.72rem, 3.2vw, .875rem); white-space: nowrap; }
.mobile-nav img { width: 26px; height: 26px; object-fit: contain; }
.mobile-nav .favorite-icon { width: 26px; height: 26px; font-size: 1.2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: fit-content;
  padding: .5rem 1rem;
  text-align: center;
  border: 1px solid #c2b6be80;
  border-radius: .5rem;
  background: var(--dark-metal);
  color: var(--gold-light);
  font-weight: 700;
  font-size: .875rem;
  line-height: 1.45;
}
.button:hover { background: #632030; border-color: var(--gold); }
.button--gold {
  background: linear-gradient(175deg, #fff8dd, #f2cb82 45%, #c18a4c);
  color: #28180e;
  border-color: #efd398;
  box-shadow: inset 0 1px 0 #fff9d7d1, 0 2px 8px #05020688;
}
.button--gold:hover { background: #ffde8d; }

.category-nav {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #9c7385 #23151e;
  display: flex;
  gap: .5rem;
  padding: .5rem .8rem;
  scroll-padding-inline: .8rem;
  background: #1b141af0;
  border-bottom: 1px solid var(--line);
}
.category-nav:focus-visible { outline-offset: -3px; }
.category-nav a {
  width: 4.1rem;
  min-height: 58px;
  padding: .2rem .15rem;
  flex: none;
  scroll-snap-align: start;
  background: linear-gradient(165deg, #32272e, #1a1318);
  border-color: #a78e9a61;
  box-shadow: 0 2px 5px #05030885;
  font-size: .8125rem;
}
.category-nav img { width: 32px; height: 32px; object-fit: contain; }
.category-nav a:hover, .category-nav .current { border-color: #f5cb7f; color: var(--gold-light); background: var(--lacquer); }
.content { min-width: 0; width: min(100%, 1400px); margin: 0 auto; padding: .8rem clamp(.8rem, 2vw, 1.65rem) 1.5rem; }

.hero { overflow: hidden; border: 1px solid #d1b69a9c; border-radius: .9rem; background: #210e17; box-shadow: 0 10px 28px #070408ac; }
.hero-art { position: relative; width: 100%; aspect-ratio: 4 / 5; }
.hero-slide { position: absolute; inset: 0; }
.hero-slide a, .hero-slide picture, .hero-slide img { display: block; width: 100%; height: 100%; }
.hero-slide a:focus-visible { outline-offset: -4px; }
.hero-slide img { object-fit: contain; }
.hero-controls { display: flex; align-items: center; justify-content: center; gap: .75rem; min-height: 44px; background: linear-gradient(90deg, #211820, #411620, #211820); border-top: 1px solid var(--line); }
.hero-arrow { background: transparent; border: 0; min-width: 44px; min-height: 44px; color: var(--gold-light); font-size: 1.5rem; }
.hero-arrow:hover { background: #a83b4e5d; }
.hero-dots { display: flex; gap: .25rem; }
.hero-dots button { display: grid; place-items: center; padding: 0; width: 44px; height: 44px; background: transparent; border: 0; }
.hero-dots button::after { content: ''; width: 8px; height: 8px; border-radius: 1rem; background: #d0c5c68f; }
.hero-dots button[aria-pressed="true"]::after { width: 17px; background: var(--gold); }

.account-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .9rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: .75rem; background: linear-gradient(100deg, #541924, #22141c); }
.account-strip > div { display: flex; align-items: center; gap: .75rem; }
.account-strip img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.account-strip h2 { font-size: 1.05rem; color: var(--gold-light); }
.account-strip p { color: var(--muted); font-size: .875rem; margin-top: .15rem; }
.account-strip .button { flex-shrink: 0; }

.section { margin-top: 1rem; padding: .75rem; border: 1px solid var(--line); border-radius: .8rem; background: linear-gradient(165deg, #281c24, #151118 68%); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: .85rem; }
.section-heading h2 { display: flex; align-items: center; gap: .55rem; font-size: clamp(1.17rem, 1.7vw, 1.45rem); color: var(--gold-light); }
.section-heading h2 img { object-fit: contain; }
.section-heading .button { flex-shrink: 0; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.provider-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.game-card, .provider-card, .offer-card { height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: .65rem; background: var(--dark-metal); }
.game-card:hover, .provider-card:hover, .offer-card:hover { border-color: var(--gold); background: var(--lacquer); }
.game-card { display: grid; grid-template-rows: auto 1fr; }
.game-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.game-card--plain { grid-template-rows: 1fr; min-height: 62px; }
.game-card span { min-height: 2.75rem; display: grid; align-content: start; gap: .25rem; padding: .45rem .55rem; font-size: .875rem; line-height: 1.3; font-weight: 650; }
.game-card--plain span { align-content: center; overflow-wrap: anywhere; }
.game-card small { font-size: .8125rem; font-weight: 500; color: var(--muted); }
.provider-card { display: grid; justify-items: center; align-content: center; gap: .35rem; min-height: 96px; padding: .5rem .25rem; text-align: center; font-size: .875rem; line-height: 1.25; overflow-wrap: anywhere; }
.provider-card img, .provider-placeholder { width: 54px; height: 54px; object-fit: contain; }
.provider-placeholder { display: grid; place-items: center; background: #261820; border: 1px solid var(--line); border-radius: .65rem; font-size: 1.4rem; color: var(--gold); }
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.offer-card { display: grid; grid-template-rows: auto 1fr; }
.offer-art { display: grid; place-items: center; aspect-ratio: 4 / 3; background: radial-gradient(#43222e, #1c0e15); border-bottom: 1px solid var(--line); }
.offer-art img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.offer-copy { display: grid; align-content: start; gap: .4rem; padding: .6rem; }
.offer-copy h3 { color: var(--gold-light); font-size: 1rem; }
.offer-copy p { color: var(--muted); font-size: .9rem; }
.offer-copy span { color: var(--gold); margin-top: .25rem; font-weight: 700; font-size: .875rem; }
.promotions-grid { grid-template-columns: minmax(0, 1fr); margin-top: .9rem; gap: 1rem; align-items: start; }
.promotion-card { height: auto; border-color: #b3a0a183; box-shadow: 0 8px 18px #08050970; }
.promotion-card:hover { background: var(--dark-metal); border-color: #b3a0a183; }
.promotion-card .offer-copy { gap: .65rem; padding: clamp(.95rem, 2.35vw, 1.35rem); }
.promotion-card h2 { color: var(--gold-light); font-size: clamp(1.3rem, 2.4vw, 1.65rem); line-height: 1.25; }
.promotion-card .offer-copy > p { color: #f4e1e5; font-size: .975rem; line-height: 1.55; }
.promotion-card .button { min-width: min(100%, 11rem); }
.offer-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: 0; }
.offer-facts div { padding: .6rem .65rem; border: 1px solid var(--line); border-radius: .55rem; background: #19111ac7; overflow-wrap: anywhere; }
.offer-facts dt { color: var(--muted); font-size: .8rem; }
.offer-facts dd { margin: .2rem 0 0; color: var(--gold-light); font-size: .97rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.offer-more { border-top: 1px solid var(--line); padding-top: .25rem; }
.offer-more summary { min-height: 44px; padding: .65rem .15rem; color: var(--gold-light); cursor: pointer; font-weight: 650; font-size: .9rem; }
.offer-more summary::marker { color: var(--gold); }
.offer-terms { display: grid; min-width: 0; gap: .8rem; line-height: 1.6; }
.offer-terms section, .offer-status { padding: .8rem; border: 1px solid var(--line); border-radius: .6rem; background: #21151e; }
.offer-terms :is(h2, h3) { margin-bottom: .3rem; color: var(--gold-light); font-size: 1.05rem; }
.offer-terms section p { color: #eedee5; }
.offer-terms section p + p { margin-top: .45rem; }
.offer-status { border-inline-start: 3px solid #e7b870; color: var(--gold-light); font-size: .9rem; }
.offer-table-wrapper { min-width: 0; overflow-x: auto; }
.offer-table { width: 100%; border-collapse: collapse; color: var(--text); background: #21151e; font-size: clamp(.78rem, 1.6vw, .9rem); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.offer-table caption { padding: .55rem .35rem; text-align: start; color: var(--gold-light); font-size: .95rem; font-weight: 750; }
.offer-table td, .offer-table th { padding: .45rem .32rem; border: 1px solid var(--line); vertical-align: middle; text-align: start; }
.offer-table thead th { color: var(--gold-light); background: #682030; }
.offer-table tbody tr:nth-child(even) { background: #2c1d27; }

.directory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .75rem; }
.directory-card { display: flex; align-items: center; gap: .65rem; height: 100%; padding: .75rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--dark-metal); }
.directory-card > img { flex: none; object-fit: contain; }
.directory-card h3 { font-size: 1rem; color: var(--gold-light); }
.directory-card p { font-size: .875rem; color: var(--muted); margin-top: .2rem; }
.directory-card--link:hover { border-color: var(--gold); background: var(--lacquer); }
.with-directory-cover .directory-card { display: grid; align-content: start; overflow: hidden; padding: 0; }
.with-directory-cover .directory-card > div { padding: 0 .8rem .65rem; }
.directory-cover { width: 100%; aspect-ratio: 2.2; object-fit: contain; object-position: center; background: #1c141c; }
.lobby-banner, .lobby-item-art { margin-top: 1rem; }
.lobby-banner img, .lobby-item-art img { max-height: 26rem; object-fit: contain; border: 1px solid var(--line); border-radius: .75rem; }

.lobby-feature { display: grid; overflow: hidden; border: 1px solid #b8a1a389; border-radius: .95rem; background: radial-gradient(ellipse at 80% 0, #69202c, #201318 85%); box-shadow: 0 12px 24px #070408ac; }
.lobby-feature-art { min-width: 0; border-bottom: 1px solid var(--line); }
.lobby-feature-art img { width: 100%; height: auto; aspect-ratio: 2; object-fit: cover; }
.lobby-feature-copy { display: grid; align-content: center; justify-items: start; gap: .55rem; padding: clamp(1.05rem, 3vw, 2.1rem); }
.lobby-feature h1 { color: var(--gold-light); font-size: clamp(1.85rem, 4vw, 3rem); line-height: 1.15; }
.lobby-feature p { color: #eddae0; line-height: 1.55; }
.lobby-feature .button { margin-top: .35rem; }
.featured-directory .section { margin-top: .85rem; }
.featured-directory .provider-filter { margin: 1rem 0 .75rem; padding: .8rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--panel); }
.featured-directory .provider-filter input { width: 100%; max-width: 36rem; }
.directory-jumps { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0; }
.directory-jumps a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .7rem; border: 1px solid #b6a1a67a; border-radius: .55rem; background: #241822; color: var(--gold-light); font-size: .875rem; font-weight: 650; }
.directory-jumps a:hover { border-color: var(--gold); background: var(--lacquer); }
.featured-directory .directory-grid { gap: .55rem; }
.directory-grid--shortcuts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr)); }
.featured-directory .directory-card { min-height: 56px; padding: .55rem .65rem; overflow-wrap: anywhere; }
.featured-directory .directory-card > img:not(.directory-cover) { width: 36px; height: 36px; }
.directory-chevron { flex-shrink: 0; margin-inline-start: auto; font-size: 1.35rem; line-height: 1; color: var(--gold); }
.featured-directory .with-directory-cover .directory-card { grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 0; padding: 0; }
.featured-directory .with-directory-cover .directory-cover { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
.featured-directory .with-directory-cover .directory-card > div { padding: .1rem .25rem .65rem .7rem; }
.featured-directory .with-directory-cover .directory-chevron { margin: .1rem .7rem 0 0; }
.featured-directory--lotto .directory-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); }
.featured-directory--poker .directory-grid { grid-template-columns: minmax(0, 1fr); max-width: 35rem; }

.page-heading { display: flex; align-items: center; gap: 1rem; padding: clamp(1rem, 2.5vw, 1.75rem); background: linear-gradient(120deg, #571e2d, #22131e 65%); border: 1px solid var(--line); border-radius: .85rem; }
.page-heading > img, .provider-heading > span { width: clamp(54px, 10vw, 78px); height: auto; aspect-ratio: 1; object-fit: contain; flex-shrink: 0; }
.page-heading h1 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); color: var(--gold-light); line-height: 1.25; }
.page-heading p { color: var(--muted); margin-top: .3rem; line-height: 1.6; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .5rem; padding: .25rem 0 .75rem; color: var(--muted); }
.breadcrumbs a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.provider-filter { display: grid; gap: .35rem; margin: 0 0 .8rem; color: var(--gold-light); }
.provider-filter label { font-weight: 700; }
.provider-filter input { min-height: 44px; width: min(100%, 375px); padding: .55rem .75rem; border-radius: .5rem; border: 1px solid #bfa4ae8b; background: #171119; color: var(--text); }
.provider-filter input::placeholder { color: var(--muted); }
.provider-filter p:empty { display: none; }
.info-panel { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--panel); }
.info-panel h2, .info-panel p { width: 100%; }
.info-panel h2 { font-size: 1.2rem; color: var(--gold-light); }
.info-panel p, .faq-list p { color: var(--muted); line-height: 1.65; }
.offer-detail { display: grid; align-items: start; gap: 1rem; margin-top: 1rem; }
.offer-detail > .offer-art { overflow: hidden; border: 1px solid var(--line); border-radius: .8rem; }
.offer-detail .info-panel { margin-top: 0; }
.offer-detail-copy { display: grid; min-width: 0; gap: .75rem; }
.game-detail { display: flex; flex-wrap: wrap; align-items: start; gap: 1rem; margin-top: 1rem; }
.game-detail img { width: min(100%, 16rem); height: auto; border: 1px solid var(--line); border-radius: .8rem; }
.game-detail .info-panel { flex: 1 1 22rem; margin: 0; }
.favorite-control { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1rem; margin-top: .85rem; }
.favorite-control a, .library-list a { text-decoration: underline; text-underline-offset: .2em; color: var(--gold-light); }
.favorite-control [aria-pressed="true"] { color: #28180e; background: var(--gold); }
.library-list { display: grid; gap: .55rem; }
.library-list li { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .8rem; background: var(--panel); border: 1px solid var(--line); border-radius: .6rem; padding: .55rem .75rem; }
.library-list a { flex: 1 1 10rem; font-weight: 700; }
.library-list li > span, [data-library-empty], .inline-note { color: var(--muted); }
[data-library-status]:empty { display: none; }
[data-library-status]:not(:empty), .inline-note { margin-top: .9rem; }
.account-shell { display: grid; max-width: 880px; margin: 1rem auto 0; overflow: hidden; border: 1px solid #bbabae91; border-radius: .95rem; background: var(--panel); box-shadow: 0 12px 28px #070408ac; }
.account-brand { display: grid; align-content: center; justify-items: start; gap: .6rem; padding: clamp(1rem, 4vw, 2rem); background: radial-gradient(ellipse at 12% 14%, #731c31, #1b111a 78%); color: var(--gold); font-weight: 650; }
.account-brand .wordmark { width: min(100%, 230px); }
.account-content { min-width: 0; padding: clamp(1rem, 4vw, 2rem); }
.account-content h1 { color: var(--gold-light); font-size: clamp(1.6rem, 4.25vw, 2.4rem); line-height: 1.2; }
.account-content > p { color: var(--muted); margin-top: .4rem; }
.account-tabs, .account-help { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: 1rem; }
.account-tabs a, .account-help a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .55rem; color: var(--gold-light); font-weight: 700; font-size: .9rem; }
.account-tabs a { border: 1px solid var(--line); border-radius: .5rem; }
.account-tabs a:hover, .account-tabs a[aria-current="page"] { background: #672339; border-color: var(--gold); }
.account-help a { text-decoration: underline; text-underline-offset: .2em; }
.account-content .account-form {
  --form-secondary: var(--muted); --form-input: #171119; --form-border: #bbabae91;
  --form-accent: var(--gold-light); --form-hover: var(--lacquer); --form-button-border: var(--gold);
  --form-button-background: linear-gradient(175deg, #fff4ce, #d9a650); --form-button-ink: #28180e;
}
.faq-list { display: grid; gap: .65rem; margin-top: 1rem; }
.faq-list details { border: 1px solid var(--line); border-radius: .6rem; background: var(--panel); }
.faq-list summary { font-weight: 700; color: var(--gold-light); cursor: pointer; padding: .85rem 1rem; }
.faq-list p { padding: 0 1rem 1rem; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.5rem; padding: 1.2rem .25rem .4rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.site-footer .wordmark { flex-basis: 155px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .15rem .9rem; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: var(--gold-light); }

@media (min-width: 425px) {
  .featured-directory--sport .directory-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
}

@media (min-width: 540px) {
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .provider-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .section { padding: 1rem; }
  .offer-copy { padding: .8rem; }
  .featured-directory--lotto .directory-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
}

@media (min-width: 701px) {
  .hero-art { aspect-ratio: 5 / 2; }
  .lobby-feature { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); }
  .lobby-feature-art { border-bottom: 0; border-inline-end: 1px solid var(--line); }
  .lobby-feature-art img { height: 100%; }
  .offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .promotions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 740px) {
  .account-shell { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
  .offer-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 800px) {
  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .provider-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  :root { --header-height: 80px; }
  body { padding-bottom: 0; }
  .site-header { gap: 1rem; padding: .45rem clamp(.875rem, 2vw, 2rem); }
  .site-header .wordmark { flex-basis: 224px; }
  .site-account-actions .button { padding-inline: .85rem; font-size: .875rem; }
  .header-nav { display: flex; }
  .mobile-nav { display: none; }
  .site-layout { display: grid; grid-template-columns: var(--nav-width) minmax(0, 1fr); }
  .category-nav { position: sticky; top: var(--header-height); height: calc(100dvh - var(--header-height)); align-self: start; flex-direction: column; overflow: auto; scroll-snap-type: none; padding: .8rem .55rem; border-bottom: 0; border-right: 1px solid var(--line); }
  .category-nav a { width: auto; min-height: 74px; padding: .42rem .1rem; font-size: .9rem; }
  .category-nav img { width: 42px; height: 42px; }
  .category-nav a:is([href="/deposit"], [href="/faq"]) { display: none; }
}

@media (min-width: 1120px) {
  .game-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .provider-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); }
}

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