/* ============================================
   主样式表 - 暗黑奢华风格 + 金色点缀
   移动端优先响应式设计
   ============================================ */

/* CSS Variables */
:root {
  --primary-dark: #0a0e1a;
  --secondary-dark: #111827;
  --accent-gold: #f5c518;
  --accent-red: #dc2626;
  --accent-green: #10b981;
  --accent-blue: #3b82f6;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #1e293b;
  --card-bg: #1a1f2e;
  --card-hover: #232940;
  --gradient-start: #0f172a;
  --gradient-end: #1e3a5f;
  --font-heading: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Helvetica Neue', sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::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: var(--font-body);
  background: var(--primary-dark);
  color: var(--text-primary);
  line-height: 1.75;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-gold); text-decoration: none; transition: var(--transition); }
a:hover { color: #ffd700; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.3; }

/* Container */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ===== HEADER ===== */
.site-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
  border-bottom: 2px solid var(--accent-gold);
  padding: 12px 0;
  position: relative;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.site-logo { display: flex; align-items: center; gap: 8px; }
.site-logo img { height: 40px; width: auto; }
.site-logo span { font-size: 1.25rem; font-weight: 800; color: var(--accent-gold); letter-spacing: 1px; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: block;
  background: none;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  font-size: 1.5rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.menu-toggle:hover { background: var(--accent-gold); color: var(--primary-dark); }

/* Navigation */
.main-nav { width: 100%; display: none; }
.main-nav.active { display: block; }
.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 10px 0;
}
.nav-list li a {
  display: block;
  padding: 10px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}
.nav-list li a:hover, .nav-list li a.active {
  color: var(--accent-gold);
  background: rgba(245, 197, 24, 0.08);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--accent-gold); }
.breadcrumb span { margin: 0 6px; }

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  background: linear-gradient(160deg, #0b1120 0%, #162447 50%, #1f4068 100%);
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,197,24,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; text-align: center; }
.hero-content h1 {
  font-size: 2rem;
  color: var(--accent-gold);
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(245,197,24,0.3);
}
.hero-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 24px;
}
.hero-image {
  margin-top: 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image img { width: 100%; }

/* ===== CTA BUTTON ===== */
.cta-btn {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--accent-gold), #e6a800);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(245,197,24,0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245,197,24,0.5);
  color: var(--primary-dark);
}
.cta-btn-red {
  background: linear-gradient(135deg, var(--accent-red), #b91c1c);
  color: #fff;
  box-shadow: 0 4px 15px rgba(220,38,38,0.3);
}
.cta-btn-red:hover {
  box-shadow: 0 6px 25px rgba(220,38,38,0.5);
  color: #fff;
}

/* ===== VIDEO SECTION ===== */
.video-section {
  padding: 50px 0;
  background: var(--secondary-dark);
}
.video-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  aspect-ratio: 16/9;
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-poster-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  transition: var(--transition);
}
.video-poster-overlay:hover { background: rgba(0,0,0,0.2); }
.play-btn {
  width: 70px;
  height: 70px;
  background: var(--accent-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(220,38,38,0.5);
  transition: var(--transition);
}
.play-btn:hover { transform: scale(1.1); }
.play-btn::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

/* ===== SECTION COMMON ===== */
.section-block {
  padding: 50px 0;
}
.section-block:nth-child(even) { background: var(--secondary-dark); }
.section-title {
  font-size: 1.6rem;
  color: var(--accent-gold);
  text-align: center;
  margin-bottom: 12px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-gold);
  margin: 10px auto 0;
  border-radius: 2px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

/* ===== GAME CARDS ===== */
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.game-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}
.game-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
}
.game-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.game-card:hover .game-card-img img { transform: scale(1.05); }
.game-card-body { padding: 14px; }
.game-card-body h3 { font-size: 1rem; color: var(--text-primary); margin-bottom: 6px; }
.game-card-body p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 10px; }
.game-card-body .cta-btn { font-size: 0.8rem; padding: 8px 20px; }

/* ===== REVIEW CARDS ===== */
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.review-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.review-card:hover { border-color: var(--accent-gold); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; }
.review-meta h4 { font-size: 0.95rem; color: var(--text-primary); }
.review-meta span { font-size: 0.8rem; color: var(--text-muted); }
.review-stars { color: var(--accent-gold); font-size: 1rem; margin-bottom: 8px; letter-spacing: 2px; }
.review-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
.review-date { font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}
.faq-question {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
}
.faq-question:hover { color: var(--accent-gold); }
.faq-arrow {
  transition: transform 0.3s;
  font-size: 1.2rem;
  color: var(--accent-gold);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 20px 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ===== PAYMENT SECTION ===== */
.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.payment-item {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  border: 1px solid var(--border-color);
  width: calc(50% - 6px);
  transition: var(--transition);
}
.payment-item:hover { border-color: var(--accent-gold); }
.payment-item img { height: 40px; margin: 0 auto 8px; }
.payment-item span { font-size: 0.85rem; color: var(--text-secondary); display: block; }

/* ===== LICENSE SECTION ===== */
.license-section {
  text-align: center;
  padding: 50px 0;
  background: linear-gradient(180deg, var(--primary-dark), var(--secondary-dark));
}
.license-badge { max-width: 180px; margin: 0 auto 20px; }
.license-info { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8; }
.license-info strong { color: var(--accent-gold); }

/* ===== AUTHOR SECTION ===== */
.author-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  border: 1px solid var(--border-color);
  text-align: center;
}
.author-avatar { width: 80px; height: 80px; border-radius: 50%; border: 3px solid var(--accent-gold); }
.author-name { font-size: 1.1rem; color: var(--accent-gold); }
.author-title { font-size: 0.85rem; color: var(--text-muted); }
.author-bio { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8; }

