/* 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;
  --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; }
body {
  margin: 0;
  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);
  -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 { 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 { background: rgba(0, 255, 128, .08); }
.btn-lg { min-height: 56px; padding: 0 40px; font-size: 17px; }

/* 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; }

/* 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); }

/* Categories */
.cats { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.cat { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 104px; padding: 14px 8px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; text-align: center; transition: border-color .15s; }
.cat:hover { border-color: var(--accent); }
.cat img { width: 40px; height: 40px; }

/* Games */
.games { display: grid; grid-template-columns: repeat(6, 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-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; }

/* Bonus block */
.bonus { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
.bonus-card { position: relative; overflow: hidden; padding: 32px; border-radius: 18px; background: linear-gradient(135deg, #1b0f4d 0%, #0b2a5c 60%, #063b3a 100%); border: 1px solid rgba(139, 92, 255, .4); }
.bonus-card .mascot { position: absolute; right: -20px; bottom: -10px; width: 240px; opacity: .95; }
.bonus-card .content { position: relative; max-width: 60%; }
.bonus-steps { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.bonus-steps li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 8px; background: rgba(0,0,0,.25); font-size: 14px; }
.bonus-steps b { color: var(--accent); }
.promo { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 28px; border-radius: 18px; background: var(--surface); border: 1px dashed rgba(0, 255, 128, .5); }
.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(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.provider { display: grid; place-items: center; height: 72px; padding: 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.provider img { width: 100%; max-width: 120px; height: 36px; 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 ul { color: var(--text-2); padding-left: 20px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.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; }

/* 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-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); }
}
@media (max-width: 760px) {
  .section { padding: 40px 0; }
  .header-cta .btn-ghost { display: none; }
  .hero { min-height: 440px; }
  .hero-char { width: 46vw; opacity: .55; }
  .games { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .bonus, .app, .footer-grid { grid-template-columns: 1fr; }
  .bonus-card .content { max-width: 100%; }
  .bonus-card .mascot { position: static; width: 180px; margin: 16px auto 0; }
  .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: 420px) {
  .benefits { grid-template-columns: 1fr; }
  .games { grid-template-columns: repeat(2, 1fr); }
}
