:root {
  --bg: #0b1018;
  --bg-2: #101722;
  --panel: #151e2b;
  --panel-2: #1a2635;
  --line: #2b3c50;
  --ink: #f4f7fb;
  --muted: #98a7ba;
  --blue: #32a8ff;
  --orange: #ff9d3d;
  --green: #42d99b;
  --purple: #a882ff;
  --red: #ff6577;
  --yellow: #ffd363;
  --radius: 22px;
  --shadow: 0 22px 70px rgba(0,0,0,.35);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 18%, rgba(50,168,255,.12), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(255,157,61,.09), transparent 26%),
    linear-gradient(180deg, #0a0f16 0%, var(--bg) 38%, #0d131c 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  min-height: 100vh;
}

a { color: inherit; }
img { max-width: 100%; }
button, input, textarea { font: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10,15,22,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  width: 38px; height: 38px; border: 1px solid #31445a; border-radius: 11px; background: #121c28; position: relative;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.brand-mark::before,
.brand-mark::after { content: ""; position: absolute; border-radius: 999px; }
.brand-mark::before { width: 7px; height: 7px; left: 8px; top: 9px; background: var(--blue); box-shadow: 15px 13px 0 var(--orange); }
.brand-mark::after { width: 21px; height: 3px; left: 8px; top: 18px; background: linear-gradient(90deg, var(--blue), var(--green), var(--orange)); transform: rotate(31deg); transform-origin: left center; }
.brand small { display: block; color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: #c8d2df; text-decoration: none; font-size: 14px; font-weight: 700; }
.nav-links a:hover { color: white; }
.nav-cta { border: 1px solid #35516b; background: #152334; padding: 9px 14px; border-radius: 999px; }
.menu-toggle { display: none; background: transparent; border: 0; color: white; font-size: 23px; }

.dev-strip { border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(255,211,99,.06); color: #e7d9aa; font-size: 12px; text-align: center; padding: 7px 16px; }

.hero { padding: 92px 0 74px; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #c6d8ea; font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow::before { content:""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px rgba(66,217,155,.6); }
h1 { font-size: clamp(48px, 7vw, 82px); line-height: .94; letter-spacing: -.055em; margin: 16px 0 20px; }
.hero p { font-size: clamp(18px, 2.1vw, 22px); color: #b9c6d5; max-width: 650px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 14px; text-decoration: none; font-weight: 800; border: 1px solid transparent; }
.btn-primary { background: linear-gradient(135deg, #3aaeff, #2a86df); color: white; box-shadow: 0 10px 34px rgba(50,168,255,.24); }
.btn-secondary { border-color: #314257; background: #111a25; color: #d7e0ea; }
.btn-disabled { opacity: .58; cursor: default; }
.hero-note { color: #7f8ea1; font-size: 13px; margin-top: 14px; }


.game-screenshot-card { margin:0; background:#0d141d; border:1px solid #26384b; border-radius:28px; padding:10px; box-shadow:var(--shadow); overflow:hidden; position:relative; }
.game-screenshot-card img { display:block; width:100%; height:auto; border-radius:20px; background:#0d141d; }
.game-screenshot-card figcaption { color:#7f8ea1; font-size:11px; text-align:center; padding:9px 8px 2px; letter-spacing:.01em; }
.game-card { background: linear-gradient(180deg, #141e2a, #0f1721); border: 1px solid #26384b; border-radius: 28px; padding: 20px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.game-card::after { content:""; position:absolute; inset:auto -25% -36% 35%; height: 70%; background: radial-gradient(circle, rgba(168,130,255,.14), transparent 60%); pointer-events:none; }
.game-top { display:flex; justify-content:space-between; align-items:center; margin-bottom: 14px; }
.game-title { font-weight: 850; letter-spacing: -.02em; }
.game-credit { font-size: 12px; color: var(--yellow); background: rgba(255,211,99,.08); border: 1px solid rgba(255,211,99,.22); border-radius: 999px; padding: 6px 9px; }
.board { aspect-ratio: 1 / .86; border-radius: 18px; background: #0b1119; border: 1px solid #23364a; padding: 13px; display: grid; grid-template-columns: repeat(7,1fr); grid-template-rows: repeat(6,1fr); gap: 6px; position: relative; overflow:hidden; }
.tile { border: 1px solid #1b2a39; background: #101923; border-radius: 7px; position: relative; }
.endpoint::before { content:""; position:absolute; width: 14px; height:14px; border-radius:50%; inset:50% auto auto 50%; transform:translate(-50%,-50%); background: currentColor; box-shadow: 0 0 0 4px rgba(255,255,255,.04), 0 0 15px currentColor; }
.blue { color: var(--blue); } .orange { color: var(--orange); } .green { color: var(--green); } .purple { color: var(--purple); }
.tray { border: 2px solid currentColor; box-shadow: inset 0 0 0 2px #0b1119; }
.bridge { border-color: #66788a; }
.bridge::before, .bridge::after { content:""; position:absolute; background:#7d8b99; opacity:.72; border-radius:2px; }
.bridge::before { height:2px; width:70%; left:15%; top:calc(50% - 1px); }
.bridge::after { width:2px; height:70%; top:15%; left:calc(50% - 1px); }
.cable { position:absolute; height: 6px; border-radius:999px; z-index: 3; transform-origin:left center; box-shadow:0 0 12px rgba(255,255,255,.16); }
.cable.c1 { width: 51%; left: 10%; top: 28%; transform: rotate(14deg); background: var(--blue); }
.cable.c2 { width: 49%; left: 42%; top: 69%; transform: rotate(-31deg); background: var(--orange); }
.cable.c3 { width: 42%; left: 25%; top: 74%; transform: rotate(-71deg); background: var(--green); }
.game-bottom { display:grid; grid-template-columns: repeat(3,1fr); gap:10px; margin-top:14px; }
.mini-stat { padding: 11px 10px; border:1px solid #243649; border-radius:13px; background:#111a25; }
.mini-stat strong { display:block; font-size:14px; }
.mini-stat span { color:#7f8ea1; font-size:11px; }

.section { padding: 76px 0; }
.section-dark { border-top:1px solid rgba(255,255,255,.05); border-bottom:1px solid rgba(255,255,255,.05); background: rgba(17,24,34,.6); }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(32px,5vw,50px); line-height:1.04; letter-spacing:-.04em; margin: 10px 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; margin:0; }
.feature-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:16px; }
.feature { border:1px solid #26384a; background: linear-gradient(180deg,#131d29,#101822); border-radius:var(--radius); padding:22px; min-height:190px; }
.feature-icon { width:38px; height:38px; border-radius:11px; display:grid; place-items:center; background:#17283a; border:1px solid #2d4a65; margin-bottom:28px; font-size:18px; }
.feature h3 { margin:0 0 8px; font-size:18px; }
.feature p { margin:0; color:#94a4b7; font-size:14px; }

.mechanics { display:grid; grid-template-columns: 1fr 1fr; gap:18px; }
.mechanic { display:flex; gap:16px; align-items:flex-start; border:1px solid #26384a; border-radius:18px; padding:18px; background:#111a24; }
.mechanic-swatch { flex:0 0 44px; height:44px; border-radius:12px; background:#0c131c; border:1px solid #2c4259; display:grid; place-items:center; }
.mechanic-swatch .dot { width:12px; height:12px; border-radius:50%; background: currentColor; box-shadow:0 0 12px currentColor; }
.mechanic h3 { margin:0 0 4px; font-size:16px; }
.mechanic p { margin:0; color:#91a1b3; font-size:13px; }

.stats-band { display:grid; grid-template-columns: repeat(4,1fr); gap:12px; }
.stat { border:1px solid #26384a; background:#101822; border-radius:18px; padding:22px; }
.stat strong { display:block; font-size:30px; letter-spacing:-.04em; }
.stat span { color:#8fa0b3; font-size:13px; }

.cta { border:1px solid #2a4056; background: linear-gradient(135deg, rgba(50,168,255,.1), rgba(168,130,255,.07)); border-radius:28px; padding:36px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.cta h2 { margin:0 0 8px; font-size:34px; letter-spacing:-.04em; }
.cta p { margin:0; color:#9cadbf; }

.page-hero { padding: 74px 0 40px; }
.page-hero h1 { font-size: clamp(42px,6vw,68px); }
.page-hero p { color:#aab8c8; max-width: 760px; font-size:18px; }
.content-card { border:1px solid #293a4d; background:#111923; border-radius:24px; padding: clamp(22px,4vw,42px); margin-bottom:22px; }
.content-card h2 { margin-top:34px; letter-spacing:-.025em; }
.content-card h2:first-child { margin-top:0; }
.content-card h3 { margin-top:26px; }
.content-card p, .content-card li { color:#b1becc; }
.content-card li + li { margin-top:8px; }
.callout { border-left:3px solid var(--yellow); background:rgba(255,211,99,.06); color:#decf9e; padding:14px 16px; border-radius:0 12px 12px 0; }
.legal-meta { color:#7f90a3; font-size:13px; }
.faq { display:grid; gap:12px; }
.faq details { border:1px solid #283a4d; background:#111a24; border-radius:15px; padding:14px 16px; }
.faq summary { cursor:pointer; font-weight:800; }
.faq p { color:#9baabc; margin-bottom:4px; }

.site-footer { border-top:1px solid rgba(255,255,255,.07); padding: 34px 0 42px; margin-top:50px; }
.footer-grid { display:flex; justify-content:space-between; gap:24px; align-items:flex-end; }
.footer-copy { color:#7e8ea0; font-size:13px; }
.footer-links { display:flex; flex-wrap:wrap; gap:18px; }
.footer-links a { color:#9dafc1; font-size:13px; text-decoration:none; }
.footer-links a:hover { color:white; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns:1fr; }
  .game-card, .game-screenshot-card { max-width:620px; }
  .feature-grid { grid-template-columns:1fr 1fr; }
  .stats-band { grid-template-columns:1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display:none; position:absolute; left:18px; right:18px; top:66px; background:#101924; border:1px solid #293a4d; border-radius:16px; padding:14px; flex-direction:column; align-items:stretch; }
  .nav-links.open { display:flex; }
  .nav-links a { padding:8px 6px; }
  .menu-toggle { display:block; }
  .hero { padding-top:64px; }
  h1 { font-size:54px; }
  .feature-grid, .mechanics, .stats-band { grid-template-columns:1fr; }
  .cta, .footer-grid { align-items:flex-start; flex-direction:column; }
  .game-card { padding:14px; border-radius:22px; }
  .game-screenshot-card { padding:8px; border-radius:22px; }
  .game-screenshot-card img { border-radius:16px; }
  .board { gap:4px; padding:9px; }
}

/* v0.3 landing-page polish */
.hero-copy { min-width: 0; }
.hero-facts { display:flex; flex-wrap:wrap; gap:9px; margin-top:20px; }
.hero-facts span { display:inline-flex; align-items:baseline; gap:5px; color:#95a6b9; font-size:12px; border:1px solid #26384b; background:rgba(16,24,34,.72); border-radius:999px; padding:7px 10px; }
.hero-facts strong { color:#edf5ff; font-size:13px; }
.blue-icon { color:var(--blue); }
.orange-icon { color:var(--orange); }
.yellow-icon { color:var(--yellow); }
.mechanics-panel { margin-top:52px; border-top:1px solid rgba(255,255,255,.06); padding-top:52px; }
.compact-head { margin-bottom:26px; }
.route-chip { width:22px; height:7px; border-radius:999px; background:currentColor; box-shadow:0 0 12px currentColor; }
.route-chip.square { width:18px; height:18px; border:2px solid currentColor; background:transparent; border-radius:5px; box-shadow:inset 0 0 0 2px #0c131c, 0 0 10px currentColor; }
.bridge-mark { color:#7b8b9c; font-size:25px; line-height:1; }
.gate-mark { color:var(--purple); font-size:18px; text-shadow:0 0 12px rgba(168,130,255,.55); }
.daily-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:40px; align-items:center; }
.display-h2 { font-size:clamp(34px,5vw,54px); line-height:1.02; letter-spacing:-.045em; margin:12px 0 14px; }
.lead { color:#9fb0c2; font-size:17px; max-width:700px; margin:0 0 26px; }
.daily-schedule { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.daily-schedule div { min-width:0; border:1px solid #26384a; border-radius:16px; background:#101822; padding:15px; }
.daily-schedule span, .daily-schedule small { display:block; color:#8293a7; font-size:11px; }
.daily-schedule strong { display:block; margin:5px 0 3px; font-size:16px; }
.daily-schedule div:nth-child(1) strong { color:var(--green); }
.daily-schedule div:nth-child(2) strong { color:var(--blue); }
.daily-schedule div:nth-child(3) strong { color:var(--orange); }
.daily-schedule div:nth-child(4) strong { color:var(--purple); }
.streak-card { border:1px solid #33445a; background:linear-gradient(160deg,#151f2b,#101722 68%,rgba(255,157,61,.07)); border-radius:28px; padding:28px; box-shadow:var(--shadow); }
.mini-eyebrow { color:#8294a8; font-size:11px; font-weight:850; letter-spacing:.11em; text-transform:uppercase; }
.streak-number { font-size:82px; line-height:.9; font-weight:900; letter-spacing:-.07em; margin-top:20px; color:#fff; }
.streak-label { color:#a9b7c7; font-weight:750; margin-top:5px; }
.streak-track { display:grid; grid-template-columns:repeat(7,1fr); gap:7px; margin:22px 0 14px; }
.streak-track i { height:8px; border-radius:999px; background:linear-gradient(90deg,var(--orange),var(--yellow)); box-shadow:0 0 10px rgba(255,157,61,.23); }
.streak-bonus { color:var(--yellow); font-weight:850; }
.streak-card p { color:#8798aa; font-size:13px; margin:12px 0 0; }
.progress-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.progress-card { border:1px solid #26384a; background:linear-gradient(180deg,#131d29,#101822); border-radius:22px; padding:24px; }
.progress-card h3 { font-size:22px; margin:8px 0 12px; letter-spacing:-.025em; }
.progress-card p { color:#92a3b5; font-size:14px; margin:0; }
.rank-list { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.rank-list span { padding:7px 10px; border:1px solid #304259; border-radius:999px; background:#121c28; color:#bdc9d7; font-size:12px; font-weight:750; }
.rank-list span:last-child { color:var(--yellow); border-color:rgba(255,211,99,.3); background:rgba(255,211,99,.05); }
.locker-swatches { display:flex; gap:10px; margin-top:22px; }
.locker-swatches i { width:42px; height:42px; border-radius:12px; border:1px solid rgba(255,255,255,.12); background:#172334; }
.locker-swatches i:nth-child(1){background:linear-gradient(135deg,#121d2a,#234967)}
.locker-swatches i:nth-child(2){background:linear-gradient(135deg,#203a51,#2d78a8)}
.locker-swatches i:nth-child(3){background:linear-gradient(135deg,#182723,#437958)}
.locker-swatches i:nth-child(4){background:linear-gradient(135deg,#351b24,#9d3546)}
.locker-swatches i:nth-child(5){background:linear-gradient(135deg,#25203d,#7256b7)}
.stats-card-wide { grid-column:1 / -1; }
.compact-stats .stat { padding:17px 18px; background:#0f1721; }
.compact-stats .stat strong { font-size:26px; }

@media (max-width: 980px) {
  .daily-grid { grid-template-columns:1fr; }
  .streak-card { max-width:560px; }
  .daily-schedule { grid-template-columns:1fr 1fr; }
}
@media (max-width: 720px) {
  .progress-grid { grid-template-columns:1fr; }
  .stats-card-wide { grid-column:auto; }
  .daily-schedule { grid-template-columns:1fr 1fr; }
  .hero-facts { gap:7px; }
}
@media (max-width: 430px) {
  .daily-schedule { grid-template-columns:1fr; }
  .streak-number { font-size:68px; }
}
