/* ============================================================
   霓虹线框风全局样式 - Neon Wireframe Global Stylesheet
   色值体系：午夜黑#0A0A0A | 霓虹洋红#00FFFF | 霓虹青#FF4081 | 深空蓝#00E676 | 银灰#37474F
   ============================================================ */

/* --- 字体定义 --- */
@font-face {
  font-family: 'Orbitron';
  src: url('../fonts/Orbitron-Variable.ttf') format('truetype');
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: 'Fira Code';
  src: url('../fonts/FiraCode-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Fira Code';
  src: url('../fonts/FiraCode-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

/* --- CSS变量 --- */
:root {
  --nw-midnight: #0A0A0A;
  --nw-cyan: #00FFFF;
  --nw-magenta: #FF4081;
  --nw-green: #00E676;
  --nw-gray: #37474F;
  --nw-deep-blue: #1a1a2e;
  --nw-font-title: 'Orbitron', 'PingFang SC', sans-serif;
  --nw-font-body: 'Fira Code', 'Microsoft YaHei', sans-serif;
  --nw-glow-cyan: 0 0 10px rgba(0,255,255,0.5), 0 0 20px rgba(0,255,255,0.3);
  --nw-glow-magenta: 0 0 10px rgba(255,64,129,0.5), 0 0 20px rgba(255,64,129,0.3);
  --nw-glow-green: 0 0 10px rgba(0,230,118,0.5), 0 0 20px rgba(0,230,118,0.3);
}

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

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

body {
  background-color: var(--nw-midnight);
  color: var(--nw-gray);
  font-family: var(--nw-font-body);
  font-size: 16px;
  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-image:
    linear-gradient(rgba(0,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* --- 标题字体 --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--nw-font-title);
  font-weight: 700;
  line-height: 1.3;
  color: var(--nw-magenta);
}

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; }

a {
  color: var(--nw-cyan);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
a:hover {
  color: var(--nw-magenta);
  text-shadow: var(--nw-glow-magenta);
}

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

p {
  margin-bottom: 1rem;
  color: #b0bec5;
}

ul, ol {
  list-style: none;
}

/* --- 导航栏 --- */
.neonwire-nav-bar {
  position: relative;
  width: 100%;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--nw-cyan);
  box-shadow: 0 2px 20px rgba(0,255,255,0.2);
  z-index: 100;
  padding: 0 1rem;
}

.neonwire-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.neonwire-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.neonwire-nav-logo img {
  width: 42px;
  height: 42px;
}

.neonwire-nav-logo-text {
  font-family: var(--nw-font-title);
  font-size: 1.1rem;
  color: var(--nw-cyan);
  text-shadow: var(--nw-glow-cyan);
  white-space: nowrap;
}

.neonwire-nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.neonwire-nav-links a {
  display: flex;
  align-items: center;
  padding: 0 14px;
  height: 70px;
  font-family: var(--nw-font-title);
  font-size: 0.82rem;
  color: #b0bec5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.neonwire-nav-links a:hover,
.neonwire-nav-links a.neonwire-nav-active {
  color: var(--nw-cyan);
  text-shadow: var(--nw-glow-cyan);
}

.neonwire-nav-links a.neonwire-nav-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: var(--nw-magenta);
  box-shadow: var(--nw-glow-magenta);
  animation: neonwire-pulse-line 2s ease-in-out infinite;
}

/* 移动端菜单按钮 */
.neonwire-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.neonwire-menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--nw-cyan);
  box-shadow: var(--nw-glow-cyan);
  transition: all 0.3s ease;
}

.neonwire-menu-toggle.neonwire-menu-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.neonwire-menu-toggle.neonwire-menu-open span:nth-child(2) {
  opacity: 0;
}
.neonwire-menu-toggle.neonwire-menu-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* --- 面包屑导航 --- */
.neonwire-breadcrumb {
  max-width: 1400px;
  margin: 1rem auto;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--nw-gray);
}

.neonwire-breadcrumb a {
  color: var(--nw-cyan);
}

.neonwire-breadcrumb span {
  margin: 0 0.5rem;
  color: var(--nw-gray);
}

/* --- 通用容器 --- */
.neonwire-section {
  position: relative;
  padding: 4rem 1rem;
  z-index: 1;
}

