/* MoneyMoon satellite template — base styles
   Palette and fonts taken from moneymoon23.casino (header #001029, CTA #00FF80, Onest + Inter). */
:root {
  --bg: #000a1c;
  --bg-2: #001029;
  --surface: #0a1f3d;
  --card: #0a1f3d;
  --surface-2: #10294d;
  --line: rgba(122, 162, 255, .16);
  --text: #ffffff;
  --text-2: #a9b8d6;
  --accent: #00ff80;
  --accent-ink: #002914;
  --accent-glow: rgba(0, 255, 128, .35);
  --violet: #8b5cff;
  --gold: #ffd25a;
  --radius: 12px;
  --wrap: 1200px;
  --font-head: "Onest", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg) radial-gradient(1200px 600px at 50% -10%, #12285a 0%, transparent 60%) no-repeat;
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  font-feature-settings: "calt" 0;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; color: var(--text-2); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head p { margin: 0; }
.link-more { color: var(--accent); font-weight: 600; white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: 6px;
  font: 700 15px/1 var(--font-body); border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:active {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 36px var(--accent-glow); }
.btn-ghost { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-ghost:hover,
.btn-ghost:focus,
.btn-ghost:focus-visible { background: rgba(0, 255, 128, .08); color: var(--accent); }
.btn-lg { min-height: 56px; padding: 0 40px; font-size: 17px; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0, 16, 41, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo img { width: 96px; height: auto; }
.nav { display: flex; gap: 22px; margin-right: auto; }
.nav a { font-weight: 600; font-size: 14px; color: var(--text-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.header-cta { display: flex; gap: 10px; }
.burger { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { position: relative; overflow: hidden; min-height: 520px; display: grid; place-items: center; text-align: center; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,10,28,0) 55%, var(--bg) 100%); }
.hero-char { position: absolute; bottom: 0; width: min(36vw, 460px); pointer-events: none; }
.hero-char.left { left: max(0px, calc(50% - 720px)); }
.hero-char.right { right: max(0px, calc(50% - 720px)); }
.hero-inner { position: relative; padding: 56px 16px 72px; max-width: 560px; }
.hero-kicker { font: 700 18px/1.2 var(--font-head); color: var(--text-2); margin-bottom: 8px; }
.hero-amount {
  font: 800 clamp(44px, 7vw, 72px)/1 var(--font-head); margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #9ff7c8 55%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font: 800 clamp(26px, 4vw, 40px)/1.1 var(--font-head); margin: 6px 0 28px; color: var(--text); }
.hero-trust { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 20px; font-size: 13px; color: var(--text-2); }
.hero-trust img { height: 22px; width: auto; }

/* Page title (H1 for SEO, sits under hero) */
.page-title { text-align: center; padding-top: 8px; }
.page-title h1 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
.page-title p { max-width: 760px; margin: 0 auto; }

/* Breadcrumbs (visible trail for BreadcrumbList) */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--text-2);
}
.breadcrumbs a { color: var(--text-2); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current="page"] { color: var(--text); }
.page-title .breadcrumbs { justify-content: center; }

.note { font-size: 13px; color: var(--text-2); margin: 0 0 1em; }
.page-title .note { max-width: 760px; margin: 12px auto 1em; }
.section-lead { max-width: 860px; margin: -8px 0 20px; }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefit { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--radius); background: linear-gradient(135deg, var(--surface) 0%, var(--bg-2) 100%); border: 1px solid var(--line); }
.benefit img { width: 56px; height: 56px; flex: none; }
.benefit strong { display: block; font: 800 18px/1.2 var(--font-head); }
.benefit span { font-size: 14px; color: var(--text-2); }

/* Horizontal rails (categories + providers on narrow viewports) */
.rail { position: relative; }
.rail-stage { position: relative; min-width: 0; }
.rail-stage::before,
.rail-stage::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 8px;
  width: 48px;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity .2s ease;
}
.rail-stage::before { left: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 100%); }
.rail-stage::after { right: 0; background: linear-gradient(270deg, var(--bg) 0%, transparent 100%); }
.rail.has-overflow:not(.is-start) .rail-stage::before { opacity: 1; }
.rail.has-overflow:not(.is-end) .rail-stage::after { opacity: 1; }
.rail-btn {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font: 600 22px/1 var(--font-head);
  cursor: pointer;
  place-items: center;
  transform: translateY(-50%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
}
.rail-prev { left: 0; }
.rail-next { right: 0; }
.rail-btn:hover { border-color: var(--accent); color: var(--accent); }
.rail-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (min-width: 769px) {
  .rail.has-overflow .rail-btn { display: grid; }
  .rail.is-start .rail-prev,
  .rail.is-end .rail-next { visibility: hidden; }
}

/* Categories */
.cats {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 2px 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cats::-webkit-scrollbar { display: none; width: 0; height: 0; }
.cat {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 104px;
  padding: 12px 8px 10px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  scroll-snap-align: start;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.cat:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
}
.cat:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
}
.cat img { width: 40px; height: 40px; }

/* Games */
.games { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.game { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.game img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .25s ease; }
.game.is-bonus-buy::before {
  content: "BONUS BUY";
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 6px;
  background: linear-gradient(180deg, #ff5a4d 0%, #d31424 100%);
  color: #fff;
  font: 800 10px/1 var(--font-head);
  letter-spacing: .03em;
  pointer-events: none;
}
.game-name { display: block; padding: 8px 10px; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-play { position: absolute; inset: 0 0 34px; display: grid; place-items: center; background: rgba(0,10,28,.6); opacity: 0; transition: opacity .2s; }
.game:hover img { transform: scale(1.05); }
.game:hover .game-play, .game:focus-visible .game-play { opacity: 1; }

/* Welcome package */
.welcome-pack { display: grid; gap: 24px; }
.welcome-hero {
  display: grid; grid-template-columns: 1fr 220px; gap: 24px; align-items: center;
  padding: 32px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(135deg, #1b0f4d 0%, #0b2a5c 60%, #063b3a 100%);
  border: 1px solid rgba(139, 92, 255, .4);
}
.welcome-hero-copy { min-width: 0; }
.welcome-hero-copy h2,
.welcome-hero-copy .welcome-title {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
}
.welcome-hero-copy p { margin-bottom: 16px; }
.welcome-hero-copy .welcome-sub { color: var(--text-2); }
.welcome-terms { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.welcome-terms li {
  padding: 6px 12px; border-radius: 999px;
  background: rgba(0,0,0,.28); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--text);
}
.welcome-mascot { width: 220px; height: auto; justify-self: end; align-self: end; }
.welcome-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.welcome-step {
  padding: 22px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line);
}
.welcome-step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.welcome-step-num {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  font: 800 16px/1 var(--font-head);
}
.welcome-step-head h3,
.welcome-step-title {
  margin: 0;
  font: 700 18px/1.15 var(--font-head);
  color: var(--text);
}
.aside-title {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.welcome-opts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.welcome-opts li { padding-top: 12px; border-top: 1px solid var(--line); }
.welcome-opts li:first-child { padding-top: 0; border-top: 0; }
.welcome-opts strong { display: block; font: 700 15px/1.35 var(--font-head); color: var(--text); }
.welcome-opts span { display: block; margin-top: 4px; font-size: 13px; color: var(--text-2); }
.welcome-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.promo, .welcome-nocode {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border-radius: 18px; background: var(--surface);
}
.promo { border: 1px dashed rgba(0, 255, 128, .5); }
.welcome-nocode { border: 1px solid var(--line); }
.welcome-nocode ol { margin: 0; padding-left: 1.2em; color: var(--text-2); }
.welcome-nocode li { margin: 0 0 8px; }
.welcome-nocode li:last-child { margin-bottom: 0; }
.promo-code { display: flex; gap: 8px; }
.promo-code code { flex: 1; display: grid; place-items: center; min-height: 52px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); font: 800 22px/1 var(--font-head); letter-spacing: .12em; color: var(--accent); }

/* Themes */
.themes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.theme { display: flex; flex-direction: column; align-items: center; padding: 16px; border-radius: var(--radius); background: radial-gradient(circle at 50% 30%, var(--surface-2) 0%, var(--bg-2) 70%); border: 1px solid var(--line); text-align: center; }
.theme img { width: 120px; height: 120px; }
.theme strong { font-family: var(--font-head); }
.theme span { font-size: 13px; color: var(--text-2); }

/* App */
.app { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 32px; border-radius: 18px; background: url("../img/hero/section-bg.webp") center/cover, var(--bg-2); border: 1px solid var(--line); }
.app ul { padding-left: 18px; color: var(--text-2); }
.app-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--surface); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-2); }
tr:last-child td { border-bottom: 0; }

/* Providers */
.providers { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; }
.provider {
  display: grid;
  place-items: center;
  height: 60px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--line);
}
.provider img { width: 100%; max-width: 100%; height: 32px; object-fit: contain; filter: grayscale(1) brightness(1.6); opacity: .85; transition: filter .2s, opacity .2s; }
.provider:hover img { filter: none; opacity: 1; }

/* Article (SEO text) */
.article { max-width: 860px; }
.article h2 { margin-top: 1.4em; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 1.2em; }
.article ul, .article ol { color: var(--text-2); padding-left: 20px; }
.article a { color: var(--accent); font-weight: 600; }
.article a:hover { text-decoration: underline; }
.article a.btn { font-weight: 700; text-decoration: none; }
.article a.btn:hover,
.article a.btn:focus,
.article a.btn:focus-visible { text-decoration: none; }
.article a.btn-primary,
.article a.btn-primary:hover,
.article a.btn-primary:focus,
.article a.btn-primary:focus-visible,
.article a.btn-primary:active {
  color: var(--accent-ink);
  background: var(--accent);
}
.article a.btn-ghost,
.article a.btn-ghost:hover,
.article a.btn-ghost:focus,
.article a.btn-ghost:focus-visible {
  color: var(--accent);
}
.article .reviews { margin: 16px 0 24px; }
.section-title {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--text);
}

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reviews-stack { grid-template-columns: 1fr; max-width: 860px; }
.reviews--list { grid-template-columns: 1fr; }
.review { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.review-head { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
.stars { color: var(--gold); letter-spacing: 2px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font: 700 17px/1.4 var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 16px; }

/* Final CTA */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: 48px 24px; border-radius: 18px; background: url("../img/hero/planet-bg.webp") center/cover; }
.cta-band .dog { position: absolute; left: 4%; bottom: -20px; width: 200px; }
.cta-title {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--text);
}

