:root {
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --bg: #000000;
  --surface: #0a0a0a;
  --maroon: #800000;
  --maroon-light: #9e1022;
  --line: var(--maroon);
  --gold: #ffd700;
  --gold-hover: #e6c200;
  --white: #ffffff;
  --black: var(--bg);
  --max: 72rem;
  --tap: 44px;
  --stroke: 2px;
  --radius: 8px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.5;
  min-height: 100dvh;
  padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .btn {
  font-family: var(--font-heading);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--white); text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

.topbar {
  background: var(--black);
  border-bottom: var(--stroke) solid var(--line);
  font-size: .8rem;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: .45rem 0;
  gap: .4rem;
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem 0;
}

.contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
}

.contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  min-height: 32px;
  padding: .2rem;
  border-radius: 4px;
  color: var(--white);
  font: inherit;
  font-size: .72rem;
  font-weight: 500;
}

.contact svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--gold);
}

.contact a:hover {
  color: var(--gold);
  background: var(--maroon);
  text-decoration: none;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: var(--stroke) solid var(--line);
  color: var(--white);
  background: var(--maroon);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.actions .btn {
  min-height: 32px;
  min-width: 0;
  width: 100%;
  padding: .32rem 1.15rem;
  font-size: .78rem;
}

.btn:hover { text-decoration: none; }

.btn--primary {
  border-color: var(--maroon-light);
}

.btn--primary:hover {
  background: var(--maroon-light);
}

.btn--gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.btn--gold:hover {
  background: var(--gold-hover);
  color: var(--black);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--black);
  border-bottom: var(--stroke) solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  width: 140px;
  height: 40px;
  flex-shrink: 0;
}

.logo img {
  width: 140px;
  height: 40px;
  object-fit: contain;
}

.nav svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.menu-toggle {
  width: var(--tap);
  height: var(--tap);
  border-radius: 10px;
  border: var(--stroke) solid var(--line);
  background: var(--maroon);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.nav {
  width: 100%;
  display: none;
  flex-direction: column;
  flex-wrap: wrap;
  gap: .75rem;
}

.nav.is-open { display: flex; }

.nav a {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: var(--tap);
  padding: .35rem .6rem;
  color: var(--white);
  border-radius: 10px;
  text-decoration: none;
  border: var(--stroke) solid transparent;
}

.nav a[aria-current="page"],
.nav a:hover {
  background: var(--maroon);
  color: var(--gold);
  border-color: var(--maroon-light);
}

.news-ticker {
  background: var(--black);
  border-bottom: var(--stroke) solid var(--line);
  padding: .35rem 0;
  font-size: .82rem;
}

.news-ticker__inner {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.news-ticker__badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--maroon);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .08em;
  padding: .2rem .55rem;
  border-radius: 4px;
  border: var(--stroke) solid var(--gold);
  flex-shrink: 0;
  user-select: none;
}

.news-ticker__badge svg {
  flex-shrink: 0;
}

.news-ticker__track {
  flex: 1;
  overflow: hidden;
}

.news-ticker__content {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: marquee 20s linear infinite;
  color: var(--white);
  font-weight: 500;
}

.news-ticker__content:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .news-ticker__content {
    animation: none;
    white-space: normal;
    padding-left: 0;
  }
}

.side-tools {
  position: fixed;
  left: .35rem;
  top: 50%;
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 3.25rem;
  margin: 0;
  gap: .35rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.side-tools__item {
  display: block;
  overflow: hidden;
  pointer-events: auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  border: var(--stroke) solid var(--line);
  line-height: 0;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}

.side-tools__item:hover {
  transform: translateX(.15rem);
  border-color: var(--gold);
  text-decoration: none;
}

.side-tools__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero {
  padding: .85rem 0 0;
}

.hero-slider,
.jackpot-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.hero-slider {
  aspect-ratio: 2496 / 784;
}

.hero-slider::after,
.jackpot-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: var(--stroke) solid var(--line);
  border-radius: var(--radius);
  pointer-events: none;
}

.hero-slider__track {
  display: flex;
  height: 100%;
  transition: transform .55s ease;
}

