/* ===== 问鼎娱乐 - 主样式表 ===== */
/* 独特配色：深紫+金色+青色 */

:root {
  --clr-bg-dark: #0d0a1a;
  --clr-bg-card: #1a1432;
  --clr-bg-section: #130f26;
  --clr-gold: #d4a843;
  --clr-gold-light: #f0d078;
  --clr-cyan: #00d4ff;
  --clr-purple: #7b2ff7;
  --clr-purple-light: #a855f7;
  --clr-text: #e8e0f0;
  --clr-text-muted: #9a8fb8;
  --clr-border: #2a2248;
  --clr-success: #22c55e;
  --clr-danger: #ef4444;
  --clr-warning: #f59e0b;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 20px rgba(123,47,247,0.3);
  --font-main: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--clr-bg-dark);
  color: var(--clr-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--clr-cyan); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--clr-gold); }

h1, h2, h3, h4, h5, h6 { color: var(--clr-gold); line-height: 1.3; font-weight: 700; }
h1 { font-size: 2rem; margin-bottom: 1rem; }
h2 { font-size: 1.6rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ===== 顶部导航 ===== */
.site-header {
  background: linear-gradient(180deg, #0d0a1a 0%, #1a1432 100%);
  border-bottom: 2px solid var(--clr-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: 10px; }
.site-logo img { width: 48px; height: 48px; border-radius: 50%; }
.site-logo span { font-size: 1.3rem; font-weight: 800; color: var(--clr-gold); letter-spacing: 1px; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--clr-gold);
  color: var(--clr-gold);
  font-size: 1.5rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

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

.main-nav a {
  display: block;
  padding: 8px 14px;
  color: var(--clr-text);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.3s;
}

.main-nav a:hover, .main-nav a.active {
  background: var(--clr-purple);
  color: #fff;
}

/* ===== Hero横幅 ===== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
  background: linear-gradient(135deg, #0d0a1a 0%, #1a0a3a 50%, #0d0a1a 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

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

.hero-content h1 {
  font-size: 2.4rem;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  max-width: 700px;
  margin: 0 auto 24px;
}

.cta-btn {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-warning));
  color: #0d0a1a;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,168,67,0.4);
  color: #0d0a1a;
}

.cta-btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.cta-btn-purple {
  background: linear-gradient(135deg, var(--clr-purple), var(--clr-purple-light));
  color: #fff;
}

.cta-btn-purple:hover {
  box-shadow: 0 8px 30px rgba(123,47,247,0.4);
  color: #fff;
}

/* ===== 通用区块 ===== */
.section {
  padding: 50px 0;
}

.section-alt {
  background: var(--clr-bg-section);
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
}

.section-title h2 {
  font-size: 1.8rem;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-purple), var(--clr-gold));
  border-radius: 2px;
}

.section-title p {
  color: var(--clr-text-muted);
  margin-top: 10px;
  font-size: 1rem;
}

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

.card-grid-3 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card-grid-5 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.game-card {
  background: var(--clr-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  transition: all 0.35s;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--clr-purple);
  box-shadow: var(--shadow-glow);
}

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

.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: 16px;
}

.game-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.game-card-body p {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  margin-bottom: 12px;
}

/* ===== 首存活动横幅 ===== */
.promo-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 20px 0;
}

.promo-banner img {
  width: 100%;
  height: auto;
}

.promo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(13,10,26,0.5);
  text-align: center;
  padding: 20px;
}

/* ===== 棋牌游戏 ===== */
.chess-card {
  background: linear-gradient(145deg, var(--clr-bg-card), #221a40);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--clr-border);
  transition: all 0.35s;
}

.chess-card:hover {
  border-color: var(--clr-cyan);
  box-shadow: 0 0 24px rgba(0,212,255,0.2);
}

.chess-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--clr-purple), var(--clr-cyan));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

/* ===== 足球赛程 ===== */
.match-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--clr-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.match-table th {
  background: var(--clr-purple);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}

