/* ==========================================================================
   狗狗加速 // GOUGOU SPEED - RETRO PIXEL-ARCADE CONSOLE STYLESHEET
   Style: Retro Handheld Console & Pixel Arcade UI
   ========================================================================== */

:root {
  /* Color Palette - Console Light (Putty-Cream Handheld) */
  --console-cream: #EFECE4;
  --console-cream-dark: #E2DDD2;
  --console-border: #14181D;
  --screen-slate: #14181D;
  --screen-dark: #0D1013;
  --phosphor-green: #22C55E;
  --phosphor-green-glow: rgba(34, 197, 94, 0.4);
  --shiba-orange: #FF6B00;
  --shiba-orange-hover: #E05E00;
  --arcade-cyan: #06B6D4;
  --arcade-yellow: #EAB308;
  --pixel-white: #FFFFFF;
  --text-main: #14181D;
  --text-muted: #57606A;
  --text-screen: #EFECE4;
  --bg-body: #EFECE4;
  --bg-card: #F7F5F0;
  --bg-surface: #FFFFFF;
  --card-shadow: 4px 4px 0px #14181D;
  --card-shadow-hover: 6px 6px 0px #FF6B00;
  --btn-shadow: 3px 3px 0px #14181D;
  --btn-shadow-active: 1px 1px 0px #14181D;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  --header-bg: rgba(239, 236, 228, 0.95);
  --crt-scanline: rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] {
  /* Color Palette - CRT Arcade Night Mode */
  --console-cream: #12161C;
  --console-cream-dark: #192028;
  --console-border: #2A3542;
  --screen-slate: #0A0D11;
  --screen-dark: #050709;
  --phosphor-green: #22C55E;
  --phosphor-green-glow: rgba(34, 197, 94, 0.6);
  --shiba-orange: #FF6B00;
  --shiba-orange-hover: #FF7D1A;
  --arcade-cyan: #22D3EE;
  --arcade-yellow: #FACC15;
  --pixel-white: #F3F4F6;
  --text-main: #EFECE4;
  --text-muted: #8E9BAE;
  --text-screen: #EFECE4;
  --bg-body: #0A0D11;
  --bg-card: #151A22;
  --bg-surface: #1B212B;
  --card-shadow: 4px 4px 0px #000000;
  --card-shadow-hover: 6px 6px 0px #FF6B00;
  --btn-shadow: 3px 3px 0px #000000;
  --btn-shadow-active: 1px 1px 0px #000000;
  --header-bg: rgba(18, 22, 28, 0.95);
  --crt-scanline: rgba(255, 255, 255, 0.04);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  overflow-x: hidden;
  background-image: radial-gradient(var(--console-cream-dark) 1px, transparent 1px);
  background-size: 24px 24px;
}

[data-theme="dark"] body {
  background-image: radial-gradient(#1A222C 1px, transparent 1px);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.15s ease;
}

ul, ol {
  list-style: none;
}

/* Pixel Grid Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Console Header Bar */
.console-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--console-border);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.05);
  transition: background-color 0.25s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* 8-bit / Official Puppy Logo Emblem */
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.brand-logo-frame {
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  border: 2px solid var(--console-border);
  box-shadow: 2px 2px 0 var(--console-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.brand-link:hover .brand-logo-frame {
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 var(--shiba-orange);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text-main {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-tag-code {
  font-size: 0.75rem;
  color: var(--shiba-orange);
  font-weight: 700;
  margin-left: 4px;
  border: 1px solid var(--console-border);
  padding: 1px 6px;
  background: var(--bg-surface);
  border-radius: 2px;
}

/* Crisp Monospace Navigation */
.console-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-anchor {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 6px 8px;
  position: relative;
  transition: color 0.15s ease, background 0.15s ease;
  border: 1px solid transparent;
}

.nav-anchor:hover {
  color: var(--text-main);
  background: var(--console-cream-dark);
  border-color: var(--console-border);
  box-shadow: 2px 2px 0 var(--console-border);
}

.nav-anchor.nav-highlight {
  color: var(--shiba-orange);
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid var(--shiba-orange);
}

.nav-anchor.nav-highlight:hover {
  background: var(--shiba-orange);
  color: #FFFFFF;
}

/* Header Action Controls */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Refined Console Day/Night Switch Button */
.theme-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--console-border);
  background: var(--bg-surface);
  color: var(--text-main);
  cursor: pointer;
  border-radius: 6px;
  box-shadow: var(--btn-shadow);
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.2s ease;
}

.theme-switch-btn:hover {
  background: var(--console-cream-dark);
}

.theme-switch-btn:active {
  transform: translate(2px, 2px);
  box-shadow: var(--btn-shadow-active);
}

.theme-switch-btn .sun-icon {
  display: block;
}

.theme-switch-btn .moon-icon {
  display: none;
}

[data-theme="dark"] .theme-switch-btn .sun-icon {
  display: none;
}

[data-theme="dark"] .theme-switch-btn .moon-icon {
  display: block;
}

/* Tactile Coin Button (CTA) */
.btn-coin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--shiba-orange);
  color: #FFFFFF !important;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 9px 16px;
  border: 2px solid var(--console-border);
  box-shadow: var(--btn-shadow);
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.15s ease;
}

