/* ================================================
   澳门六合彩 - snxxj.com 主样式文件
   原创设计 © 2026 澳门六合彩
   ================================================ */

/* ---- CSS变量 ---- */
:root {
  --primary: #c8102e;
  --primary-dark: #9b0a22;
  --primary-light: #e8334a;
  --gold: #d4a017;
  --gold-light: #f0c040;
  --dark: #1a1a2e;
  --dark2: #16213e;
  --dark3: #0f3460;
  --text: #2c2c2c;
  --text-light: #666;
  --bg: #fafafa;
  --bg2: #f4f4f4;
  --white: #ffffff;
  --border: #e0e0e0;
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-hover: 0 8px 32px rgba(200,16,46,0.18);
  --radius: 10px;
  --radius-lg: 18px;
  --transition: 0.3s ease;
  --font: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', sans-serif;
}

/* ---- 重置 ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ---- 容器 ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* ---- 顶部公告栏 ---- */
.top-bar {
  background: var(--dark);
  color: #ccc;
  font-size: 13px;
  padding: 7px 0;
  border-bottom: 2px solid var(--primary);
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.top-bar-left { display: flex; align-items: center; gap: 16px; }
.top-bar-right { display: flex; align-items: center; gap: 16px; }
.top-bar a { color: #ccc; font-size: 13px; }
.top-bar a:hover { color: var(--gold-light); }
.top-bar .live-dot { display: inline-block; width: 8px; height: 8px; background: #e74c3c; border-radius: 50%; margin-right: 5px; animation: blink 1.2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ---- 头部 ---- */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.site-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.logo-text { display: flex; flex-direction: column; }
.logo-text .brand { font-size: 22px; font-weight: 800; color: var(--primary); letter-spacing: 2px; line-height: 1.2; }
.logo-text .slogan { font-size: 11px; color: var(--text-light); letter-spacing: 1px; }

/* ---- 导航 ---- */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--primary);
  color: var(--white);
}
.nav-icon { font-size: 15px; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }

/* ---- 搜索框 ---- */
.search-bar-wrap {
  background: linear-gradient(90deg, var(--dark) 0%, var(--dark3) 100%);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.search-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}
.search-bar-inner input {
  flex: 1;
  padding: 9px 18px;
  border-radius: 30px 0 0 30px;
  border: 2px solid var(--gold);
  background: rgba(255,255,255,0.10);
  color: var(--white);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}
.search-bar-inner input::placeholder { color: rgba(255,255,255,0.5); }
.search-bar-inner input:focus { border-color: var(--gold-light); background: rgba(255,255,255,0.15); }
.search-bar-inner button {
  padding: 9px 22px;
  background: var(--primary);
  color: var(--white);
  border-radius: 0 30px 30px 0;
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition);
}
.search-bar-inner button:hover { background: var(--primary-dark); }

