/* ==========================================
   问鼎娱乐 - 主样式表
   配色：深紫 #1a0a2e + 金色 #d4a017 + 暗红 #8b1a1a
   字体：思源黑体 + 衬线辅助
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=Noto+Serif+SC:wght@400;700&display=swap');

:root {
  --clr-bg-deep: #0d0618;
  --clr-bg-card: #1a0a2e;
  --clr-bg-surface: #241445;
  --clr-gold: #d4a017;
  --clr-gold-light: #f0d060;
  --clr-gold-dark: #9a7209;
  --clr-crimson: #c0392b;
  --clr-crimson-dark: #8b1a1a;
  --clr-text: #e8e0f0;
  --clr-text-muted: #a89cc0;
  --clr-accent: #7b2ff7;
  --clr-accent-light: #a855f7;
  --clr-success: #27ae60;
  --clr-border: rgba(212,160,23,0.2);
  --font-main: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Noto Serif SC', Georgia, serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 20px rgba(212,160,23,0.15);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::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-main);
  background: var(--clr-bg-deep);
  color: var(--clr-text);
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

a:hover { color: var(--clr-gold-light); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--clr-gold);
  line-height: 1.3;
  margin-bottom: 0.6em;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { margin-bottom: 1em; }

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

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

.wd-section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

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

/* ===== 顶部导航（非sticky） ===== */
.wd-header {
  background: linear-gradient(180deg, #0d0618 0%, #1a0a2e 100%);
  border-bottom: 1px solid var(--clr-border);
  position: relative;
  z-index: 100;
}

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

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

.wd-logo img {
  height: 42px;
  width: auto;
}

.wd-logo-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--clr-gold);
  font-weight: 700;
}

/* 桌面导航 */
.wd-nav {
  display: none;
}

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

.wd-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  color: var(--clr-text);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.wd-nav a:hover,
.wd-nav a.active {
  color: var(--clr-gold);
  background: rgba(212,160,23,0.1);
}

/* 汉堡菜单 */
.wd-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.wd-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--clr-gold);
  border-radius: 2px;
  transition: var(--transition);
}

/* 移动菜单 */
.wd-mobile-menu {
  display: none;
  background: var(--clr-bg-card);
  border-bottom: 1px solid var(--clr-border);
  padding: 16px;
}

.wd-mobile-menu.open {
  display: block;
}

.wd-mobile-menu ul {
  list-style: none;
}

.wd-mobile-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--clr-text);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.95rem;
}

.wd-mobile-menu a:hover { color: var(--clr-gold); }

/* ===== Hero横幅 ===== */
.wd-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0d0618 0%, #1a0a2e 50%, #241445 100%);
}

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

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

.wd-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 16px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.wd-hero h1 {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  margin-bottom: 16px;
}

.wd-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin-bottom: 24px;
}

/* ===== CTA按钮 ===== */
.wd-btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  font-family: var(--font-main);
}

.wd-btn-primary {
  background: linear-gradient(135deg, var(--clr-gold) 0%, var(--clr-gold-dark) 100%);
  color: #0d0618;
  box-shadow: 0 4px 15px rgba(212,160,23,0.4);
}

.wd-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212,160,23,0.6);
  color: #0d0618;
}

.wd-btn-outline {
  background: transparent;
  color: var(--clr-gold);
  border: 2px solid var(--clr-gold);
}

.wd-btn-outline:hover {
  background: var(--clr-gold);
  color: #0d0618;
}

.wd-btn-danger {
  background: linear-gradient(135deg, var(--clr-crimson) 0%, var(--clr-crimson-dark) 100%);
  color: #fff;
}

/* ===== 卡片网格 ===== */
.wd-grid {
  display: grid;
  gap: 20px;
}

.wd-grid-2 { grid-template-columns: 1fr; }
.wd-grid-3 { grid-template-columns: 1fr; }
.wd-grid-4 { grid-template-columns: repeat(2, 1fr); }

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

.wd-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: var(--clr-gold);
}

.wd-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.wd-card-body {
  padding: 16px;
}

.wd-card-title {
  font-size: 1.1rem;
  color: var(--clr-gold);
  margin-bottom: 8px;
}

