/* ============================================================
   space-main.css — 太空歌剧风电子模拟器主样式表
   星际舰队矩阵布局系统 (Starfleet Matrix Layout)
   色彩体系：深空黑 #050510 | 星云紫 #2B00FF | 量子蓝 #00FFFF
              战舰灰 #1A1A2E | 星光白 #E0E0FF
   ============================================================ */

/* === 本地字体加载 === */
@font-face {
  font-family: 'Orbitron';
  src: url('../fonts/Orbitron-Variable.ttf') format('truetype');
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: 'Exo 2';
  src: url('../fonts/Exo2-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

/* === CSS 变量定义 === */
:root {
  --space-deep-black: #050510;
  --space-nebula-purple: #2B00FF;
  --space-quantum-blue: #00FFFF;
  --space-battleship-gray: #1A1A2E;
  --space-starlight-white: #E0E0FF;
  --space-nebula-purple-alpha: rgba(43, 0, 255, 0.25);
  --space-quantum-blue-alpha: rgba(0, 255, 255, 0.15);
  --space-font-heading: 'Orbitron', 'PingFang SC', sans-serif;
  --space-font-body: 'Exo 2', 'Microsoft YaHei', sans-serif;
  --space-glow-purple: 0 0 10px rgba(43, 0, 255, 0.25);
  --space-glow-blue: 0 0 10px rgba(0, 255, 255, 0.2);
  --space-glow-purple-strong: 0 0 20px rgba(43, 0, 255, 0.5);
  --space-glow-blue-strong: 0 0 20px rgba(0, 255, 255, 0.4);
}

/* === 全局重置 === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--space-font-body);
  background-color: var(--space-deep-black);
  color: var(--space-starlight-white);
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* 星轨背景纹理 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(43, 0, 255, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 255, 255, 0.02) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(43, 0, 255, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* === 排版系统 === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--space-font-heading);
  color: var(--space-quantum-blue);
  line-height: 1.3;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--space-starlight-white);
}

a {
  color: var(--space-quantum-blue);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  color: var(--space-nebula-purple);
  text-shadow: var(--space-glow-blue);
}

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

/* === 导航栏 === */
.space-nav-bar {
  background: rgba(5, 5, 16, 0.92);
  border-bottom: 2px solid var(--space-quantum-blue);
  padding: 0;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 255, 255, 0.1);
}

.space-nav-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.space-nav-bar__logo {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
}

.space-nav-bar__logo img {
  height: 40px;
  width: auto;
}

.space-nav-bar__menu {
  display: flex;
  list-style: none;
  gap: 0;
}

.space-nav-bar__item {
  position: relative;
}

.space-nav-bar__link {
  display: block;
  padding: 1rem 1.2rem;
  font-family: var(--space-font-heading);
  font-size: 0.85rem;
  color: var(--space-starlight-white);
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.space-nav-bar__link:hover {
  color: var(--space-quantum-blue);
  background: rgba(0, 255, 255, 0.05);
}

.space-nav-bar__link--active {
  color: var(--space-nebula-purple);
  background: rgba(43, 0, 255, 0.08);
  text-shadow: 0 0 8px rgba(43, 0, 255, 0.5);
}

.space-nav-bar__link--active::after {
  content: '◈';
  margin-left: 0.4rem;
  font-size: 0.6rem;
  animation: space-hologram-flicker 2s infinite;
}

/* 移动端汉堡菜单 */
.space-nav-bar__toggle {
  display: none;
  background: none;
  border: 2px solid var(--space-quantum-blue);
  color: var(--space-quantum-blue);
  padding: 0.5rem;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 4px;
}

.space-nav-bar__toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
}

.space-nav-bar__toggle-icon span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--space-quantum-blue);
  clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
  transition: all 0.3s ease;
}

/* === 面包屑导航 === */
.space-breadcrumb {
  padding: 1rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  font-size: 0.875rem;
}

