/* =============================================
   六合彩传媒 - 主样式文件
   hd83b.cn | 六合彩影视传媒社区
   ============================================= */

/* CSS变量 */
:root {
  --primary: #c0392b;
  --primary-dark: #922b21;
  --primary-light: #e74c3c;
  --gold: #d4a017;
  --gold-light: #f0c040;
  --gold-dark: #a07810;
  --dark: #1a1a2e;
  --dark-2: #16213e;
  --dark-3: #0f3460;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --bg: #f8f5f0;
  --bg-white: #ffffff;
  --bg-card: #fff9f0;
  --border: #e8d5b0;
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.2);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --font-main: 'Microsoft YaHei', '微软雅黑', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
}

/* 重置样式 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: 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; outline: none; }
input, textarea { outline: none; }

/* 容器 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* =============================================
   顶部公告栏
   ============================================= */
.top-bar {
  background: linear-gradient(90deg, var(--dark) 0%, var(--dark-3) 100%);
  color: #ccc;
  font-size: 13px;
  padding: 6px 0;
  overflow: hidden;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-marquee { flex: 1; overflow: hidden; }
.top-bar-marquee span { display: inline-block; white-space: nowrap; animation: marquee 30s linear infinite; color: var(--gold-light); }
.top-bar-right a { color: #ccc; margin-left: 15px; font-size: 12px; }
.top-bar-right a:hover { color: var(--gold-light); }
@keyframes marquee { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }

/* =============================================
   头部导航
   ============================================= */
.site-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, var(--dark-3) 100%);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  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;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}
.logo-text { color: #fff; }
.logo-text .brand-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 2px;
  display: block;
  line-height: 1.2;
}
.logo-text .brand-sub {
  font-size: 11px;
  color: #aaa;
  letter-spacing: 1px;
}

/* 主导航 */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: #ddd;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
  position: relative;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--gold-light);
  background: rgba(255,255,255,0.1);
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-live {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 20px !important;
  padding: 6px 16px !important;
  animation: pulse-nav 2s infinite;
}
.nav-live::before { content: '● '; font-size: 10px; }
@keyframes pulse-nav {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192,57,43,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(192,57,43,0); }
}

/* 汉堡菜单 */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: var(--transition); border-radius: 2px; }

/* =============================================
   搜索栏
   ============================================= */