.neonwire-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* --- 霓虹卡片 --- */
.neonwire-card {
  background: rgba(26,26,46,0.8);
  border: 1px solid rgba(0,255,255,0.2);
  box-shadow: 0 0 15px rgba(0,255,255,0.1);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.neonwire-card:hover {
  border-color: var(--nw-cyan);
  box-shadow: 0 0 25px rgba(0,255,255,0.3), 0 0 50px rgba(0,255,255,0.1);
  transform: translateY(-3px);
}

.neonwire-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--nw-cyan), transparent);
}

/* --- 六宫格布局 --- */
.neonwire-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.neonwire-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.neonwire-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* --- CTA按钮 --- */
.neonwire-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--nw-cyan);
  color: var(--nw-midnight);
  font-family: var(--nw-font-title);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 44px;
  min-width: 44px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.neonwire-btn-primary:hover {
  background: #33ffff;
  box-shadow: var(--nw-glow-cyan);
  color: var(--nw-midnight);
  transform: scale(1.02);
}

.neonwire-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: transparent;
  color: var(--nw-magenta);
  font-family: var(--nw-font-title);
  font-size: 0.95rem;
  font-weight: 700;
  border: 2px solid var(--nw-magenta);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  min-height: 44px;
  min-width: 44px;
}

.neonwire-btn-secondary:hover {
  border-color: #ff6699;
  box-shadow: var(--nw-glow-magenta);
  color: #ff6699;
}

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

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

.neonwire-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26,26,46,0.7);
  z-index: 1;
}

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

.neonwire-hero-title {
  font-size: 3.2rem;
  color: var(--nw-cyan);
  text-shadow: 0 0 20px rgba(0,255,255,0.6), 0 0 40px rgba(0,255,255,0.3);
  margin-bottom: 1rem;
  animation: neonwire-flicker 4s ease-in-out infinite;
}

.neonwire-hero-subtitle {
  font-size: 1.3rem;
  color: #b0bec5;
  margin-bottom: 1.5rem;
  font-family: var(--nw-font-body);
}

.neonwire-hero-desc {
  font-size: 1rem;
  color: #90a4ae;
  margin-bottom: 2rem;
  line-height: 1.9;
}

.neonwire-hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- 模块标题 --- */
.neonwire-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.neonwire-section-header h2 {
  color: var(--nw-magenta);
  text-shadow: var(--nw-glow-magenta);
  margin-bottom: 0.5rem;
}

.neonwire-section-header p {
  color: #78909c;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* --- 游戏卡片 --- */
.neonwire-game-panel {
  position: relative;
  overflow: hidden;
}

.neonwire-game-panel img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.neonwire-game-panel:hover img {
  transform: scale(1.05);
}

.neonwire-game-info {
  padding: 1rem 0;
}

.neonwire-game-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--nw-green);
  margin-bottom: 0.5rem;
}

.neonwire-game-title {
  font-family: var(--nw-font-title);
  font-size: 1.1rem;
  color: var(--nw-cyan);
  margin-bottom: 0.5rem;
}

/* --- 表单样式 --- */
.neonwire-form-group {
  margin-bottom: 1.2rem;
}

.neonwire-form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(26,26,46,0.9);
  border: none;
  border-bottom: 2px solid var(--nw-cyan);
  color: #e0e0e0;
  font-family: var(--nw-font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
  min-height: 44px;
}

.neonwire-form-input:focus {
  outline: none;
  border-bottom-color: var(--nw-magenta);
  box-shadow: 0 2px 10px rgba(255,64,129,0.3);
  animation: neonwire-flicker 2s ease-in-out infinite;
}

/* --- 页脚 --- */
.neonwire-footer {
  position: relative;
  background: rgba(10,10,10,0.95);
  border-top: 2px solid var(--nw-cyan);
  box-shadow: 0 -2px 20px rgba(0,255,255,0.15);
  padding: 3rem 1rem 1.5rem;
  z-index: 1;
}

.neonwire-footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.neonwire-footer-col h4 {
  font-family: var(--nw-font-title);
  color: var(--nw-cyan);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-shadow: var(--nw-glow-cyan);
}