.btn-coin:hover {
  background: var(--shiba-orange-hover);
}

.btn-coin:active {
  transform: translate(2px, 2px);
  box-shadow: var(--btn-shadow-active);
}

/* Primary & Secondary Arcade Buttons */
.arcade-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-mono);
  font-size: 0.98rem;
  font-weight: 800;
  border: 2px solid var(--console-border);
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: var(--btn-shadow);
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.15s ease;
}

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

.btn-key-a {
  background: var(--shiba-orange);
  color: #FFFFFF !important;
}

.btn-key-a:hover {
  background: var(--shiba-orange-hover);
  box-shadow: 4px 4px 0 var(--console-border);
}

.btn-key-b {
  background: var(--bg-surface);
  color: var(--text-main);
}

.btn-key-b:hover {
  background: var(--console-cream-dark);
  box-shadow: 4px 4px 0 var(--console-border);
}

.key-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid currentColor;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

/* ==========================================================================
   Hero Section: Handheld Console Screen Showcase
   ========================================================================== */
.hero-arcade {
  padding: 60px 0 50px;
  position: relative;
}

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

.hero-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.arcade-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  border: 2px solid var(--console-border);
  background: var(--bg-surface);
  box-shadow: 2px 2px 0 var(--console-border);
  width: fit-content;
  border-radius: 3px;
}

.pixel-pulse-led {
  width: 8px;
  height: 8px;
  background: var(--phosphor-green);
  border: 1px solid var(--console-border);
  animation: led-blink 1.2s infinite steps(2, start);
}

@keyframes led-blink {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 4px var(--phosphor-green)); }
  50% { opacity: 0.2; filter: none; }
}

.hero-headline {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.hero-headline .highlight-brand {
  color: var(--shiba-orange);
  position: relative;
  display: inline-block;
}

.hero-headline .highlight-brand::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 6px;
  background: rgba(255, 107, 0, 0.2);
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--shiba-orange);
  line-height: 1.4;
  font-family: var(--font-mono);
}

.hero-intro {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-button-deck {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.spec-strip-item {
  border: 2px solid var(--console-border);
  background: var(--bg-card);
  padding: 10px 12px;
  box-shadow: 2px 2px 0 var(--console-border);
  font-family: var(--font-mono);
}

.spec-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.spec-value {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-main);
}

/* Handheld Console Device (Right Column) */
.console-chassis {
  background: var(--console-cream-dark);
  border: 3px solid var(--console-border);
  border-radius: 18px;
  padding: 20px 20px 24px;
  box-shadow: 8px 8px 0 var(--console-border);
  position: relative;
  transition: all 0.25s ease;
}

[data-theme="dark"] .console-chassis {
  background: #171E27;
}

.chassis-top-vents {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 4px;
}

.vent-slots {
  display: flex;
  gap: 4px;
}

.vent-line {
  width: 22px;
  height: 4px;
  background: var(--console-border);
  border-radius: 2px;
}

.console-label-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* Dark Screen Bezel */
.screen-bezel {
  background: var(--screen-slate);
  border: 3px solid var(--console-border);
  border-radius: 10px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.6);
}

