:root {
  --bg-deep: #120608;
  --bg-mid: #1a0a0c;
  --bg-panel: #241014;
  --wine: #6b1e2a;
  --wine-bright: #8e2a3a;
  --wine-deep: #3d0f16;
  --gold: #c9a227;
  --gold-bright: #e2c35a;
  --gold-dim: #8a7020;
  --gold-soft: rgba(201, 162, 39, 0.18);
  --text: #f6ead7;
  --text-muted: #c4b09a;
  --line: rgba(201, 162, 39, 0.22);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --radius: 18px;
  --font-display: "Cinzel", "Noto Sans SC", serif;
  --font-body: "Noto Sans SC", "Segoe UI", sans-serif;
}

*,
*::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(--gold-bright);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

a:hover {
  color: #fff4cc;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

/* Background atmosphere */
.bg-aurora,
.bg-grid,
.bg-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-aurora {
  background:
    radial-gradient(ellipse 80% 50% at 15% 10%, rgba(142, 42, 58, 0.45), transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 20%, rgba(201, 162, 39, 0.18), transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 90%, rgba(61, 15, 22, 0.8), transparent 60%),
    linear-gradient(180deg, #0d0507 0%, #1a0a0c 45%, #120608 100%);
}

.bg-grid {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(201, 162, 39, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 162, 39, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.bg-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-bright);
  opacity: 0.35;
  animation: float-particle linear infinite;
  box-shadow: 0 0 8px rgba(226, 195, 90, 0.6);
}

@keyframes float-particle {
  from { transform: translateY(100vh) scale(0.6); opacity: 0; }
  20% { 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);
  background: rgba(18, 6, 8, 0.72);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background:
    linear-gradient(145deg, var(--gold-bright), var(--gold) 40%, var(--wine-bright) 100%);
  box-shadow:
    0 8px 20px rgba(107, 30, 42, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -6px 12px rgba(0, 0, 0, 0.25);
  position: relative;
}

.brand-mark::after {
  content: "M";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #2a0a10;
  font-size: 1.15rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
}

.brand-text em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.28em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--gold-bright);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--wine-bright), var(--wine-deep));
  color: var(--text) !important;
  border: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow: 0 10px 24px rgba(107, 30, 42, 0.45);
}

.nav-cta:hover {
  transform: translateY(-1px);
  color: #fff !important;
}

/* Hero */
.hero {
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: var(--gold-soft);
  color: var(--gold-bright);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.15;
  font-weight: 900;
}

.gold-text {
  display: block;
  background: linear-gradient(120deg, #fff1c2 0%, var(--gold-bright) 35%, #a87820 70%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 18px 40px rgba(201, 162, 39, 0.18);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.hero-sub {
  display: block;
  margin-top: 10px;
  font-size: 1.15rem;
  font-weight: 500;
  color: #e7cfc0;
  letter-spacing: 0.08em;
}

.lead {
  margin: 0 0 28px;
  max-width: 34em;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-height: 58px;
  padding: 12px 24px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transform-style: preserve-3d;
}

.btn-label {
  font-size: 1.05rem;
  line-height: 1.2;
}

.btn-meta {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.85;
}

.btn-primary {
  background: linear-gradient(145deg, #b43448 0%, var(--wine) 45%, #4a121c 100%);
  color: #fff8e8;
  border-color: rgba(226, 195, 90, 0.45);
  box-shadow:
    0 14px 30px rgba(107, 30, 42, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -8px 16px rgba(0, 0, 0, 0.28);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.01);
}

.btn-ghost {
  background: linear-gradient(145deg, rgba(36, 16, 20, 0.9), rgba(26, 10, 12, 0.95));
  color: var(--gold-bright);
  border-color: rgba(201, 162, 39, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.btn-ghost:hover {
  transform: translateY(-3px);
}

.btn-lg {
  min-height: 68px;
  padding: 16px 32px;
  font-size: 1.08rem;
}

.btn-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.22) 45%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 4.5s ease-in-out infinite;
}

@keyframes shine {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}

.btn-3d {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-meta strong {
  color: var(--gold-bright);
  margin-right: 6px;
}

/* Device visual */
.device-stage {
  position: relative;
  min-height: 460px;
  perspective: 1200px;
  display: grid;
  place-items: center;
}

.device-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 42, 58, 0.55), rgba(201, 162, 39, 0.12) 50%, transparent 70%);
  filter: blur(10px);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.12); opacity: 1; }
}

