:root {
  --bg-deep: #041018;
  --bg-mid: #071821;
  --bg-panel: rgba(10, 36, 48, 0.72);
  --cyan: #22d3ee;
  --mint: #5eead4;
  --sky: #38bdf8;
  --accent: #2dd4bf;
  --accent-bright: #99f6e4;
  --text: #e8f6fa;
  --text-muted: #8fb4c2;
  --line: rgba(94, 234, 212, 0.22);
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  --radius: 20px;
  --font-display: "Sora", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Segoe UI", sans-serif;
  --grad-main: linear-gradient(135deg, #5eead4 0%, #22d3ee 48%, #38bdf8 100%);
  --grad-soft: linear-gradient(160deg, rgba(94, 234, 212, 0.18), rgba(56, 189, 248, 0.08));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: var(--mint);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

/* ===== Atmosphere ===== */
.bg-aurora,
.bg-mesh,
.bg-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-aurora {
  background:
    radial-gradient(ellipse 70% 55% at 12% 8%, rgba(45, 212, 191, 0.28), transparent 55%),
    radial-gradient(ellipse 55% 45% at 88% 18%, rgba(56, 189, 248, 0.22), transparent 50%),
    radial-gradient(ellipse 65% 50% at 50% 95%, rgba(8, 70, 72, 0.55), transparent 60%),
    linear-gradient(165deg, #031015 0%, #062028 42%, #041820 100%);
}

.bg-mesh {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(94, 234, 212, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 234, 212, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at center, black 28%, transparent 78%);
}

.bg-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.35;
  animation: float-particle linear infinite;
  box-shadow: 0 0 10px rgba(94, 234, 212, 0.55);
}

@keyframes float-particle {
  from { transform: translateY(100vh) scale(0.6); opacity: 0; }
  15% { opacity: 0.45; }
  to { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.site-header,
main,
.site-footer,
.back-top {
  position: relative;
  z-index: 1;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(4, 16, 24, 0.72);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--grad-main);
  box-shadow:
    0 10px 24px rgba(34, 211, 238, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  position: relative;
  transform: perspective(400px) rotateX(12deg) rotateY(-10deg);
}

.brand-mark::after {
  content: "M";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: #06202a;
  font-size: 18px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand-text em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: flex-end;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.nav a:hover {
  color: var(--accent-bright);
}

.nav-cta {
  padding: 8px 16px !important;
  border-radius: 999px;
  background: var(--grad-main);
  color: #04202a !important;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(34, 211, 238, 0.35);
}

.nav-cta:hover {
  filter: brightness(1.08);
  color: #021418 !important;
}

/* ===== Typography ===== */
.eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
}

.gradient-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(8, 40, 48, 0.35), rgba(4, 16, 24, 0.15));
  border-block: 1px solid rgba(94, 234, 212, 0.08);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

/* ===== 3D cards ===== */
.card-3d {
  transform-style: preserve-3d;
  perspective: 900px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

/* ===== Buttons ===== */
.btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 14px 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
}

.btn-3d {
  transform: translateY(0);
  box-shadow:
    0 14px 0 rgba(6, 40, 48, 0.55),
    0 22px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-3d:hover {
  transform: translateY(-3px);
  box-shadow:
    0 17px 0 rgba(6, 40, 48, 0.55),
    0 28px 48px rgba(0, 0, 0, 0.4);
}

.btn-3d:active,
.btn-3d.is-downloading {
  transform: translateY(6px);
  box-shadow:
    0 6px 0 rgba(6, 40, 48, 0.55),
    0 12px 24px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  background: var(--grad-main);
  color: #04202a;
}

.btn-primary .btn-label {
  font-weight: 800;
  font-size: 1.05rem;
  color: #04202a;
}

.btn-primary .btn-meta {
  font-size: 0.78rem;
  color: rgba(4, 32, 42, 0.72);
}

.btn-ghost {
  background: rgba(10, 36, 48, 0.55);
  border-color: var(--line);
  color: var(--text);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.btn-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 4.5s ease-in-out infinite;
}

@keyframes shine {
  0%, 60% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(120%); }
}

.btn-lg {
  padding: 18px 28px;
}

/* ===== Hero ===== */
.hero {
  padding: 72px 0 48px;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-copy .gradient-text {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero-sub {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--text);
  font-weight: 600;
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 540px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-meta strong {
  color: var(--accent-bright);
  margin-right: 6px;
}

/* Device stage 3D */
.device-stage {
  position: relative;
  height: 460px;
  perspective: 1200px;
  display: grid;
  place-items: center;
}

.device-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.35), transparent 68%);
  filter: blur(8px);
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.12); opacity: 1; }
}

