@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --gold: #ffcc00;
  --gold-soft: rgba(255, 204, 0, 0.12);
  --gold-glow: rgba(255, 204, 0, 0.22);
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(0, 0, 0, 0.55);
  --line: rgba(255, 255, 255, 0.09);
  --muted: rgba(255, 255, 255, 0.62);
  --radius: 14px;
  --shadow-sm: 0 2px 14px rgba(0, 0, 0, 0.28);
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.44);
  --font: 'Outfit', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(255, 204, 0, 0.09) 0%, transparent 38%),
    radial-gradient(ellipse at 8% 18%, rgba(255, 255, 255, 0.04) 0%, transparent 30%),
    linear-gradient(180deg, #0c0c0c 0%, #1c1c1c 48%, #0a0a0a 100%);
  color: #f0f0f0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
}

body.no-popup {
  min-height: 100dvh;
}

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

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ── Mobile action bar ── */
.mobile-action-bar {
  display: none;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 8, 8, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--gold);
  color: #0a0a0a;
  font-weight: 900;
  font-size: 1rem;
}

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

.nav-links a {
  transition: color 160ms ease;
}

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

.header-actions,
.button-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}

.btn-primary:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.18);
}

.btn-gold {
  background: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
  font-weight: 800;
}

.btn-gold:hover {
  box-shadow: 0 0 24px rgba(255, 204, 0, 0.38);
}

.btn-outline {
  background: transparent;
  color: #f0f0f0;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  color: #f0f0f0;
  border-color: rgba(255, 255, 255, 0.10);
}

/* ── Layout ── */
main {
  padding-top: 72px;
}

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

/* ── Typography ── */
h1, h2, h3 {
  font-family: var(--font);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 7.5vw, 6.4rem);
  font-weight: 900;
  margin-top: 20px;
  max-width: 720px;
}

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

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.gold-text {
  color: var(--gold);
}

.lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
  max-width: 58ch;
}

.eyebrow,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 204, 0, 0.32);
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* ── Hero ── */
.hero {
  width: min(1380px, calc(100% - 32px));
  min-height: calc(100dvh - 72px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  align-items: center;
  gap: 40px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero .lead {
  max-width: 52ch;
  font-size: 1.07rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
  max-width: 520px;
}

.mini-stat {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 200ms ease;
}

.mini-stat:hover {
  border-color: rgba(255, 204, 0, 0.28);
}

.mini-stat strong {
  display: block;
  color: var(--gold);
  font-size: 0.98rem;
  font-weight: 800;
}

.mini-stat span {
  color: var(--muted);
  font-size: 0.79rem;
}

.hero-media {
  position: relative;
  min-height: 540px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.52);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.22) 0%, transparent 42%),
    linear-gradient(0deg, rgba(0,0,0,0.50) 0%, transparent 50%);
}

.media-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  width: min(300px, calc(100% - 36px));
  padding: 16px;
  border: 1px solid rgba(255, 204, 0, 0.26);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.media-note strong {
  display: block;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.88rem;
}

.media-note span {
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.5;
}

/* ── Section headings ── */
.section-heading {
  margin-bottom: 36px;
}

.section-heading h2 {
  max-width: 560px;
}

.section-heading .lead {
  max-width: 56ch;
}

/* ── Cards ── */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.card:hover {
  border-color: rgba(255, 204, 0, 0.18);
  box-shadow: var(--shadow);
}

.card-padded {
  padding: 24px;
}

.bonus-card {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border-color: rgba(255, 204, 0, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 204, 0, 0.13) 0%, transparent 40%),
    var(--panel-strong);
  margin-bottom: 20px;
}

.bonus-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 999px;
  background: rgba(255, 204, 0, 0.16);
  filter: blur(32px);
  pointer-events: none;
}

.bonus-amount {
  position: relative;
  z-index: 1;
  margin: 16px 0;
  color: var(--gold);
  font-family: var(--font);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  align-items: baseline;
}

.feature-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--gold);
}

/* ── Promo / payment / rating cards ── */
.promo-card,
.payment-card,
.rating-card {
  padding: 24px;
}

.promo-card h3,
.payment-card h3,
.rating-card h3 {
  margin-bottom: 10px;
}

.promo-card p,
.payment-card p,
.rating-card p,
.article-card p,
.faq-answer {
  color: var(--muted);
  font-size: 0.94rem;
}

