/* PG电子游戏平台 - 独特暗夜星河主题 */
/* 配色方案：深空蓝 + 琥珀金 + 星辉紫 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=ZCOOL+KuaiLe&display=swap');

:root {
  --deep-space: #0a0e1a;
  --nebula-blue: #0d1b3e;
  --cosmic-purple: #1a0a3e;
  --amber-gold: #f0a500;
  --amber-light: #ffd166;
  --star-white: #e8e6f0;
  --nova-cyan: #00d4ff;
  --aurora-green: #00e676;
  --plasma-red: #ff3d71;
  --mist-gray: #8892a4;
  --card-bg: rgba(13, 27, 62, 0.7);
  --glass-border: rgba(240, 165, 0, 0.2);
  --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.15);
}

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

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

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--deep-space);
  color: var(--star-white);
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100vh;
}

/* 星空背景粒子 */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 40% 70%, rgba(0,212,255,0.2), transparent),
    radial-gradient(1px 1px at 60% 20%, rgba(240,165,0,0.3), transparent),
    radial-gradient(1px 1px at 80% 50%, rgba(255,255,255,0.2), transparent),
    radial-gradient(2px 2px at 10% 80%, rgba(0,230,118,0.2), transparent),
    radial-gradient(1px 1px at 70% 90%, rgba(255,209,102,0.2), transparent);
  background-size: 300px 300px;
  animation: starfield 60s linear infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes starfield {
  from { transform: translateY(0); }
  to { transform: translateY(-300px); }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--nova-cyan); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--amber-gold); }

/* === 顶部导航 === */
.site-header {
  background: linear-gradient(180deg, rgba(10,14,26,0.98) 0%, rgba(13,27,62,0.95) 100%);
  border-bottom: 1px solid var(--glass-border);
  padding: 0;
  position: relative;
  z-index: 100;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

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

.site-logo img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.site-logo span {
  font-family: 'ZCOOL KuaiLe', cursive;
  font-size: 1.4rem;
  color: var(--amber-gold);
  letter-spacing: 1px;
}

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

.nav-list {
  list-style: none;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-list li a {
  display: block;
  padding: 8px 14px;
  color: var(--star-white);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s;
  white-space: nowrap;
}

.nav-list li a:hover,
.nav-list li a.active {
  background: linear-gradient(135deg, var(--amber-gold), #e6950a);
  color: var(--deep-space);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 2px solid var(--amber-gold);
  color: var(--amber-gold);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 1.4rem;
  cursor: pointer;
}

/* === Hero区域 === */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(10,14,26,0.4) 0%, rgba(10,14,26,0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px;
  max-width: 800px;
}

.hero-content h1 {
  font-family: 'ZCOOL KuaiLe', cursive;
  font-size: 2.8rem;
  color: var(--amber-gold);
  margin-bottom: 16px;
  text-shadow: 0 0 40px rgba(240,165,0,0.4);
  line-height: 1.3;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--star-white);
  margin-bottom: 28px;
  opacity: 0.9;
}

.cta-btn {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--amber-gold), #e6950a);
  color: var(--deep-space);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(240,165,0,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(240,165,0,0.6);
  color: var(--deep-space);
}

.cta-btn-outline {
  background: transparent;
  border: 2px solid var(--nova-cyan);
  color: var(--nova-cyan);
  box-shadow: 0 4px 20px rgba(0,212,255,0.2);
}

.cta-btn-outline:hover {
  background: var(--nova-cyan);
  color: var(--deep-space);
  box-shadow: 0 8px 30px rgba(0,212,255,0.4);
}

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

.section-block {
  padding: 60px 0;
}

.section-block:nth-child(even) {
  background: linear-gradient(180deg, rgba(26,10,62,0.3) 0%, rgba(13,27,62,0.3) 100%);
}

.section-title {
  font-family: 'ZCOOL KuaiLe', cursive;
  font-size: 2rem;
  color: var(--amber-gold);
  text-align: center;
  margin-bottom: 12px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--nova-cyan), var(--amber-gold));
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--mist-gray);
  font-size: 1rem;
  margin-bottom: 40px;
}

/* === 游戏卡片网格 === */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.game-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(10px);
}

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

.game-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.game-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.game-card:hover .game-card-img img {
  transform: scale(1.08);
}

.game-card-body {
  padding: 18px;
}

.game-card-body h3 {
  font-size: 1.15rem;
  color: var(--amber-light);
  margin-bottom: 8px;
}

.game-card-body p {
  font-size: 0.9rem;
  color: var(--mist-gray);
  line-height: 1.6;
}

.game-card-footer {
  padding: 0 18px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rtp-badge {
  background: rgba(0,230,118,0.15);
  color: var(--aurora-green);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.play-link {
  color: var(--nova-cyan);
  font-weight: 600;
  font-size: 0.9rem;
}

/* === 时间线 === */
.timeline-wrap {
  position: relative;
  padding: 30px 0;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--nova-cyan), var(--amber-gold), var(--aurora-green));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  padding-right: 52%;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: 52%;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: var(--amber-gold);
  border: 3px solid var(--deep-space);
  border-radius: 50%;
  z-index: 2;
}

