:root {
  --bg: #070b17;
  --bg-soft: #0d1426;
  --panel: rgba(17, 27, 51, 0.72);
  --line: rgba(255,255,255,0.1);
  --text: #f4f7ff;
  --muted: #a7b2ca;
  --accent: #7c8cff;
  --accent-2: #5fe1d1;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(83, 101, 255, .18), transparent 32rem),
    radial-gradient(circle at 85% 18%, rgba(95, 225, 209, .1), transparent 26rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 11, 23, .72);
  border-bottom: 1px solid var(--line);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 11px; font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #07101b;
}
nav { display: flex; gap: 24px; color: var(--muted); font-size: .95rem; }
nav a:hover, .footer-links a:hover { color: var(--text); }

.hero { padding: 96px 0 84px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; }
.eyebrow { color: var(--accent-2); font-size: .78rem; font-weight: 800; letter-spacing: .14em; }
h1, h2, h3 { line-height: 1.08; margin-top: 0; }
h1 { font-size: clamp(3rem, 7vw, 6.2rem); letter-spacing: -.065em; margin-bottom: 24px; }
h1 span { color: transparent; background: linear-gradient(90deg, #a6b0ff, #64ead9); -webkit-background-clip: text; background-clip: text; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.045em; }
h3 { font-size: 1.5rem; margin: 12px 0 10px; letter-spacing: -.025em; }
.lead { max-width: 680px; color: var(--muted); font-size: 1.16rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 19px; border-radius: 14px; font-weight: 750; border: 1px solid var(--line); }
.button.primary { background: linear-gradient(135deg, var(--accent), #6579ff); color: white; border-color: transparent; }
.button.secondary { background: rgba(255,255,255,.04); }
.button:hover { transform: translateY(-1px); }

.google-play-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  border-radius: 8px;
  transition: transform .18s ease, filter .18s ease;
}
.google-play-badge:hover { transform: translateY(-1px); filter: brightness(1.07); }
.google-play-badge img { display: block; width: auto; height: 56px; }
.google-play-badge.compact { margin-top: 14px; }
.google-play-badge.compact img { height: 46px; }

.hero-art { position: relative; min-height: 390px; }
.core {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
  width: 130px; height: 130px; border-radius: 34px; display: grid; place-items: center;
  font-size: 2rem; font-weight: 900; letter-spacing: -.06em;
  background: linear-gradient(145deg, #8b99ff, #5be5d2);
  color: #07101b; box-shadow: 0 0 80px rgba(112, 132, 255, .35);
}
.orbit { position: absolute; inset: 50% auto auto 50%; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; transform: translate(-50%, -50%) rotate(-18deg); }
.orbit-a { width: 275px; height: 175px; }
.orbit-b { width: 390px; height: 265px; transform: translate(-50%, -50%) rotate(28deg); }
.planet { position: absolute; border-radius: 50%; box-shadow: 0 0 30px rgba(255,255,255,.12); }
.planet-a { width: 34px; height: 34px; background: #ffd878; top: 23%; right: 18%; }
.planet-b { width: 22px; height: 22px; background: #8c9cff; bottom: 20%; left: 15%; }
.planet-c { width: 14px; height: 14px; background: #62e4d3; top: 18%; left: 27%; }

.section { padding: 84px 0; border-top: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.card { display: grid; grid-template-columns: 68px 1fr; gap: 20px; padding: 28px; border-radius: 24px; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 12px 50px rgba(0,0,0,.18); }
.card p { color: var(--muted); margin-bottom: 0; }
.featured-card { border-color: rgba(95,225,209,.34); box-shadow: 0 16px 60px rgba(44,192,171,.08); }
.game-icon { width: 62px; height: 62px; border-radius: 19px; display: grid; place-items: center; font-size: 1.8rem; font-weight: 900; }
.finance { background: linear-gradient(145deg, #4be0bd, #577bff); color: #06120f; }
.looktwist { background: linear-gradient(145deg, #ffb454, #ff6b7a); color: #1a0d11; }
.stellar { background: linear-gradient(145deg, #604cff, #a48bff); }
.newhand { background: linear-gradient(145deg, #1bbaa4, #68e3cb); color: #051411; }
.nerelune { background: linear-gradient(145deg, #2a6f86, #e3ba6b); color: #07101b; }
.status { font-size: .7rem; letter-spacing: .12em; font-weight: 800; color: var(--accent-2); }
.status.released { color: #ffd878; }
.card-link { display: inline-block; margin-top: 18px; color: var(--accent-2); font-weight: 750; }
.card-link:hover { color: var(--text); }
.about { background: rgba(255,255,255,.018); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.about-grid p { color: var(--muted); font-size: 1.08rem; }
.legal-strip { padding: 54px 0; }
.legal-grid { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.legal-grid h2 { font-size: 2rem; margin-bottom: 8px; }
.legal-grid p { color: var(--muted); margin: 0; }

.product-hero { padding: 88px 0 68px; }
.product-hero-grid { display: grid; grid-template-columns: 1fr .72fr; gap: 64px; align-items: center; }
.product-badge {
  width: 170px; height: 170px; margin-inline: auto; border-radius: 42px; display: grid; place-items: center;
  font-size: 4.4rem; font-weight: 900; color: #06120f;
  background: linear-gradient(145deg, #4be0bd, #577bff);
  box-shadow: 0 22px 80px rgba(87,123,255,.24);
}
.product-badge.looktwist-badge { background: linear-gradient(145deg, #ffb454, #ff6b7a); color: #1a0d11; box-shadow: 0 22px 80px rgba(255,107,122,.22); }
.product-badge.stellar-badge { background: linear-gradient(145deg, #604cff, #a48bff); color: #fff; box-shadow: 0 22px 80px rgba(96,76,255,.24); }
.product-badge.life-badge { background: linear-gradient(145deg, #1bbaa4, #68e3cb); color: #051411; box-shadow: 0 22px 80px rgba(27,186,164,.22); }
.product-badge.nerelune-badge { background: linear-gradient(145deg, #2a6f86, #e3ba6b); color: #07101b; box-shadow: 0 22px 80px rgba(227,186,107,.18); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.feature { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--muted); margin-bottom: 0; }
.product-copy { max-width: 800px; color: var(--muted); font-size: 1.08rem; }

footer { border-top: 1px solid var(--line); padding: 38px 0 48px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; }
.footer-grid strong { color: var(--text); }
.footer-links { display: flex; gap: 18px; }
.copyright { white-space: nowrap; }

.policy { padding: 76px 0 100px; }
.policy-wrap { max-width: 820px; }
.policy h1 { font-size: clamp(2.8rem, 7vw, 4.8rem); }
.policy h2 { font-size: 1.55rem; margin-top: 42px; }
.policy p, .policy li { color: var(--muted); }
.policy .updated { margin: 10px 0 34px; color: var(--accent-2); font-weight: 700; }
.notice { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.03); }

@media (max-width: 1040px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  nav { gap: 15px; }
  .hero { padding-top: 62px; }
  .hero-grid, .about-grid, .product-hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 300px; }
  .cards, .feature-grid { grid-template-columns: 1fr; }
  .legal-grid { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-badge { margin: 10px 0 0; }
}

@media (max-width: 520px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  nav a:nth-child(2) { display: none; }
  .hero { padding-bottom: 56px; }
  .hero-art { min-height: 250px; transform: scale(.88); margin-inline: -18px; }
  .card { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .product-badge { width: 136px; height: 136px; border-radius: 34px; font-size: 3.6rem; }
  .google-play-badge img { height: 52px; }
  .google-play-badge.compact img { height: 44px; }
}