.neonwire-footer-col a {
  display: block;
  color: #78909c;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.3s;
}

.neonwire-footer-col a:hover {
  color: var(--nw-cyan);
}

.neonwire-footer-col p {
  color: #607d8b;
  font-size: 0.85rem;
}

.neonwire-footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.neonwire-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--nw-cyan);
  color: var(--nw-cyan);
  font-size: 0.8rem;
  transition: all 0.3s;
}

.neonwire-footer-social a:hover {
  background: var(--nw-cyan);
  color: var(--nw-midnight);
  box-shadow: var(--nw-glow-cyan);
}

.neonwire-footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid rgba(0,255,255,0.15);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.neonwire-footer-license {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: #607d8b;
}

.neonwire-footer-18plus {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.neonwire-footer-18plus img {
  width: 40px;
  height: 40px;
}

.neonwire-footer-payments {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.neonwire-footer-payments span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border: 1px solid var(--nw-gray);
  color: var(--nw-gray);
  font-size: 0.75rem;
  font-family: var(--nw-font-title);
}

/* --- 动画1：霓虹闪烁 --- */
@keyframes neonwire-flicker {
  0%, 100% { opacity: 1; }
  5% { opacity: 0.85; }
  10% { opacity: 1; }
  15% { opacity: 0.9; }
  20% { opacity: 1; }
  50% { opacity: 1; }
  55% { opacity: 0.8; }
  57% { opacity: 1; }
}

/* --- 动画2：全息投影显现 --- */
@keyframes neonwire-hologram-reveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px) hue-rotate(20deg);
    clip-path: inset(0 0 100% 0);
  }
  40% {
    opacity: 0.6;
    filter: blur(2px) hue-rotate(10deg);
    clip-path: inset(0 0 40% 0);
  }
  70% {
    filter: blur(0) hue-rotate(0deg);
    clip-path: inset(0 0 10% 0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: none;
    clip-path: inset(0 0 0 0);
  }
}

.neonwire-hologram-enter {
  animation: neonwire-hologram-reveal 0.8s ease-out forwards;
}

/* --- 动画3：脉冲波纹 --- */
@keyframes neonwire-pulse-ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(0,255,255,0.4);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(0,255,255,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0,255,255,0);
  }
}

.neonwire-card:hover,
.neonwire-btn-primary:hover {
  animation: neonwire-pulse-ripple 0.6s ease-out;
}

/* --- 动画4：脉冲线条 --- */
@keyframes neonwire-pulse-line {
  0%, 100% { opacity: 0.5; width: 60%; }
  50% { opacity: 1; width: 90%; }
}

/* --- 数据流瀑布背景 (Canvas由JS控制) --- */
#frame-data-waterfall {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.08;
}