.search-bar {
  background: rgba(255,255,255,0.05);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 10px 0;
}
.search-form {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  gap: 0;
  border-radius: 25px;
  overflow: hidden;
  border: 1px solid rgba(212,160,23,0.4);
  background: rgba(255,255,255,0.08);
}
.search-form input {
  flex: 1;
  padding: 9px 20px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  font-family: var(--font-main);
}
.search-form input::placeholder { color: rgba(255,255,255,0.4); }
.search-form button {
  padding: 9px 24px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-main);
  transition: var(--transition);
}
.search-form button:hover { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

/* =============================================
   面包屑
   ============================================= */
.breadcrumb {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 13px;
}
.breadcrumb ol { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb li { color: var(--text-muted); }
.breadcrumb li + li::before { content: '›'; margin-right: 6px; }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { color: var(--primary-dark); }

/* =============================================
   Hero 区域
   ============================================= */
.hero-section {
  position: relative;
  min-height: 500px;
  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.5);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(192,57,43,0.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0;
  color: #fff;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192,57,43,0.8);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 20px;
  border: 1px solid rgba(240,192,64,0.4);
}
.hero-badge::before { content: '●'; color: #4ade80; animation: blink 1s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero-title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.hero-title .highlight { color: var(--gold-light); }
.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin-bottom: 30px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(192,57,43,0.4);
  transition: var(--transition);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(192,57,43,0.5);
  color: #fff;
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(212,160,23,0.4);
  transition: var(--transition);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212,160,23,0.5);
  color: #fff;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

/* 开奖数字展示 */
.lottery-numbers {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.lottery-ball {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3), inset 0 -3px 6px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
}
.lottery-ball::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 8px;
  width: 15px;
  height: 8px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  transform: rotate(-30deg);
}
.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-orange { background: radial-gradient(circle at 35% 35%, #fdcb6e, #e17055); }
.ball-special { background: radial-gradient(circle at 35% 35%, #fd79a8, #e84393); }
.ball-label { font-size: 11px; text-align: center; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* =============================================
   实时开奖栏
   ============================================= */
.live-ticker {
  background: linear-gradient(90deg, var(--primary-dark), var(--dark-3));
  color: #fff;
  padding: 14px 0;
  border-bottom: 3px solid var(--gold);
}
.live-ticker .container { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ticker-label {
  background: var(--primary);
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  animation: pulse-nav 2s infinite;
}
.ticker-content { flex: 1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ticker-issue { color: var(--gold-light); font-size: 13px; }
.ticker-balls { display: flex; gap: 6px; }
.ticker-ball {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.ticker-time { color: rgba(255,255,255,0.6); font-size: 12px; margin-left: auto; }

/* =============================================
   区块标题
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-tag {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.section-title .accent { color: var(--primary); }
.section-desc {
  font-size: 15px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}
.section-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* =============================================
   区块通用
   ============================================= */
.section { padding: 60px 0; }
.section-dark { background: var(--dark); color: #fff; }
.section-dark .section-title { color: #fff; }
.section-dark .section-desc { color: rgba(255,255,255,0.7); }
.section-gray { background: #f0ebe3; }
.section-gradient { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%); color: #fff; }

/* =============================================
   视频卡片
   ============================================= */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.video-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.video-thumb {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  background: var(--dark);
}
.video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.08); }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: var(--transition);
}
.video-card:hover .video-play-btn { opacity: 1; }
.play-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.video-card:hover .play-icon { transform: scale(1); }
.play-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 22px;
  border-color: transparent transparent transparent var(--primary);
  margin-left: 4px;
}
.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}
.video-live-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  animation: pulse-nav 2s infinite;
}
.video-info { padding: 16px; }
.video-category {
  display: inline-block;
  background: rgba(192,57,43,0.1);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
}
.video-title {
  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-muted);
}
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-stats {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}
.video-stats span { display: flex; align-items: center; gap: 4px; }

/* =============================================
   数据统计
   ============================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}
.stat-icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
}
.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 14px; color: rgba(255,255,255,0.7); }

/* =============================================
   专家卡片
   ============================================= */
.experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.expert-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.expert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.expert-photo {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.expert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}
.expert-card:hover .expert-photo img { transform: scale(1.05); }
.expert-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}
.expert-info { padding: 20px; }
.expert-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.expert-title { font-size: 13px; color: var(--primary); margin-bottom: 10px; font-weight: 600; }
.expert-desc { font-size: 13px; color: var(--text-light); line-height: 1.7; margin-bottom: 14px; }
.expert-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.expert-tag {
  background: rgba(192,57,43,0.08);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
}
.expert-btns { display: flex; gap: 10px; }
.btn-sm {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-sm-primary {
  background: var(--primary);
  color: #fff;
}
.btn-sm-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-sm-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
}
.btn-sm-outline:hover { background: var(--primary); color: #fff; }

/* =============================================
   FAQ
   ============================================= */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--primary); }
.faq-question {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
.faq-question::after {
  content: '+';
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
  font-weight: 300;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}
.faq-item.open .faq-answer {
  padding: 0 20px 18px;
  max-height: 400px;
}

/* =============================================
   用户评论
   ============================================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.review-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 80px;
  color: rgba(192,57,43,0.08);
  font-family: Georgia, serif;
  line-height: 1;
}
.review-stars { color: var(--gold); font-size: 16px; margin-bottom: 12px; }
.review-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.review-name { font-size: 14px; font-weight: 700; color: var(--dark); }
.review-date { font-size: 12px; color: var(--text-muted); }

/* =============================================
   合作品牌
   ============================================= */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}
.partner-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  min-height: 80px;
}
.partner-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(192,57,43,0.1);
  transform: translateY(-2px);
}
.partner-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light);
  text-align: center;
  transition: var(--transition);
}
.partner-item:hover .partner-name { color: var(--primary); }

/* =============================================
   联系区域
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.contact-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
}
.contact-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold);
}
.contact-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.contact-title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.contact-value { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.7; }
.contact-value a { color: var(--gold-light); }
.contact-value a:hover { color: var(--gold); }

/* =============================================
   QR码区域
   ============================================= */
