:root {
  --bg: #020202;
  --bg-soft: #080808;
  --surface: rgba(255,255,255,0.055);
  --surface-strong: rgba(255,255,255,0.085);
  --line: rgba(255, 211, 0, 0.20);
  --line-soft: rgba(255,255,255,0.12);
  --text: #ffffff;
  --muted: #d6d6d6;
  --muted-2: #a8a8a8;
  --accent: #ffd100;
  --accent-2: #ffea70;
  --accent-ink: #1d1700;
  --max: 1120px;
  --radius: 24px;
  --shadow: 0 28px 90px rgba(0,0,0,0.56);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 211, 0, 0.20), transparent 31%),
    radial-gradient(circle at 92% 8%, rgba(255, 211, 0, 0.13), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(255,255,255,0.045), transparent 30%),
    linear-gradient(180deg, #000000 0%, #070707 52%, #020202 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 72%);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

.container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0,0,0,0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.72rem; line-height: 1.05; }
.brand-icon { width: 46px; height: 46px; border-radius: 13px; object-fit: cover; box-shadow: 0 0 24px rgba(255, 211, 0, 0.25); }
.brand-text { display: flex; flex-direction: column; }
.brand-main { font-size: 1.42rem; font-weight: 950; letter-spacing: -0.045em; }
.brand-sub { color: var(--muted-2); font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; }

nav { display: flex; flex-wrap: wrap; gap: 1rem; }
nav a { color: var(--muted); font-weight: 760; font-size: 0.94rem; }

.hero { padding: 5.4rem 0 4.2rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr); gap: 1.65rem; align-items: center; }
.eyebrow, .section-tag { display: inline-flex; align-items: center; color: var(--accent-2); background: rgba(255, 211, 0, 0.10); border: 1px solid var(--line); border-radius: 999px; padding: 0.38rem 0.78rem; font-size: 0.88rem; font-weight: 850; }
h1, h2, h3 { margin: 0 0 0.8rem; line-height: 1.12; }
h1 { margin-top: 1rem; max-width: 12ch; font-size: clamp(2.7rem, 7vw, 5.45rem); letter-spacing: -0.068em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.052em; }
h3 { font-size: 1.18rem; }
.lead { color: var(--muted); font-size: clamp(1.04rem, 2vw, 1.24rem); max-width: 66ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.65rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: 0.76rem 1.12rem; border-radius: 999px; border: 1px solid var(--line-soft); font-weight: 900; }
.button.primary { color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; box-shadow: 0 12px 38px rgba(255, 211, 0, 0.20); }
.button.secondary { color: var(--text); background: rgba(255,255,255,0.07); }
.badges { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.25rem; }
.badge, .game-type { border: 1px solid var(--line-soft); background: rgba(255,255,255,0.055); border-radius: 999px; color: var(--muted); padding: 0.35rem 0.7rem; font-weight: 760; font-size: 0.88rem; }

.hero-stack { display: grid; gap: 1rem; }
.logo-card, .phone-card, .card, .panel, .cta-box { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.logo-card { display: grid; place-items: center; padding: clamp(0.7rem, 2vw, 1.1rem); overflow: hidden; background: radial-gradient(circle at 50% 25%, rgba(255, 211, 0, 0.18), transparent 38%), rgba(255,255,255,0.04); }
.logo-card img { display: block; width: min(100%, 460px); height: auto; border-radius: 18px; }
.phone-card { padding: 1rem; background: linear-gradient(180deg, rgba(255,255,255,0.095), rgba(255,255,255,0.045)); }
.phone-top { display: flex; align-items: center; gap: 0.55rem; border-bottom: 1px solid var(--line-soft); padding: 0.35rem 0.4rem 0.8rem; }
.dot { width: 12px; height: 12px; border-radius: 99px; background: var(--accent); box-shadow: 0 0 18px rgba(255, 211, 0, 0.78); }
.chat { display: flex; flex-direction: column; gap: 0.65rem; padding: 1rem 0.2rem 0.2rem; }
.bubble { width: fit-content; max-width: 88%; border-radius: 18px; padding: 0.72rem 0.85rem; }
.bubble.incoming { background: rgba(255,255,255,0.11); color: var(--text); }
.bubble.outgoing { align-self: flex-end; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); font-weight: 900; }

.section { padding: 4.35rem 0; }
.section.alt { background: rgba(255,255,255,0.025); border-block: 1px solid var(--line-soft); }
.section-head { margin-bottom: 1.5rem; }
.grid { display: grid; gap: 1rem; }
.grid.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.games { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { padding: 1.25rem; }
.card p, .panel p { color: var(--muted); margin-bottom: 0; }
.step-number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 0.85rem; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent-2)); font-weight: 950; }
.game-emoji { font-size: 2.05rem; margin-bottom: 0.75rem; }
.game-type { display: inline-flex; margin-bottom: 0.75rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr); gap: 1rem; align-items: center; }
.panel { padding: 1.35rem; }
.text-link { display: inline-flex; margin-top: 1rem; color: var(--accent); font-weight: 900; }
.cta { text-align: center; }
.cta-box { padding: clamp(1.4rem, 5vw, 3rem); }
.cta-box p { color: var(--muted); font-size: 1.1rem; }
.site-footer { padding: 2.5rem 0; color: var(--muted); border-top: 1px solid var(--line-soft); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.legal-note { display: inline-block; margin-top: 0.55rem; max-width: 760px; color: rgba(214,214,214,0.72); font-size: 0.78rem; line-height: 1.45; }

@media (max-width: 920px) {
  .hero { padding-top: 3.7rem; }
  .hero-grid, .grid.steps, .grid.games, .split { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; flex-direction: column; padding: 1rem 0; }
  nav { gap: 0.75rem; }
  .logo-card img { width: min(100%, 390px); }
}

@media (max-width: 560px) {
  .brand-main { font-size: 1.22rem; }
  .brand-icon { width: 40px; height: 40px; }
  nav a { font-size: 0.9rem; }
  h1 { max-width: 11ch; }
  .button { width: 100%; }
}