.device-card {
  position: relative;
  width: min(340px, 100%);
  border-radius: 24px;
  padding: 14px;
  background: linear-gradient(160deg, #3a161d, #1c0b0f 55%, #2a1016);
  border: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.35);
  transform: rotateY(-12deg) rotateX(8deg);
  transition: transform 0.35s ease;
  z-index: 2;
}

.device-screen {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #2b1218, #14070a);
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.screen-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(201, 162, 39, 0.12);
}

.screen-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wine-bright);
}

.screen-bar span:nth-child(2) { background: var(--gold); }
.screen-bar span:nth-child(3) { background: #c47a3a; }

.screen-body {
  padding: 28px 22px 24px;
}

.screen-title {
  font-family: var(--font-display);
  color: var(--gold-bright);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.fps-badge {
  display: inline-block;
  margin-bottom: 22px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--wine-bright), var(--wine-deep));
  border: 1px solid rgba(201, 162, 39, 0.35);
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(107, 30, 42, 0.45);
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
  margin-bottom: 22px;
}

.bars i {
  flex: 1;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--gold-bright), var(--wine));
  animation: bar-dance 1.8s ease-in-out infinite;
  box-shadow: 0 8px 16px rgba(107, 30, 42, 0.35);
}

.bars i:nth-child(1) { height: 42%; animation-delay: 0s; }
.bars i:nth-child(2) { height: 68%; animation-delay: 0.15s; }
.bars i:nth-child(3) { height: 54%; animation-delay: 0.3s; }
.bars i:nth-child(4) { height: 88%; animation-delay: 0.45s; }
.bars i:nth-child(5) { height: 62%; animation-delay: 0.6s; }
.bars i:nth-child(6) { height: 76%; animation-delay: 0.75s; }

@keyframes bar-dance {
  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 {
  padding: 10px 8px;
  border-radius: 12px;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.16);
  text-align: center;
}

.mini-stats em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.mini-stats b {
  color: var(--gold-bright);
}

.device-shadow {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -28px;
  height: 28px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.55), transparent 70%);
  filter: blur(4px);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.orbit-1 {
  width: 420px;
  height: 420px;
}

.orbit-2 {
  width: 520px;
  height: 520px;
  animation-duration: 28s;
  animation-direction: reverse;
  border-style: dashed;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.float-chip {
  position: absolute;
  z-index: 3;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(54, 18, 24, 0.95), rgba(26, 10, 12, 0.95));
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: var(--gold-bright);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  animation: float-y 4s ease-in-out infinite;
}

.chip-1 { top: 18%; left: 4%; }
.chip-2 { top: 58%; right: 0; animation-delay: 0.8s; }
.chip-3 { bottom: 8%; left: 12%; animation-delay: 1.4s; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Shared sections */
.section {
  padding: 88px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(61, 15, 22, 0.28), rgba(18, 6, 8, 0.1));
  border-block: 1px solid rgba(201, 162, 39, 0.1);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
}

.section-head p:last-child {
  margin: 0;
  color: var(--text-muted);
}

.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card-3d:hover {
  transform: translateY(-8px) rotateX(2deg);
  border-color: rgba(226, 195, 90, 0.45);
  box-shadow:
    0 28px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(201, 162, 39, 0.12);
}