.hero-slider__slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
}

.hero img,
.jackpot-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-slider__btn {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 36px;
  height: 36px;
  padding: 0;
  border: var(--stroke) solid var(--gold);
  border-radius: 50%;
  background: var(--maroon);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-slider__btn:hover {
  background: var(--maroon-light);
  color: var(--gold);
}

.hero-slider__btn--prev { left: .5rem; }
.hero-slider__btn--next { right: .5rem; }

.hero-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: .45rem;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: .15rem;
}

.hero-slider__dot {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.hero-slider__dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--white);
  transition: width .2s ease, background .2s ease;
}

.hero-slider__dot[aria-current="true"]::after {
  width: 18px;
  background: var(--gold);
}

.promo-list {
  display: grid;
  gap: .65rem;
  padding: 0 0 .95rem;
}

.promo,
.live-card,
.game {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius);
  min-width: 0;
  border: var(--stroke) solid var(--line);
}

.promo::before,
.live-card::before,
.game::before {
  content: "";
  grid-row: 1;
  grid-column: 1;
  pointer-events: none;
}

.promo::before { aspect-ratio: 2496 / 784; }
.live-card::before { aspect-ratio: 350 / 202; }
.game::before { aspect-ratio: 1 / 1; }

.promo img,
.live-card img,
.game img {
  grid-row: 1;
  grid-column: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.promo h3,
.live-card h3,
.game h3,
.game h4 {
  grid-row: 2;
  grid-column: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  text-align: center;
  color: var(--white);
  background: var(--black);
  border-top: var(--stroke) solid var(--line);
}

.promo h3 {
  min-height: 2.6rem;
  padding: .55rem .5rem .6rem;
  font-size: clamp(.85rem, 2.2vw, 1.05rem);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.25;
}

.jackpot {
  margin-top: 1rem;
  margin-bottom: .45rem;
}

.jackpot-banner {
  aspect-ratio: 2172 / 724;
  line-height: 0;
}

.jackpot-counter {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(84%, 38rem);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.jackpot-counter__val {
  margin: 0;
  font-family: var(--font-heading);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.25rem, 4.4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: .06em;
  color: var(--gold);
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}

.games {
  padding: 0 0 .45rem;
}

.games h2,
.providers h2,
.deposit h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin: 0 0 .85rem;
  font-size: clamp(1.05rem, 2.6vw, 1.45rem);
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--gold);
  text-align: center;
}

.games h2::before,
.games h2::after,
.providers h2::before,
.providers h2::after,
.deposit h2::before,
.deposit h2::after,
.page-heading::before,
.page-heading::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--maroon);
  border-radius: 2px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
}

.game {
  --game-title-h: 2.55rem;
  position: relative;
  grid-template-rows: auto var(--game-title-h);
}

.game h3,
.game h4 {
  height: var(--game-title-h);
  padding: .3rem .35rem;
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.2;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.game-pick {
  position: absolute;
  top: 0;
  right: 0;
  bottom: var(--game-title-h);
  left: 0;
  z-index: 3;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.game-play {
  position: absolute;
  top: calc((100% - var(--game-title-h)) / 2);
  left: 50%;
  z-index: 4;
  display: none;
  transform: translate(-50%, -50%);
  min-height: 36px;
  padding: .4rem 1.1rem;
  border-radius: 6px;
  background: var(--gold);
  color: var(--black);
  border: var(--stroke) solid var(--gold);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
}

.game.is-open .game-pick { background: var(--maroon); opacity: .75; }
.game.is-open .game-play { display: grid; place-items: center; }
.game-play:hover { background: var(--gold-hover); text-decoration: none; }

.providers {
  padding: 0 0 .35rem;
}

.providers-grid,
.deposit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .5rem;
}

.provider {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .35rem .5rem;
  border: var(--stroke) solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  font-size: clamp(.58rem, 1.7vw, .78rem);
  font-weight: 700;
  letter-spacing: .02em;
  text-align: center;
}

.provider img {
  max-width: 100%;
  width: auto;
  height: 28px;
  object-fit: contain;
}

.provider:hover,
.deposit-item:hover {
  border-color: var(--gold);
  background: var(--maroon);
  color: var(--gold);
}

.deposit {
  padding: 0 0 .95rem;
}

.deposit h2 { margin-bottom: .55rem; }

.deposit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 5.4rem;
  padding: .55rem .2rem;
  border: var(--stroke) solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--white);
  text-align: center;
}