.device-card {
  position: relative;
  width: min(300px, 78%);
  border-radius: 28px;
  padding: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  transform: rotateY(-12deg) rotateX(8deg);
  animation: float-device 5.5s ease-in-out infinite;
}

@keyframes float-device {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

.device-screen {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #0b1c28, #0a2a30);
  border: 1px solid rgba(94, 234, 212, 0.2);
}

.screen-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.25);
}

.screen-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5eead4;
  opacity: 0.7;
}

.screen-bar span:nth-child(2) { background: #22d3ee; }
.screen-bar span:nth-child(3) { background: #38bdf8; }

.screen-body {
  padding: 22px 18px 26px;
}

.screen-title {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 12px;
}

.fps-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--grad-main);
  color: #04202a;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(34, 211, 238, 0.35);
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 72px;
  margin-bottom: 18px;
}

.bars i {
  flex: 1;
  display: block;
  border-radius: 6px 6px 2px 2px;
  background: var(--grad-main);
  animation: bar-pulse 1.6s ease-in-out infinite;
  opacity: 0.85;
}

.bars i:nth-child(1) { height: 38%; animation-delay: 0.05s; }
.bars i:nth-child(2) { height: 62%; animation-delay: 0.15s; }
.bars i:nth-child(3) { height: 48%; animation-delay: 0.25s; }
.bars i:nth-child(4) { height: 86%; animation-delay: 0.1s; }
.bars i:nth-child(5) { height: 55%; animation-delay: 0.3s; }
.bars i:nth-child(6) { height: 70%; animation-delay: 0.2s; }

@keyframes bar-pulse {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.72); }
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mini-stats div {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(94, 234, 212, 0.12);
  border-radius: 12px;
  padding: 8px;
  text-align: center;
}

.mini-stats em {
  display: block;
  font-style: normal;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.mini-stats b {
  font-size: 0.92rem;
  color: var(--accent-bright);
}

.device-shadow {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.45), transparent 70%);
  filter: blur(4px);
}

.orbit {
  position: absolute;
  border: 1px dashed rgba(94, 234, 212, 0.28);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.orbit-1 {
  width: 360px;
  height: 360px;
}

.orbit-2 {
  width: 440px;
  height: 440px;
  animation-direction: reverse;
  animation-duration: 26s;
  border-color: rgba(56, 189, 248, 0.2);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.float-chip {
  position: absolute;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(8, 32, 40, 0.85);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  color: var(--accent-bright);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  animation: chip-float 4.8s ease-in-out infinite;
}

.chip-1 { top: 18%; left: 4%; }
.chip-2 { top: 58%; right: 2%; animation-delay: 0.8s; }
.chip-3 { bottom: 10%; left: 16%; animation-delay: 1.4s; }

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Stats ===== */
.stats {
  padding: 12px 0 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--grad-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(10px);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.stat-unit {
  margin: 6px 0 8px;
  color: var(--mint);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.stat-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Features ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: rgba(8, 28, 36, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  border-color: rgba(94, 234, 212, 0.45);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(94, 234, 212, 0.15);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: #04202a;
  background: var(--grad-main);
  box-shadow:
    0 10px 0 rgba(6, 40, 48, 0.4),
    0 16px 28px rgba(34, 211, 238, 0.25);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Performance ===== */
.performance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.performance-copy h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
}

.performance-copy > p {
  color: var(--text-muted);
  margin: 0 0 20px;
}

.check-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  color: var(--text);
  border-bottom: 1px solid rgba(94, 234, 212, 0.1);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--grad-main);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.15);
}

.tower {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(8, 28, 36, 0.65);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateY(-8deg) rotateX(4deg);
}

.tower-layer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(94, 234, 212, calc(0.08 + var(--i) * 0.05)), rgba(56, 189, 248, 0.08));
  border: 1px solid rgba(94, 234, 212, 0.18);
  box-shadow:
    0 calc(8px + var(--i) * 2px) 0 rgba(4, 20, 28, 0.55),
    0 16px 30px rgba(0, 0, 0, 0.25);
  transform: translateZ(calc(var(--i) * 8px));
}

