:root {
  --bg: #071018;
  --surface: #0d1a24;
  --card: #122330;
  --line: #234155;
  --text: #e8f4ef;
  --muted: #9bb3ad;
  --accent: #2ee59d;
  --gold: #e6c35c;
  --max: 72rem;
  --tap: 44px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--bg);
}

body {
  margin: 0;
  font-family: system-ui, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100dvh;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

.topbar {
  background: #050d13;
  border-bottom: 1px solid var(--line);
  font-size: .8rem;
}

.topbar__inner,
.brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.topbar__inner {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: .45rem 0;
  gap: .4rem;
}

.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 .2rem;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #b7c9c3;
  font: inherit;
  font-size: .72rem;
  font-weight: 500;
  text-decoration: none;
}

.contact svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: .85;
}

.contact a:hover {
  color: var(--text);
  background: rgb(255 255 255 / .05);
  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: 5px;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--card);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.actions .btn {
  min-height: 32px;
  min-width: 0;
  width: 100%;
  padding: .32rem 1.15rem;
  font-size: .78rem;
}

.btn:hover { filter: brightness(1.06); text-decoration: none; }

.btn--primary {
  background: #1fa876;
  color: #f3fffa;
  border-color: #178a60;
}

.btn--gold {
  background: #c9a227;
  color: #1c1504;
  border-color: #b08e1d;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand-row {
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 40px;
  width: auto;
  max-width: 11rem;
}

.nav svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.menu-toggle {
  width: var(--tap);
  height: var(--tap);
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  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(--text);
  border-radius: 10px;
  text-decoration: none;
}

.nav a[aria-current="page"],
.nav a:hover { background: var(--card); color: var(--accent); }

.hero {
  padding: .85rem 0 0;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--surface);
}

.hero-slider__track {
  display: flex;
  transition: transform .55s ease;
}

.hero-slider__slide {
  flex: 0 0 100%;
  min-width: 0;
}

.hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 1342 / 428;
  object-fit: cover;
}

.hero-slider__btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(5 13 19 / .55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-slider__btn:hover {
  background: rgb(5 13 19 / .78);
  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: 2;
  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: rgb(255 255 255 / .5);
  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 {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  min-width: 0;
  aspect-ratio: 1342 / 428;
  background: var(--card);
  border: 1px solid var(--line);
}

.promo h3 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  padding: .55rem .5rem .6rem;
  font-size: clamp(.85rem, 2.2vw, 1.05rem);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.25;
  text-align: center;
  color: #fff;
  background: rgb(0 0 0 / .62);
}

.jackpot {
  position: relative;
  padding: .85rem 1rem;
  margin-top: 1rem;
  margin-bottom: .45rem;
  text-align: center;
}

.jackpot-border {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.jackpot-run {
  animation: jackpot-run 4s linear infinite;
}

@keyframes jackpot-run {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -100; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider__track { transition: none; }
  .jackpot-run { animation: none; }
}

.jackpot h2 {
  margin: 0 0 .35rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--muted);
}

.jackpot p {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  font-weight: 700;
  color: var(--gold);
}

.games {
  padding: 0 0 .45rem;
}

.games h2,
.providers h2,
.deposit h2 {
  margin: 0 0 .65rem;
  font-size: clamp(1.35rem, 3.2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
  text-align: center;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
}

.game {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  min-width: 0;
  aspect-ratio: 1 / 1;
  background: var(--card);
  border: 1px solid var(--line);
}

.promo img,
.game img,
.live-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game h3,
.game h4 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: .5rem .4rem .55rem;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  color: #fff;
  background: rgb(0 0 0 / .62);
}

.game-pick {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.game-play {
  position: absolute;
  top: 50%;
  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: #1c1504;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
}

.game.is-open .game-pick { background: rgb(0 0 0 / .45); }
.game.is-open .game-play { display: grid; place-items: center; }
.game-play: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: 42px;
  padding: .45rem .25rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-size: clamp(.58rem, 1.7vw, .78rem);
  font-weight: 700;
  letter-spacing: .02em;
  text-align: center;
}

.provider:hover,
.deposit-item:hover { border-color: #3d6a7a; }

.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: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  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: .9rem 1rem 1.1rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.about h1 {
  margin: 0 0 .85rem;
  font-size: clamp(1.4rem, 3.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.page-heading-bar {
  padding: .3rem 0 .75rem;
}

.page-heading {
  margin: 0;
  text-align: center;
  font-size: clamp(1.38rem, 3.5vw, 1.8rem);
  font-weight: 700;
  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 {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  min-width: 0;
  aspect-ratio: 350 / 202;
  background: var(--card);
  border: 1px solid var(--line);
}

.live-card h3 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  padding: .5rem .35rem .55rem;
  font-size: clamp(.58rem, 1.7vw, .8rem);
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.2;
  text-align: center;
  color: #fff;
  background: rgb(0 0 0 / .62);
}

.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(--muted);
}

.about p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
}

.about p:last-child { margin-bottom: 0; }

.about-brand {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}

.about-brand:hover {
  color: #f0d36a;
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #050d13;
  padding: .85rem 0;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@media (min-width: 48rem) {
  .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 h3,
  .game h4 { font-size: .78rem; }
}

@media (min-width: 70rem) {
  .nav {
    gap: .55rem;
  }
  .nav a {
    padding: .35rem .55rem;
    font-size: .9rem;
  }
}
