/* 
 * {{SITE_NAME}} - 主样式表
 * 独特的紫金配色方案 + 现代渐变设计
 * 2026年SEO优化版本
 */

/* CSS变量定义 */
:root {
  --primary-purple: #6B21A8;
  --primary-gold: #D4AF37;
  --secondary-purple: #9333EA;
  --dark-bg: #0F0A1A;
  --card-bg: #1A1025;
  --text-light: #F5F5F5;
  --text-muted: #A0A0A0;
  --accent-red: #DC2626;
  --accent-green: #16A34A;
  --gradient-purple: linear-gradient(135deg, #6B21A8 0%, #9333EA 50%, #C026D3 100%);
  --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F5D76E 50%, #D4AF37 100%);
  --shadow-glow: 0 0 30px rgba(147, 51, 234, 0.3);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

/* 全局重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  background: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
}

/* 背景装饰 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(107, 33, 168, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* 链接样式 */
a {
  color: var(--primary-gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #F5D76E;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* 图片响应式 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 容器 */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部导航 - 非sticky */
.site-header {
  background: linear-gradient(180deg, rgba(15, 10, 26, 0.98) 0%, rgba(26, 16, 37, 0.95) 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  padding: 15px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-wrapper img {
  height: 60px;
  width: auto;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 主导航 */
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.main-nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: var(--transition);
  transform: translateX(-50%);
}

.main-nav a:hover::before,
.main-nav a.active::before {
  width: 80%;
}

.main-nav a:hover {
  color: var(--primary-gold);
}

/* CTA按钮 */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--gradient-gold);
  color: var(--dark-bg) !important;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.6);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 28px;
  height: 3px;
  background: var(--primary-gold);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero区域 */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(107, 33, 168, 0.3);
  border: 1px solid var(--secondary-purple);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--secondary-purple);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--primary-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  padding: 12px 28px;
  background: transparent;
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
}

/* 面包屑导航 */
.breadcrumb {
  padding: 15px 0;
  background: rgba(26, 16, 37, 0.5);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  font-size: 0.9rem;
}

.breadcrumb-list li::after {
  content: '›';
  margin-left: 10px;
  color: var(--text-muted);
}

.breadcrumb-list li:last-child::after {
  display: none;
}

.breadcrumb-list a {
  color: var(--text-muted);
}

.breadcrumb-list a:hover {
  color: var(--primary-gold);
}

.breadcrumb-list .current {
  color: var(--primary-gold);
}

/* 内容区块 */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gradient-purple);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-light);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* 游戏卡片网格 */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.game-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(147, 51, 234, 0.2);
  transition: var(--transition);
  position: relative;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: var(--secondary-purple);
}

.game-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.game-card:hover .game-card-image img {
  transform: scale(1.05);
}

.game-card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 12px;
  background: var(--accent-red);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.game-card-content {
  padding: 20px;
}

.game-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-light);
}

.game-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.6;
}

.game-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid rgba(147, 51, 234, 0.2);
}

.game-rtp {
  font-size: 0.85rem;
  color: var(--accent-green);
  font-weight: 600;
}

.game-play-btn {
  padding: 8px 20px;
  background: var(--gradient-purple);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  transition: var(--transition);
}

.game-play-btn:hover {
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.5);
  color: white;
}

/* 特色区块 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: linear-gradient(145deg, var(--card-bg) 0%, rgba(107, 33, 168, 0.1) 100%);
  padding: 35px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(147, 51, 234, 0.2);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--primary-gold);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-purple);
  border-radius: 50%;
  font-size: 2rem;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-light);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 支付方式 */