.tower-layer span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.tower-layer b {
  color: var(--accent-bright);
}

/* ===== Games ===== */
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.game-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(8, 28, 36, 0.75);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.game-art {
  height: 140px;
  position: relative;
}

.game-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(4, 16, 24, 0.85));
}

.g1 { background: linear-gradient(135deg, #0ea5a4, #134e4a 60%, #082f2c); }
.g2 { background: linear-gradient(135deg, #0284c7, #0c4a6e 60%, #082f49); }
.g3 { background: linear-gradient(135deg, #14b8a6, #115e59 55%, #164e63); }
.g4 { background: linear-gradient(135deg, #38bdf8, #1e3a5f 60%, #0f172a); }
.g5 { background: linear-gradient(135deg, #2dd4bf, #155e75 55%, #0b2a33); }
.g6 { background: linear-gradient(135deg, #67e8f9, #0e7490 55%, #083344); }

.game-card h3 {
  margin: 0;
  padding: 4px 18px 4px;
  font-size: 1.05rem;
}

.game-card p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Highlights ===== */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.highlight-card {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: rgba(8, 28, 36, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.highlight-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
}

.highlight-card p {
  margin: 0;
  color: var(--text-muted);
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.step-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: rgba(8, 28, 36, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.step-card h3 {
  margin: 0 0 10px;
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
}

/* ===== Specs ===== */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 920px;
  margin: 0 auto;
}

.spec-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: rgba(8, 28, 36, 0.75);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.spec-featured {
  background:
    linear-gradient(160deg, rgba(94, 234, 212, 0.16), rgba(8, 28, 36, 0.85)),
    rgba(8, 28, 36, 0.75);
  border-color: rgba(94, 234, 212, 0.4);
  transform: translateY(-6px);
}

.ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--grad-main);
  color: #04202a;
  font-size: 0.78rem;
  font-weight: 800;
}

.spec-card h3 {
  margin: 0 0 18px;
  font-family: var(--font-display);
}

.spec-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-card li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(94, 234, 212, 0.1);
}

.spec-card li span {
  color: var(--text-muted);
}

.spec-card li b {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

/* ===== Changelog ===== */
.changelog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.change-card {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: rgba(8, 28, 36, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.change-ver {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.12);
  border: 1px solid var(--line);
  color: var(--mint);
  font-size: 0.8rem;
  font-weight: 700;
}

.change-card h3 {
  margin: 0 0 10px;
}

.change-card p {
  margin: 0;
  color: var(--text-muted);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  background: rgba(8, 28, 36, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  padding: 4px 18px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  position: relative;
  padding-right: 28px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mint);
  font-size: 1.2rem;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

/* ===== CTA ===== */
.cta-section {
  padding: 40px 0 100px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px 42px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(94, 234, 212, 0.18), rgba(56, 189, 248, 0.12)),
    rgba(8, 28, 36, 0.85);
  border: 1px solid rgba(94, 234, 212, 0.35);
  box-shadow:
    0 24px 0 rgba(4, 20, 28, 0.55),
    0 40px 70px rgba(0, 0, 0, 0.4);
}

.cta-box h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
}

.cta-box p:last-child {
  margin: 0;
  color: var(--text-muted);
}

/* ===== Footer ===== */
.site-footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(4, 20, 28, 0.4), rgba(2, 10, 16, 0.9));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.footer-brand p {
  color: var(--text-muted);
  margin: 14px 0 0;
  max-width: 320px;
}

.site-footer h4 {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: var(--accent-bright);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--mint);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(94, 234, 212, 0.1);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.seo-links a {
  color: var(--text-muted);
}

/* ===== Back top ===== */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--grad-main);
  color: #04202a;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow:
    0 10px 0 rgba(6, 40, 48, 0.45),
    0 18px 30px rgba(0, 0, 0, 0.35);
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Desktop-first: keep layout rich on wide screens; compact gracefully */
@media (max-width: 1100px) {
  .hero-grid,
  .performance-grid {
    grid-template-columns: 1fr;
  }

  .device-stage {
    height: 400px;
  }

  .stats-grid,
  .feature-grid,
  .game-grid,
  .highlight-grid,
  .steps,
  .changelog-list,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

  .stats-grid,
  .feature-grid,
  .game-grid,
  .highlight-grid,
  .steps,
  .changelog-list,
  .spec-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .spec-featured {
    transform: none;
  }
}
