/*
 * sidebar-left — static template (converted from Tailwind v4 + CVA Astro source).
 * Lobby/portal pattern: fixed left sidebar (desktop) + top utility bar, replaced
 * by a bottom tab bar + slide-in drawer below 1024px. Mobile-first: base rules
 * are the mobile layout, `min-width:1024px` blocks add the desktop shell.
 *
 * Naming: BEM-ish with an `sl-` prefix carried over from the Astro source
 * (`sl-*` custom Tailwind tokens) so component names stay recognisable.
 * No Tailwind/CVA/build step here — every utility combination from the
 * source has been resolved into a real class below.
 */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces (dark theme, default) */
  --color-bg: oklch(19% 0.03 275);
  --color-bg-elevated: oklch(24% 0.035 275);
  --color-bg-sidebar: oklch(16% 0.03 275);
  --color-bg-card: oklch(27% 0.035 275);
  --color-border: oklch(32% 0.03 275);

  /* Text */
  --color-fg: oklch(96% 0.01 275);
  --color-fg-muted: oklch(72% 0.02 275);

  /* Brand accent — violet / neon-green */
  --color-accent: oklch(64% 0.19 305);
  --color-accent-fg: oklch(98% 0.01 305);
  --color-accent-2: oklch(78% 0.19 145);
  --color-accent-2-fg: oklch(15% 0.02 145);
  --color-warn: oklch(76% 0.17 70);
  --color-live: oklch(58% 0.22 25);

  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-pill: 999px;

  --sidebar-w: 16rem;
  --topnav-h: 4rem;
  --tabbar-h: 3.25rem;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Redirect-modal accents (static-html-redirect-kit) — matched to this site's palette */
  --go-modal-bg: var(--color-bg-elevated);
  --go-modal-text: var(--color-fg);
  --go-modal-accent: var(--color-accent-2);
}

/* Optional light theme (explicit toggle target — see .sl-theme-toggle in JS) */
:root[data-theme="light"] {
  --color-bg: oklch(97% 0.01 275);
  --color-bg-elevated: oklch(93% 0.012 275);
  --color-bg-sidebar: oklch(99% 0.005 275);
  --color-bg-card: oklch(90% 0.014 275);
  --color-border: oklch(84% 0.015 275);
  --color-fg: oklch(22% 0.02 275);
  --color-fg-muted: oklch(42% 0.02 275);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.sl-skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  z-index: 100;
  background: var(--color-accent);
  color: var(--color-accent-fg);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  transition: top 0.15s ease;
}
.sl-skip-link:focus {
  top: 0.5rem;
}

.sl-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Buttons (CVA ctaVariants -> real classes) ---------- */
/* base: "inline-flex items-center justify-center rounded-sl-pill font-semibold transition-opacity" */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  opacity: 0.9;
}