/* Stats */
.stats {
  padding: 10px 0 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card,
.feature-card,
.game-card,
.step-card,
.spec-card,
.faq-item,
.cta-box {
  background: linear-gradient(160deg, rgba(54, 18, 24, 0.92), rgba(24, 10, 13, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 28px 22px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
}

.stat-unit {
  margin-top: 4px;
  color: var(--wine-bright);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.stat-card p {
  margin: 12px 0 0;
  color: var(--text-muted);
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px 24px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 14px;
  font-size: 1.35rem;
  background: linear-gradient(145deg, rgba(201, 162, 39, 0.22), rgba(107, 30, 42, 0.35));
  border: 1px solid rgba(201, 162, 39, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* Performance */
.performance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.performance-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.performance-copy > p {
  color: var(--text-muted);
}

.check-list {
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 34px;
  color: var(--text-muted);
  border-bottom: 1px dashed rgba(201, 162, 39, 0.15);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-bright), var(--wine));
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.12);
}

.tower {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.tower-layer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(107, 30, 42, 0.55), rgba(36, 16, 20, 0.9));
  border: 1px solid rgba(201, 162, 39, 0.22);
  transform: translateX(calc((var(--i) - 1) * 12px));
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tower-layer span {
  color: var(--gold-bright);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.tower-layer b {
  font-weight: 500;
  color: var(--text);
}

/* Games */
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.game-card {
  overflow: hidden;
  padding-bottom: 18px;
}

.game-art {
  height: 150px;
  margin-bottom: 16px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.game-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(18, 6, 8, 0.75));
}

.g1 { background-image: linear-gradient(135deg, #6b1e2a, #c9a227 60%, #3d0f16); }
.g2 { background-image: linear-gradient(160deg, #8e2a3a, #1a0a0c 40%, #c9a227); }
.g3 { background-image: linear-gradient(120deg, #4a121c, #e2c35a, #6b1e2a); }
.g4 { background-image: linear-gradient(200deg, #2a1016, #a87820, #8e2a3a); }
.g5 { background-image: linear-gradient(145deg, #3d0f16, #c9a227, #1a0a0c); }
.g6 { background-image: linear-gradient(180deg, #8e2a3a, #241014 50%, #e2c35a); }

.game-card h3 {
  margin: 0 18px 6px;
  font-size: 1.08rem;
}

.game-card p {
  margin: 0 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.step-card {
  padding: 28px 24px;
}

.step-num {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-bright);
}

.step-card h3 {
  margin: 0 0 10px;
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
}

/* Specs */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.spec-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.spec-featured {
  border-color: rgba(226, 195, 90, 0.5);
  background: linear-gradient(160deg, rgba(107, 30, 42, 0.55), rgba(24, 10, 13, 0.96));
}

.ribbon {
  position: absolute;
  top: 18px;
  right: -28px;
  width: 120px;
  text-align: center;
  transform: rotate(35deg);
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  color: #2a0a10;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 0;
  letter-spacing: 0.08em;
}

.spec-card h3 {
  margin: 0 0 18px;
  font-size: 1.25rem;
  color: var(--gold-bright);
}

.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(201, 162, 39, 0.12);
  color: var(--text-muted);
}

.spec-card li b {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

/* FAQ */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--text);
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-bright);
  font-size: 1.3rem;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--text-muted);
}

/* CTA */
.cta-section {
  padding: 40px 0 90px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 40px;
  background:
    radial-gradient(circle at 90% 20%, rgba(201, 162, 39, 0.18), transparent 40%),
    linear-gradient(135deg, rgba(107, 30, 42, 0.75), rgba(26, 10, 12, 0.95));
}

.cta-box h2 {
  margin: 0 0 8px;
  font-size: 1.8rem;
}

.cta-box p:last-child {
  margin: 0;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  background: rgba(10, 4, 6, 0.85);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}

.footer-brand p {
  margin: 16px 0 0;
  color: var(--text-muted);
  max-width: 28em;
}

.site-footer h4 {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.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(--gold-bright);
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(201, 162, 39, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.seo-links a {
  color: var(--text-muted);
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--wine-bright), var(--wine-deep));
  color: var(--gold-bright);
  border: 1px solid rgba(201, 162, 39, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  transform: translateY(-3px);
  color: #fff;
}

/* Desktop-first: keep rich layout on large screens.
   Slight tightening only for narrower desktop windows. */
@media (max-width: 1100px) {
  .nav {
    gap: 14px;
  }

  .nav a:not(.nav-cta) {
    font-size: 0.88rem;
  }

  .hero-grid,
  .performance-grid {
    grid-template-columns: 1fr;
  }

  .device-stage {
    min-height: 420px;
  }

  .stats-grid,
  .feature-grid,
  .game-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner {
    height: auto;
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav {
    flex-wrap: wrap;
  }

  .stats-grid,
  .feature-grid,
  .game-grid,
  .steps,
  .spec-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 22px;
  }

  .tower-layer {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
