:root {
  --bg: #050813;
  --panel: rgba(8, 14, 32, 0.86);
  --panel-2: rgba(11, 18, 40, 0.94);
  --line: rgba(95, 201, 255, 0.48);
  --line-soft: rgba(95, 201, 255, 0.18);
  --text: #eef5ff;
  --muted: #aac0e5;
  --accent: #67d6ff;
  --accent-2: #7d8cff;
  --gold: #ffd77d;
  --shadow: 0 20px 50px rgba(0,0,0,.45);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(4,7,17,.62), rgba(4,7,17,.82)),
    url("starfield.png") center/cover fixed,
    linear-gradient(180deg, #08101f 0%, #040711 100%);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
.shell { width: min(1120px, calc(100% - 28px)); margin: 0 auto; }
.card {
  background: linear-gradient(180deg, rgba(16,24,54,.82), rgba(7,12,28,.94));
  border: 2px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.topnav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: flex-start;
  padding: 14px;
}
.menu {
  position: relative;
}
.menu summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(8, 14, 32, 0.9);
  border: 2px solid var(--line);
  box-shadow: 0 10px 28px rgba(0,0,0,.34);
  font-weight: 800;
}
.menu summary::-webkit-details-marker { display: none; }
.burger { width: 16px; height: 12px; position: relative; display:inline-block; }
.burger::before, .burger::after, .burger span {
  content:""; position:absolute; left:0; right:0; height:2px; background: var(--accent); border-radius: 999px;
}
.burger::before { top:0; }
.burger span { top:5px; }
.burger::after { bottom:0; }
.menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 220px;
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(15,24,54,.96), rgba(7,12,28,.98));
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
}
.menu-panel a {
  display:block; padding: 12px 14px; border-radius: 14px; color: var(--text); font-weight:700;
}
.menu-panel a:hover { background: rgba(255,255,255,.06); }
.hero {
  display:grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; padding: 8px 0 24px;
}
.hero-copy { padding: 36px; }
.hero-art { min-height: 480px; position: relative; overflow: hidden; }
.hero-art::before {
  content: ""; position: absolute; width: 250px; height: 250px; right: 40px; top: 46px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff4b7 0%, #d3a15c 24%, #8e4d43 68%, rgba(0,0,0,0) 74%);
  box-shadow: 0 0 70px rgba(255,216,120,.18);
}
.hero-art::after {
  content: ""; position:absolute; width: 150px; height: 150px; left: 42px; bottom: 56px; border-radius:50%;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #86dcff 32%, #3e50a6 76%, rgba(0,0,0,0) 81%);
}
.logo-wrap { display: inline-flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); margin-bottom: 18px; }
.logo-mark { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, var(--accent)); box-shadow: 0 0 18px rgba(118,208,255,.7); }
.eyebrow { color: var(--accent); letter-spacing: .18em; text-transform: uppercase; font-size: 12px; }
.brandline { display:flex; align-items:center; gap:18px; margin-bottom: 16px; flex-wrap: wrap; }
.brand-icon { width: 88px; height: 88px; image-rendering: auto; filter: drop-shadow(0 8px 20px rgba(0,0,0,.35)); }
.brand-word {
  margin: 0;
  font-size: clamp(44px, 8vw, 84px);
  line-height: .9;
  letter-spacing: .08em;
  color: #f2f7ff;
  text-shadow: 0 0 22px rgba(103,214,255,.18);
}
.sub { color: var(--muted); font-size: clamp(16px, 2.2vw, 20px); line-height: 1.55; max-width: 54ch; margin: 0; }
.actions { display:flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.btn {
  display:inline-flex; align-items:center; justify-content:center; min-width: 170px; padding: 14px 22px; border-radius: 18px; font-weight:800;
  border: 2px solid var(--line); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), #5fa7ff); color: #05111d; box-shadow: 0 10px 30px rgba(118,208,255,.28); }
.btn-secondary { background: rgba(255,255,255,.03); }
.ship {
  position:absolute; left:50%; top:50%; transform: translate(-50%, -50%) rotate(-9deg); width:min(390px, 80%); filter: drop-shadow(0 20px 30px rgba(0,0,0,.45));
}
.section { padding: 0 0 28px; }
.studio-link { display:grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items:center; padding: 26px; }
.studio-logo { width: 118px; height: 118px; }
.studio-copy h2 { margin: 0 0 8px; font-size: 32px; }
.studio-copy p { margin: 0; color: var(--muted); }
.footer { padding: 18px 0 28px; color: var(--muted); font-size: 14px; text-align: center; }
.center-page { min-height: 100vh; padding: 28px 0; display:flex; flex-direction:column; }
.center-wrap { flex:1; display:grid; place-items:center; }
.center-card { width:min(760px, calc(100% - 28px)); padding: 44px 24px; text-align:center; }
.coming { font-size: clamp(42px, 8vw, 82px); letter-spacing: .08em; margin: 0; }
.game-frame { min-height: 100vh; display:flex; flex-direction:column; }
.game-topbar { position: sticky; top: 0; z-index: 5; background: rgba(4,7,17,.9); backdrop-filter: blur(8px); border-bottom: 2px solid var(--line-soft); }
.game-topbar .shell { display:flex; align-items:center; justify-content:space-between; gap:16px; padding: 12px 0; }
.game-stage { flex:1; width:min(1400px, 100%); margin:0 auto; padding:16px; }
.game-placeholder { min-height: calc(100vh - 88px); display:grid; place-items:center; border-radius:28px; border:2px dashed var(--line-soft); background: rgba(255,255,255,.025); text-align:center; padding:28px; }
.game-placeholder p { color: var(--muted); }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .studio-link { grid-template-columns: 1fr; text-align:center; }
  .studio-logo { margin: 0 auto; }
  .brandline { justify-content: center; text-align: center; }
  .hero-copy { padding: 28px; }
}
