/*
 * 设计流派：赛博朋克·极限霓虹（Cyber-Hacker Neon）
 * 核心配色：深渊黑 (#050508), 极光红 (#FF0055), 暗夜金 (#FFD700)
 * 字体：Monospace, sans-serif
 */

:root {
  --bg-color: #050508;
  --text-color: #e2e8f0;
  --primary-color: #ff0055;
  --secondary-color: #ffd700;
  --accent-color: #00ffcc;
  --card-bg: rgba(13, 13, 23, 0.85);
  --border-color: rgba(255, 0, 85, 0.3);
  --neon-glow: 0 0 10px rgba(255, 0, 85, 0.6), 0 0 20px rgba(255, 0, 85, 0.3);
  --gold-glow: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "SF Mono", "Fira Code", Monaco, Consolas, "PingFang SC", "Microsoft YaHei", monospace;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 霓虹发光文字与边框 */
.text-neon {
  color: var(--primary-color);
  text-shadow: var(--neon-glow);
}

.text-gold {
  color: var(--secondary-color);
  text-shadow: var(--gold-glow);
}

.border-neon {
  border: 1px solid var(--primary-color);
  box-shadow: var(--neon-glow);
}

.border-gold {
  border: 1px solid var(--secondary-color);
  box-shadow: var(--gold-glow);
}

/* 全局警示闪烁边框 */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 4px solid var(--primary-color);
  pointer-events: none;
  z-index: 9999;
  animation: border-blink 2s infinite alternate;
}

@keyframes border-blink {
  0% { opacity: 0.4; box-shadow: inset 0 0 10px rgba(255, 0, 85, 0.3); }
  100% { opacity: 1; box-shadow: inset 0 0 25px rgba(255, 0, 85, 0.6); }
}

/* 顶部跑马灯 */
.marquee-container {
  background: #000;
  border-bottom: 1px solid var(--primary-color);
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.85rem;
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

.marquee-item {
  display: inline-block;
  margin-right: 50px;
  color: var(--accent-color);
}

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* 导航 */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

nav .logo {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
  padding: 5px 10px;
  border-radius: 4px;
}

nav ul li a:hover, nav ul li a.active {
  color: var(--secondary-color);
  background: rgba(255, 215, 0, 0.1);
  text-shadow: var(--gold-glow);
}

/* 移动端菜单按钮（默认隐藏） */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  transition: 0.3s;
}

/* 面包屑 */
.breadcrumb {
  padding: 15px 5%;
  font-size: 0.85rem;
  color: #888;
}

.breadcrumb a {
  color: var(--accent-color);
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 8px;
}

/* 主容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* 首屏极限施压区 */
.hero-section {
  text-align: center;
  padding: 80px 20px;
  background: radial-gradient(circle at center, rgba(255, 0, 85, 0.15) 0%, rgba(5, 5, 8, 0.9) 70%), 
              url('images/hero_bg.webp');
  background-size: cover;
  background-position: center;
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  box-shadow: var(--neon-glow);
  margin-bottom: 40px;
  position: relative;
}

.hero-section h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  letter-spacing: 3px;
}

/* 巨型倒计时 */
.countdown-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
}

.countdown-box {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid var(--primary-color);
  border-radius: 6px;
  padding: 15px;
  min-width: 100px;
  box-shadow: var(--neon-glow);
}

.countdown-num {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.countdown-label {
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
  margin-top: 5px;
}

/* 进度条 */
.progress-container {
  max-width: 600px;
  margin: 30px auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  padding: 5px;
  box-shadow: var(--gold-glow);
}

.progress-bar {
  height: 20px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 15px;
  width: 98.7%; /* 初始值 */
  transition: width 1s ease-in-out;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background-image: linear-gradient(-45deg, rgba(255,255,255,.2) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.2) 50%, rgba(255,255,255,.2) 75%, transparent 75%, transparent);
  background-size: 50px 50px;
  animation: move 2s linear infinite;
}

@keyframes move {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

.progress-text {
  display: flex;
  justify-content: space-between;
  max-width: 600px;
  margin: 5px auto 0;
  font-size: 0.9rem;
}

/* 按钮 */
.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), #b3003b);
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 15px 40px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--neon-glow);
  transition: all 0.2s ease-in-out;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--primary-color);
}

.btn-cta:active {
  transform: scale(0.97);
}

/* 网格系统 */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

/* 卡片 */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  transition: all 0.3s;
}

.card:hover {
  border-color: var(--secondary-color);
  box-shadow: var(--gold-glow);
  transform: translateY(-5px);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}

.card-title {
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

/* 列表样式 */
ul.neon-list {
  list-style: none;
}

ul.neon-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
}

ul.neon-list li::before {
  content: "⚡";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

/* 长文本区（SEO文字填充） */
.seo-text-section {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 40px;
  margin-top: 60px;
}

.seo-text-section h2 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: 1.8rem;
  border-left: 4px solid var(--primary-color);
  padding-left: 15px;
}

.seo-text-section p {
  margin-bottom: 20px;
  color: #a0aec0;
  text-align: justify;
}

/* 常见问题折叠面板 */
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--secondary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.faq-answer {
  margin-top: 10px;
  color: #a0aec0;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* 页脚 */
footer {
  background: #020204;
  border-top: 1px solid var(--border-color);
  padding: 40px 5% 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #718096;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

footer .footer-links a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.3s;
}

footer .footer-links a:hover {
  color: var(--secondary-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid var(--primary-color);
    padding: 20px;
    z-index: 1000;
  }

  nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

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

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

  .countdown-container {
    gap: 8px;
  }

  .countdown-box {
    min-width: 70px;
    padding: 8px;
  }

  .countdown-num {
    font-size: 1.6rem;
  }
}
