/* ==========================================================================
   BoostNet机场 网络加速器 - 官方推广与资讯指南平台
   Retro Pixel Arcade Dark Storefront Design System
   ========================================================================== */

:root {
  --bg-deep: #080d1a;
  --bg-surface: #0e1424;
  --bg-card: #131c31;
  --bg-card-hover: #19243d;
  --bg-cabinet: #0b111e;

  --arcade-green: #00ff66;
  --arcade-green-dim: rgba(0, 255, 102, 0.15);
  --arcade-green-glow: rgba(0, 255, 102, 0.4);

  --arcade-yellow: #ffcc00;
  --arcade-yellow-hover: #ffdb33;
  --arcade-yellow-dim: rgba(255, 204, 0, 0.15);

  --arcade-magenta: #ff007f;
  --arcade-magenta-dim: rgba(255, 0, 127, 0.15);

  --arcade-cyan: #00e5ff;
  --arcade-cyan-dim: rgba(0, 229, 255, 0.15);

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-dark: #090d16;

  --border-pixel: 3px solid var(--arcade-green);
  --border-cabinet: 3px solid #1e2b45;
  --shadow-block: 4px 4px 0 #000000;
  --shadow-block-lg: 6px 6px 0 #000000;
  --shadow-block-sm: 2px 2px 0 #000000;

  --font-sans: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-pixel: "Courier New", Consolas, "Lucida Console", Monaco, monospace;

  --container-max: 1200px;
  --header-height: 72px;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.05) 0%, transparent 60%),
    linear-gradient(rgba(14, 20, 36, 0.9) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 20, 36, 0.9) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
  background-position: 0 0, -1px -1px, -1px -1px;
}

/* Accessibility Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--arcade-yellow);
  outline-offset: 3px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

a {
  color: var(--arcade-cyan);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

a:hover {
  color: var(--arcade-yellow);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Arcade Badges & Tags
   ========================================================================== */
.arcade-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-pixel);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--bg-surface);
  border: 2px solid var(--arcade-green);
  color: var(--arcade-green);
  box-shadow: var(--shadow-block-sm);
  letter-spacing: 0.5px;
}

.arcade-badge.magenta {
  border-color: var(--arcade-magenta);
  color: var(--arcade-magenta);
}

.arcade-badge.yellow {
  border-color: var(--arcade-yellow);
  color: var(--arcade-yellow);
}

.arcade-badge.cyan {
  border-color: var(--arcade-cyan);
  color: var(--arcade-cyan);
}

.arcade-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.arcade-section-header .section-tag {
  display: inline-block;
  font-family: var(--font-pixel);
  color: var(--arcade-green);
  font-size: 0.95rem;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding: 4px 12px;
  background: rgba(0, 255, 102, 0.08);
  border: 1px dashed var(--arcade-green);
}

.arcade-section-header h2 {
  font-size: 2.1rem;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.arcade-section-header p {
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ==========================================================================
   Buttons (Yellow Square Pixel Buttons with Blocky Shadows)
   ========================================================================== */
.btn-arcade-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--arcade-yellow);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 12px 24px;
  border: 3px solid #000000;
  border-radius: 0;
  box-shadow: var(--shadow-block);
  cursor: pointer;
  text-align: center;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease;
  user-select: none;
}

.btn-arcade-primary:hover {
  background-color: var(--arcade-yellow-hover);
  color: #000000;
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 #000000;
}

.btn-arcade-primary:active {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-block-sm);
}

.btn-arcade-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: var(--arcade-green);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 12px 24px;
  border: 3px solid var(--arcade-green);
  border-radius: 0;
  box-shadow: var(--shadow-block);
  cursor: pointer;
  text-align: center;
  transition: all 0.1s ease;
}

.btn-arcade-secondary:hover {
  background-color: var(--arcade-green-dim);
  color: #ffffff;
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 #000000;
}

.btn-arcade-secondary:active {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-block-sm);
}