.wd-card-text {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* ===== 棋牌游戏卡片 ===== */
.wd-game-card {
  background: linear-gradient(145deg, var(--clr-bg-card), var(--clr-bg-surface));
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

.wd-game-card:hover {
  border-color: var(--clr-accent);
  box-shadow: 0 0 30px rgba(123,47,247,0.2);
}

.wd-game-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.wd-game-card h4 {
  font-size: 1rem;
  color: var(--clr-gold-light);
  margin-bottom: 8px;
}

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

.wd-match-table th {
  background: var(--clr-bg-surface);
  color: var(--clr-gold);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
}

.wd-match-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
}

.wd-match-table tr:hover td {
  background: rgba(212,160,23,0.05);
}

/* ===== 文章模块 ===== */
.wd-article-card {
  display: flex;
  flex-direction: column;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.wd-article-card:hover {
  border-color: var(--clr-gold);
}

.wd-article-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.wd-article-card .wd-article-body {
  padding: 16px;
  flex: 1;
}

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

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

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

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

.wd-review-meta {
  flex: 1;
}

.wd-review-name {
  font-weight: 700;
  color: var(--clr-gold-light);
  font-size: 0.95rem;
}

.wd-review-info {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

.wd-stars {
  color: var(--clr-gold);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.wd-review-text {
  font-size: 0.9rem;
  color: var(--clr-text);
  line-height: 1.7;
}

.wd-review-date {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  margin-top: 8px;
}

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

.wd-faq-question {
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  color: var(--clr-gold);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-main);
  transition: var(--transition);
}

.wd-faq-question:hover {
  background: rgba(212,160,23,0.05);
}

.wd-faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--clr-gold);
  transition: var(--transition);
}

.wd-faq-item.active .wd-faq-question::after {
  content: '−';
}

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

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

.wd-faq-answer-inner {
  padding: 0 20px 16px;
  color: var(--clr-text);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== 注册模块 ===== */
.wd-register-section {
  background: linear-gradient(135deg, var(--clr-bg-surface) 0%, #2d1060 100%);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.wd-register-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212,160,23,0.08) 0%, transparent 60%);
  animation: wd-pulse 6s ease-in-out infinite;
}

@keyframes wd-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

.wd-register-form {
  max-width: 400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.wd-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  color: var(--clr-text);
  font-size: 1rem;
  margin-bottom: 12px;
  font-family: var(--font-main);
  transition: var(--transition);
}

.wd-input:focus {
  outline: none;
  border-color: var(--clr-gold);
  box-shadow: 0 0 10px rgba(212,160,23,0.2);
}

/* ===== 牌照模块 ===== */
.wd-license-section {
  background: linear-gradient(135deg, #0d1a0d 0%, #1a0a2e 100%);
  border: 1px solid rgba(39,174,96,0.3);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
}

.wd-license-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.wd-license-badge img {
  max-width: 200px;
  border-radius: var(--radius-md);
  border: 2px solid var(--clr-gold);
}

/* ===== 支付方式 ===== */
.wd-payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.wd-payment-icons img {
  height: 50px;
  width: auto;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  padding: 8px;
}

/* ===== 充值活动 ===== */
.wd-promo-banner {
  background: linear-gradient(135deg, #2d1060 0%, #4a1a7a 50%, #1a0a2e 100%);
  border: 2px solid var(--clr-gold);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.wd-promo-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.1), transparent);
  animation: wd-shine 3s infinite;
}

@keyframes wd-shine {
  to { left: 100%; }
}

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

.wd-breadcrumb a {
  color: var(--clr-text-muted);
}

.wd-breadcrumb a:hover {
  color: var(--clr-gold);
}

.wd-breadcrumb span {
  color: var(--clr-text-muted);
  margin: 0 6px;
}

/* ===== 页脚 ===== */
.wd-footer {
  background: linear-gradient(180deg, var(--clr-bg-card) 0%, #050210 100%);
  border-top: 1px solid var(--clr-border);
  padding: 50px 0 20px;
}

.wd-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.wd-footer h4 {
  color: var(--clr-gold);
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: var(--font-main);
  font-weight: 700;
}

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

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

.wd-footer a {
  color: var(--clr-text-muted);
  font-size: 0.85rem;
}

.wd-footer a:hover {
  color: var(--clr-gold);
}

.wd-footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

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

.wd-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212,160,23,0.1);
  color: var(--clr-gold);
  font-size: 1.1rem;
  transition: var(--transition);
}

.wd-footer-social a:hover {
  background: var(--clr-gold);
  color: #0d0618;
}

.wd-age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--clr-crimson);
  color: var(--clr-crimson);
  font-weight: 900;
  font-size: 1rem;
  margin: 12px auto;
}

/* ===== 负责任博彩声明 ===== */
.wd-disclaimer {
  background: rgba(192,57,43,0.1);
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

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

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

.wd-author-name {
  font-weight: 700;
  color: var(--clr-gold);
  font-size: 1.05rem;
}

.wd-author-bio {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* ===== 内页内容 ===== */
.wd-content-article {
  max-width: 900px;
  margin: 0 auto;
}

.wd-content-article p {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.2em;
}

.wd-content-article h2 {
  margin-top: 2em;
}

.wd-content-article img {
  border-radius: var(--radius-md);
  margin: 20px 0;
}

.wd-info-box {
  background: var(--clr-bg-surface);
  border-left: 4px solid var(--clr-gold);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
}

.wd-rtp-bar {
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
  margin: 8px 0;
}

.wd-rtp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-success));
  border-radius: 4px;
}

/* ===== 客户支持 ===== */
.wd-support-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.wd-support-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

/* ===== 响应式 ===== */
@media (min-width: 640px) {
  .wd-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .wd-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .wd-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .wd-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .wd-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .wd-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .wd-footer-grid { grid-template-columns: repeat(4, 1fr); }
  .wd-license-badge { flex-direction: row; }
}

@media (min-width: 1024px) {
  .wd-nav {
    display: block;
  }
  .wd-hamburger {
    display: none;
  }
  .wd-hero {
    min-height: 520px;
  }
}

/* ===== 工具类 ===== */
.text-center { text-align: center; }
.text-gold { color: var(--clr-gold); }
.text-muted { color: var(--clr-text-muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.gap-1 { gap: 8px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
