:root {
  color-scheme: dark;
  --bg: #07160f;
  --bg-deep: #050b10;
  --ink: #f7f5ea;
  --muted: #b8c7bd;
  --gold: #ffd45a;
  --gold-deep: #ba7317;
  --emerald: #00d485;
  --teal: #20b7c8;
  --ruby: #ff4f66;
  --line: rgba(255, 255, 255, .14);
  --panel: rgba(9, 28, 25, .76);
  --shadow: rgba(0, 0, 0, .42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg-deep);
  color: var(--ink);
}

body::selection {
  background: rgba(255, 212, 90, .35);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 11, 12, .82);
  backdrop-filter: blur(18px);
}

.nav-shell,
.content-shell,
.hero-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 0 22px rgba(0, 212, 133, .42);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--gold);
}

.nav-action,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.nav-action {
  padding: 0 16px;
  color: #241505;
  background: linear-gradient(180deg, #fff0a1, var(--gold) 48%, #d98c1b);
  box-shadow: inset 0 -2px 0 rgba(72, 36, 0, .35), 0 10px 24px rgba(255, 165, 31, .22);
}

.hero {
  min-height: calc(100vh - 74px);
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 12, 10, .96) 0%, rgba(4, 12, 10, .7) 42%, rgba(4, 12, 10, .3) 100%),
    url("/assets/bg-hall.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(5, 11, 16, .88)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 160px);
  pointer-events: none;
}

.hero-shell {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .8fr);
  align-items: center;
  gap: 52px;
  padding: 64px 0 88px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 0 22px;
  max-width: 820px;
  font-size: clamp(58px, 10vw, 128px);
  line-height: .88;
  letter-spacing: 0;
  text-shadow: 0 8px 0 rgba(0, 0, 0, .34), 0 0 26px rgba(255, 212, 90, .22);
}

h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.lead,
.section-copy {
  margin: 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  min-width: 160px;
  padding: 0 22px;
  border: 1px solid var(--line);
}

.button.primary {
  color: #211300;
  border: 0;
  background: linear-gradient(180deg, #fff5b8, var(--gold) 42%, var(--gold-deep));
  box-shadow: inset 0 -2px 0 rgba(72, 36, 0, .35), 0 16px 38px rgba(255, 191, 45, .24);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, .08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 42px 0 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 20, 18, .66);
}

.hero-stats dt {
  margin: 0 0 5px;
  color: var(--gold);
  font-size: 27px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.showcase {
  justify-self: end;
  width: min(430px, 100%);
}

.device {
  min-height: 620px;
  border: 1px solid rgba(255, 212, 90, .35);
  border-radius: 28px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 212, 90, .12), rgba(0, 212, 133, .08)),
    url("/assets/bg-login.png") center / cover no-repeat;
  box-shadow: 0 36px 90px var(--shadow), inset 0 0 0 8px rgba(0, 0, 0, .22);
  overflow: hidden;
}

.device-top {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(1, 12, 12, .68);
  border: 1px solid var(--line);
}

.device-top img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.device-top b,
.device-top span {
  display: block;
}

.device-top span {
  color: var(--muted);
  font-size: 13px;
}

.device-top strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
}

.device-top strong img {
  width: 22px;
  height: 22px;
}

.jackpot-panel {
  margin: 24px 0;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 212, 90, .34);
  background: linear-gradient(135deg, rgba(95, 27, 39, .72), rgba(16, 64, 48, .72));
}

.jackpot-panel span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.jackpot-panel b {
  display: block;
  margin-top: 6px;
  color: var(--gold);
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1;
}

.reel-strip,
.device-grid {
  display: grid;
  gap: 12px;
}

.reel-strip {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 14px;
}

.device-grid {
  grid-template-columns: repeat(2, 1fr);
}

.reel-strip img,
.device-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(0, 0, 0, .24);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 7px;
}

.band {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.content-shell {
  padding: 88px 0;
}

.intro-band {
  background: linear-gradient(180deg, #050b10, #071712);
}

.split {
  display: grid;
  grid-template-columns: .76fr 1.24fr;
  gap: 42px;
  align-items: start;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-list article,
.game-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}

.feature-list article {
  min-height: 210px;
  padding: 22px;
}

.feature-list span {
  color: var(--teal);
  font-weight: 900;
}

.feature-list h3 {
  margin: 18px 0 10px;
}

.feature-list p,
.safety p {
  margin: 0;
  color: var(--muted);
  line-height: 1.56;
}

.games-band {
  background:
    linear-gradient(180deg, rgba(7, 23, 18, .96), rgba(5, 11, 16, .98)),
    url("/assets/bg-hall.png") center / cover fixed no-repeat;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.text-link {
  color: var(--gold);
  font-weight: 900;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.game-card {
  min-height: 184px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 212, 90, .58);
  background: rgba(21, 53, 41, .88);
}

.game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(0, 0, 0, .22);
  padding: 6px;
}

.game-card strong {
  margin-top: 10px;
  min-height: 36px;
  display: flex;
  align-items: end;
  font-size: 14px;
  line-height: 1.2;
}

.game-card span {
  margin-top: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.jackpot-band {
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 79, 102, .18), transparent 30%),
    linear-gradient(180deg, #060b11, #0b1915);
}

.jackpot-layout {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 54px;
  align-items: center;
}

.jackpot-art {
  min-height: 330px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 212, 90, .25);
  background: radial-gradient(circle, rgba(255, 212, 90, .12), rgba(0, 212, 133, .08) 40%, rgba(0, 0, 0, .22));
}

.jackpot-art img {
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, .5));
}

.safety {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 42px;
  align-items: start;
}

footer {
  border-top: 1px solid var(--line);
  background: #04090d;
}

.footer-shell {
  min-height: 88px;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1040px) {
  .hero-shell,
  .split,
  .jackpot-layout,
  .safety {
    grid-template-columns: 1fr;
  }

  .showcase {
    justify-self: start;
  }

  .game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .nav-shell,
  .content-shell,
  .hero-shell {
    width: min(100% - 22px, 1180px);
  }

  .hero-shell {
    gap: 34px;
    padding: 46px 0 72px;
  }

  .hero-stats,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .device {
    min-height: 540px;
    border-radius: 20px;
  }

  .content-shell {
    padding: 68px 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand span {
    display: none;
  }

  .nav-action {
    padding: 0 12px;
    font-size: 13px;
  }

  .button {
    width: 100%;
  }

  .game-card {
    min-height: 168px;
  }
}