.match-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--clr-border);
  font-size: 0.9rem;
}

.match-table tr:hover td { background: rgba(123,47,247,0.1); }

.match-predict {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.predict-home { background: rgba(34,197,94,0.2); color: var(--clr-success); }
.predict-draw { background: rgba(245,158,11,0.2); color: var(--clr-warning); }
.predict-away { background: rgba(239,68,68,0.2); color: var(--clr-danger); }

/* ===== 南非牌照 ===== */
.license-section {
  background: linear-gradient(135deg, #1a0a3a, #0d1a2a);
  border: 2px solid var(--clr-gold);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.license-badge { flex: 0 0 200px; text-align: center; }
.license-badge img { border-radius: var(--radius-md); }
.license-info { flex: 1; min-width: 280px; }
.license-number {
  display: inline-block;
  background: rgba(212,168,67,0.15);
  border: 1px solid var(--clr-gold);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  color: var(--clr-gold);
  font-weight: 600;
  margin: 10px 0;
}

/* ===== 文章列表 ===== */
.article-card {
  background: var(--clr-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  transition: all 0.3s;
}

.article-card:hover {
  border-color: var(--clr-gold);
  transform: translateY(-4px);
}

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

.article-card-body h3 { font-size: 1rem; margin-bottom: 8px; }
.article-card-body p { font-size: 0.85rem; color: var(--clr-text-muted); }
.article-meta { font-size: 0.78rem; color: var(--clr-text-muted); margin-top: 10px; }

/* ===== 注册模块 ===== */
.register-section {
  background: linear-gradient(135deg, #1a0a3a 0%, #2a1050 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.register-form { flex: 1; min-width: 300px; }
.register-visual { flex: 1; min-width: 280px; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  color: var(--clr-text);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--clr-purple);
  box-shadow: 0 0 0 3px rgba(123,47,247,0.2);
}

/* ===== 关于我们 ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.about-text p { margin-bottom: 16px; font-size: 0.95rem; }

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

.payment-item {
  background: var(--clr-bg-card);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  border: 1px solid var(--clr-border);
}

.payment-item h4 { font-size: 1rem; margin-bottom: 8px; color: var(--clr-cyan); }
.payment-item p { font-size: 0.85rem; color: var(--clr-text-muted); }

/* ===== 客户支持 ===== */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.support-item {
  background: var(--clr-bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--clr-border);
  transition: all 0.3s;
}

.support-item:hover { border-color: var(--clr-cyan); }
.support-icon { font-size: 2rem; margin-bottom: 12px; }
.support-item h4 { color: var(--clr-cyan); margin-bottom: 8px; }

/* ===== FAQ ===== */
.faq-item {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--clr-gold);
  transition: background 0.3s;
}

.faq-question:hover { background: rgba(123,47,247,0.1); }

.faq-arrow {
  transition: transform 0.3s;
  font-size: 1.2rem;
}

.faq-item.active .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 20px 18px;
  color: var(--clr-text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.faq-item.active .faq-answer { max-height: 500px; }

/* ===== 用户评论 ===== */
.review-card {
  background: var(--clr-bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--clr-border);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-purple), var(--clr-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.review-meta h4 { font-size: 0.95rem; margin-bottom: 2px; }
.review-meta span { font-size: 0.78rem; color: var(--clr-text-muted); }

.review-stars { color: var(--clr-gold); margin-bottom: 10px; font-size: 0.9rem; }
.review-text { font-size: 0.9rem; color: var(--clr-text-muted); line-height: 1.7; }
.review-date { font-size: 0.78rem; color: var(--clr-text-muted); margin-top: 10px; text-align: right; }

/* ===== 负责任博彩 ===== */
.responsible-section {
  background: linear-gradient(135deg, #1a0a2a, #0d1a2a);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--clr-danger);
  color: var(--clr-danger);
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 16px;
}

/* ===== 面包屑 ===== */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.85rem;
}

.breadcrumb a { color: var(--clr-text-muted); }
.breadcrumb a:hover { color: var(--clr-gold); }
.breadcrumb span { color: var(--clr-text-muted); margin: 0 6px; }
.breadcrumb .current { color: var(--clr-gold); }

/* ===== 页脚 ===== */
.site-footer {
  background: #080614;
  border-top: 2px solid var(--clr-border);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: var(--clr-gold);
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--clr-purple);
  display: inline-block;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--clr-text-muted); font-size: 0.88rem; }
.footer-col a:hover { color: var(--clr-gold); }

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

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--clr-purple);
  border-color: var(--clr-purple);
}

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  margin-bottom: 6px;
}

.footer-payment {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.footer-payment span {
  background: var(--clr-bg-card);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  border: 1px solid var(--clr-border);
}

.footer-age {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239,68,68,0.1);
  border: 1px solid var(--clr-danger);
  padding: 6px 16px;
  border-radius: 20px;
  color: var(--clr-danger);
  font-weight: 700;
  font-size: 0.9rem;
  margin: 10px 0;
}

/* ===== 充值活动 ===== */
.recharge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.recharge-card {
  background: linear-gradient(145deg, var(--clr-bg-card), #2a1a50);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--clr-border);
  text-align: center;
  transition: all 0.3s;
}

.recharge-card:hover {
  border-color: var(--clr-gold);
  transform: translateY(-4px);
}

.recharge-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-gold);
  margin: 10px 0;
}