/* Subtle CRT Scanline Overlay */
.screen-bezel::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(var(--crt-scanline) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  z-index: 10;
  pointer-events: none;
  opacity: 0.6;
}

/* Screen HUD Status Header */
.screen-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #94A3B8;
  margin-bottom: 14px;
}

.hud-green {
  color: var(--phosphor-green);
  font-weight: 800;
}

.hud-score {
  color: var(--arcade-yellow);
  font-weight: 800;
}

/* Latency Dash Mini-Stage Track */
.stage-arena {
  position: relative;
  z-index: 2;
  background: var(--screen-dark);
  border: 2px solid #2A3542;
  border-radius: 6px;
  padding: 16px 14px;
}

.stage-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.stage-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--phosphor-green);
  font-weight: 800;
  text-shadow: 0 0 8px var(--phosphor-green-glow);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Checkpoints Track */
.checkpoints-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.checkpoint-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.cp-city {
  width: 90px;
  color: #E2E8F0;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cp-bar-rail {
  flex-grow: 1;
  height: 12px;
  background: #19212C;
  border: 1px solid #334155;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.cp-bar-fill {
  height: 100%;
  background: var(--phosphor-green);
  box-shadow: 0 0 8px var(--phosphor-green);
  width: 0%;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cp-latency {
  width: 72px;
  text-align: right;
  color: var(--phosphor-green);
  font-weight: 900;
}

.cp-score-pop {
  font-size: 0.7rem;
  color: var(--arcade-yellow);
  font-weight: 800;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Benchmark Interactive Trigger Button */
.benchmark-action-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px dashed #2A3542;
  gap: 10px;
}

.btn-start-bench {
  background: var(--phosphor-green);
  color: #0A0D11;
  border: 2px solid #0A0D11;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 2px 2px 0px #000;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.bench-status-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94A3B8;
}

/* Console Bottom Controls Decoration (D-Pad & A/B) */
.chassis-bottom-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding: 0 10px;
}

.dpad-cross {
  width: 52px;
  height: 52px;
  position: relative;
}

.dpad-arm {
  background: var(--console-border);
  position: absolute;
  border-radius: 2px;
}

.dpad-horiz {
  width: 100%;
  height: 18px;
  top: 17px;
  left: 0;
}

.dpad-vert {
  height: 100%;
  width: 18px;
  left: 17px;
  top: 0;
}

.chassis-buttons-ab {
  display: flex;
  gap: 12px;
  transform: rotate(-15deg);
}

.chassis-fake-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--console-border);
  background: var(--shiba-orange);
  box-shadow: 2px 2px 0 var(--console-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 900;
}

.chassis-fake-btn.btn-fake-b {
  background: #DC2626;
}

/* ==========================================================================
   Section Layout & Stepped Cartridge Cards
   ========================================================================== */
.section-block {
  padding: 70px 0;
  position: relative;
}

.section-block.alt-bg {
  background: var(--bg-card);
  border-top: 2px solid var(--console-border);
  border-bottom: 2px solid var(--console-border);
}

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

.section-pixel-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--shiba-orange);
  background: var(--bg-surface);
  border: 2px solid var(--console-border);
  box-shadow: 2px 2px 0 var(--console-border);
  padding: 3px 10px;
  margin-bottom: 12px;
  border-radius: 3px;
}

