:root {
  --bg: #030806;
  --bg-soft: #07130d;
  --green: #103f27;
  --green-bright: #2bd17f;
  --gold: #ffd679;
  --gold-deep: #c68b24;
  --text: #f6fff9;
  --muted: #a7b9ad;
  --glass: rgba(13, 34, 23, 0.72);
  --stroke: rgba(255, 214, 121, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(43, 209, 127, 0.18), transparent 34rem),
    radial-gradient(circle at 78% 0, rgba(255, 214, 121, 0.16), transparent 26rem),
    linear-gradient(180deg, #06100b 0%, var(--bg) 44%, #020403 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

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

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

.site-header,
.page-layout,
.site-footer {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.page-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

main {
  min-width: 0;
}

.page-glow {
  position: fixed;
  z-index: -2;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.22;
  pointer-events: none;
}

.page-glow-left {
  left: -180px;
  top: 18%;
  background: var(--green-bright);
}

.page-glow-right {
  right: -160px;
  top: 45%;
  background: var(--gold);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(4, 12, 8, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  width: 49px;
  height: 34px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-login {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.04);
  transition: color 0.18s ease, background 0.18s ease;
}

.header-login:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
}

/* ── Sidebar navigation ─────────────────────────────── */

.side-nav {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(4, 12, 8, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.side-nav a {
  display: block;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  background: rgba(255, 255, 255, 0.04);
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.side-nav a:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.09);
}

.side-nav .side-cta {
  border-color: rgba(255, 214, 121, 0.38);
  color: #221603;
  background: linear-gradient(135deg, #fff0a8 0%, var(--gold) 42%, #e6a022 100%);
  box-shadow: 0 8px 22px rgba(255, 214, 121, 0.2);
}

.side-nav .side-cta:hover {
  color: #221603;
  border-color: rgba(255, 214, 121, 0.6);
  background: linear-gradient(135deg, #fff6bf 0%, #ffd679 42%, #f0ad2b 100%);
}

.side-nav a.active {
  border-color: rgba(255, 214, 121, 0.45);
  color: var(--gold);
  background: rgba(255, 214, 121, 0.1);
}

.side-nav .side-cta.active {
  box-shadow: 0 8px 32px rgba(255, 214, 121, 0.38);
}

/* ── Inner page hero ─────────────────────────────────── */

.page-hero {
  margin-top: 28px;
  margin-bottom: 36px;
  padding: 52px 52px 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 38px;
  background:
    linear-gradient(120deg, rgba(2, 8, 5, 0.96) 0%, rgba(6, 22, 12, 0.84) 55%, rgba(4, 18, 11, 0.4) 100%),
    url("header-bg.webp") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.page-hero .eyebrow {
  margin-bottom: 14px;
}

.page-hero h1 {
  max-width: 780px;
  margin-bottom: 18px;
}

.page-hero p {
  max-width: 640px;
  color: #d2e6d8;
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 32px;
}

/* ── Info grid ───────────────────────────────────────── */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 42px;
}

.info-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 44px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.info-card .feature-icon {
  margin-bottom: 18px;
}

.info-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.info-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ── Steps list ──────────────────────────────────────── */

.steps {
  display: grid;
  gap: 14px;
  margin-bottom: 42px;
}

.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #1a1202;
  font-size: 18px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), #e6a022);
  flex-shrink: 0;
}

.step-body h3 {
  margin-bottom: 6px;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.step-body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ── Promo codes ─────────────────────────────────────── */

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

.promo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 26px;
  border: 1px solid rgba(255, 214, 121, 0.2);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 214, 121, 0.06), rgba(255, 214, 121, 0.01)),
    var(--glass);
  backdrop-filter: blur(18px);
}

.promo-info h3 {
  margin-bottom: 4px;
  font-size: 18px;
  letter-spacing: -0.04em;
}

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

.promo-code {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px dashed rgba(255, 214, 121, 0.45);
  border-radius: 12px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: rgba(255, 214, 121, 0.06);
  cursor: pointer;
  transition: background 0.18s;
  white-space: nowrap;
}

.promo-code:hover {
  background: rgba(255, 214, 121, 0.12);
}

@media (max-width: 980px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: 34px 20px 28px;
    border-radius: 28px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 1fr;
  }

  .promo-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  color: #231602;
  background: linear-gradient(135deg, #fff0a8 0%, var(--gold) 34%, #f5b53e 70%, var(--gold-deep) 100%);
  box-shadow: 0 14px 34px rgba(255, 214, 121, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.btn-ghost {
  border: 1px solid rgba(255, 214, 121, 0.24);
  color: var(--gold);
  background: rgba(255, 214, 121, 0.06);
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.btn-wide {
  width: 100%;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  min-height: 620px;
  margin-top: 28px;
  padding: 74px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 38px;
  background:
    linear-gradient(90deg, rgba(2, 8, 5, 0.94) 0%, rgba(4, 16, 10, 0.84) 47%, rgba(4, 18, 11, 0.35) 100%),
    url("header-bg.webp") center / cover no-repeat;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero::after {
  position: absolute;
  inset: auto -10% -22% 32%;
  height: 260px;
  content: "";
  background: radial-gradient(ellipse at center, rgba(255, 214, 121, 0.22), transparent 64%);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 38%, rgba(43, 209, 127, 0.16)),
    radial-gradient(circle at 85% 20%, rgba(255, 214, 121, 0.28), transparent 20rem);
  pointer-events: none;
}

.hero-content,
.bonus-card {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot,
.pulse {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green-bright);
  box-shadow: 0 0 0 7px rgba(43, 209, 127, 0.13), 0 0 22px rgba(43, 209, 127, 0.85);
}

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

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.hero-text {
  max-width: 610px;
  margin-bottom: 32px;
  color: #d2e6d8;
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-stats {
  margin-top: 42px;
}

.hero-stats div {
  min-width: 150px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.hero-stats strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.bonus-card {
  align-self: end;
  padding: 24px;
  border: 1px solid var(--stroke);
  border-radius: 30px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03)),
    rgba(6, 22, 13, 0.72);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(20px);
}

.bonus-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.bonus-card-top strong {
  color: var(--gold);
}

.bonus-ring {
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
  margin: 28px auto;
  border: 1px solid rgba(255, 214, 121, 0.36);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 214, 121, 0.18), transparent 58%),
    conic-gradient(from 20deg, var(--gold), var(--green-bright), #102718, var(--gold));
  box-shadow: 0 0 52px rgba(255, 214, 121, 0.18);
}

.bonus-ring span {
  display: grid;
  place-items: center;
  width: 138px;
  height: 138px;
  border-radius: inherit;
  color: var(--gold);
  font-size: 42px;
  font-weight: 900;
  background: #06110b;
}

.bonus-card p {
  color: #c7d9cd;
  line-height: 1.6;
}

.quick-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 22px 0 54px;
}

.quick-nav a,
.feature-card,
.game-card,
.wins-panel,
.seo-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.025)),
    var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 18px 44px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.quick-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 16px;
  border-radius: 22px;
  color: #edf8f1;
  font-weight: 900;
}