/* ---- Hero Banner ---- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 0;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.hero h1 span { color: var(--gold-light); }
.hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--primary);
  color: var(--white);
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(200,16,46,0.4);
}
.btn-primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,16,46,0.5); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border: 2px solid var(--gold);
  color: var(--gold-light);
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  transition: all var(--transition);
}
.btn-outline:hover { background: var(--gold); color: var(--dark); }
.hero-stats {
  position: absolute;
  bottom: 30px;
  right: 0;
  display: flex;
  gap: 24px;
  z-index: 1;
}
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 28px; font-weight: 900; color: var(--gold-light); line-height: 1; }
.hero-stat .label { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ---- 开奖数字滚动条 ---- */
.lottery-ticker {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 10px 0;
  overflow: hidden;
}
.ticker-inner { display: flex; align-items: center; gap: 0; }
.ticker-label {
  background: var(--gold);
  color: var(--dark);
  padding: 4px 16px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 0 4px 4px 0;
  margin-right: 16px;
}
.ticker-scroll { overflow: hidden; flex: 1; }
.ticker-track {
  display: flex;
  gap: 40px;
  animation: tickerMove 30s linear infinite;
  white-space: nowrap;
}
.ticker-item { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 13px; }
.ticker-item .period { color: rgba(255,255,255,0.7); }
.lottery-ball-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.ball-red { background: radial-gradient(circle at 35% 35%, #ff6b6b, #c0392b); }
.ball-blue { background: radial-gradient(circle at 35% 35%, #74b9ff, #2980b9); }
.ball-green { background: radial-gradient(circle at 35% 35%, #55efc4, #00b894); }
.ball-purple { background: radial-gradient(circle at 35% 35%, #a29bfe, #6c5ce7); }
.ball-gold { background: radial-gradient(circle at 35% 35%, #ffeaa7, #d4a017); color: var(--dark); }
@keyframes tickerMove { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ---- 通用区块 ---- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg2); }
.section-dark { background: var(--dark); color: var(--white); }
.section-header { text-align: center; margin-bottom: 44px; }
.section-tag {
  display: inline-block;
  background: rgba(200,16,46,0.1);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  border: 1px solid rgba(200,16,46,0.2);
}
.section-dark .section-tag { background: rgba(212,160,23,0.15); color: var(--gold-light); border-color: rgba(212,160,23,0.3); }
.section-header h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.section-dark .section-header h2 { color: var(--white); }
.section-header p { font-size: 15px; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.section-dark .section-header p { color: rgba(255,255,255,0.65); }
.divider { width: 60px; height: 4px; background: linear-gradient(90deg, var(--primary), var(--gold)); border-radius: 2px; margin: 14px auto 0; }

/* ---- 视频卡片 ---- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.video-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  cursor: pointer;
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--dark2);
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.06); }
.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity var(--transition);
}
.video-card:hover .play-btn { opacity: 1; }
.play-icon {
  width: 56px;
  height: 56px;
  background: rgba(200,16,46,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}
.play-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.video-card:hover .play-icon { transform: scale(1.12); }
.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
}
.video-badge.live { background: #e74c3c; animation: blink 1.5s infinite; }
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: var(--white);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
}
.video-info { padding: 14px 16px 16px; }
.video-info h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-light); flex-wrap: wrap; }
.video-meta span { display: flex; align-items: center; gap: 3px; }
.video-meta .icon { font-size: 13px; }

/* ---- 特色卡片 ---- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
  box-shadow: 0 6px 16px rgba(200,16,46,0.25);
}
.feature-card h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* ---- 专家卡片 ---- */
.expert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.expert-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.expert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.expert-avatar {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}
.expert-info { padding: 18px 20px 20px; }
.expert-info h3 { font-size: 17px; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.expert-title { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.expert-desc { font-size: 13px; color: var(--text-light); line-height: 1.6; margin-bottom: 14px; }
.expert-awards { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.award-tag {
  background: rgba(212,160,23,0.12);
  color: var(--gold);
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid rgba(212,160,23,0.25);
}
.expert-btns { display: flex; gap: 8px; }
.btn-sm {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: all var(--transition);
}
.btn-sm-primary { background: var(--primary); color: var(--white); }
.btn-sm-primary:hover { background: var(--primary-dark); color: var(--white); }
.btn-sm-outline { border: 1.5px solid var(--primary); color: var(--primary); }
.btn-sm-outline:hover { background: var(--primary); color: var(--white); }

/* ---- 开奖结果表格 ---- */
.result-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.result-table { width: 100%; border-collapse: collapse; background: var(--white); }
.result-table thead { background: linear-gradient(90deg, var(--primary), var(--primary-dark)); }
.result-table thead th { padding: 14px 16px; color: var(--white); font-size: 14px; font-weight: 700; text-align: center; }
.result-table tbody tr { border-bottom: 1px solid var(--border); transition: background var(--transition); }
.result-table tbody tr:hover { background: rgba(200,16,46,0.04); }
.result-table tbody td { padding: 12px 16px; text-align: center; font-size: 14px; color: var(--text); }
.result-table .period-num { font-weight: 700; color: var(--primary); }
.result-table .date-col { color: var(--text-light); font-size: 13px; }
.balls-row { display: flex; gap: 5px; justify-content: center; flex-wrap: wrap; }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  gap: 12px;
}
.faq-q::after { content: '+'; font-size: 20px; color: var(--primary); flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 20px 16px; font-size: 14px; color: var(--text-light); line-height: 1.8; }
.faq-item.open .faq-a { display: block; }

/* ---- 评价 ---- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}
.review-name { font-size: 15px; font-weight: 700; color: var(--dark); }
.review-date { font-size: 12px; color: var(--text-light); }
.review-stars { color: var(--gold); font-size: 14px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.review-tag { display: inline-block; background: rgba(200,16,46,0.08); color: var(--primary); font-size: 11px; padding: 2px 8px; border-radius: 4px; margin-top: 10px; }

/* ---- 合作品牌 ---- */
.partner-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.partner-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light);
  transition: all var(--transition);
  min-width: 120px;
  text-align: center;
}
.partner-item:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow); }

/* ---- How-To 步骤 ---- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.step-num {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  margin: 0 auto 14px;
}
.step-card h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* ---- 联系区块 ---- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
}
.contact-card:hover { background: rgba(255,255,255,0.10); border-color: var(--gold); }
.contact-icon { font-size: 36px; margin-bottom: 12px; }
.contact-card h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.6; }
.contact-card a { color: var(--gold-light); }
.qr-placeholder {
  width: 100px;
  height: 100px;
  background: var(--white);
  border-radius: 8px;
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
  padding: 8px;
  line-height: 1.4;
}

/* ---- 社交分享 ---- */
.share-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
  color: var(--white);
}
.share-wechat { background: #07c160; }
.share-weibo { background: #e6162d; }
.share-douyin { background: #010101; border: 1px solid #333; }
.share-bilibili { background: #00a1d6; }
.share-btn:hover { opacity: 0.85; transform: translateY(-2px); color: var(--white); }

/* ---- 面包屑 ---- */
.breadcrumb {
  background: var(--bg2);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb-inner { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-light); flex-wrap: wrap; }
.breadcrumb-inner a { color: var(--text-light); }
.breadcrumb-inner a:hover { color: var(--primary); }
.breadcrumb-inner .sep { color: var(--border); }
.breadcrumb-inner .current { color: var(--primary); font-weight: 600; }

/* ---- 页脚 ---- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .brand-name { font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.footer-col h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); display: inline-block; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { width: 40px; height: 40px; border-radius: 50%; }

/* ---- 内页标题区 ---- */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark3) 100%);
  padding: 48px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200,16,46,0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero h1 { font-size: clamp(24px, 3vw, 38px); font-weight: 900; margin-bottom: 10px; }
.page-hero p { font-size: 15px; color: rgba(255,255,255,0.7); max-width: 600px; }

/* ---- 侧边栏 ---- */
.content-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}
.sidebar-widget h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}
.hot-list { display: flex; flex-direction: column; gap: 10px; }
.hot-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.hot-item:last-child { border-bottom: none; }
.hot-rank {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--bg2);
  color: var(--text-light);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hot-rank.top3 { background: var(--primary); color: var(--white); }
.hot-item a { font-size: 13px; color: var(--text); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hot-item a:hover { color: var(--primary); }

/* ---- 数字球大 ---- */
.lottery-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
}

/* ---- 标签 ---- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: var(--bg2);
  color: var(--text-light);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.tag:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ---- 分页 ---- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.page-btn:hover, .page-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ---- 弹窗 ---- */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9999; align-items: center; justify-content: center; }
.modal-overlay.open { display: flex; }
.modal-box { background: var(--white); border-radius: var(--radius-lg); padding: 32px; max-width: 480px; width: 90%; position: relative; }
.modal-close { position: absolute; top: 14px; right: 16px; font-size: 22px; color: var(--text-light); cursor: pointer; }
.modal-close:hover { color: var(--primary); }

/* ---- 加载动画 ---- */
.skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 6px; }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .hero-stats { position: static; margin-top: 24px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 12px; box-shadow: 0 8px 20px rgba(0,0,0,0.1); z-index: 999; gap: 4px; }
  .main-nav.open { display: flex; }
  .hamburger { display: flex; }
  .header-inner { position: relative; }
  .hero { min-height: 380px; }
  .hero h1 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .section { padding: 44px 0; }
  .top-bar-right { display: none; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .video-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .expert-grid { grid-template-columns: 1fr; }
}

/* ---- 工具类 ---- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-gold { color: var(--gold); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.hidden { display: none; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* ---- 开奖结果表格 ---- */
.result-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.result-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 14px; }
.result-table thead tr { background: linear-gradient(90deg, var(--primary), var(--primary-dark)); }
.result-table th { padding: 13px 10px; color: var(--white); font-weight: 700; text-align: center; white-space: nowrap; }
.result-table td { padding: 11px 10px; text-align: center; border-bottom: 1px solid var(--border); }
.result-table tr:hover td { background: var(--bg2); }
.period-num { font-weight: 800; color: var(--primary); }
.date-col { color: var(--text-light); font-size: 13px; white-space: nowrap; }
.balls-row { display: flex; gap: 5px; justify-content: center; flex-wrap: wrap; }

/* ---- 专家卡片 ---- */
.expert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 32px; }
.expert-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.expert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.expert-avatar { position: relative; height: 200px; overflow: hidden; }
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-badge { position: absolute; bottom: 12px; left: 12px; background: var(--primary); color: var(--white); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.expert-info { padding: 20px; }
.expert-info h3 { font-size: 18px; font-weight: 900; color: var(--dark); margin-bottom: 4px; }
.expert-title { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.expert-desc { font-size: 13px; color: var(--text-light); line-height: 1.7; margin-bottom: 12px; }
.expert-awards { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.award-tag { background: rgba(212,160,23,0.1); color: var(--gold); font-size: 11px; padding: 3px 10px; border-radius: 4px; border: 1px solid rgba(212,160,23,0.3); }
.expert-btns { display: flex; gap: 8px; }
.btn-sm { padding: 7px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; transition: all var(--transition); }
.btn-sm-primary { background: var(--primary); color: var(--white); }
.btn-sm-primary:hover { background: var(--primary-dark); color: var(--white); }
.btn-sm-outline { border: 1px solid var(--primary); color: var(--primary); }
.btn-sm-outline:hover { background: var(--primary); color: var(--white); }

/* ---- 分享按钮 ---- */
.share-btn { border-radius: 20px; font-weight: 600; cursor: pointer; transition: all var(--transition); border: 1px solid var(--border); background: var(--white); color: var(--text); }
.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---- 直播闪烁 ---- */
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.5} }

/* ---- 评论/帖子卡片 ---- */
.review-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