.qr-grid {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.qr-item { text-align: center; }
.qr-item img {
  width: 150px;
  height: 150px;
  border-radius: var(--radius);
  border: 3px solid var(--gold);
  object-fit: cover;
  margin: 0 auto 10px;
}
.qr-label { font-size: 13px; color: rgba(255,255,255,0.7); }

/* =============================================
   社交分享
   ============================================= */
.share-bar {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.share-label { font-size: 14px; color: rgba(255,255,255,0.7); white-space: nowrap; }
.share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  transition: var(--transition);
  cursor: pointer;
}
.share-btn:hover { transform: translateY(-2px); opacity: 0.9; color: #fff; }
.share-wechat { background: #07c160; }
.share-weibo { background: #e6162d; }
.share-douyin { background: #010101; }
.share-bilibili { background: #00a1d6; }

/* =============================================
   页脚
   ============================================= */
.site-footer {
  background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .site-logo { margin-bottom: 16px; }
.footer-brand-desc { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,0.5); }
.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-logo-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.footer-logo-bottom img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}
.footer-logo-bottom span { color: var(--gold-light); font-size: 18px; font-weight: 700; }

/* =============================================
   开奖记录表格
   ============================================= */
.lottery-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.lottery-table th {
  background: linear-gradient(90deg, var(--dark), var(--dark-3));
  color: #fff;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.lottery-table td {
  padding: 12px 16px;
  font-size: 13px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.lottery-table tr:hover td { background: rgba(192,57,43,0.04); }
.lottery-table tr:last-child td { border-bottom: none; }
.table-balls { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.table-ball {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

/* =============================================
   分页
   ============================================= */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.page-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--bg-white);
  transition: var(--transition);
  cursor: pointer;
}
.page-btn:hover, .page-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* =============================================
   侧边栏
   ============================================= */
.page-layout { display: grid; grid-template-columns: 1fr 300px; gap: 30px; }
.sidebar {}
.sidebar-widget {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.widget-title {
  background: linear-gradient(90deg, var(--dark), var(--dark-3));
  color: #fff;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
}
.widget-body { padding: 16px 20px; }
.hot-list { display: flex; flex-direction: column; gap: 12px; }
.hot-item { display: flex; gap: 10px; align-items: flex-start; }
.hot-rank {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.hot-rank.top3 { background: var(--primary); color: #fff; }
.hot-link { font-size: 13px; color: var(--text); line-height: 1.5; }
.hot-link:hover { color: var(--primary); }

/* =============================================
   内页 Hero
   ============================================= */
.inner-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  padding: 50px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.inner-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(192,57,43,0.2), transparent 70%);
  border-radius: 50%;
}
.inner-hero-title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 10px;
}
.inner-hero-desc { font-size: 15px; color: rgba(255,255,255,0.7); max-width: 600px; }

/* =============================================
   工具提示 & 标签
   ============================================= */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}
.tag-red { background: rgba(192,57,43,0.1); color: var(--primary); }
.tag-gold { background: rgba(212,160,23,0.1); color: var(--gold-dark); }
.tag-blue { background: rgba(41,128,185,0.1); color: #2980b9; }
.tag-green { background: rgba(39,174,96,0.1); color: #27ae60; }

/* =============================================
   加载动画
   ============================================= */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius);
}
@keyframes skeleton-loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* =============================================
   滚动到顶部
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(192,57,43,0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  border: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* =============================================
   响应式
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
}
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; }
  .main-nav { display: none; flex-direction: column; width: 100%; background: var(--dark-2); padding: 10px 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 20px; border-radius: 0; }
  .hamburger { display: flex; }
  .hero-section { min-height: 400px; }
  .hero-content { padding: 40px 0; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 40px 0; }
  .experts-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (max-width: 480px) {
  .container { padding: 0 15px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .lottery-ball { width: 38px; height: 38px; font-size: 14px; }
  .experts-grid { grid-template-columns: 1fr; }
}

/* =============================================
   懒加载
   ============================================= */
img[data-src] { opacity: 0; transition: opacity 0.4s ease; }
img.loaded { opacity: 1; }

/* =============================================
   视频模态框
   ============================================= */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.video-modal.open { display: flex; }
.video-modal-inner {
  position: relative;
  width: 90%;
  max-width: 800px;
}
.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}
.video-modal video {
  width: 100%;
  border-radius: var(--radius);
  background: #000;
}
.video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--dark);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  gap: 16px;
}
.video-placeholder .big-play {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.3);
}
.video-placeholder .big-play::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 18px 0 18px 32px;
  border-color: transparent transparent transparent #fff;
  margin-left: 6px;
}

/* =============================================
   通知条
   ============================================= */
.notice-bar {
  background: linear-gradient(90deg, rgba(212,160,23,0.15), rgba(192,57,43,0.1));
  border: 1px solid rgba(212,160,23,0.3);
  border-radius: var(--radius);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text);
}
.notice-icon { color: var(--gold); font-size: 18px; flex-shrink: 0; }