.quick-nav span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #101006;
  font-size: 12px;
  background: linear-gradient(135deg, var(--gold), #f2ad31);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 58px;
}

.feature-card {
  padding: 28px;
  border-radius: 28px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  background: rgba(255, 214, 121, 0.1);
}

.feature-card h2,
.section-heading h2,
.live-copy h2,
.seo-card h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.feature-card h2 {
  font-size: 24px;
}

.feature-card p,
.live-copy p,
.seo-card p {
  color: var(--muted);
  line-height: 1.65;
}

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

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

.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.game-card {
  position: relative;
  min-height: 214px;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transform: translateZ(0);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.game-card:hover {
  border-color: rgba(255, 214, 121, 0.42);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(255, 214, 121, 0.12);
  transform: translateY(-6px);
}

.game-card img {
  width: 100%;
  height: 100%;
  min-height: 214px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.game-card:hover img {
  transform: scale(1.06);
}

.game-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 34%, rgba(2, 7, 4, 0.94) 100%);
}

.game-info {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 1;
}

.game-info span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #1a1202;
  font-size: 11px;
  font-weight: 900;
  background: var(--gold);
}

.game-info h3 {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.18;
}

.live-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 26px;
  margin: 68px 0;
  align-items: center;
}

.live-copy {
  max-width: 470px;
}

.wins-panel {
  padding: 20px;
  border-radius: 30px;
}

.wins-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wins-list {
  display: grid;
  gap: 10px;
}

.win-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.2);
  animation: winEnter 0.45s ease both;
}

.win-player {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.win-player strong {
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.win-player span {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.win-amount {
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
}

.seo-card {
  margin-bottom: 54px;
  padding: 34px;
  border-radius: 30px;
}

.seo-card p {
  max-width: 960px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 44px;
  color: var(--muted);
}

.footer-logo {
  width: 49px;
  height: 34px;
  margin-bottom: 10px;
}

.site-footer p {
  margin-bottom: 0;
}

@keyframes winEnter {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .page-layout {
    grid-template-columns: 1fr;
  }

  .side-nav {
    position: static;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 7px;
    overflow-x: auto;
    padding: 12px;
    border-radius: 20px;
    scrollbar-width: none;
  }

  .side-nav::-webkit-scrollbar {
    display: none;
  }

  .side-nav a {
    flex-shrink: 0;
    padding: 10px 14px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .hero,
  .live-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 46px 28px;
  }

  .bonus-card {
    align-self: stretch;
  }

  .quick-nav,
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .page-layout,
  .site-footer {
    width: min(100% - 20px, 1280px);
  }

  .site-header {
    border-radius: 20px;
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: auto;
    margin-top: 14px;
    padding: 34px 18px 22px;
    border-radius: 28px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    margin-top: 26px;
  }

  .hero-stats div {
    flex: 1 1 100%;
  }

  .quick-nav {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 38px;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

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

  .section-heading,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .win-item {
    grid-template-columns: 1fr;
  }

  .win-amount {
    justify-self: start;
  }
}
