:root {
  --bg: #0b0612;
  --bg2: #160c24;
  --panel: #1d1230;
  --line: rgba(255, 216, 138, .16);
  --gold: #ffcf6e;
  --gold-2: #f2a93b;
  --ink: #f4ecff;
  --muted: #b9abd3;
  --glow: rgba(255, 170, 60, .35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg) radial-gradient(1400px 900px at 50% -10%, #2a1446 0%, var(--bg2) 45%, var(--bg) 85%) no-repeat;
  color: var(--ink);
  font: 400 17px/1.65 'Nunito', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff1c4; }
img { max-width: 100%; display: block; }
.wrap { width: min(1080px, 100% - 32px); margin: 0 auto; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); background: rgba(11, 6, 18, .72); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 15px/1 'Cinzel', serif; letter-spacing: .14em; }
.brand img { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 16px var(--glow); }
.nav { display: flex; gap: 20px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15px; }
.nav a:hover, .nav a[aria-current] { color: var(--gold); }

/* Hero */
.hero { text-align: center; padding: 72px 0 40px; position: relative; }
.hero .lamp { width: 150px; margin: 0 auto 18px; border-radius: 30px; box-shadow: 0 0 90px 10px var(--glow); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 120px 24px rgba(255, 170, 60, .45); } }
.hero h1 { font: 700 clamp(30px, 6vw, 56px)/1.1 'Cinzel', serif; letter-spacing: .12em; margin: 0; color: var(--gold); text-shadow: 0 0 30px rgba(255, 170, 60, .4); }
.hero p { color: var(--muted); font-size: clamp(16px, 2.4vw, 20px); margin: 14px auto 0; max-width: 34em; }

/* Game feature */
.game { margin: 40px 0 24px; padding: 36px; border-radius: 28px; background: linear-gradient(160deg, #2a1446, #170b26 60%); border: 1px solid var(--line); display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; }
.game .tag { display: inline-block; font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #1a0e04; background: var(--gold); border-radius: 999px; padding: 4px 12px; }
.game h2 { font: 400 clamp(30px, 4.6vw, 46px)/1.05 'Lilita One', 'Nunito', sans-serif; margin: 14px 0 4px; color: #fff; }
.game h2 small { display: block; font: 700 14px/1.4 'Cinzel', serif; letter-spacing: .3em; color: #c9b8e6; margin-top: 8px; }
.game .appicon { width: 76px; height: 76px; border-radius: 18px; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); float: right; margin: 0 0 8px 12px; }
.game ul { padding-left: 1.1em; margin: 14px 0; }
.game li { margin: 6px 0; }
.soon { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.pill { border: 1px solid var(--line); border-radius: 12px; padding: 9px 14px; font-weight: 800; font-size: 14px; color: var(--ink); background: rgba(255, 255, 255, .04); }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shots img { border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); aspect-ratio: 540 / 1170; object-fit: cover; }
.shots img:nth-child(2) { transform: translateY(-18px); }

/* Sections */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 8px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.card h3 { margin: 0 0 6px; font: 700 16px/1.3 'Cinzel', serif; letter-spacing: .08em; color: var(--gold); }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.section-title { font: 700 13px/1 'Nunito', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); margin: 56px 0 4px; }
.about { max-width: 46em; color: var(--muted); }
.about strong { color: var(--ink); }

/* Doc pages */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 0 24px; }
.doc h1 { font: 700 clamp(28px, 5vw, 42px)/1.15 'Cinzel', serif; color: var(--gold); letter-spacing: .06em; margin: 0 0 6px; }
.doc .meta { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font: 700 20px/1.3 'Cinzel', serif; color: #fff; margin: 34px 0 8px; letter-spacing: .04em; }
.doc p, .doc li { color: #ddd2f0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--gold); font-weight: 800; }
.doc .lead { font-size: 19px; color: var(--ink); }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 800; padding: 12px 0; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--gold); font-weight: 800; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 14px; color: var(--muted); }
.contact { margin-top: 30px; padding: 22px; border-radius: 20px; background: linear-gradient(160deg, #2a1446, #170b26); border: 1px solid var(--line); }
.contact .mail { font: 800 20px/1.3 'Nunito', sans-serif; }

/* Footer */
footer { margin-top: 64px; border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--muted); }

@media (max-width: 820px) {
  .game { grid-template-columns: 1fr; padding: 24px; }
  .cards { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
}
@media (max-width: 480px) {
  .nav { gap: 14px; }
  .brand span { display: none; }
  .shots img:nth-child(2) { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .hero .lamp { animation: none; } html { scroll-behavior: auto; } }