.space-breadcrumb__list {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.space-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.space-breadcrumb__item::after {
  content: '▸';
  color: var(--space-nebula-purple);
  font-size: 0.75rem;
}

.space-breadcrumb__item:last-child::after {
  display: none;
}

.space-breadcrumb__link {
  color: var(--space-quantum-blue);
  font-size: 0.875rem;
}

.space-breadcrumb__current {
  color: var(--space-starlight-white);
  opacity: 0.7;
}

/* === 主内容区域 === */
.space-main-content {
  position: relative;
  z-index: 1;
}

/* === Hero 模块 === */
.space-hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.space-hero-section__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.space-hero-section__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 16, 0.7);
  z-index: 1;
}

.space-hero-section__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
}

.space-hero-section__title {
  font-size: 3.2rem;
  color: var(--space-quantum-blue);
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.4), 0 0 60px rgba(0, 255, 255, 0.2);
  margin-bottom: 1rem;
  animation: space-hologram-flicker 4s infinite;
}

.space-hero-section__subtitle {
  font-size: 1.375rem;
  color: var(--space-starlight-white);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.space-hero-section__description {
  font-size: 1rem;
  color: var(--space-starlight-white);
  line-height: 1.9;
  margin-bottom: 2rem;
  opacity: 0.85;
}

.space-hero-section__cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === 按钮系统 === */
.space-btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: var(--space-font-heading);
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 44px;
  min-height: 44px;
  text-align: center;
  letter-spacing: 0.05em;
}

.space-btn--primary {
  background: var(--space-nebula-purple);
  color: var(--space-deep-black);
  clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
  box-shadow: var(--space-glow-purple-strong);
}

.space-btn--primary:hover {
  background: #3d1aff;
  box-shadow: 0 0 30px rgba(43, 0, 255, 0.6);
  color: var(--space-deep-black);
  transform: translateY(-2px);
}

.space-btn--secondary {
  background: transparent;
  color: var(--space-quantum-blue);
  border: 2px solid var(--space-quantum-blue);
  clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
}

.space-btn--secondary:hover {
  border-color: var(--space-quantum-blue);
  box-shadow: var(--space-glow-blue-strong);
  color: var(--space-quantum-blue);
  transform: translateY(-2px);
}

/* === 通用区块容器 === */
.space-section {
  padding: 4rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.space-section__title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.space-section__title::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--space-quantum-blue), transparent);
  margin: 1rem auto 0;
}

/* 光纤连接装饰线 */
.space-fiber-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--space-quantum-blue), var(--space-nebula-purple), var(--space-quantum-blue), transparent);
  margin: 0 auto;
  position: relative;
  opacity: 0.4;
}

.space-fiber-line::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 40px;
  height: 4px;
  background: var(--space-quantum-blue);
  animation: space-data-flow 3s linear infinite;
  border-radius: 2px;
  box-shadow: 0 0 10px var(--space-quantum-blue);
}

/* === 卡片系统 === */
.space-simulator-card {
  background: var(--space-battleship-gray);
  box-shadow: var(--space-glow-purple);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.space-simulator-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--space-nebula-purple), var(--space-quantum-blue));
  opacity: 0.6;
}

.space-simulator-card:hover {
  box-shadow: var(--space-glow-purple-strong);
  transform: translateY(-4px);
}

.space-simulator-card:hover::before {
  opacity: 1;
}

.space-simulator-card__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: 2px;
}

.space-simulator-card__title {
  font-family: var(--space-font-heading);
  font-size: 1.1rem;
  color: var(--space-quantum-blue);
  margin-bottom: 0.5rem;
}

.space-simulator-card__status {
  font-size: 0.85rem;
  color: var(--space-starlight-white);
  opacity: 0.7;
  margin-bottom: 0.25rem;
}

.space-simulator-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--space-starlight-white);
  opacity: 0.6;
  margin-bottom: 1rem;
}

/* === 六大模拟舱网格 === */
.space-simulators-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

/* === 留言板模块 === */
.space-message-board {
  background: var(--space-battleship-gray);
  border-left: 3px solid var(--space-quantum-blue);
  padding: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}

.space-message-board__author {
  font-family: var(--space-font-heading);
  font-size: 0.9rem;
  color: var(--space-nebula-purple);
  margin-bottom: 0.5rem;
}