.timeline-content {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.timeline-content h4 {
  color: var(--amber-gold);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline-content .year-tag {
  color: var(--nova-cyan);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: block;
}

/* === FAQ手风琴 === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--star-white);
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--amber-gold);
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 24px;
  color: var(--mist-gray);
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 18px;
}

/* === 支付方式 === */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.payment-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s;
}

.payment-card:hover {
  border-color: var(--amber-gold);
}

.payment-card h4 {
  color: var(--amber-light);
  margin-bottom: 8px;
}

/* === 评价卡片 === */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 24px;
  backdrop-filter: blur(8px);
}

.review-stars {
  color: var(--amber-gold);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.review-text {
  color: var(--star-white);
  font-style: italic;
  margin-bottom: 12px;
  line-height: 1.7;
}

.review-author {
  color: var(--mist-gray);
  font-size: 0.9rem;
}

/* === 作者信息 === */
.author-box {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 24px;
  margin: 30px 0;
  backdrop-filter: blur(8px);
}

.author-box img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--amber-gold);
}

.author-info h4 {
  color: var(--amber-gold);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.author-info p {
  color: var(--mist-gray);
  font-size: 0.9rem;
}

/* === 面包屑 === */
.breadcrumb-nav {
  padding: 14px 0;
  background: rgba(13,27,62,0.5);
  border-bottom: 1px solid var(--glass-border);
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 0.85rem;
}

.breadcrumb-list li::after {
  content: '>';
  margin-left: 8px;
  color: var(--mist-gray);
}

.breadcrumb-list li:last-child::after { display: none; }
.breadcrumb-list li:last-child a { color: var(--amber-gold); }

/* === 页脚 === */
.site-footer {
  background: linear-gradient(180deg, var(--nebula-blue) 0%, #060a14 100%);
  border-top: 1px solid var(--glass-border);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.footer-col h5 {
  color: var(--amber-gold);
  font-size: 1.05rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: var(--mist-gray);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--amber-gold);
}

.footer-col p {
  color: var(--mist-gray);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  color: var(--mist-gray);
  font-size: 0.8rem;
  line-height: 1.6;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 3px solid var(--plasma-red);
  border-radius: 50%;
  color: var(--plasma-red);
  font-weight: 900;
  font-size: 1rem;
  margin: 10px auto;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--mist-gray);
  font-size: 0.85rem;
  transition: all 0.3s;
}

.social-links a:hover {
  border-color: var(--amber-gold);
  color: var(--amber-gold);
}

/* === 内页内容 === */
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-content h1 {
  font-family: 'ZCOOL KuaiLe', cursive;
  font-size: 2.2rem;
  color: var(--amber-gold);
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-content h2 {
  font-size: 1.5rem;
  color: var(--amber-light);
  margin: 30px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--glass-border);
}

.page-content h3 {
  font-size: 1.2rem;
  color: var(--nova-cyan);
  margin: 24px 0 10px;
}

.page-content p {
  margin-bottom: 16px;
  color: var(--star-white);
  opacity: 0.92;
}

.page-content ul, .page-content ol {
  margin: 12px 0 20px 24px;
  color: var(--star-white);
}

.page-content li {
  margin-bottom: 8px;
  opacity: 0.9;
}

.content-img {
  border-radius: 12px;
  margin: 24px 0;
  box-shadow: var(--shadow-glow);
  border: 1px solid var(--glass-border);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
}

.info-table th {
  background: rgba(240,165,0,0.15);
  color: var(--amber-gold);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}

.info-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--glass-border);
  color: var(--star-white);
}

.info-table tr:last-child td { border-bottom: none; }

/* === APP下载页 === */
.download-hero {
  text-align: center;
  padding: 60px 20px;
}

.download-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.download-feature-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.download-feature-card .icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-gold), #e6950a);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

/* === 响应式 === */
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; padding: 10px 0; }
  .nav-list li a { padding: 10px 16px; }
  .mobile-menu-btn { display: block; }

  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 1rem; }
  .hero-section { min-height: 400px; }

  .section-title { font-size: 1.6rem; }
  .game-grid { grid-template-columns: 1fr; }

  .timeline-wrap::before { left: 20px; }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 50px;
    padding-right: 0;
  }
  .timeline-dot { left: 20px; }

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

  .author-box { flex-direction: column; text-align: center; }

  .page-content h1 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.5rem; }
  .cta-btn { padding: 12px 28px; font-size: 0.95rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .game-grid { gap: 16px; }
}

/* === 动画 === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* 脉冲发光按钮 */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(240,165,0,0.4); }
  50% { box-shadow: 0 4px 40px rgba(240,165,0,0.7); }
}

.cta-btn-pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* 渐变文字 */
.gradient-text {
  background: linear-gradient(90deg, var(--amber-gold), var(--nova-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 玻璃态容器 */
.glass-panel {
  background: rgba(13, 27, 62, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 30px;
}

/* 负责任声明横条 */
.responsible-bar {
  background: linear-gradient(90deg, rgba(255,61,113,0.1), rgba(240,165,0,0.1));
  border: 1px solid rgba(255,61,113,0.3);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 30px 0;
}

.responsible-bar h4 {
  color: var(--plasma-red);
  margin-bottom: 8px;
}

.license-section {
  text-align: center;
  padding: 40px 0;
}

.license-badge-img {
  max-width: 180px;
  margin: 0 auto 20px;
}
