
:root {
  --bg: #0c0a0f;
  --bg-soft: #15101b;
  --card: rgba(22, 15, 28, 0.92);
  --card-alt: rgba(32, 21, 42, 0.92);
  --line: rgba(255, 150, 50, 0.22);
  --text: #f4eadf;
  --muted: #d0c4b6;
  --orange: #ff8f1f;
  --orange-2: #ffb347;
  --purple: #9c6bff;
  --green: #8dff8e;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 143, 31, 0.08), transparent 25%),
    radial-gradient(circle at 80% 0%, rgba(156, 107, 255, 0.12), transparent 25%),
    linear-gradient(180deg, #120d18 0%, #0c0a0f 42%, #08070b 100%);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(8, 7, 11, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(255, 143, 31, 0.2));
}
.brand span {
  font-size: 1.1rem;
  color: var(--orange-2);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.15);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 1rem;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: 12px;
  color: #f4e8d5;
  opacity: 0.94;
  font-size: 0.96rem;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 143, 31, 0.14);
  color: #fff3dc;
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}
.hero-card,
.panel,
.game-panel,
.info-card,
.page-card,
.feature-card,
.product-card,
.timeline-card,
.contact-card {
  background: linear-gradient(180deg, rgba(28,20,36,.96), rgba(17,12,22,.97));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-copy {
  padding: 32px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(156, 107, 255, 0.14);
  border: 1px solid rgba(156, 107, 255, 0.18);
  padding: 8px 12px;
  border-radius: 999px;
  color: #e4d6ff;
  font-weight: 700;
  font-size: 0.92rem;
}
.hero h1,
.page-hero h1 {
  margin: 16px 0 14px;
  line-height: 1.05;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
}
.hero p,
.page-hero p,
.copy p,
.list-note,
.footer-copy,
.product-card p,
.timeline-card p,
.contact-card p,
.coming-soon p,
.game-side p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
}
.accent { color: var(--orange-2); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  font-weight: 800;
  letter-spacing: 0.15px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover,
button.button:hover { transform: translateY(-2px); }
.button.primary,
button.button.primary {
  background: linear-gradient(180deg, #ff962b, #ff7517);
  color: #170f08;
  border-color: rgba(255,255,255,0.2);
}
.button.secondary,
button.button.secondary {
  background: rgba(255,255,255,0.03);
  color: var(--text);
}
.hero-art {
  padding: 18px;
}
.logo-frame {
  border-radius: calc(var(--radius) - 6px);
  min-height: 100%;
  padding: 20px;
  background:
    radial-gradient(circle at top, rgba(255,143,31,.14), transparent 35%),
    radial-gradient(circle at bottom right, rgba(156,107,255,.12), transparent 35%),
    rgba(13, 10, 17, 0.88);
  border: 1px solid rgba(255,255,255,0.05);
}
.logo-frame img {
  width: min(100%, 500px);
  margin: 0 auto;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,.45));
}
.section {
  padding: 30px 0 52px;
}
.section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}
.section-header {
  margin-bottom: 22px;
}
.grid {
  display: grid;
  gap: 18px;
}
.feature-grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.feature-card,
.product-card,
.timeline-card,
.contact-card,
.page-card {
  padding: 22px;
}
.feature-card {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  min-height: 220px;
}
.feature-card:hover,
.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 175, 85, 0.4);
}
.card-icon,
.product-icon {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,143,31,.22), rgba(255,143,31,.08));
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.feature-card h3,
.product-card h3,
.timeline-card h3,
.contact-card h3,
.page-card h3,
.game-side h2,
.coming-soon h2 {
  margin: 0 0 10px;
  font-size: 1.26rem;
}
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.page-hero {
  padding: 46px 0 12px;
}
.page-banner {
  padding: 30px;
}
.page-banner.small { padding: 24px; }
.product-grid {
  grid-template-columns: repeat(2, minmax(0,1fr));
}
.product-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 12px;
}
.badge {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  font-size: .88rem;
  color: #f8e9c9;
}
.note {
  color: var(--muted);
  font-size: .96rem;
}
.contact-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 38px;
  padding: 18px 0 38px;
}
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-copy strong { color: var(--orange-2); }
.small-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}
.small-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}
.small-list .bullet {
  color: var(--orange-2);
  font-weight: 900;
}
.coming-soon {
  padding: 32px;
  text-align: center;
}
.checklist {
  display: grid;
  gap: 10px;
  max-width: 680px;
  margin: 22px auto 0;
  text-align: left;
}
.checklist div {
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
}
.timeline {
  grid-template-columns: repeat(2, minmax(0,1fr));
}
.timeline-card {
  min-height: 170px;
}
.game-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
}
.game-panel {
  padding: 18px;
}
.canvas-shell {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: #05050a;
}
#gameCanvas {
  display: block;
  width: 100%;
  height: auto;
  background: linear-gradient(180deg, #051021, #0d1427 42%, #1a1120 100%);
}
.game-side {
  padding: 22px;
}
.controls-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}
.control-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.keycap {
  min-width: 66px;
  text-align: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 800;
  color: #fff3db;
}
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 18px;
}
.status-box {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.status-box span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 6px;
}
.status-box strong {
  display: block;
  font-size: 1.18rem;
  color: #fff3db;
}
.center { text-align: center; }
.mt-10 { margin-top: 10px; }
.mt-18 { margin-top: 18px; }
.mt-24 { margin-top: 24px; }
.muted { color: var(--muted); }
hr.sep {
  border: 0;
  border-top: 1px solid rgba(255,255,255,.07);
  margin: 20px 0;
}
@media (max-width: 980px) {
  .hero-grid,
  .contact-strip,
  .game-layout,
  .feature-grid,
  .timeline,
  .product-grid {
    grid-template-columns: 1fr;
  }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(11, 9, 15, 0.98);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: var(--shadow);
    justify-content: flex-start;
  }
  .nav-links.open { display: flex; }
}
@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 22px)); }
  .hero { padding-top: 32px; }
  .hero-copy, .page-banner, .feature-card, .product-card, .timeline-card, .contact-card, .coming-soon, .game-panel, .game-side { padding: 18px; }
  .status-grid { grid-template-columns: 1fr; }
}
