:root {
  --bg: #03060c;
  --panel: rgba(8, 14, 25, 0.82);
  --panel-strong: rgba(11, 18, 31, 0.96);
  --line: rgba(122, 156, 206, 0.22);
  --text: #f4f7ff;
  --muted: #a5b0c4;
  --green: #9cff2e;
  --cyan: #00e6ff;
  --purple: #8b35ff;
  --gold: #ffd45c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 230, 255, 0.14), transparent 34rem),
    linear-gradient(180deg, #020409 0%, #050914 46%, #03060c 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 74%);
}

button,
a {
  font: inherit;
}

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

.topbar,
.hero-inner,
.jackpot-bar,
.games-section,
.conversion-grid,
.proof-section,
.wins-section,
.footer {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 12px 14px;
  border: 1px solid rgba(122, 156, 206, 0.16);
  border-radius: 18px;
  background: rgba(3, 6, 12, 0.68);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #06100b;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 0 24px rgba(0, 230, 255, 0.34);
}

.nav-links {
  display: flex;
  gap: 28px;
  color: #cbd5e5;
  font-size: 0.88rem;
  font-weight: 800;
}

.nav-links .active,
.nav-links a:hover {
  color: var(--green);
}

.account-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid rgba(156, 255, 46, 0.55);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(0, 230, 255, 0.18);
}

.btn.primary {
  border: 0;
  color: #06100b;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 14px 34px rgba(0, 230, 255, 0.22);
}

.btn.glass {
  background: rgba(3, 6, 12, 0.42);
  backdrop-filter: blur(12px);
}

/* Symmetrical buttons for account actions */
.account-actions .btn.ghost,
.account-actions .btn.primary {
  border-radius: 10px;
  min-height: 46px;
  padding: 0 28px;
  font-weight: 900;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 160ms ease;
}

.account-actions .btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(156, 255, 46, 0.4);
}

.account-actions .btn.ghost:hover {
  background: rgba(156, 255, 46, 0.15);
  border-color: var(--green);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(156, 255, 46, 0.2);
}

.account-actions .btn.primary {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #06100b;
  box-shadow: 0 8px 24px rgba(0, 230, 255, 0.25);
}

.account-actions .btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(0, 230, 255, 0.35);
}

.btn.large {
  min-height: 56px;
  padding-inline: 30px;
}

.hero {
  position: relative;
  min-height: 780px;
  margin-top: -98px;
  overflow: hidden;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2, 4, 9, 0.98) 0%, rgba(2, 4, 9, 0.86) 32%, rgba(2, 4, 9, 0.28) 66%, rgba(2, 4, 9, 0.72) 100%),
    linear-gradient(180deg, rgba(2, 4, 9, 0.54) 0%, rgba(2, 4, 9, 0.16) 46%, #03060c 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) 380px;
  align-items: end;
  gap: 42px;
  min-height: 780px;
  padding: 170px 0 92px;
}

.hero-copy {
  max-width: 650px;
}

.offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 212, 92, 0.34);
  border-radius: 999px;
  background: rgba(255, 212, 92, 0.08);
}

.offer-pill span,
.eyebrow,
.tag {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.offer-pill strong {
  color: #fff2c7;
  font-size: 0.82rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Space Grotesk", Inter, sans-serif;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(4rem, 8vw, 7.2rem);
  line-height: 0.86;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 600px;
  color: #dce5f4;
  font-size: 1.2rem;
  line-height: 1.72;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row span,
.cashier-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(122, 156, 206, 0.18);
  border-radius: 999px;
  background: rgba(8, 14, 25, 0.62);
  color: #d6dfef;
  font-size: 0.86rem;
  font-weight: 800;
}

svg {
  width: 19px;
  height: 19px;
  color: var(--green);
}

.hero-card {
  padding: 24px;
  border: 1px solid rgba(0, 230, 255, 0.36);
  border-radius: 18px;
  background: rgba(4, 8, 16, 0.72);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42), 0 0 30px rgba(0, 230, 255, 0.14);
  backdrop-filter: blur(16px);
}

.hero-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  margin: 8px 0 20px;
  color: var(--cyan);
  font-family: "Space Mono", monospace;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.hero-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.hero-card-grid span {
  min-height: 70px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  text-transform: none;
}

.hero-card-grid b {
  display: block;
  color: var(--text);
  font-family: "Space Mono", monospace;
}

.jackpot-bar {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.75fr;
  gap: 18px;
  margin-top: -52px;
  padding: 18px;
  border: 1px solid rgba(0, 230, 255, 0.48);
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(139, 53, 255, 0.18), rgba(0, 230, 255, 0.13), rgba(156, 255, 46, 0.1));
  box-shadow: 0 0 42px rgba(0, 230, 255, 0.14);
}

.jackpot-bar div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 0 18px;
}

.jackpot-bar span {
  color: #d8e1ef;
  font-weight: 900;
  text-transform: uppercase;
}

.jackpot-bar strong {
  color: var(--cyan);
  font-family: "Space Mono", monospace;
  font-size: clamp(1.1rem, 2.4vw, 2rem);
}

.jackpot-bar .gold {
  color: var(--gold);
}

.games-section,
.conversion-grid,
.proof-section,
.wins-section {
  padding-top: 82px;
}

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

.section-head.centered {
  justify-content: center;
  text-align: center;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.04;
}

.tabs {
  display: inline-flex;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(122, 156, 206, 0.18);
  border-radius: 12px;
  background: rgba(8, 14, 25, 0.62);
}

.tabs button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  color: #cbd5e5;
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.tabs .active {
  color: #06100b;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.games-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 18px;
}