/* ===== SUPPORT SECTION ===== */
.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.support-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.support-card:hover { border-color: var(--accent-gold); transform: translateY(-2px); }
.support-card img { width: 48px; height: 48px; margin: 0 auto 12px; }
.support-card h3 { font-size: 1rem; color: var(--text-primary); margin-bottom: 6px; }
.support-card p { font-size: 0.85rem; color: var(--text-secondary); }

/* ===== ABOUT SECTION ===== */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.9;
}
.about-content h3 {
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin: 24px 0 12px;
}
.about-content p { margin-bottom: 16px; }

/* ===== PROMO BANNER ===== */
.promo-banner {
  background: linear-gradient(135deg, #7c2d12, #dc2626);
  padding: 30px 20px;
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 20px 0;
  box-shadow: var(--shadow-md);
}
.promo-banner h2 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.promo-banner p { color: rgba(255,255,255,0.85); margin-bottom: 16px; }

/* ===== RESPONSIBLE GAMING ===== */
.responsible-section {
  background: var(--secondary-dark);
  padding: 40px 0;
  border-top: 2px solid var(--accent-green);
}
.responsible-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.responsible-content img { max-width: 150px; margin: 0 auto 16px; }
.responsible-content p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 12px; }

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(180deg, #080c16, #050810);
  border-top: 2px solid var(--accent-gold);
  padding: 40px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-col h4 {
  color: var(--accent-gold);
  font-size: 1rem;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-gold);
}
.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--accent-gold); padding-left: 6px; }
.footer-social { display: flex; gap: 10px; margin-top: 10px; }
.footer-social a img { width: 36px; height: 36px; border-radius: 8px; transition: var(--transition); }
.footer-social a:hover img { transform: scale(1.1); }
.footer-payment { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.footer-payment img { height: 32px; border-radius: 4px; }
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-secondary); }
.footer-age { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; }
.footer-age img { width: 36px; height: 36px; }

/* ===== INNER PAGE STYLES ===== */
.inner-hero {
  padding: 40px 0 30px;
  background: linear-gradient(160deg, #0b1120, #1a2744);
  text-align: center;
}
.inner-hero h1 { font-size: 1.8rem; color: var(--accent-gold); margin-bottom: 10px; }
.inner-hero p { color: var(--text-secondary); font-size: 0.95rem; }

.content-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 16px;
}
.content-article h2 {
  font-size: 1.4rem;
  color: var(--accent-gold);
  margin: 30px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}
.content-article h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin: 20px 0 10px;
}
.content-article p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.9;
}
.content-article img {
  border-radius: var(--radius-md);
  margin: 20px 0;
  box-shadow: var(--shadow-sm);
}
.content-article ul, .content-article ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.content-article li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  padding-left: 8px;
  list-style: disc;
}
.content-article ol li { list-style: decimal; }

/* Info Table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}
.info-table th, .info-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  text-align: left;
}
.info-table th {
  background: var(--card-bg);
  color: var(--accent-gold);
  font-weight: 600;
}
.info-table td { color: var(--text-secondary); }
.info-table tr:hover td { background: rgba(245,197,24,0.03); }

/* Odds Badge */
.odds-badge {
  display: inline-block;
  background: var(--accent-green);
  color: #fff;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ===== APP DOWNLOAD PAGE ===== */
.app-hero {
  padding: 50px 0;
  background: linear-gradient(160deg, #0b1120, #1e3a5f);
  text-align: center;
}
.app-hero h1 { font-size: 2rem; color: var(--accent-gold); margin-bottom: 12px; }
.app-screenshot { max-width: 280px; margin: 20px auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.app-badges { display: flex; gap: 12px; justify-content: center; margin: 20px 0; flex-wrap: wrap; }
.app-badges img { height: 48px; border-radius: 8px; }
.qr-section { text-align: center; padding: 30px 0; }
.qr-section img { max-width: 160px; margin: 0 auto; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.animate-in { animation: fadeInUp 0.6s ease forwards; }
.pulse-anim { animation: pulse 2s infinite; }

/* ===== TABLET ===== */
@media (min-width: 640px) {
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .payment-item { width: calc(33.33% - 8px); }
}

/* ===== DESKTOP ===== */
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  .main-nav { display: block !important; width: auto; }
  .nav-list {
    flex-direction: row;
    gap: 0;
    padding: 0;
  }
  .nav-list li a {
    border-bottom: none;
    padding: 8px 14px;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
  }
  .hero-content h1 { font-size: 3rem; }
  .game-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .support-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .author-box { flex-direction: row; text-align: left; }
  .section-block { padding: 70px 0; }
  .container { padding: 0 24px; }
}