.deposit-item svg {
  flex-shrink: 0;
  color: var(--gold);
}

.deposit-item span {
  font-size: clamp(.52rem, 1.6vw, .75rem);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
}

.about {
  padding: 1rem 1.05rem 1.2rem;
  margin-bottom: 1.25rem;
  border: var(--stroke) solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
}

.about h1 {
  margin: 0 0 .75rem;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--gold);
}

.about h2 {
  margin: 1.15rem 0 .45rem;
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.35;
  color: var(--gold);
}

.about p {
  margin: 0 0 .85rem;
  color: var(--white);
  font-size: .95rem;
  line-height: 1.7;
}

.about p:last-child { margin-bottom: 0; }

.about-brand {
  font-weight: 700;
}

.page-heading-bar {
  padding: .3rem 0 .75rem;
}

.page-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin: 0;
  text-align: center;
  font-size: clamp(1.2rem, 3.2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1.3;
  color: var(--gold);
}

.slot-group {
  padding: 0 0 .95rem;
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .55rem;
  margin-bottom: .95rem;
}

.live-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

.live-card h3 {
  min-height: 2.35rem;
  padding: .5rem .35rem .55rem;
  font-size: clamp(.58rem, 1.7vw, .8rem);
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.2;
}

.slot-group > h3 {
  margin: 0 0 .85rem;
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  font-weight: 700;
  letter-spacing: .06em;
  text-align: left;
  color: var(--gold);
}

.site-footer {
  border-top: var(--stroke) solid var(--line);
  background: var(--black);
  padding: .85rem 0;
}

.site-footer p {
  margin: 0;
  color: var(--white);
  font-size: .82rem;
  text-align: center;
}

.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--black);
  border-top: var(--stroke) solid var(--line);
  padding: .35rem 0 calc(.35rem + env(safe-area-inset-bottom, 0px));
}

.mobile-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  padding: .2rem 0;
  color: var(--white);
  text-decoration: none;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: color .15s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav__item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.mobile-nav__item:hover {
  color: var(--gold);
  text-decoration: none;
}

.mobile-nav__item[aria-current="page"] {
  color: var(--gold);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@media (min-width: 48rem) {
  body {
    padding-bottom: 0;
  }
  .mobile-nav {
    display: none;
  }
  .side-tools {
    left: .65rem;
    width: 4.25rem;
    gap: .4rem;
  }
  .menu-toggle { display: none; }
  .nav {
    display: flex;
    flex-direction: row;
    width: auto;
    flex: 1;
    justify-content: flex-end;
    gap: .35rem;
  }
  .nav a {
    padding: .3rem .4rem;
    font-size: .82rem;
    white-space: nowrap;
  }
  .brand-row { flex-wrap: nowrap; }
  .topbar__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: .35rem 0;
  }
  .contact {
    display: flex;
    width: auto;
    gap: .15rem;
  }
  .contact a {
    justify-content: flex-start;
    padding: .2rem .55rem;
    font-size: inherit;
  }
  .actions {
    display: flex;
    width: auto;
  }
  .actions .btn {
    width: auto;
    min-width: 7.6rem;
    padding: .32rem 1.65rem;
  }
  .games-grid,
  .providers-grid,
  .deposit-grid { grid-template-columns: repeat(5, 1fr); gap: .55rem; }
  .deposit-item { min-height: 5.8rem; gap: .45rem; }
  .game { --game-title-h: 2.65rem; }
  .game h3,
  .game h4 { font-size: .72rem; }
}

@media (min-width: 70rem) {
  .side-tools {
    left: .85rem;
    width: 4.75rem;
  }
  .nav {
    gap: .55rem;
  }
  .nav a {
    padding: .35rem .55rem;
    font-size: .9rem;
  }
}

img.is-broken {
  object-fit: initial;
}
