/* ============================================
   问鼎娱乐 - 全站样式表
   独特配色: 深紫+金色+暗红 渐变主题
   ============================================ */

/* CSS Variables */
:root {
  --primary: #8B1A1A;
  --primary-light: #C62828;
  --accent: #FFD700;
  --accent-dark: #B8860B;
  --bg-dark: #0A0514;
  --bg-card: #1A0F2E;
  --bg-section: #120B22;
  --text-main: #E8E0F0;
  --text-muted: #9B8FB8;
  --text-bright: #FFFFFF;
  --gradient-1: linear-gradient(135deg, #0A0514 0%, #1A0F2E 50%, #2D1B4E 100%);
  --gradient-2: linear-gradient(135deg, #8B1A1A 0%, #C62828 100%);
  --gradient-3: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
  --shadow-glow: 0 0 30px rgba(255, 215, 0, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-main: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --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 { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; color: var(--text-bright); font-weight: 700; }

/* Container */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 20px; }

/* ============ HEADER / NAV ============ */
.site-header {
  background: linear-gradient(180deg, rgba(10,5,20,0.98) 0%, rgba(26,15,46,0.95) 100%);
  border-bottom: 2px solid rgba(255,215,0,0.2);
  padding: 0;
  position: relative; /* NOT sticky */
  z-index: 100;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 48px; width: auto; }
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 24px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.main-nav { display: flex; align-items: center; }
.main-nav ul { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav li a {
  display: block;
  padding: 10px 16px;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav li a:hover, .main-nav li a.active {
  background: rgba(255,215,0,0.1);
  color: var(--accent);
}
.cta-btn {
  display: inline-block;
  background: var(--gradient-2);
  color: var(--text-bright) !important;
  padding: 12px 28px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--accent);
  transition: var(--transition);
  text-align: center;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,215,0,0.3);
  color: var(--accent) !important;
}

/* ============ HERO SECTION ============ */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}
.hero-section .hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(10,5,20,0.3) 0%, rgba(10,5,20,0.7) 100%);
}
.hero-content { text-align: center; }
.hero-content h1 { font-size: 2.8rem; margin-bottom: 16px; text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 30px; }

/* ============ SECTIONS ============ */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-section); }
.section-title {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}
.section-title h2 {
  font-size: 2rem;
  display: inline-block;
  position: relative;
  padding-bottom: 16px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gradient-3);
  border-radius: 2px;
}
.section-title p { color: var(--text-muted); margin-top: 12px; font-size: 1.05rem; }

/* ============ VIDEO MODULE ============ */
.video-module {
  position: relative;
  max-width: 900px;
  margin: 0 auto 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  cursor: pointer;
  aspect-ratio: 16/9;
}
.video-module img { width: 100%; height: 100%; object-fit: cover; }
.video-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  background: rgba(220,38,38,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255,255,255,0.8);
  transition: var(--transition);
}
.video-play-btn::after {
  content: '';
  display: block;
  width: 0; height: 0;
  border-left: 24px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}
.video-module:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(220,38,38,1);
}
.video-player { display: none; width: 100%; border-radius: var(--radius-lg); }
.video-module.playing .video-player { display: block; }
.video-module.playing img,
.video-module.playing .video-play-btn { display: none; }

/* ============ CARD GRID ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.game-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,215,0,0.1);
  transition: var(--transition);
  position: relative;
}
.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,215,0,0.4);
  box-shadow: var(--shadow-glow);
}
.game-card .card-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.game-card .card-body { padding: 20px; }
.game-card .card-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.game-card .card-body p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.game-card .card-btn {
  display: inline-block;
  background: var(--gradient-2);
  color: #fff;
  padding: 8px 24px;
  border-radius: var(--radius-xl);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--accent);
}
.game-card .card-btn:hover { box-shadow: 0 4px 15px rgba(255,215,0,0.3); }
.game-card .rtp-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0,0,0,0.7);
  color: #00ff88;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* ============ ABOUT / TEXT BLOCKS ============ */
.text-block { max-width: 900px; margin: 0 auto; }
.text-block h3 { font-size: 1.4rem; margin: 28px 0 14px; color: var(--accent); }
.text-block p { margin-bottom: 16px; text-align: justify; }

/* ============ PROMO CARDS ============ */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.promo-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.promo-card img { width: 100%; aspect-ratio: 2/1; object-fit: cover; }
.promo-card .promo-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}
.promo-card .promo-info h3 { font-size: 1.2rem; }
.promo-card .promo-info p { font-size: 0.9rem; color: var(--text-muted); }

/* ============ PAYMENT SECTION ============ */
.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.payment-grid img { height: 60px; width: auto; border-radius: var(--radius-sm); }

/* ============ LICENSE SECTION ============ */
.license-block {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.license-block .license-img { flex: 0 0 auto; max-width: 400px; border-radius: var(--radius-md); }
.license-block .license-text { flex: 1; min-width: 280px; }
.license-block .license-text h3 { color: var(--accent); margin-bottom: 14px; }

/* ============ FAQ ============ */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255,215,0,0.1);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
}
.faq-question:hover { background: rgba(255,215,0,0.05); }
.faq-question .faq-icon {
  font-size: 1.4rem;
  color: var(--accent);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner { padding: 0 24px 20px; color: var(--text-muted); line-height: 1.8; }

/* ============ REVIEWS ============ */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,215,0,0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}
.review-card:hover { border-color: rgba(255,215,0,0.3); }
.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.review-header img { width: 50px; height: 50px; border-radius: 50%; }
.review-meta h4 { font-size: 1rem; margin-bottom: 2px; }
.review-meta .review-badge { font-size: 0.8rem; color: var(--accent); }
.review-meta .review-city { font-size: 0.8rem; color: var(--text-muted); }
.review-stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 10px; letter-spacing: 2px; }
.review-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }
.review-date { font-size: 0.8rem; color: var(--text-muted); margin-top: 12px; opacity: 0.7; }