.section-main-title {
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-intro-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Cartridge Feature Cards (3 Cards) */
.cartridge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cartridge-card {
  background: var(--bg-surface);
  border: 3px solid var(--console-border);
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}

.cartridge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

/* Cartridge Top Grip Ridges */
.cartridge-notch-header {
  background: var(--console-cream-dark);
  border-bottom: 2px solid var(--console-border);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cartridge-ridges {
  display: flex;
  gap: 4px;
}

.ridge {
  width: 6px;
  height: 14px;
  background: var(--console-border);
  border-radius: 1px;
}

.cartridge-id {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
}

.cartridge-body {
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cartridge-icon-box {
  width: 52px;
  height: 52px;
  border: 2px solid var(--console-border);
  background: var(--shiba-orange);
  box-shadow: 3px 3px 0 var(--console-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  margin-bottom: 18px;
  border-radius: 6px;
}

.cartridge-icon-box.green-box {
  background: var(--phosphor-green);
  color: #0A0D11;
}

.cartridge-icon-box.cyan-box {
  background: var(--arcade-cyan);
  color: #0A0D11;
}

.cartridge-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.cartridge-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.cartridge-specs-pill {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill-item {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid var(--console-border);
  padding: 3px 8px;
  background: var(--bg-card);
  border-radius: 3px;
  color: var(--text-main);
}

/* ==========================================================================
   Streaming & AI Showcase Grid (Arcade Expansion Modules)
   ========================================================================== */
.showcase-arcade-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.expansion-card {
  background: var(--bg-surface);
  border: 3px solid var(--console-border);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--card-shadow);
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.expansion-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.expansion-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.expansion-icon {
  width: 50px;
  height: 50px;
  border: 2px solid var(--console-border);
  background: #EF4444;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 0 var(--console-border);
  border-radius: 6px;
}

.expansion-icon.ai-icon {
  background: var(--phosphor-green);
  color: #0A0D11;
}

.expansion-title {
  font-size: 1.4rem;
  font-weight: 800;
}

.expansion-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}

.pixel-app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.pixel-app-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 10px;
  border: 1px solid var(--console-border);
  background: var(--bg-card);
  border-radius: 4px;
}

.pixel-dot-green {
  width: 8px;
  height: 8px;
  background: var(--phosphor-green);
  border: 1px solid var(--console-border);
  flex-shrink: 0;
}

.expansion-foot-spec {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Real Price Tier Comparison Table (Pricing Cards)
   ========================================================================== */
.pricing-arcade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.pricing-slot-card {
  background: var(--bg-surface);
  border: 3px solid var(--console-border);
  border-radius: 12px;
  padding: 34px 26px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pricing-slot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.pricing-slot-card.hot-slot {
  border-color: var(--shiba-orange);
  box-shadow: 6px 6px 0px var(--shiba-orange);
}

.pricing-slot-card.hot-slot:hover {
  box-shadow: 8px 8px 0px var(--console-border);
}

.hot-banner {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--shiba-orange);
  color: #FFFFFF;
  border: 2px solid var(--console-border);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 900;
  padding: 3px 14px;
  box-shadow: 2px 2px 0 var(--console-border);
  border-radius: 3px;
  white-space: nowrap;
}

.plan-rank-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--shiba-orange);
  font-weight: 800;
  margin-bottom: 6px;
}

.plan-header-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.plan-summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 42px;
  margin-bottom: 18px;
}

.plan-price-num-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.currency-mark {
  font-size: 1.4rem;
  font-weight: 900;
  font-family: var(--font-mono);
}

.price-digit {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  font-family: var(--font-mono);
}

.period-term {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.equiv-calc {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--shiba-orange);
  margin-bottom: 22px;
}

.plan-line-divider {
  border-bottom: 2px dashed var(--console-border);
  margin-bottom: 20px;
}

.features-check-list {
  margin-bottom: 28px;
  flex-grow: 1;
}

.feature-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.pixel-check-icon {
  width: 18px;
  height: 18px;
  background: var(--phosphor-green);
  border: 1px solid var(--console-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 2px;
}

/* ==========================================================================
   User Testimonials (Top Players Leaderboard Style)
   ========================================================================== */
.leaderboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.player-card {
  background: var(--bg-surface);
  border: 2px solid var(--console-border);
  border-radius: 8px;
  padding: 22px 18px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease;
}

.player-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.player-stars {
  font-family: var(--font-mono);
  color: var(--arcade-yellow);
  font-size: 0.9rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.player-review-text {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 18px;
}

.player-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px dashed var(--console-border);
  padding-top: 12px;
}

.player-avatar-pixel {
  width: 36px;
  height: 36px;
  background: var(--console-cream-dark);
  border: 2px solid var(--console-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--shiba-orange);
  border-radius: 4px;
}

.player-meta h4 {
  font-size: 0.88rem;
  font-weight: 800;
}

.player-meta span {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ==========================================================================
   FAQ Accordion (Arcade Game Handbook)
   ========================================================================== */
.faq-box-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq-card-unit {
  background: var(--bg-surface);
  border: 2px solid var(--console-border);
  border-radius: 8px;
  margin-bottom: 14px;
  box-shadow: 2px 2px 0 var(--console-border);
  overflow: hidden;
}

.faq-card-unit:hover {
  border-color: var(--shiba-orange);
}

.faq-trigger-btn {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
}

.faq-key-arrow {
  width: 24px;
  height: 24px;
  border: 2px solid var(--console-border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 900;
  border-radius: 4px;
  transition: transform 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.faq-card-unit.active .faq-key-arrow {
  transform: rotate(180deg);
  background: var(--shiba-orange);
  color: #FFFFFF;
}

.faq-fold-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding: 0 22px;
}

.faq-card-unit.active .faq-fold-content {
  max-height: 280px;
  padding: 0 22px 20px;
}

/* ==========================================================================
   Bottom Action Banner (Insert Coin Banner)
   ========================================================================== */
.insert-coin-block {
  padding: 60px 0;
}

.insert-coin-banner {
  background: var(--console-cream-dark);
  border: 3px solid var(--console-border);
  border-radius: 16px;
  padding: 50px 30px;
  text-align: center;
  box-shadow: 6px 6px 0 var(--console-border);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .insert-coin-banner {
  background: #141B24;
}

.insert-coin-banner h2 {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.insert-coin-banner p {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 28px;
}

/* ==========================================================================
   Footer (Strictly 4 Titles Only)
   ========================================================================== */
.console-footer {
  background: var(--bg-surface);
  border-top: 2px solid var(--console-border);
  padding: 50px 0 35px;
}

.footer-inner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.footer-brand-emblem {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo-img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  border: 2px solid var(--console-border);
  box-shadow: 3px 3px 0 var(--console-border);
  margin-bottom: 12px;
  background: #FFFFFF;
  object-fit: cover;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.footer-logo-img:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--shiba-orange);
}

.footer-brand-title {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 4px;
}

.footer-domain-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--shiba-orange);
}

.footer-strict-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.footer-exact-link {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 4px 8px;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.footer-exact-link:hover {
  color: var(--shiba-orange);
  background: var(--console-cream-dark);
  border-color: var(--console-border);
  box-shadow: 2px 2px 0 var(--console-border);
}

.footer-bottom-copy {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--console-border);
  width: 100%;
  padding-top: 20px;
  text-align: center;
}

/* ==========================================================================
   Sub-page Specific Styles (Articles, About, Terms, etc.)
   ========================================================================== */
.subpage-container {
  max-width: 900px;
  margin: 40px auto 70px;
  padding: 0 20px;
}

.subpage-header-box {
  background: var(--bg-surface);
  border: 3px solid var(--console-border);
  border-radius: 12px;
  padding: 36px 30px;
  box-shadow: var(--card-shadow);
  margin-bottom: 30px;
  text-align: center;
}

.subpage-main-heading {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.subpage-lead-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.subpage-module-card {
  background: var(--bg-surface);
  border: 2px solid var(--console-border);
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: var(--card-shadow);
  margin-bottom: 24px;
}

.subpage-module-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.subpage-module-card p {
  color: var(--text-main);
  line-height: 1.75;
  margin-bottom: 14px;
}

.subpage-module-card p:last-child {
  margin-bottom: 0;
}

/* News List Item */
.news-article-card {
  background: var(--bg-surface);
  border: 2px solid var(--console-border);
  border-radius: 10px;
  padding: 26px;
  box-shadow: var(--card-shadow);
  margin-bottom: 22px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.news-article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.news-meta-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.news-badge {
  background: var(--shiba-orange);
  color: #FFF;
  padding: 2px 8px;
  font-weight: 800;
  border-radius: 2px;
}

.news-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-main);
}

.news-summary {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.news-read-more {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--shiba-orange);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Long-form SEO Article Specific Styles
   ========================================================================== */
.article-container {
  max-width: 960px;
  margin: 40px auto 70px;
  padding: 0 20px;
}

.article-hero-box {
  background: var(--bg-surface);
  border: 3px solid var(--console-border);
  border-radius: 12px;
  padding: 40px 32px;
  box-shadow: var(--card-shadow);
  margin-bottom: 30px;
}

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

.article-category-tag {
  background: var(--shiba-orange);
  color: #FFFFFF;
  padding: 3px 10px;
  font-weight: 800;
  border-radius: 2px;
  border: 1px solid var(--console-border);
}

.article-main-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-main);
}

.article-lead-p {
  font-size: 1.06rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Table of Contents (TOC) */
.article-toc-box {
  background: var(--bg-card);
  border: 2px solid var(--console-border);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 36px;
  box-shadow: 2px 2px 0 var(--console-border);
}

.toc-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
}

.toc-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.toc-link:hover {
  color: var(--shiba-orange);
  text-decoration: underline;
}

/* Article Prose Typography */
.article-prose {
  background: var(--bg-surface);
  border: 3px solid var(--console-border);
  border-radius: 12px;
  padding: 42px 36px;
  box-shadow: var(--card-shadow);
  margin-bottom: 36px;
}

.article-prose h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 36px 0 16px;
  color: var(--text-main);
  padding-bottom: 8px;
  border-bottom: 2px dashed var(--console-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.article-prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--text-main);
}

.article-prose p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 20px;
}