.space-message-board__text {
  font-size: 0.95rem;
  color: var(--space-starlight-white);
  line-height: 1.7;
  font-style: italic;
}

/* === 留言表单 === */
.space-form {
  background: var(--space-battleship-gray);
  padding: 2rem;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.space-form__group {
  margin-bottom: 1.25rem;
}

.space-form__label {
  display: block;
  font-family: var(--space-font-heading);
  font-size: 0.85rem;
  color: var(--space-quantum-blue);
  margin-bottom: 0.5rem;
}

.space-form__input,
.space-form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(5, 5, 16, 0.6);
  border: 1px solid rgba(0, 255, 255, 0.2);
  color: var(--space-starlight-white);
  font-family: var(--space-font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  min-height: 44px;
}

.space-form__input:focus,
.space-form__textarea:focus {
  outline: none;
  border-color: var(--space-quantum-blue);
  box-shadow: var(--space-glow-blue);
}

.space-form__textarea {
  min-height: 120px;
  resize: vertical;
}

/* === 引擎解析标签页 === */
.space-engine-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--space-battleship-gray);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.space-engine-tabs__tab {
  padding: 0.75rem 1.5rem;
  font-family: var(--space-font-heading);
  font-size: 0.85rem;
  color: var(--space-starlight-white);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px;
  min-width: 44px;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.space-engine-tabs__tab:hover {
  color: var(--space-quantum-blue);
}

.space-engine-tabs__tab--active {
  color: var(--space-quantum-blue);
  border-bottom-color: var(--space-quantum-blue);
  background: rgba(0, 255, 255, 0.05);
}

.space-engine-tabs__panel {
  display: none;
}

.space-engine-tabs__panel--active {
  display: block;
}

/* === 能源补给站 === */
.space-energy-station {
  background: linear-gradient(135deg, var(--space-battleship-gray), rgba(43, 0, 255, 0.08));
  padding: 3rem;
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  box-shadow: var(--space-glow-purple);
}

.space-energy-bar {
  width: 100%;
  max-width: 400px;
  height: 12px;
  background: rgba(5, 5, 16, 0.6);
  border-radius: 6px;
  margin: 1.5rem auto;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.space-energy-bar__fill {
  height: 100%;
  width: 75%;
  background: linear-gradient(90deg, var(--space-nebula-purple), var(--space-quantum-blue));
  border-radius: 6px;
  animation: space-energy-pulse 2s ease-in-out infinite;
}

/* === 舰队招募 === */
.space-recruitment-card {
  background: var(--space-battleship-gray);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--space-nebula-purple);
  transition: all 0.3s ease;
}

.space-recruitment-card:hover {
  box-shadow: var(--space-glow-purple);
  transform: translateX(4px);
}

.space-recruitment-card__title {
  font-family: var(--space-font-heading);
  font-size: 1.1rem;
  color: var(--space-nebula-purple);
  margin-bottom: 0.75rem;
}

.space-recruitment-card__desc {
  color: var(--space-starlight-white);
  opacity: 0.8;
  line-height: 1.7;
}

/* === 时间轴 === */
.space-timeline {
  position: relative;
  padding-left: 3rem;
}

.space-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--space-quantum-blue), var(--space-nebula-purple), var(--space-quantum-blue));
}

.space-timeline__node {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
}

.space-timeline__node::before {
  content: '';
  position: absolute;
  left: -3.35rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  background: var(--space-quantum-blue);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-shadow: 0 0 10px var(--space-quantum-blue);
}

.space-timeline__date {
  font-family: var(--space-font-heading);
  font-size: 0.9rem;
  color: var(--space-nebula-purple);
  margin-bottom: 0.5rem;
}

.space-timeline__content {
  color: var(--space-starlight-white);
  line-height: 1.7;
}