/* intent: primary -> bg-sl-accent text-sl-accent-fg */
.btn--primary {
  background: var(--color-accent);
  color: var(--color-accent-fg);
}
/* intent: accent -> bg-sl-accent-2 text-sl-accent-2-fg uppercase */
.btn--accent {
  background: var(--color-accent-2);
  color: var(--color-accent-2-fg);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
/* intent: ghost -> bg-sl-bg-elevated text-sl-fg */
.btn--ghost {
  background: var(--color-bg-elevated);
  color: var(--color-fg);
}
/* intent: link -> bg-transparent text-sl-fg-muted, hover:text-sl-fg (no opacity fade) */
.btn--link {
  background: transparent;
  color: var(--color-fg-muted);
  transition: color 0.15s ease;
}
.btn--link:hover {
  opacity: 1;
  color: var(--color-fg);
}

/* size: sm -> px-4 py-2 text-sm */
.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
/* size: md -> px-5 py-2 text-sm */
.btn--md {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}
/* size: lg -> px-6 py-3 text-sm */
.btn--lg {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

.sl-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.5rem;
  color: var(--color-fg-muted);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.sl-icon-btn:hover {
  color: var(--color-fg);
  background: var(--color-bg-elevated);
}
.sl-icon-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ---------- Shell / offset ---------- */
.sl-shell {
  min-height: 100vh;
}

/* ---------- Sidebar (desktop-only left rail) ---------- */
.sl-sidebar {
  display: none;
}

/* ---------- TopNav (desktop-only) ---------- */
.sl-topnav {
  display: none;
}

/* ---------- Hero ---------- */
.sl-hero {
  position: relative;
  margin: 1rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(to right, var(--color-bg-card) 0%, color-mix(in oklch, var(--color-bg-card) 55%, transparent) 45%, transparent 85%),
    url("../img/hero-banner.webp") center/cover no-repeat,
    linear-gradient(
    to bottom right,
    var(--color-bg-elevated),
    var(--color-bg-card),
    color-mix(in oklch, var(--color-accent) 20%, var(--color-bg-card))
  );
}
.sl-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.5rem 1.5rem;
  max-width: 36rem;
}
.sl-hero__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--color-fg);
}
.sl-hero__subtext {
  margin: 0;
  color: var(--color-fg-muted);
}
.sl-hero .btn {
  margin-top: 0.5rem;
  width: fit-content;
}
.sl-hero__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  gap: 0.5rem;
}
.sl-hero__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: color-mix(in oklch, var(--color-fg) 30%, transparent);
}
.sl-hero__dot.is-active {
  background: var(--color-fg);
}

/* ---------- Carousel section (shared chrome for all 6 card variants) ---------- */
.sl-carousel {
  margin-top: 2rem;
  padding: 0 1rem;
}
.sl-carousel__head {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.sl-carousel__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-fg);
}
.sl-carousel__title svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-accent);
  flex-shrink: 0;
}
.sl-carousel__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.sl-carousel__show-all {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-fg-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.sl-carousel__show-all:hover {
  color: var(--color-fg);
}
.sl-carousel__nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
.sl-carousel__nav-btn svg {
  width: 1rem;
  height: 1rem;
}
.sl-carousel__nav-btn--prev svg {
  transform: rotate(180deg);
}
.sl-carousel__track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.sl-carousel__track::-webkit-scrollbar {
  display: none;
}

/* ---------- Popular games: plain responsive grid (not a carousel) ---------- */
.sl-game-grid {
  margin-top: 2rem;
  padding: 0 1rem;
}
.sl-game-grid__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}
@media (min-width: 640px) {
  .sl-game-grid__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .sl-game-grid {
    padding: 0 1.5rem;
  }
  .sl-game-grid__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem 1.25rem;
  }
}
.sl-game-grid__grid .sl-card--game {
  width: auto;
}
.sl-game-grid__grid .sl-card--game .sl-card__art {
  display: block;
  width: 100%;
  aspect-ratio: 152 / 227;
}