/* ── Grid ── */
.grid {
  display: grid;
  gap: 16px;
}

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

/* ── Tabs ── */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tab-btn {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.89rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.tab-btn:hover {
  color: #f0f0f0;
  border-color: rgba(255, 255, 255, 0.20);
}

.tab-btn.active {
  background: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
  font-weight: 700;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Providers & pills ── */
.provider-grid,
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.provider,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 600;
  transition: border-color 160ms ease, color 160ms ease;
}

.provider:hover,
.pill:hover {
  border-color: rgba(255, 204, 0, 0.38);
  color: #f0f0f0;
}

.game-showcase {
  margin-top: 20px;
}

/* ── App band ── */
.app-band {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 36px;
  align-items: center;
  padding: 36px 40px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 204, 0, 0.11) 0%, transparent 36%),
    rgba(0, 0, 0, 0.55);
  border-radius: var(--radius);
}

.phone-frame {
  max-width: 300px;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  background: #050505;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.52);
}

.phone-frame img {
  aspect-ratio: 9 / 14;
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
}

/* ── Rating ── */
.rating-number {
  color: var(--gold);
  font-family: var(--font);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 8px 0 6px;
}

/* ── FAQ ── */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 200ms ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.faq-item.active {
  border-color: rgba(255, 204, 0, 0.22);
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: #f0f0f0;
  font-family: var(--font);
  font-size: 0.97rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  display: none;
  margin: 0;
  padding: 0 20px 18px;
  font-size: 0.94rem;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ── Article layout ── */
.article-hero {
  min-height: 54dvh;
  padding-top: 112px;
  padding-bottom: 42px;
}

.article-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 24px;
  align-items: start;
}

.side-nav {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 8px;
  padding: 18px;
}

.side-nav a {
  color: var(--muted);
  font-size: 0.91rem;
  transition: color 160ms ease;
}

.side-nav a:hover {
  color: var(--gold);
}

.article-card {
  padding: 28px;
}

.article-card h2 {
  margin-top: 36px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.article-card h2:first-child {
  margin-top: 0;
}

.article-card h3 {
  margin-top: 24px;
  font-size: 1.32rem;
}

.article-card a:not(.btn) {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ── Error ── */
.error-main {
  min-height: calc(100dvh - 72px);
  display: grid;
  place-items: center;
  padding: 110px 16px 60px;
  text-align: center;
}

.error-code {
  color: var(--gold);
  font-family: var(--font);
  font-size: clamp(7rem, 18vw, 12rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.04em;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.78);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.disclaimer {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.40);
  font-size: 0.83rem;
  line-height: 1.65;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ── Popup ── */
.popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  place-items: center;
  padding: 18px;
}

.popup.active {
  display: grid;
}

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

.popup-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  background: #0e0e0e;
  box-shadow: 0 0 60px rgba(255, 204, 0, 0.16), 0 32px 64px rgba(0, 0, 0, 0.60);
  animation: popupIn 280ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 160ms ease;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ── Responsive: tablet ── */
@media (max-width: 980px) {
  .header-inner,
  .hero,
  .app-band,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .hero {
    padding: 52px 0 56px;
  }

  .hero-media {
    min-height: 400px;
  }

  .hero-media img {
    min-height: 400px;
  }

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

  .side-nav {
    position: static;
  }
}

/* ── Responsive: mobile ── */
@media (max-width: 768px) {
  body {
    padding-top: 44px;
  }

  main {
    padding-top: 72px;
  }

  .mobile-action-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 44px;
    background: #080808;
    border-bottom: 1px solid var(--line);
  }

  .mobile-action-bar a {
    display: grid;
    place-items: center;
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.9rem;
  }

  .mobile-action-bar .mob-login {
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--gold);
  }

  .mobile-action-bar .mob-register {
    background: var(--gold);
    color: #0a0a0a;
    font-weight: 800;
  }

  .site-header {
    top: 44px;
  }

  .header-inner {
    min-height: 60px;
  }

  .nav-links,
  .header-actions {
    display: none;
  }

  h1 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-meta,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .bonus-card,
  .card-padded,
  .article-card {
    padding: 22px;
  }

  .app-band {
    padding: 24px;
  }

  .button-row {
    align-items: stretch;
  }

  .button-row .btn {
    width: 100%;
  }
}