/* === 战利品滚动面板 === */
.space-loot-panel {
  background: var(--space-battleship-gray);
  padding: 1.5rem;
  max-height: 400px;
  overflow-y: auto;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.space-loot-panel::-webkit-scrollbar {
  width: 4px;
}

.space-loot-panel::-webkit-scrollbar-track {
  background: var(--space-deep-black);
}

.space-loot-panel::-webkit-scrollbar-thumb {
  background: var(--space-nebula-purple);
  border-radius: 2px;
}

.space-loot-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.space-loot-item__icon {
  width: 40px;
  height: 40px;
  background: var(--space-nebula-purple);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.space-loot-item__text {
  font-size: 0.9rem;
  color: var(--space-starlight-white);
}

.space-loot-item__highlight {
  color: var(--space-quantum-blue);
  font-family: var(--space-font-heading);
}

/* === 认证模块 === */
.space-certification {
  text-align: center;
  padding: 3rem 0;
}

.space-certification__badges {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.space-certification__badge {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.3));
  transition: filter 0.3s ease;
}

.space-certification__badge:hover {
  filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5));
}

/* === 负责任博弈声明 === */
.space-responsible-gaming {
  background: rgba(5, 5, 16, 0.8);
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.space-responsible-gaming__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
}

.space-responsible-gaming__icon {
  width: 80px;
  height: 80px;
}

.space-responsible-gaming__text {
  font-size: 0.9rem;
  color: var(--space-starlight-white);
  opacity: 0.8;
  line-height: 1.8;
}

/* === 页脚 === */
.space-footer {
  background: var(--space-deep-black);
  border-top: 2px solid rgba(0, 255, 255, 0.15);
  padding: 0;
}

.space-footer__upper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.space-footer__column-title {
  font-family: var(--space-font-heading);
  font-size: 0.9rem;
  color: var(--space-quantum-blue);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 255, 255, 0.15);
}

.space-footer__link-list {
  list-style: none;
}

.space-footer__link-list li {
  margin-bottom: 0.5rem;
}

