/* MMO11 — game site (landing, guide, privacy). Theme: a floodlit stadium at night. */

:root {
  --bg: #070b0d;
  --bg-2: #0d1417;
  --bg-3: #131d21;
  --line: rgba(205, 240, 232, 0.09);
  --line-strong: rgba(205, 240, 232, 0.2);
  --text: #e8f1ee;
  --muted: #95a6a2;
  --subtle: #66766f;
  --light: #5ef0d2;      /* floodlight */
  --light-ink: #03140f;
  --grass: #3fae5a;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1160px;
  --font-head: "Barlow Condensed", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.02; margin: 0; letter-spacing: 0.005em; text-transform: uppercase; }
p { margin: 0; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 10px; border: 1px solid transparent; font: 600 .95rem/1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--light); color: var(--light-ink); }
.btn-primary:hover { background: #8af7e1; }
.btn-ghost { color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--light); }

.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 12px; background: #000; color: #fff; border: 1px solid rgba(255,255,255,.24); text-decoration: none; min-width: 200px; }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; opacity: .78; line-height: 1.25; }
.store strong { display: block; font-size: 1.08rem; line-height: 1.2; }
.store.soon { cursor: default; opacity: .72; }
.store .pill { margin-left: auto; padding: 3px 8px; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .04em; background: rgba(94, 240, 210, .16); color: var(--light); text-transform: uppercase; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(7, 11, 13, .84); backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand b { font: 700 1.5rem/1 var(--font-head); letter-spacing: .02em; }
.menu { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.menu a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--text); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.top-actions .btn { padding: 10px 16px; font-size: .88rem; }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; background: none; border: 1px solid var(--line-strong); color: var(--text); font-size: 1.1rem; cursor: pointer; }

/* hero */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; padding: 120px 0 72px; background: #050a0b url("img/stadium.webp") center 40% / cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 13, .25) 0%, rgba(7, 11, 13, .55) 45%, var(--bg) 100%); }
.hero .container { position: relative; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--light); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--light); box-shadow: 0 0 12px var(--light); }
.hero h1 { font-size: clamp(3rem, 9vw, 6.6rem); max-width: 14ch; }
.hero h1 span { color: var(--light); }
.hero-lead { margin-top: 18px; max-width: 36rem; color: #c3d0cc; font-size: 1.15rem; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 16px; color: var(--muted); font-size: .9rem; }
.hero-note a { color: var(--light); }

/* sections */
.section { padding: 92px 0; }
.section + .section { border-top: 1px solid var(--line); }
.head { max-width: 680px; margin-bottom: 44px; }
.head h2 { font-size: clamp(2.3rem, 5vw, 3.4rem); }
.head p { margin-top: 12px; color: var(--muted); font-size: 1.06rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 26px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(94, 240, 210, .1); color: var(--light); margin-bottom: 16px; }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.55rem; }
.card p { margin-top: 8px; color: var(--muted); font-size: .97rem; }

/* season timeline */
.season { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { position: relative; padding: 28px 24px; background: var(--bg-2); }
.step + .step { border-left: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font: 700 2.4rem/1 var(--font-head); color: var(--light); opacity: .9; margin-bottom: 12px; }
.step h3 { font-size: 1.35rem; }
.step p { margin-top: 8px; color: var(--muted); font-size: .95rem; }

/* download */
.platforms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.platform { display: flex; flex-direction: column; gap: 14px; padding: 30px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.platform h3 { font-size: 1.8rem; }
.platform p { color: var(--muted); }
.status { align-self: flex-start; padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.status.test { background: rgba(94, 240, 210, .14); color: var(--light); }
.status.prep { background: rgba(255, 196, 87, .14); color: #ffc457; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--light); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--muted); }

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 36px; border-radius: var(--radius); background: linear-gradient(120deg, rgba(94, 240, 210, .14), rgba(63, 174, 90, .08)); border: 1px solid var(--line-strong); }
.cta-band h3 { font-size: 2rem; }
.cta-band p { color: var(--muted); margin-top: 6px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 44px 0 32px; color: var(--muted); font-size: .92rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }

/* ---------- guide ---------- */
.guide { display: grid; grid-template-columns: 250px 1fr; gap: 48px; padding: 48px 0 80px; }
.toc { position: sticky; top: 90px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; }
.toc h4 { font: 700 .78rem var(--font-body); letter-spacing: .12em; color: var(--subtle); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: .94rem; border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); background: var(--bg-2); }
.toc a.active { color: var(--text); border-left-color: var(--light); background: var(--bg-2); }
.doc { min-width: 0; max-width: 760px; }
.doc > header { padding-bottom: 26px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.doc > header h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
.doc > header p { color: var(--muted); margin-top: 10px; font-size: 1.05rem; }
.doc section { padding-top: 36px; scroll-margin-top: 80px; }
.doc h2 { font-size: 2.1rem; margin-bottom: 14px; }
.doc h3 { font-size: 1.35rem; margin: 24px 0 8px; color: var(--light); }
.doc p, .doc li { color: #c5d1cd; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin: 12px 0; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--text); }
.doc a { color: var(--light); }
.tip { margin: 18px 0; padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(94, 240, 210, .07); border: 1px solid rgba(94, 240, 210, .22); color: #cfe9e2; }
.tip b { color: var(--light); }
.table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--text); background: var(--bg-2); font-weight: 600; }
td { color: #c5d1cd; }
tr:last-child td { border-bottom: 0; }

/* ---------- legal ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 48px 0 80px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.legal .meta { color: var(--subtle); margin-top: 10px; }
.legal h2 { font-size: 1.7rem; margin: 34px 0 10px; }
.legal p, .legal li { color: #c5d1cd; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--light); }
.legal strong { color: var(--text); }
.lang-switch { display: flex; gap: 8px; margin-top: 20px; }

/* responsive */
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .season { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .guide { grid-template-columns: 1fr; gap: 0; }
  .toc { position: static; max-height: none; padding: 16px; margin-bottom: 8px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
  .toc ol { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .menu { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .menu.open { display: flex; }
  .menu a { display: block; padding: 12px 0; font-size: 1.05rem; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .top-actions .btn { display: none; }
  .hero { min-height: auto; padding: 96px 0 56px; }
  .section { padding: 64px 0; }
  .features, .platforms { grid-template-columns: 1fr; }
  .season { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .store { min-width: 0; width: 100%; }
  .toc ol { grid-template-columns: 1fr; }
  .cta-band { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