.article-prose ul, .article-prose ol {
  margin-bottom: 22px;
  padding-left: 24px;
}

.article-prose li {
  margin-bottom: 10px;
  line-height: 1.7;
  color: var(--text-main);
}

.article-prose ul li {
  list-style-type: square;
}

.article-prose blockquote {
  background: rgba(255, 107, 0, 0.08);
  border-left: 4px solid var(--shiba-orange);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 6px 6px 0;
  font-size: 0.98rem;
  line-height: 1.7;
}

.article-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.92rem;
}

.article-prose th, .article-prose td {
  border: 2px solid var(--console-border);
  padding: 12px 14px;
  text-align: left;
}

.article-prose th {
  background: var(--console-cream-dark);
  font-family: var(--font-mono);
  font-weight: 800;
}

.article-prose a.inline-kw {
  color: var(--shiba-orange);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-prose a.inline-kw:hover {
  background: rgba(255, 107, 0, 0.15);
}

/* Article Internal CTA Box */
.article-cta-box {
  background: var(--console-cream-dark);
  border: 2px solid var(--console-border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  margin: 32px 0;
  box-shadow: 3px 3px 0 var(--console-border);
}

.article-cta-box h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.article-cta-box p {
  font-size: 0.95rem;
  margin-bottom: 18px;
  color: var(--text-muted);
}

/* Article FAQ & Related Posts */
.article-sub-module {
  background: var(--bg-surface);
  border: 2px solid var(--console-border);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--card-shadow);
  margin-bottom: 28px;
}

.article-sub-module h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px dashed var(--console-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.related-card-link {
  background: var(--bg-card);
  border: 1px solid var(--console-border);
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.related-card-link:hover {
  transform: translateY(-2px);
  border-color: var(--shiba-orange);
  box-shadow: 2px 2px 0 var(--shiba-orange);
}

.related-card-link h4 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-main);
}

.related-card-link span {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--shiba-orange);
  font-weight: 700;
}

@media (max-width: 768px) {
  .article-prose {
    padding: 24px 18px;
  }
  .article-main-title {
    font-size: 1.7rem;
  }
  .related-links-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cartridge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-arcade-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-slot-card.hot-slot {
    grid-column: span 2;
  }
  .leaderboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .console-nav {
    display: none;
  }
  .hero-headline {
    font-size: 2.2rem;
  }
  .hero-button-deck {
    flex-direction: column;
    width: 100%;
  }
  .hero-button-deck .arcade-btn {
    width: 100%;
  }
  .spec-strip {
    grid-template-columns: 1fr;
  }
  .cartridge-grid {
    grid-template-columns: 1fr;
  }
  .showcase-arcade-grid {
    grid-template-columns: 1fr;
  }
  .pricing-arcade-grid {
    grid-template-columns: 1fr;
  }
  .pricing-slot-card.hot-slot {
    grid-column: span 1;
  }
  .leaderboard-grid {
    grid-template-columns: 1fr;
  }
  .pixel-app-grid {
    grid-template-columns: 1fr;
  }
  .footer-strict-nav {
    flex-direction: column;
    gap: 16px;
  }
  .insert-coin-banner h2 {
    font-size: 1.7rem;
  }
}