.space-footer__link-list a {
  color: var(--space-starlight-white);
  opacity: 0.7;
  font-size: 0.875rem;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.space-footer__link-list a:hover {
  opacity: 1;
  color: var(--space-quantum-blue);
}

.space-footer__partners {
  border-top: 1px solid rgba(0, 255, 255, 0.1);
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
  padding: 1.5rem;
}

.space-footer__partners-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.space-footer__partner-logo {
  height: 36px;
  width: auto;
  filter: grayscale(100%) brightness(0.6);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.space-footer__partner-logo:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

.space-footer__bottom {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid rgba(0, 255, 255, 0.05);
}

.space-footer__copyright {
  font-size: 0.8rem;
  color: var(--space-starlight-white);
  opacity: 0.5;
}

.space-footer__disclaimer {
  font-size: 0.7rem;
  color: var(--space-starlight-white);
  opacity: 0.3;
  margin-top: 0.5rem;
}

/* === 内页通用样式 === */
.space-inner-hero {
  background: linear-gradient(135deg, var(--space-deep-black), var(--space-battleship-gray));
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.space-inner-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(43, 0, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(0, 255, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.space-inner-hero__title {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.space-inner-hero__desc {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  color: var(--space-starlight-white);
  opacity: 0.8;
  max-width: 700px;
  margin: 0 auto;
}

/* 内页内容区域 */
.space-article {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.space-article__content {
  line-height: 1.9;
}

.space-article__content p {
  margin-bottom: 1.25rem;
}

/* 游戏卡片网格 */
.space-games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.space-game-card {
  background: var(--space-battleship-gray);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  overflow: hidden;
  transition: all 0.3s ease;
}

.space-game-card:hover {
  box-shadow: var(--space-glow-purple-strong);
  transform: translateY(-4px);
}

.space-game-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.space-game-card__info {
  padding: 1.25rem;
}

.space-game-card__name {
  font-family: var(--space-font-heading);
  font-size: 1rem;
  color: var(--space-quantum-blue);
  margin-bottom: 0.5rem;
}

.space-game-card__detail {
  font-size: 0.85rem;
  color: var(--space-starlight-white);
  opacity: 0.7;
  margin-bottom: 0.25rem;
}

/* APP 下载页面 */
.space-app-download {
  text-align: center;
  padding: 4rem 1.5rem;
}

.space-app-download__devices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 800px;
  margin: 3rem auto;
}

.space-app-download__platform {
  background: var(--space-battleship-gray);
  padding: 2.5rem;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  text-align: center;
}

.space-app-download__qr {
  width: 160px;
  height: 160px;
  margin: 1.5rem auto;
  border: 2px solid rgba(0, 255, 255, 0.2);
  padding: 0.5rem;
}

.space-app-download__qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* === 内页图片画廊 === */
.space-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.space-gallery__item {
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.space-gallery__item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.space-gallery__item:hover img {
  transform: scale(1.05);
}

/* === RTP 数据表格 === */
.space-data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9rem;
}

.space-data-table th {
  background: var(--space-battleship-gray);
  color: var(--space-quantum-blue);
  font-family: var(--space-font-heading);
  font-size: 0.8rem;
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 2px solid rgba(0, 255, 255, 0.2);
  letter-spacing: 0.05em;
}

.space-data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 255, 255, 0.05);
  color: var(--space-starlight-white);
}

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

/* === FAQ 模块 === */
.space-faq-item {
  background: var(--space-battleship-gray);
  margin-bottom: 0.75rem;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}

.space-faq-item__question {
  padding: 1rem 1.5rem;
  font-family: var(--space-font-heading);
  font-size: 0.95rem;
  color: var(--space-quantum-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
}

.space-faq-item__question::after {
  content: '▾';
  transition: transform 0.3s ease;
}

.space-faq-item--open .space-faq-item__question::after {
  transform: rotate(180deg);
}

.space-faq-item__answer {
  padding: 0 1.5rem 1rem;
  color: var(--space-starlight-white);
  opacity: 0.8;
  display: none;
  line-height: 1.8;
}

.space-faq-item--open .space-faq-item__answer {
  display: block;
}

/* === 响应式设计 (Mobile First) === */
@media (max-width: 768px) {
  html { font-size: 15px; }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .space-hero-section__title { font-size: 2rem; }
  .space-hero-section__subtitle { font-size: 1.1rem; }

  .space-nav-bar__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5, 5, 16, 0.98);
    flex-direction: column;
    border-bottom: 2px solid var(--space-quantum-blue);
    z-index: 200;
  }

  .space-nav-bar__menu--open {
    display: flex;
  }

  .space-nav-bar__toggle {
    display: block;
  }

  .space-simulators-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .space-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .space-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .space-footer__upper {
    grid-template-columns: repeat(2, 1fr);
  }

  .space-app-download__devices {
    grid-template-columns: 1fr;
  }

  .space-responsible-gaming__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .space-responsible-gaming__icon {
    margin: 0 auto;
  }

  .space-section {
    padding: 2.5rem 1rem;
  }

  .space-inner-hero {
    padding: 3rem 1rem 2rem;
  }

  .space-inner-hero__title {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .space-simulators-grid {
    grid-template-columns: 1fr;
  }

  .space-games-grid {
    grid-template-columns: 1fr;
  }

  .space-gallery {
    grid-template-columns: 1fr;
  }

  .space-footer__upper {
    grid-template-columns: 1fr;
  }

  .space-hero-section__cta-group {
    flex-direction: column;
    align-items: center;
  }

  .space-certification__badges {
    gap: 1.5rem;
  }
}

/* === 懒加载占位 === */
.space-lazy-placeholder {
  background: var(--space-battleship-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 255, 255, 0.2);
  font-family: var(--space-font-heading);
  font-size: 0.8rem;
}

/* === 相关推荐模块 === */
.space-related-section {
  background: rgba(26, 26, 46, 0.3);
  padding: 3rem 1.5rem;
  margin-top: 2rem;
}

.space-related-section__inner {
  max-width: 1400px;
  margin: 0 auto;
}

/* === 内容高亮 === */
.space-highlight {
  color: var(--space-quantum-blue);
  font-weight: 600;
}

.space-highlight--purple {
  color: var(--space-nebula-purple);
}

/* === 星云流转背景装饰 === */
.space-nebula-bg {
  position: relative;
  overflow: hidden;
}

.space-nebula-bg::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -25%;
  width: 150%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(43, 0, 255, 0.06) 0%, transparent 70%);
  animation: space-nebula-flow 20s ease-in-out infinite;
  pointer-events: none;
}