/* ============ AUTHOR BOX ============ */
.author-box {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 40px 0;
}
.author-box img { width: 90px; height: 90px; border-radius: 50%; flex-shrink: 0; }
.author-info h4 { font-size: 1.1rem; margin-bottom: 4px; }
.author-info .author-title { color: var(--accent); font-size: 0.9rem; margin-bottom: 8px; }
.author-info p { font-size: 0.9rem; color: var(--text-muted); }

/* ============ SUPPORT SECTION ============ */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.support-item {
  text-align: center;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  border: 1px solid rgba(255,215,0,0.1);
  transition: var(--transition);
}
.support-item:hover { border-color: rgba(255,215,0,0.3); transform: translateY(-4px); }
.support-item img { width: 64px; height: 64px; margin: 0 auto 16px; }
.support-item h4 { margin-bottom: 8px; }
.support-item p { font-size: 0.9rem; color: var(--text-muted); }

/* ============ DOWNLOAD SECTION ============ */
.download-section {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.download-phone { max-width: 320px; }
.download-phone img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.download-info { flex: 1; min-width: 300px; max-width: 500px; }
.download-info h3 { font-size: 1.6rem; margin-bottom: 16px; }
.download-info p { margin-bottom: 20px; color: var(--text-muted); }
.download-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.download-buttons img { height: 50px; width: auto; cursor: pointer; transition: var(--transition); }
.download-buttons img:hover { transform: scale(1.05); }
.download-qr { text-align: center; }
.download-qr img { width: 180px; margin: 0 auto; border-radius: var(--radius-sm); }
.download-qr p { font-size: 0.9rem; color: var(--text-muted); margin-top: 8px; }

/* ============ ARTICLES ============ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.article-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,215,0,0.1);
  transition: var(--transition);
}
.article-card:hover { transform: translateY(-4px); border-color: rgba(255,215,0,0.3); }
.article-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-card .article-body { padding: 20px; }
.article-card .article-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.article-card .article-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.article-card .article-date { font-size: 0.8rem; color: var(--text-muted); margin-top: 10px; opacity: 0.7; }

/* ============ BREADCRUMB ============ */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.9rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); margin: 0 8px; }
.breadcrumb .current { color: var(--accent); }

/* ============ INNER PAGE ============ */
.inner-hero {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}
.inner-hero img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.inner-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent 30%, rgba(10,5,20,0.8));
  display: flex;
  align-items: flex-end;
  padding: 40px;
}
.inner-hero-overlay h1 { font-size: 2.4rem; }

.inner-content { padding: 40px 0; }
.inner-content h2 { font-size: 1.6rem; margin: 32px 0 16px; color: var(--accent); border-left: 4px solid var(--accent); padding-left: 16px; }
.inner-content h3 { font-size: 1.3rem; margin: 24px 0 12px; }
.inner-content p { margin-bottom: 16px; text-align: justify; }
.inner-content .game-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.inner-content .game-img-grid img { border-radius: var(--radius-sm); width: 100%; }

/* ============ FOOTER ============ */
.site-footer {
  background: linear-gradient(180deg, var(--bg-section) 0%, #050210 100%);
  border-top: 2px solid rgba(255,215,0,0.15);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: var(--accent);
  font-size: 1.05rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,215,0,0.2);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-col p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social img { width: 36px; height: 36px; border-radius: var(--radius-sm); transition: var(--transition); }
.footer-social img:hover { transform: scale(1.15); }
.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.footer-payments img { height: 36px; border-radius: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,215,0,0.1);
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 6px; }
.footer-age { display: inline-block; margin-top: 10px; }
.footer-age img { width: 50px; }
.footer-disclaimer {
  max-width: 800px;
  margin: 16px auto 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
  text-align: center;
  line-height: 1.6;
}

/* ============ MOBILE RESPONSIVE ============ */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10,5,20,0.98);
    padding: 16px;
    border-bottom: 2px solid rgba(255,215,0,0.2);
    z-index: 99;
  }
  .main-nav.active { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li a { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 1rem; }
  .hero-overlay { padding: 50px 0; }
  .section { padding: 40px 0; }
  .section-title h2 { font-size: 1.5rem; }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
  .review-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .author-box { flex-direction: column; align-items: center; text-align: center; }
  .license-block { flex-direction: column; align-items: center; }
  .license-block .license-img { max-width: 100%; }
  .download-section { flex-direction: column; }
  .download-phone { max-width: 260px; }
  .inner-hero img { height: 200px; }
  .inner-hero-overlay h1 { font-size: 1.6rem; }
  .container { padding: 0 16px; }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  .hero-content h1 { font-size: 1.5rem; }
  .card-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .payment-grid img { height: 40px; }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ UTILITY ============ */
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