.btn-sm {
  font-size: 0.88rem;
  padding: 8px 16px;
  border-width: 2px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 13, 26, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px solid #1a263e;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.28rem;
  font-weight: 900;
  color: #ffffff;
  text-decoration: none;
}

.brand-mascot-icon {
  width: 36px;
  height: 36px;
  border: 2px solid var(--arcade-green);
  background: var(--bg-surface);
  box-shadow: var(--shadow-block-sm);
}

.brand-text-wrapper {
  display: flex;
  flex-direction: column;
}

.brand-name {
  color: var(--arcade-yellow);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.brand-sub {
  font-family: var(--font-pixel);
  font-size: 0.72rem;
  color: var(--arcade-green);
  letter-spacing: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 16px;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 6px 8px;
  transition: color 0.15s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 8px;
  right: 8px;
  height: 2px;
  background-color: var(--arcade-green);
}

.header-cta {
  display: flex;
  align-items: center;
}

/* Mobile Hamburger Button */
.hamburger-btn {
  display: none;
  background: var(--bg-surface);
  border: 2px solid var(--arcade-green);
  color: var(--arcade-green);
  width: 42px;
  height: 42px;
  cursor: pointer;
  padding: 8px;
  box-shadow: var(--shadow-block-sm);
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.hamburger-line {
  width: 22px;
  height: 3px;
  background-color: var(--arcade-green);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Announcement Strip with Pause Button
   ========================================================================== */
.announcement-bar {
  background: #0f182c;
  border-bottom: 1px solid #1e2c48;
  padding: 8px 0;
  font-size: 0.88rem;
  position: relative;
  z-index: 900;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--arcade-magenta);
  color: #ffffff;
  padding: 2px 8px;
  flex-shrink: 0;
}

.announcement-badge .blink-dot {
  width: 6px;
  height: 6px;
  background: #ffffff;
  display: inline-block;
  animation: arcade-blink 1s infinite steps(2, start);
}

.announcement-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 24px;
}

.announcement-ticker {
  white-space: nowrap;
  display: inline-block;
  animation: marquee 25s linear infinite;
  color: var(--text-main);
  font-size: 0.88rem;
}

.announcement-ticker.paused {
  animation-play-state: paused;
}

.announcement-control {
  background: var(--bg-card);
  border: 1px solid #334155;
  color: var(--arcade-yellow);
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  padding: 3px 8px;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.announcement-control:hover {
  background: #1e293b;
  border-color: var(--arcade-yellow);
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

@keyframes arcade-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 64px 0 72px;
  position: relative;
  border-bottom: 2px solid #152035;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-content .arcade-badge {
  margin-bottom: 16px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title .brand-highlight {
  color: var(--arcade-yellow);
  text-shadow: 2px 2px 0 #000;
}

.hero-title .tech-highlight {
  color: var(--arcade-green);
  display: block;
  font-size: 2.1rem;
  margin-top: 6px;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-badges-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 540px;
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 20, 36, 0.7);
  border: 1px solid #1e293b;
  padding: 10px 14px;
}

.hero-stat-icon {
  font-size: 1.2rem;
}

.hero-stat-text {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.hero-stat-text strong {
  display: block;
  color: #ffffff;
  font-size: 0.94rem;
}

/* ==========================================================================
   Hero Right: Retro Pixel Mascot & Network Platforms Animation
   ========================================================================== */
.arcade-cabinet-screen {
  background: #080c16;
  border: 4px solid var(--arcade-green);
  box-shadow: var(--shadow-block-lg), inset 0 0 30px rgba(0, 255, 102, 0.1);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.arcade-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px dashed #1e293b;
  padding-bottom: 12px;
  margin-bottom: 20px;
  font-family: var(--font-pixel);
  font-size: 0.8rem;
}

.arcade-screen-header .screen-title {
  color: var(--arcade-green);
}

.arcade-screen-header .screen-ping {
  color: var(--arcade-yellow);
}

.arcade-stage-area {
  position: relative;
  height: 320px;
  border: 1px solid #1a253a;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(0, 255, 102, 0.08) 0%, transparent 70%),
    linear-gradient(rgba(26, 37, 58, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 37, 58, 0.4) 1px, transparent 1px);
  background-size: 100% 100%, 20px 20px, 20px 20px;
  overflow: hidden;
}

/* Platforms */
.platform {
  position: absolute;
  height: 24px;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-pixel);
  font-size: 0.72rem;
  font-weight: bold;
  box-shadow: 0 4px 0 #000;
}

.platform-hk {
  bottom: 40px;
  left: 20px;
  width: 120px;
  background: var(--arcade-green);
  color: #000;
}

.platform-jp {
  bottom: 110px;
  left: 170px;
  width: 130px;
  background: var(--arcade-magenta);
  color: #fff;
}

.platform-sg {
  bottom: 180px;
  left: 40px;
  width: 120px;
  background: var(--arcade-cyan);
  color: #000;
}

.platform-us {
  bottom: 240px;
  right: 25px;
  width: 140px;
  background: var(--arcade-yellow);
  color: #000;
}

/* Leaping Mascot Sprite */
.jumping-mascot {
  position: absolute;
  width: 48px;
  height: 48px;
  bottom: 64px;
  left: 56px;
  z-index: 10;
  animation: mascot-jump-loop 8s infinite ease-in-out;
  transform-origin: bottom center;
}

@keyframes mascot-jump-loop {
  /* Stand on HK Platform */
  0%, 15% {
    transform: translate(0, 0);
  }
  /* Jump to JP Platform */
  22% {
    transform: translate(75px, -120px) scale(1.1);
  }
  30%, 45% {
    transform: translate(150px, -70px);
  }
  /* Jump to SG Platform */
  52% {
    transform: translate(60px, -180px) scale(1.1);
  }
  60%, 75% {
    transform: translate(-10px, -140px);
  }
  /* Jump to US Platform */
  82% {
    transform: translate(120px, -240px) scale(1.1);
  }
  88%, 93% {
    transform: translate(220px, -200px);
  }
  /* Return to HK */
  98% {
    transform: translate(100px, -90px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.arcade-screen-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-family: var(--font-pixel);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.telemetry-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.telemetry-indicator span {
  color: var(--arcade-green);
}

/* ==========================================================================
   Walkthrough Section (3 Steps - Arcade Stage Progression)
   ========================================================================== */
.walkthrough-section {
  padding: 80px 0;
  background: #090e1b;
  border-bottom: 2px solid #152035;
}

.walkthrough-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.walkthrough-card {
  background: var(--bg-card);
  border: 2px solid #1e293b;
  padding: 32px 24px;
  position: relative;
  box-shadow: var(--shadow-block);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.walkthrough-card:hover {
  transform: translateY(-4px);
  border-color: var(--arcade-green);
}

.stage-number-badge {
  position: absolute;
  top: -14px;
  left: 20px;
  background: var(--arcade-yellow);
  color: #000;
  font-family: var(--font-pixel);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 2px 10px;
  border: 2px solid #000;
  box-shadow: var(--shadow-block-sm);
}

.walkthrough-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-surface);
  border: 2px solid var(--arcade-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: var(--shadow-block-sm);
}

.walkthrough-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.walkthrough-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* ==========================================================================
   Advantages / Features Section
   ========================================================================== */
.features-section {
  padding: 80px 0;
  border-bottom: 2px solid #152035;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 2px solid #1e2b45;
  padding: 28px;
  box-shadow: var(--shadow-block);
  transition: all 0.2s ease;
}

.feature-card:hover {
  border-color: var(--arcade-green);
  box-shadow: 6px 6px 0 #000;
  transform: translateY(-3px);
}

.feature-pixel-icon {
  width: 48px;
  height: 48px;
  background: #0b111e;
  border: 2px solid var(--arcade-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  box-shadow: var(--shadow-block-sm);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.feature-card .feature-tag {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  color: var(--arcade-cyan);
}

/* ==========================================================================
   Global Nodes Section
   ========================================================================== */
.nodes-section {
  padding: 80px 0;
  background: #090e1c;
  border-bottom: 2px solid #152035;
}

.nodes-table-wrapper {
  background: var(--bg-card);
  border: 3px solid #1e2b45;
  box-shadow: var(--shadow-block);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
}

.nodes-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
  min-width: 680px;
}

.nodes-table th {
  background: #0b111e;
  padding: 14px 18px;
  font-family: var(--font-pixel);
  color: var(--arcade-green);
  border-bottom: 2px solid #1e2b45;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.nodes-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #19253c;
  color: var(--text-main);
}

.nodes-table tr:hover td {
  background: rgba(0, 255, 102, 0.03);
}

.node-region-cell {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.latency-badge {
  font-family: var(--font-pixel);
  font-size: 0.78rem;
  font-weight: bold;
  padding: 2px 8px;
  border: 1px solid;
}

.latency-ultra {
  color: var(--arcade-green);
  border-color: var(--arcade-green);
  background: rgba(0, 255, 102, 0.1);
}

.latency-good {
  color: var(--arcade-cyan);
  border-color: var(--arcade-cyan);
  background: rgba(0, 229, 255, 0.1);
}

.latency-standard {
  color: var(--arcade-yellow);
  border-color: var(--arcade-yellow);
  background: rgba(255, 204, 0, 0.1);
}

.node-note {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 12px;
  text-align: right;
  font-family: var(--font-pixel);
}

/* ==========================================================================
   AI & Streaming Guidance Section
   ========================================================================== */
.usecases-section {
  padding: 80px 0;
  border-bottom: 2px solid #152035;
}

.usecases-tabs-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.usecase-column {
  background: var(--bg-card);
  border: 3px solid #1e2b45;
  padding: 32px;
  box-shadow: var(--shadow-block);
}

.usecase-column-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  margin-bottom: 24px;
  border-bottom: 2px solid #1e293b;
  padding-bottom: 12px;
}

.usecase-items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.usecase-item {
  border-left: 3px solid var(--arcade-green);
  padding-left: 16px;
}

.usecase-item.streaming {
  border-left-color: var(--arcade-magenta);
}

.usecase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.usecase-header h4 {
  font-size: 1.1rem;
  color: #ffffff;
}

.usecase-status {
  font-family: var(--font-pixel);
  font-size: 0.72rem;
  padding: 2px 6px;
  background: #0b111e;
  border: 1px solid var(--arcade-green);
  color: var(--arcade-green);
}

.usecase-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Mini Arcade Game Widget: Collect Network Tokens
   ========================================================================== */
.game-section {
  padding: 80px 0;
  background: #080d19;
  border-bottom: 2px solid #152035;
}

.game-cabinet {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-cabinet);
  border: 4px solid var(--arcade-green);
  box-shadow: var(--shadow-block-lg);
  padding: 24px;
}

.cabinet-marquee {
  background: #0d1629;
  border: 2px solid #1e293b;
  padding: 12px;
  text-align: center;
  margin-bottom: 16px;
}

.cabinet-title {
  font-family: var(--font-pixel);
  font-size: 1.25rem;
  color: var(--arcade-yellow);
  font-weight: 800;
  letter-spacing: 1px;
}

.game-disclaimer-box {
  background: rgba(255, 0, 127, 0.08);
  border: 1px solid var(--arcade-magenta);
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-bottom: 18px;
  line-height: 1.6;
}

.game-disclaimer-box strong {
  color: var(--arcade-magenta);
}

.game-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000;
  padding: 10px 18px;
  border: 2px solid #1e293b;
  font-family: var(--font-pixel);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.hud-item span {
  color: var(--arcade-green);
  font-weight: bold;
}

.game-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  background: #050811;
  border: 3px solid #1e293b;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

#arcadeCanvas {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.game-controls-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  background: #0d1526;
  padding: 14px;
  border: 2px solid #1e293b;
}

.btn-game-group {
  display: flex;
  gap: 10px;
}

.btn-game-ctrl {
  background: var(--bg-card);
  border: 2px solid var(--arcade-green);
  color: var(--text-main);
  font-family: var(--font-pixel);
  font-size: 0.85rem;
  padding: 8px 14px;
  cursor: pointer;
  box-shadow: var(--shadow-block-sm);
  transition: all 0.1s ease;
}

.btn-game-ctrl:hover {
  background: var(--arcade-green);
  color: #000;
}

.btn-game-ctrl:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.touch-dpad {
  display: flex;
  gap: 8px;
}

.btn-dpad {
  width: 44px;
  height: 44px;
  background: #192338;
  border: 2px solid var(--arcade-yellow);
  color: var(--arcade-yellow);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  touch-action: manipulation;
}

.btn-dpad:active {
  background: var(--arcade-yellow);
  color: #000;
}

.game-bypass-note {
  text-align: center;
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.game-bypass-note a {
  color: var(--arcade-yellow);
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================================================
   Pricing Section (4-5 Packages with One Suggested Option)
   ========================================================================== */
.pricing-section {
  padding: 80px 0;
  border-bottom: 2px solid #152035;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 2px solid #1e2b45;
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-block);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.pricing-card:hover {
  border-color: var(--arcade-green);
  transform: translateY(-4px);
}

/* Suggested Option Highlight */
.pricing-card.featured {
  background: #111a2f;
  border: 3px solid var(--arcade-yellow);
  box-shadow: var(--shadow-block-lg);
  transform: scale(1.02);
  z-index: 2;
}

.pricing-card.featured:hover {
  border-color: #ffffff;
}

.pricing-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--arcade-yellow);
  color: #000;
  font-family: var(--font-pixel);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 3px 12px;
  border: 2px solid #000;
  box-shadow: var(--shadow-block-sm);
  white-space: nowrap;
}

.pricing-header {
  border-bottom: 2px dashed #1e293b;
  padding-bottom: 18px;
  margin-bottom: 20px;
  text-align: center;
}

.pricing-stage-tag {
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  color: var(--arcade-green);
  margin-bottom: 6px;
  display: block;
}

.pricing-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.pricing-price-box {
  margin: 14px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.price-main {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.price-currency {
  font-family: var(--font-pixel);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--arcade-yellow);
}

.price-amount {
  font-family: var(--font-pixel);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--arcade-yellow);
  line-height: 1;
  text-shadow: 2px 2px 0 #000;
}

.pricing-card.featured .price-amount {
  color: #ffffff;
  text-shadow: 2px 2px 0 var(--arcade-yellow);
}

.price-period {
  font-family: var(--font-pixel);
  font-size: 0.92rem;
  font-weight: bold;
  color: var(--arcade-green);
  margin-left: 4px;
}

.price-status {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--arcade-yellow);
  display: block;
  letter-spacing: 0.5px;
}

.price-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 5px;
  text-align: center;
}

.pricing-features-list {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.pricing-features-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-features-list li span.spec-val {
  color: #ffffff;
  font-weight: 600;
}

.pricing-card .btn-arcade-primary,
.pricing-card .btn-arcade-secondary {
  width: 100%;
}

.pricing-disclaimer-note {
  max-width: 820px;
  margin: 32px auto 0;
  background: rgba(14, 20, 36, 0.8);
  border: 1px solid #1e293b;
  padding: 14px 20px;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.7;
}

/* ==========================================================================
   Testimonials (Visibly Marked "示例评价")
   ========================================================================== */
.testimonials-section {
  padding: 80px 0;
  background: #090e1c;
  border-bottom: 2px solid #152035;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 2px solid #1e2b45;
  padding: 24px;
  box-shadow: var(--shadow-block);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-label-tag {
  display: inline-block;
  background: rgba(255, 0, 127, 0.12);
  border: 1px solid var(--arcade-magenta);
  color: var(--arcade-magenta);
  font-family: var(--font-pixel);
  font-size: 0.72rem;
  font-weight: bold;
  padding: 2px 6px;
  margin-bottom: 12px;
}

.testimonial-content {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 18px;
  font-style: normal;
}

.testimonial-author {
  border-top: 1px dashed #1e293b;
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-pixel-avatar {
  width: 32px;
  height: 32px;
  background: #0b111e;
  border: 1px solid var(--arcade-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.author-meta h4 {
  font-size: 0.9rem;
  color: #ffffff;
}

.author-meta p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Articles Section (Desktop 3x3, Tablet 2-col, Mobile 1-col)
   ========================================================================== */
.articles-section {
  padding: 80px 0;
  border-bottom: 2px solid #152035;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 2px solid #1e2b45;
  box-shadow: var(--shadow-block);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.article-card:hover {
  border-color: var(--arcade-cyan);
  transform: translateY(-4px);
}

.article-card-thumb {
  height: 120px;
  background: #0b111e;
  border-bottom: 2px solid #1e293b;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.article-pixel-art {
  font-size: 2.5rem;
  opacity: 0.9;
}

.article-thumb-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(8, 13, 26, 0.85);
  border: 1px solid var(--arcade-green);
  color: var(--arcade-green);
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  padding: 2px 6px;
}

.article-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 10px;
  font-family: var(--font-pixel);
}

.article-card h3 {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 10px;
}

.article-card h3 a {
  color: #ffffff;
}

.article-card h3 a:hover {
  color: var(--arcade-yellow);
}

.article-excerpt {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-pixel);
  font-size: 0.82rem;
  font-weight: bold;
  color: var(--arcade-cyan);
}

.article-read-more:hover {
  color: var(--arcade-yellow);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 80px 0;
  background: #090e1c;
  border-bottom: 2px solid #152035;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 2px solid #1e2b45;
  box-shadow: var(--shadow-block-sm);
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--arcade-green);
}

.faq-question {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
}

.faq-icon-toggle {
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  color: var(--arcade-yellow);
  transition: transform 0.2s ease;
}

details[open] .faq-icon-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

.faq-answer p + p {
  margin-top: 10px;
}

/* ==========================================================================
   CTA Banner Section
   ========================================================================== */
.cta-banner-section {
  padding: 72px 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 204, 0, 0.08) 0%, transparent 60%),
    #090d19;
  border-bottom: 2px solid #152035;
  text-align: center;
}

.cta-banner-box {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 3px solid var(--arcade-yellow);
  padding: 44px 30px;
  box-shadow: var(--shadow-block-lg);
}

.cta-banner-box h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.cta-banner-box p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 28px;
}

/* ==========================================================================
   Footer Section & Related Links
   ========================================================================== */
.site-footer {
  background: #060a14;
  padding: 64px 0 32px;
  border-top: 3px solid #1e2b45;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 48px;
}

.footer-col h3 {
  font-size: 1.05rem;
  margin-bottom: 18px;
  color: #ffffff;
  font-family: var(--font-pixel);
  letter-spacing: 0.5px;
  border-bottom: 2px solid #1e293b;
  padding-bottom: 8px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color 0.15s ease;
}

.footer-links-list a:hover {
  color: var(--arcade-yellow);
}

.footer-related-box {
  background: rgba(14, 20, 36, 0.6);
  border: 1px solid #1e293b;
  padding: 16px;
}

.footer-disclaimer-full {
  background: #090e1a;
  border: 1px solid #19253a;
  padding: 18px 22px;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 32px;
}

.footer-disclaimer-full strong {
  color: var(--arcade-yellow);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #152035;
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Article Detail & Static Page Templates
   ========================================================================== */
.article-page-header {
  padding: 48px 0 32px;
  background: #090e1b;
  border-bottom: 2px solid #152035;
}

.breadcrumb-nav {
  font-family: var(--font-pixel);
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.breadcrumb-nav a {
  color: var(--arcade-green);
}

.breadcrumb-nav span.sep {
  margin: 0 6px;
}

.article-title-h1 {
  font-size: 2.4rem;
  line-height: 1.3;
  margin-bottom: 18px;
  color: #ffffff;
}

.article-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-family: var(--font-pixel);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.article-layout {
  display: grid;
  grid-template-columns: 2.8fr 1.2fr;
  gap: 40px;
  padding: 48px 0 80px;
}

.article-body-content {
  background: var(--bg-card);
  border: 2px solid #1e2b45;
  padding: 40px;
  box-shadow: var(--shadow-block);
  font-size: 1.02rem;
  line-height: 1.85;
  color: #cbd5e1;
}

.article-body-content h2 {
  font-size: 1.6rem;
  margin: 36px 0 16px;
  color: #ffffff;
  border-bottom: 2px dashed #1e293b;
  padding-bottom: 8px;
}

.article-body-content h2:first-of-type {
  margin-top: 0;
}

.article-body-content h3 {
  font-size: 1.25rem;
  margin: 24px 0 12px;
  color: var(--arcade-yellow);
}

.article-body-content p {
  margin-bottom: 18px;
}

.article-body-content ul,
.article-body-content ol {
  margin: 16px 0 20px 24px;
}

.article-body-content li {
  margin-bottom: 8px;
}

.article-body-content code {
  font-family: var(--font-pixel);
  background: #0b111e;
  border: 1px solid #1e293b;
  padding: 2px 6px;
  color: var(--arcade-green);
  font-size: 0.9em;
}

.article-body-content pre {
  background: #080c16;
  border: 2px solid #1e293b;
  padding: 16px;
  overflow-x: auto;
  font-family: var(--font-pixel);
  font-size: 0.88rem;
  color: var(--arcade-cyan);
  margin-bottom: 20px;
}

.article-callout {
  background: rgba(0, 255, 102, 0.05);
  border-left: 4px solid var(--arcade-green);
  padding: 16px 20px;
  margin: 24px 0;
}

.article-callout.warning {
  background: rgba(255, 0, 127, 0.05);
  border-left-color: var(--arcade-magenta);
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 2px solid #1e2b45;
  padding: 24px;
  box-shadow: var(--shadow-block);
}

.sidebar-widget h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  border-bottom: 2px solid #1e293b;
  padding-bottom: 8px;
}

.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: block;
}

.sidebar-links a:hover {
  color: var(--arcade-yellow);
}

/* ==========================================================================
   Prefers Reduced Motion Support
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .announcement-ticker {
    animation: none !important;
    transform: none !important;
  }
  .jumping-mascot {
    animation: none !important;
    transform: translate(0, 0) !important;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   1440px, 1024px, 768px, 430px, 390px, 375px
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #090e1c;
    border-bottom: 3px solid var(--arcade-green);
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  }
  .main-nav.is-open {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .nav-link {
    padding: 10px 12px;
    background: #0e1526;
    border: 1px solid #1a263d;
  }
  .header-cta {
    margin-top: 12px;
  }
  .header-cta .btn-arcade-primary {
    width: 100%;
  }

  .hero-title {
    font-size: 2.2rem;
  }
  .hero-title .tech-highlight {
    font-size: 1.6rem;
  }

  .walkthrough-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .usecases-tabs-container {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .article-body-content {
    padding: 24px 18px;
  }
}

@media (max-width: 430px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-title .tech-highlight {
    font-size: 1.4rem;
  }
  .hero-badges-strip {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn-arcade-primary,
  .hero-actions .btn-arcade-secondary {
    width: 100%;
  }
  .arcade-stage-area {
    height: 260px;
  }
}