/* Footer */
.site-footer { margin-top: 56px; background: var(--bg-2); border-top: 1px solid var(--line); padding: 40px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.footer-title {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--text-2); }
.footer-links a:hover { color: var(--accent); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); }
.socials img { width: 20px; height: 20px; }
.rg { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 24px 0; margin-top: 24px; border-top: 1px solid var(--line); }
.rg img { height: 32px; width: auto; max-width: 160px; opacity: .8; }
.legal { font-size: 12px; color: var(--text-2); }
.legal p { font-size: 12px; }

/* Responsive */
@media (max-width: 1024px) {
  .games { grid-template-columns: repeat(4, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .themes { grid-template-columns: repeat(3, 1fr); }
  .nav { display: none; }
  .burger { display: block; margin-left: auto; }
  .nav.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
  .rail-providers .providers {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 6px 2px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .rail-providers .providers::-webkit-scrollbar { display: none; width: 0; height: 0; }
  .rail-providers .provider { flex: none; width: 120px; height: 56px; scroll-snap-align: start; }
}
@media (max-width: 900px) {
  .welcome-steps, .welcome-aside { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .welcome-hero { grid-template-columns: 1fr; }
  .welcome-mascot { display: none; }
  .games { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (max-width: 760px) {
  .section { padding: 40px 0; }
  .header-cta .btn-ghost { display: none; }
  .hero { min-height: 440px; }
  .hero-char { width: 46vw; opacity: .55; }
  .app, .footer-grid { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .themes { grid-template-columns: repeat(2, 1fr); }
  .cta-band .dog { display: none; }
  .section-head { flex-direction: column; align-items: start; }
}
@media (max-width: 480px) {
  .games { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .benefits { grid-template-columns: 1fr; }
}