/* ---------- Cards ---------- */
.sl-card {
  display: block;
  flex-shrink: 0;
  text-decoration: none;
  scroll-snap-align: start;
  cursor: pointer;
}
.sl-card__art {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
}
.sl-card__art-fill {
  position: absolute;
  inset: 0;
  transition: transform 0.3s ease;
}
.sl-card:hover .sl-card__art-fill {
  transform: scale(1.05);
}
.sl-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.sl-card:hover .sl-card__img {
  transform: scale(1.05);
}
.sl-card__title {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* game-card: w-40 lg:w-44, aspect-square, accent-tinted art, optional ribbon */
.sl-card--game {
  width: 10rem;
}
.sl-card--game .sl-card__art {
  aspect-ratio: 1 / 1;
}
.sl-card--game .sl-card__art-fill {
  background: linear-gradient(
    to bottom right,
    color-mix(in oklch, var(--color-accent) 30%, transparent),
    var(--color-bg-card)
  );
}
.sl-card__ribbon {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--color-warn);
  color: var(--color-bg);
  padding: 0.125rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* jackpot-card: warn-tinted art + amount pill */
.sl-card--jackpot {
  width: 10rem;
}
.sl-card--jackpot .sl-card__art {
  aspect-ratio: 1 / 1;
}
.sl-card--jackpot .sl-card__art-fill {
  background: linear-gradient(
    to bottom right,
    color-mix(in oklch, var(--color-warn) 30%, transparent),
    var(--color-bg-card)
  );
}
.sl-card__amount {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.5rem;
  border-radius: var(--radius-sm);
  background: color-mix(in oklch, var(--color-bg) 80%, transparent);
  color: var(--color-warn);
  padding: 0.25rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* live-card: w-56, aspect-video, live badge + limit tag */
.sl-card--live {
  width: 14rem;
}
.sl-card--live .sl-card__art {
  aspect-ratio: 16 / 9;
}
.sl-card--live .sl-card__art-fill {
  background: linear-gradient(
    to bottom right,
    color-mix(in oklch, var(--color-accent) 30%, transparent),
    var(--color-bg-card)
  );
}
.sl-card__live-badge {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: var(--radius-sm);
  background: color-mix(in oklch, var(--color-live) 90%, transparent);
  color: #fff;
  padding: 0.125rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
}
.sl-card__live-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: #fff;
  animation: sl-pulse 1.4s ease-in-out infinite;
}
@keyframes sl-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
.sl-card__limit {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  border-radius: var(--radius-sm);
  background: color-mix(in oklch, var(--color-bg) 80%, transparent);
  color: var(--color-fg);
  padding: 0.125rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 500;
}

/* logo-strip: fixed h-16 w-32 block, centered label, no link wrapper */
.sl-card--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 8rem;
  height: 4rem;
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  padding: 0 1rem;
  scroll-snap-align: start;
}
.sl-card--logo span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-fg-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* promo-banner: w-72 lg:w-80, aspect-[16/7], dual-accent gradient */
.sl-card--promo {
  width: 18rem;
}
.sl-card--promo .sl-card__art {
  aspect-ratio: 16 / 7;
  background: linear-gradient(
    to bottom right,
    color-mix(in oklch, var(--color-accent) 40%, transparent),
    color-mix(in oklch, var(--color-accent-2) 30%, transparent)
  );
}
.sl-card--promo .sl-card__art-title {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* winner-strip: w-56 row card, trophy icon + user/amount stack */
.sl-card--winner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  width: 14rem;
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  padding: 0.5rem 0.75rem;
  scroll-snap-align: start;
}
.sl-card__winner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: color-mix(in oklch, var(--color-accent-2) 20%, transparent);
  color: var(--color-accent-2);
}
.sl-card__winner-icon svg {
  width: 1rem;
  height: 1rem;
}
.sl-card__winner-text {
  min-width: 0;
}
.sl-card__winner-user {
  margin: 0;
  font-size: 0.75rem;
  color: var(--color-fg-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sl-card__winner-amount {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Footer ---------- */
.sl-footer {
  margin-top: 2.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-sidebar);
  padding: 2rem 1rem 6rem;
}
.sl-footer__text-wrap {
  margin-bottom: 2rem;
}
.sl-footer__text {
  max-height: 4.5rem;
  overflow: hidden;
  color: var(--color-fg-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}
.sl-footer__text.is-expanded {
  max-height: none;
}
.sl-footer__text p {
  margin: 0 0 0.75rem;
}

/* ---------- Footer article (assembled review text, tables, FAQ) ---------- */
.rp-article h2 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-fg);
}
.rp-article h2:first-of-type {
  margin-top: 1rem;
}
.rp-article p {
  margin: 0 0 0.9rem;
}
.rp-table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0 1rem;
}
.rp-table-wrap table {
  width: 100%;
  min-width: 28rem;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.rp-table-wrap th,
.rp-table-wrap td {
  border: 1px solid var(--color-border);
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
}
.rp-table-wrap th {
  background: var(--color-bg-elevated);
  color: var(--color-fg);
  font-weight: 600;
  white-space: nowrap;
}
.rp-table-wrap td {
  color: var(--color-fg-muted);
}
.rp-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1.25rem 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
}
.rp-cta span {
  color: var(--color-fg);
  font-weight: 500;
  flex: 1 1 14rem;
}
.rp-cta .btn {
  flex-shrink: 0;
}
.rp-faq dt {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--color-fg);
}
.rp-faq dd {
  margin: 0.35rem 0 0;
  color: var(--color-fg-muted);
}
.rp-disclaimer {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-fg-muted);
}
.sl-footer__toggle {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
}
.sl-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
}
.sl-footer__brand-title {
  margin: 0 0 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-fg);
}
.sl-footer__rg {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-fg-muted);
}
.sl-footer__col-title {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-fg-muted);
}
.sl-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sl-footer__links a {
  font-size: 0.875rem;
  color: var(--color-fg-muted);
  text-decoration: none;
}
.sl-footer__links a:hover {
  color: var(--color-fg);
}
.sl-footer__app {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: var(--radius-md);
  background: var(--color-bg-elevated);
  padding: 1rem 1.25rem;
}
.sl-footer__app p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-fg);
}
.sl-footer__app-btn {
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-accent-fg);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}
.sl-footer__payments {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}
.sl-footer__badge {
  border-radius: var(--radius-sm);
  background: var(--color-bg-elevated);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-fg-muted);
}
.sl-footer__legal {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-fg-muted);
}
.sl-footer__age {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--color-fg-muted);
  flex-shrink: 0;
}