.feature-game,
.game-card,
.promo-card,
.vip-card,
.cashier-card,
.wins-section {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26);
}

.feature-game {
  position: relative;
  overflow: hidden;
  min-height: 640px;
}

.feature-game img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-game::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(3, 6, 12, 0.94) 100%);
}

.feature-game > div {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 2;
}

.feature-game h3 {
  margin: 10px 0;
  font-size: 2.35rem;
}

.feature-game p {
  color: #d9e2f0;
  line-height: 1.6;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.game-card {
  padding: 12px 12px 18px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 230, 255, 0.55);
}

.game-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3.65;
  border-radius: 12px;
  object-fit: cover;
}

.game-card h3 {
  margin: 14px 0 7px;
  font-size: 1.02rem;
}

.game-card p,
.game-card span,
.footer p,
.footer a {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.conversion-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr 0.9fr;
  gap: 18px;
}

.promo-card,
.vip-card,
.cashier-card {
  min-height: 360px;
  padding: 30px;
}

.promo-card {
  background:
    radial-gradient(circle at 20% 10%, rgba(156, 255, 46, 0.16), transparent 13rem),
    var(--panel);
}

.vip-card {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 6, 12, 0.88), rgba(3, 6, 12, 0.6)),
    url("assets/hero-premium.png") center / cover;
}

.cashier-card {
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 230, 255, 0.16), transparent 12rem),
    var(--panel);
}

.conversion-grid p {
  color: #d2dbea;
  line-height: 1.65;
}

.vip-levels,
.cashier-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0 28px;
}

.vip-levels span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 212, 92, 0.28);
  border-radius: 999px;
  color: #fff2c7;
  background: rgba(255, 212, 92, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 14, 25, 0.46);
}

.proof-grid article {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 28px 18px;
  text-align: center;
  border-right: 1px solid rgba(122, 156, 206, 0.15);
}

.proof-grid article:last-child {
  border-right: 0;
}

.proof-grid strong {
  text-transform: uppercase;
}

.proof-grid span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.wins-section {
  margin-bottom: 82px;
  padding: 30px;
}

.live-dot {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.winner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.winner-grid article {
  padding: 18px;
  border: 1px solid rgba(122, 156, 206, 0.24);
  border-radius: 14px;
  background: rgba(3, 6, 12, 0.44);
}

.winner-grid .featured {
  border-color: rgba(0, 230, 255, 0.72);
  box-shadow: 0 0 30px rgba(139, 53, 255, 0.24);
}

.winner-grid span,
.winner-grid small {
  display: block;
  color: #cbd5e5;
}

.winner-grid strong {
  display: block;
  margin: 7px 0;
  color: var(--green);
  font-family: "Space Mono", monospace;
}

.footer {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
  gap: 42px;
  padding: 38px 0 48px;
  border-top: 1px solid rgba(122, 156, 206, 0.18);
}

.footer h3 {
  margin: 0 0 15px;
  color: #d9e2ef;
  font-size: 0.92rem;
  text-transform: uppercase;
}

.footer a {
  display: block;
}

@media (max-width: 980px) {
  .topbar,
  .hero-inner,
  .jackpot-bar,
  .games-section,
  .conversion-grid,
  .proof-section,
  .wins-section,
  .footer {
    width: min(100% - 32px, 760px);
  }

  .topbar {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero-inner,
  .games-layout,
  .conversion-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 900px;
  }

  .hero-inner {
    align-items: end;
    min-height: 900px;
    padding-bottom: 80px;
  }

  .hero-bg {
    object-position: 67% center;
  }

  .hero-card {
    max-width: 520px;
  }

  .jackpot-bar,
  .proof-grid,
  .winner-grid,
  .footer {
    grid-template-columns: 1fr 1fr;
  }

  .feature-game {
    min-height: 520px;
  }
}

@media (max-width: 620px) {
  .topbar,
  .hero-inner,
  .jackpot-bar,
  .games-section,
  .conversion-grid,
  .proof-section,
  .wins-section,
  .footer {
    width: min(100% - 24px, 520px);
  }

  .topbar {
    top: 0;
    border-radius: 0 0 16px 16px;
  }

  .brand {
    width: 100%;
  }

  .account-actions {
    width: 100%;
  }

  .account-actions .btn {
    flex: 1;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    font-size: 0.76rem;
    gap: 8px;
    text-align: center;
  }

  .nav-links a {
    min-width: 0;
  }

  .hero {
    min-height: 920px;
    margin-top: -150px;
  }

  .hero-bg {
    object-position: 70% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(2, 4, 9, 0.86) 0%, rgba(2, 4, 9, 0.5) 42%, #03060c 100%),
      linear-gradient(90deg, rgba(2, 4, 9, 0.94), rgba(2, 4, 9, 0.58));
  }

  .hero-inner {
    min-height: 920px;
    padding-top: 250px;
    padding-bottom: 72px;
  }

  .offer-pill,
  .hero-actions,
  .trust-row,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  h1 {
    font-size: clamp(3.1rem, 16vw, 4.5rem);
  }

  .hero-lede {
    font-size: 1.05rem;
  }

  .hero-card-grid,
  .jackpot-bar,
  .game-grid,
  .proof-grid,
  .winner-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .jackpot-bar {
    margin-top: -34px;
  }

  .jackpot-bar div {
    padding: 0 6px;
  }

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

  .feature-game {
    min-height: 560px;
  }

  .game-card img {
    aspect-ratio: 4 / 4.7;
  }

  .proof-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(122, 156, 206, 0.15);
  }

  .proof-grid article:last-child {
    border-bottom: 0;
  }
}