.payment-section {
  background: linear-gradient(180deg, rgba(26, 16, 37, 0.8) 0%, var(--dark-bg) 100%);
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.payment-card {
  background: var(--card-bg);
  padding: 25px;
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid rgba(147, 51, 234, 0.2);
  transition: var(--transition);
}

.payment-card:hover {
  border-color: var(--primary-gold);
}

.payment-card img {
  height: 50px;
  margin: 0 auto 15px;
  object-fit: contain;
}

.payment-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.payment-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 用户评论 */
.reviews-section {
  background: linear-gradient(135deg, rgba(107, 33, 168, 0.1) 0%, rgba(26, 16, 37, 0.9) 100%);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.review-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(147, 51, 234, 0.2);
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 4rem;
  color: rgba(212, 175, 55, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.review-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.review-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 15px;
}

.review-stars span {
  color: var(--primary-gold);
  font-size: 1.2rem;
}

.review-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 15px;
}

.review-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* FAQ区块 */
.faq-section {
  background: var(--dark-bg);
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  border: 1px solid rgba(147, 51, 234, 0.2);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-gold);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary-gold);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 25px 25px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* 关于我们 */
.about-section {
  background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(26, 16, 37, 0.8) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary-gold);
}

.about-content p {
  margin-bottom: 20px;
  color: var(--text-muted);
  line-height: 1.9;
}

/* 牌照区块 */
.license-section {
  background: var(--card-bg);
  padding: 60px 0;
  text-align: center;
}

.license-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.license-badge {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px 30px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.license-badge img {
  height: 80px;
  object-fit: contain;
}

/* 页脚 */
.site-footer {
  background: linear-gradient(180deg, var(--card-bg) 0%, #0A0510 100%);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(147, 51, 234, 0.2);
  border-radius: 50%;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gradient-purple);
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--primary-gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-gold);
  padding-left: 5px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(147, 51, 234, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-badges img {
  height: 40px;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-badges img:hover {
  opacity: 1;
}

.age-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid var(--accent-red);
  border-radius: 8px;
  color: var(--accent-red);
  font-weight: 700;
}

/* 内页样式 */
.page-header {
  background: linear-gradient(135deg, rgba(107, 33, 168, 0.3) 0%, rgba(26, 16, 37, 0.9) 100%);
  padding: 80px 0 60px;
  text-align: center;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--primary-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* 文章内容 */
.article-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

.article-content h2 {
  font-size: 1.8rem;
  color: var(--primary-gold);
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.article-content h3 {
  font-size: 1.4rem;
  color: var(--text-light);
  margin: 30px 0 15px;
}

.article-content p {
  margin-bottom: 20px;
  color: var(--text-muted);
  line-height: 1.9;
}

.article-content ul, .article-content ol {
  margin: 20px 0;
  padding-left: 30px;
  color: var(--text-muted);
}

.article-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.article-content img {
  border-radius: var(--border-radius);
  margin: 30px 0;
  box-shadow: var(--shadow-glow);
}

.article-content blockquote {
  background: rgba(107, 33, 168, 0.1);
  border-left: 4px solid var(--primary-gold);
  padding: 20px 25px;
  margin: 30px 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.article-content blockquote p {
  margin: 0;
  font-style: italic;
}

/* 信息表格 */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.info-table th, .info-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(147, 51, 234, 0.2);
}

.info-table th {
  background: rgba(107, 33, 168, 0.3);
  color: var(--primary-gold);
  font-weight: 600;
}

.info-table td {
  color: var(--text-muted);
}

.info-table tr:last-child td {
  border-bottom: none;
}

/* 作者信息 */
.author-box {
  display: flex;
  gap: 25px;
  padding: 30px;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  border: 1px solid rgba(147, 51, 234, 0.2);
  margin: 40px 0;
}

.author-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--primary-gold);
}

.author-title {
  font-size: 0.9rem;
  color: var(--secondary-purple);
  margin-bottom: 10px;
}

.author-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    flex-direction: column;
    padding: 20px;
    border-top: 1px solid rgba(147, 51, 234, 0.2);
  }
  
  .main-nav.active {
    display: flex;
  }
  
  .header-inner {
    position: relative;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-section {
    min-height: 500px;
    padding: 40px 0;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .page-title {
    font-size: 2.2rem;
  }
  
  .author-box {
    flex-direction: column;
    text-align: center;
  }
  
  .author-avatar {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .cta-btn, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .game-card-image {
    height: 180px;
  }
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

/* 懒加载图片占位 */
img[loading="lazy"] {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(107, 33, 168, 0.1) 100%);
}

/* 打印样式 */
@media print {
  .site-header, .site-footer, .cta-btn {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}