/* ---------- Mobile tab bar ---------- */
.sl-tabbar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-sidebar);
  padding: 0.375rem 0;
}
.sl-tabbar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  padding: 0.25rem 0.75rem;
  color: var(--color-fg-muted);
  text-decoration: none;
}
.sl-tabbar__item svg {
  width: 1.25rem;
  height: 1.25rem;
}
.sl-tabbar__item:hover,
.sl-tabbar__item.is-active {
  color: var(--color-fg);
}
.sl-tabbar__label {
  font-size: 0.625rem;
  font-weight: 500;
}

/* ---------- Mobile drawer ---------- */
.sl-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
}
.sl-drawer.is-open {
  display: block;
}
.sl-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.sl-drawer__panel {
  position: absolute;
  inset-block: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: 18rem;
  max-width: 85vw;
  background: var(--color-bg-sidebar);
}
.sl-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  height: var(--topnav-h);
  padding: 0 1rem;
}
.sl-drawer__brand {
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-fg);
}
.sl-drawer__close {
  padding: 0.5rem;
  color: var(--color-fg-muted);
}
.sl-drawer__close svg {
  width: 1.25rem;
  height: 1.25rem;
}
.sl-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 0 1rem 1.5rem;
}
.sl-drawer__ctas {
  margin-bottom: 1rem;
  display: flex;
  gap: 0.5rem;
}
.sl-drawer__ctas .btn {
  flex: 1;
  text-align: center;
}
.sl-drawer__section-label {
  margin: 0 0 0.5rem;
  padding: 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-fg-muted);
}
.sl-drawer__nav {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.sl-drawer__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-fg);
  text-decoration: none;
}
.sl-drawer__link:hover {
  background: var(--color-bg-elevated);
}
.sl-drawer__link svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* ---------- Theme toggle (explicit switch, not a bare icon) ---------- */
.sl-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--color-bg-elevated);
  padding: 0.3rem 0.75rem 0.3rem 0.5rem;
  color: var(--color-fg-muted);
  font-size: 0.8rem;
  font-weight: 600;
}
.sl-theme-toggle:hover {
  color: var(--color-fg);
}
.sl-theme-toggle__track {
  position: relative;
  width: 2rem;
  height: 1.125rem;
  border-radius: 999px;
  background: var(--color-border);
  flex-shrink: 0;
}
.sl-theme-toggle__knob {
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 999px;
  background: var(--color-accent);
  transition: transform 0.15s ease;
}
.sl-theme-toggle[aria-checked="true"] .sl-theme-toggle__knob {
  transform: translateX(0.875rem);
}
.sl-theme-toggle svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.sl-theme-toggle__label--long {
  display: none;
}

