:root {
  --color-bg: #0f0f1a;
  --color-bg-deep: #090914;
  --color-surface: rgba(255, 255, 255, 0.065);
  --color-surface-strong: rgba(255, 255, 255, 0.105);
  --color-text: #ffffff;
  --color-muted: rgba(255, 255, 255, 0.72);
  --color-soft: rgba(255, 255, 255, 0.54);
  --color-accent: #00d4ff;
  --color-accent-ink: #061018;
  --font-primary: "Plus Jakarta Sans", sans-serif;
  --font-secondary: "Plus Jakarta Sans", sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 212, 255, 0.13), transparent 28rem),
    linear-gradient(180deg, var(--color-bg), var(--color-bg-deep));
  color: var(--color-text);
  font-family: var(--font-primary);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  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: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  background: rgba(15, 15, 26, 0.82);
  border-bottom: 1px solid rgba(0, 212, 255, 0.18);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.header-inner,
.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-weight: 900;
}

.brand span:last-child {
  color: var(--color-accent);
}

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

.nav-links a:hover,
.footer-links a:hover {
  color: var(--color-accent);
}

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

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 212, 255, 0.58);
  padding: 11px 18px;
  font-weight: 800;
  line-height: 1;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-accent-ink);
  border-color: var(--color-accent);
  box-shadow: 0 2px 16px rgba(0, 212, 255, 0.22);
}

.btn-primary:hover {
  background: #5ce8ff;
  box-shadow: 0 4px 28px rgba(0, 212, 255, 0.42);
}

.btn-secondary {
  color: var(--color-accent);
  background: rgba(0, 212, 255, 0.04);
}

.btn-secondary:hover {
  background: rgba(0, 212, 255, 0.12);
}

.mobile-auth-bar {
  display: none;
}

main {
  padding-top: 72px;
}

.hero {
  min-height: calc(100dvh - 72px);
  display: grid;
  align-items: center;
  padding: 56px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 44px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--color-accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.1rem, 8vw, 6.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.24rem;
}

.lead {
  max-width: 57ch;
  margin: 20px 0 28px;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.hero-media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.22);
  background: var(--color-surface);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

section {
  padding: 76px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head p,
.card p,
.feature p,
.auth-card p,
.legal-note {
  color: var(--color-muted);
}

.bonus-panel,
.auth-card,
.official-panel {
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.13), transparent 46%),
    var(--color-surface);
  padding: clamp(24px, 5vw, 44px);
  box-shadow: var(--shadow);
}

.bonus-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.bonus-value {
  color: var(--color-accent);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 0.98;
}

.metric-grid,
.promo-grid,
.game-grid,
.payment-grid,
.ratings-grid,
.page-card-grid {
  display: grid;
  gap: 16px;
}

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

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

.promo-grid .card:first-child {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.game-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.payment-grid,
.ratings-grid,
.page-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.feature,
.method,
.rating,
.mini-card {
  border: 1px solid rgba(0, 212, 255, 0.16);
  border-radius: var(--radius);
  background: var(--color-surface);
  padding: 20px;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.card:hover,
.feature:hover,
.mini-card:hover {
  border-color: rgba(0, 212, 255, 0.38);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 212, 255, 0.07);
}

.card strong,
.feature strong,
.method strong,
.rating strong,
.mini-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--color-text);
}

.mini-card {
  display: block;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.tab {
  border: 1px solid rgba(0, 212, 255, 0.28);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--color-accent);
  font-weight: 800;
  transition: background 200ms ease, border-color 200ms ease;
}

.tab:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.5);
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.provider-grid span,
.badge-row span {
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.095);
  border: 1px solid rgba(0, 212, 255, 0.14);
  padding: 10px;
  color: var(--color-muted);
  font-weight: 700;
  text-align: center;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.provider-grid span:hover {
  background: rgba(0, 212, 255, 0.16);
  border-color: rgba(0, 212, 255, 0.32);
  color: var(--color-text);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid rgba(0, 212, 255, 0.16);
  border-radius: var(--radius);
  background: var(--color-surface);
  padding: 18px 20px;
  transition: border-color 200ms ease;
}

details:hover {
  border-color: rgba(0, 212, 255, 0.3);
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  margin: 12px 0 0;
  color: var(--color-muted);
}

.site-footer {
  border-top: 1px solid rgba(0, 212, 255, 0.16);
  padding: 34px 0;
  background: rgba(9, 9, 20, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--color-muted);
}

.legal-note {
  max-width: 820px;
  margin: 18px 0 0;
  font-size: 0.92rem;
}

.section-surface {
  background: rgba(0, 212, 255, 0.018);
}

.popup {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  place-items: center;
  padding: 20px;
}

.popup.active {
  display: grid;
}

.popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.popup-card {
  position: relative;
  width: min(420px, 100%);
  border: 1px solid rgba(0, 212, 255, 0.52);
  border-radius: 16px;
  background: #111124;
  padding: 32px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 1.8rem;
  cursor: pointer;
}

.popup-card .btn {
  width: 100%;
  margin-top: 16px;
}

.page-hero {
  padding: 128px 0 54px;
}

.page-hero .lead {
  max-width: 720px;
}

.split {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 28px;
  align-items: center;
}

.auth-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 28px;
  align-items: start;
}

.security-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.security-list li {
  border-left: 3px solid var(--color-accent);
  padding-left: 14px;
  color: var(--color-muted);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media,
  .bonus-panel,
  .auth-card {
    animation: rise 560ms ease both;
  }

  .popup.active .popup-card {
    animation: popup-in 260ms ease both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popup-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 920px) {
  .nav-links,
  .header-actions {
    display: none;
  }

  .site-header {
    top: 44px;
  }

  .mobile-auth-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    display: grid;
    width: 100%;
    height: 44px;
    grid-template-columns: 1fr 1fr;
    background: #101020;
    border-bottom: 1px solid rgba(0, 212, 255, 0.22);
  }

  .mobile-auth-bar a {
    display: grid;
    place-items: center;
    font-weight: 900;
  }

  .mobile-auth-bar a:first-child {
    color: var(--color-accent);
    border-right: 1px solid rgba(0, 212, 255, 0.34);
  }

  .mobile-auth-bar a:last-child {
    color: var(--color-accent-ink);
    background: var(--color-accent);
  }

  main {
    padding-top: 116px;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-grid,
  .bonus-panel,
  .game-grid,
  .split,
  .auth-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 11ch;
  }

  .promo-grid,
  .payment-grid,
  .ratings-grid,
  .page-card-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .promo-grid .card:first-child {
    grid-row: span 1;
    flex-direction: column;
    justify-content: flex-start;
  }

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

@media (max-width: 560px) {
  .header-inner,
  .section-inner {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    height: 64px;
  }

  main {
    padding-top: 108px;
  }

  .hero-grid {
    gap: 26px;
  }

  h1 {
    font-size: clamp(2.75rem, 16vw, 4.2rem);
  }

  section {
    padding: 54px 0;
  }

  .hero-actions,
  .auth-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

.bonus-redirect-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.bonus-redirect {
  width: min(420px, calc(100% - 32px));
  padding: 32px;
  text-align: center;
  border-radius: var(--radius);
  background: var(--color-surface);
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: var(--shadow);
}

.bonus-redirect h1 {
  margin: 12px 0 8px;
  font-size: 1.75rem;
}

.bonus-redirect .lead {
  margin: 0;
  color: var(--color-muted);
}