/* --- VIP楼层 --- */
.neonwire-vip-tower {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.neonwire-vip-floor {
  background: rgba(26,26,46,0.7);
  border: 1px solid rgba(0,255,255,0.15);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.neonwire-vip-floor:hover {
  background: rgba(0,255,255,0.05);
  border-color: var(--nw-cyan);
  box-shadow: inset 0 0 20px rgba(0,255,255,0.1);
}

.neonwire-vip-level {
  font-family: var(--nw-font-title);
  font-size: 1.2rem;
  color: var(--nw-magenta);
  min-width: 80px;
  text-shadow: var(--nw-glow-magenta);
}

.neonwire-vip-desc {
  flex: 1;
  color: #90a4ae;
  font-size: 0.95rem;
}

/* --- 任务列表 --- */
.neonwire-task-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.neonwire-task-item {
  background: rgba(26,26,46,0.7);
  border-left: 3px solid var(--nw-magenta);
  padding: 1.2rem 1.5rem;
  transition: all 0.3s ease;
}

.neonwire-task-item:hover {
  border-left-color: var(--nw-cyan);
  background: rgba(0,255,255,0.03);
}

.neonwire-task-name {
  font-family: var(--nw-font-title);
  color: var(--nw-cyan);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.neonwire-task-desc {
  color: #78909c;
  font-size: 0.9rem;
}

/* --- 悬浮客服按钮 --- */
.neonwire-float-cs {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: var(--nw-midnight);
  border: 2px solid var(--nw-magenta);
  box-shadow: var(--nw-glow-magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  font-size: 1.5rem;
  color: var(--nw-magenta);
  transition: all 0.3s ease;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.neonwire-float-cs:hover {
  background: var(--nw-magenta);
  color: var(--nw-midnight);
}

/* --- 内页通用 --- */
.neonwire-page-hero {
  position: relative;
  padding: 6rem 1rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(26,26,46,0.9) 0%, var(--nw-midnight) 100%);
}

.neonwire-page-hero h1 {
  font-size: 2.5rem;
  color: var(--nw-cyan);
  text-shadow: 0 0 20px rgba(0,255,255,0.5);
  margin-bottom: 1rem;
}

.neonwire-page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.neonwire-article-block {
  margin-bottom: 3rem;
}

.neonwire-article-block h2,
.neonwire-article-block h3 {
  margin-bottom: 1rem;
}

.neonwire-article-block p {
  margin-bottom: 1.2rem;
  line-height: 1.9;
}

.neonwire-img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.neonwire-img-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border: 1px solid rgba(0,255,255,0.15);
}

/* --- RTP数据表 --- */
.neonwire-data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.neonwire-data-table th {
  background: rgba(0,255,255,0.1);
  color: var(--nw-cyan);
  font-family: var(--nw-font-title);
  font-size: 0.85rem;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--nw-cyan);
}

.neonwire-data-table td {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(55,71,79,0.3);
  color: #90a4ae;
  font-size: 0.9rem;
}

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

/* --- FAQ区域 --- */
.neonwire-faq-item {
  border: 1px solid rgba(0,255,255,0.1);
  margin-bottom: 0.5rem;
}

.neonwire-faq-question {
  padding: 1rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--nw-font-title);
  color: var(--nw-cyan);
  font-size: 0.95rem;
  transition: background 0.3s;
  min-height: 44px;
}

.neonwire-faq-question:hover {
  background: rgba(0,255,255,0.05);
}

.neonwire-faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: #90a4ae;
}

.neonwire-faq-item.neonwire-faq-open .neonwire-faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1rem;
}

/* ============================================================
   响应式设计
   ============================================================ */

@media (max-width: 1024px) {
  .neonwire-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .neonwire-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }

  .neonwire-menu-toggle {
    display: flex;
  }

  .neonwire-nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 2px solid var(--nw-cyan);
  }

  .neonwire-nav-links.neonwire-nav-open {
    display: flex;
  }

  .neonwire-nav-links a {
    height: auto;
    padding: 14px 24px;
    width: 100%;
    justify-content: flex-start;
  }

  .neonwire-hero-title {
    font-size: 2rem;
  }

  .neonwire-hero-subtitle {
    font-size: 1rem;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }

  .neonwire-grid-6 {
    grid-template-columns: 1fr;
  }

  .neonwire-grid-3 {
    grid-template-columns: 1fr;
  }

  .neonwire-grid-2 {
    grid-template-columns: 1fr;
  }

  .neonwire-footer-grid {
    grid-template-columns: 1fr;
  }

  .neonwire-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  .neonwire-page-hero h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 414px) {
  html { font-size: 14px; }

  .neonwire-hero-title {
    font-size: 1.6rem;
  }

  .neonwire-hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .neonwire-img-grid {
    grid-template-columns: 1fr;
  }
}

/* --- 确保触控目标 >= 44x44px --- */
a, button, input, select, textarea,
[role="button"] {
  min-height: 44px;
}

button, [role="button"] {
  min-width: 44px;
}


/* --- 全息投影显现动画 --- */
.neonwire-holo-hidden {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.neonwire-holo-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* --- APP下载页网格 --- */
.neonwire-app-download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.neonwire-app-card {
  background: rgba(0, 255, 255, 0.03);
  border: 1px solid rgba(0, 255, 255, 0.15);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.neonwire-app-card:hover {
  border-color: var(--nw-cyan);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.15);
}
.neonwire-app-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 640px) {
  .neonwire-app-download-grid {
    grid-template-columns: 1fr;
  }
}

/* --- 客服按钮展开态 --- */
.neonwire-cs-expanded {
  width: auto;
  height: auto;
  border-radius: 12px;
  padding: 1rem;
}