/* ---------- Sidebar nav "more" affordance ---------- */
.sl-sidebar__more {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin: 0 1rem 1rem;
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  font-size: 0.75rem;
  color: var(--color-fg-muted);
}
.sl-sidebar__more:hover {
  color: var(--color-fg);
}
.sl-sidebar__more svg {
  width: 1rem;
  height: 1rem;
  transform: rotate(90deg);
}

/* =========================================================
   Desktop shell (min-width: 1024px) — mirrors the source's
   `lg:` breakpoint. Sidebar + TopNav appear, tab bar + drawer
   disappear entirely.
   ========================================================= */
@media (min-width: 1024px) {
  .sl-shell {
    padding-left: var(--sidebar-w);
  }

  .sl-sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset-block: 0;
    left: 0;
    z-index: 20;
    width: var(--sidebar-w);
    background: var(--color-bg-sidebar);
    border-right: 1px solid var(--color-border);
  }
  .sl-sidebar__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.25rem;
    height: var(--topnav-h);
    flex-shrink: 0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-fg);
    text-decoration: none;
  }
  .sl-sidebar__search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 1rem 0.75rem;
    border-radius: var(--radius-pill);
    background: var(--color-bg-card);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--color-fg-muted);
  }
  .sl-sidebar__search svg {
    width: 1rem;
    height: 1rem;
  }
  .sl-sidebar__all-providers {
    display: block;
    margin: 0 1rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-fg-muted);
    text-decoration: none;
  }
  .sl-sidebar__all-providers:hover {
    color: var(--color-fg);
  }
  .sl-sidebar__nav {
    flex: 1;
    overflow-y: auto;
    padding: 0 0.5rem 1rem;
    max-height: none;
  }
  .sl-sidebar__nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .sl-sidebar__nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: var(--radius-md);
    padding: 0.6rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-fg-muted);
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  .sl-sidebar__nav-link:hover {
    background: var(--color-bg-elevated);
    color: var(--color-fg);
  }
  .sl-sidebar__nav-link.is-active {
    background: color-mix(in oklch, var(--color-accent) 15%, transparent);
    color: var(--color-accent);
  }
  .sl-sidebar__nav-link svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
  }
  .sl-sidebar__nav-link span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sl-topnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--topnav-h);
    padding: 0 1.5rem;
    border-bottom: 1px solid var(--color-border);
    background: color-mix(in oklch, var(--color-bg) 80%, transparent);
    backdrop-filter: blur(8px);
  }
  .sl-topnav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  .sl-topnav__link {
    border-radius: var(--radius-pill);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-fg-muted);
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  .sl-topnav__link:hover {
    color: var(--color-fg);
    background: var(--color-bg-elevated);
  }
  .sl-topnav__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .sl-theme-toggle__label--long {
    display: inline;
  }

  .sl-hero__inner {
    padding: 4rem 2.5rem;
  }
  .sl-hero__title {
    font-size: 2.25rem;
  }
  .sl-hero__subtext {
    font-size: 1.125rem;
  }

  .sl-carousel {
    padding: 0 1.5rem;
  }
  .sl-carousel__title {
    font-size: 1.125rem;
  }
  .sl-carousel__nav {
    display: flex;
  }
  .sl-card--jackpot {
    width: 11rem;
  }
  .sl-card--promo {
    width: 20rem;
  }

  .sl-footer {
    padding: 2rem 1.5rem;
  }
  .sl-footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  /* Mobile-only chrome never appears on desktop */
  .sl-tabbar,
  .sl-drawer {
    display: none !important;
  }
}

/* Sidebar overflow "more" affordance only relevant once the sidebar itself
   is visible; shown/hidden via JS depending on scrollHeight vs clientHeight. */
@media (min-width: 1024px) {
  .sl-sidebar__more.is-visible {
    display: flex;
  }
}