.recharge-bonus {
  display: inline-block;
  background: rgba(34,197,94,0.15);
  color: var(--clr-success);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===== 内页样式 ===== */
.page-hero {
  padding: 40px 0;
  background: linear-gradient(135deg, #0d0a1a, #1a0a3a);
  text-align: center;
}

.content-section {
  padding: 30px 0;
}

.content-section p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.content-section h3 {
  margin-top: 24px;
}

.info-box {
  background: var(--clr-bg-card);
  border-left: 4px solid var(--clr-purple);
  padding: 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 20px 0;
}

.info-box h4 { color: var(--clr-cyan); margin-bottom: 8px; }

.stats-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.stat-item {
  flex: 1;
  min-width: 120px;
  background: var(--clr-bg-card);
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--clr-border);
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--clr-gold);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  margin-top: 4px;
}

/* ===== 作者信息 ===== */
.author-box {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--clr-bg-card);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  margin: 20px 0;
}

.author-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-purple), var(--clr-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  flex-shrink: 0;
}

.author-info h4 { font-size: 1rem; margin-bottom: 4px; }
.author-info p { font-size: 0.85rem; color: var(--clr-text-muted); }

/* ===== APP下载页 ===== */
.download-hero {
  padding: 60px 0;
  background: linear-gradient(135deg, #0d0a1a, #1a0a3a, #0d1a2a);
  text-align: center;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.download-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.dl-btn-ios {
  background: #000;
  color: #fff;
  border: 1px solid #333;
}

.dl-btn-android {
  background: var(--clr-success);
  color: #fff;
}

.dl-btn:hover { transform: translateY(-2px); opacity: 0.9; color: #fff; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    width: 100%;
    order: 3;
  }

  .main-nav.active { display: block; }

  .main-nav ul {
    flex-direction: column;
    gap: 2px;
  }

  .main-nav a {
    padding: 12px 16px;
    border-bottom: 1px solid var(--clr-border);
  }

  .hero-content h1 { font-size: 1.6rem; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }

  .about-grid { grid-template-columns: 1fr; }
  .license-section { flex-direction: column; text-align: center; }
  .license-badge { flex: auto; }
  .register-section { flex-direction: column; }
  .download-grid { grid-template-columns: 1fr; text-align: center; }

  .card-grid, .card-grid-3, .card-grid-4, .card-grid-5 {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .hero-content h1 { font-size: 1.3rem; }
  .section { padding: 30px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { flex-direction: column; }
}

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

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

/* ===== 表格响应式 ===== */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
}
