/* ============================================
   澳门六合彩 - wnghem.com 主样式文件
   原创设计 © 2026 六合彩传媒
   ============================================ */

/* CSS变量 */
:root {
    --primary: #c8102e;
    --primary-dark: #8b0a1e;
    --primary-light: #e8304a;
    --gold: #d4a017;
    --gold-light: #f0c040;
    --gold-dark: #a07010;
    --bg-dark: #1a0a0a;
    --bg-card: #2a1010;
    --bg-section: #f8f3ee;
    --text-dark: #1a0a0a;
    --text-light: #fff8f0;
    --text-muted: #8a7060;
    --border-gold: #d4a017;
    --shadow: 0 4px 20px rgba(200,16,46,0.15);
    --shadow-gold: 0 4px 20px rgba(212,160,23,0.3);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* 重置与基础 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Microsoft YaHei', '微软雅黑', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    background: var(--bg-section);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }

/* 滚动条美化 */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1e8e0; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ============================================
   顶部公告栏
   ============================================ */
.top-bar {
    background: var(--primary-dark);
    color: var(--gold-light);
    padding: 6px 0;
    font-size: 13px;
    overflow: hidden;
}
.top-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.top-bar-marquee {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}
.top-bar-marquee span {
    display: inline-block;
    animation: marquee 30s linear infinite;
}
@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
.top-bar-links a {
    color: var(--gold-light);
    margin-left: 15px;
    font-size: 12px;
}
.top-bar-links a:hover { color: #fff; }

/* ============================================
   头部导航
   ============================================ */
.site-header {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2d0a0a 50%, var(--bg-dark) 100%);
    border-bottom: 3px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 20px;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.site-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--gold);
}
.site-logo-text {
    display: flex;
    flex-direction: column;
}
.site-logo-text .brand-name {
    font-size: 20px;
    font-weight: 900;
    color: var(--gold-light);
    letter-spacing: 2px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(212,160,23,0.5);
}
.site-logo-text .brand-sub {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* 主导航 */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
    color: var(--text-light);
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    transition: var(--transition);
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--gold);
    transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active {
    color: var(--gold-light);
    background: rgba(212,160,23,0.1);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 80%; }

/* 汉堡菜单 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--gold-light);
    border-radius: 2px;
    transition: var(--transition);
}

/* 搜索框 */
.header-search {
    background: var(--bg-dark);
    border-bottom: 2px solid var(--gold-dark);
    padding: 10px 0;
}
.search-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.search-box {
    flex: 1;
    max-width: 600px;
    display: flex;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--gold-dark);
    border-radius: 25px;
    overflow: hidden;
}
.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 8px 18px;
    color: var(--text-light);
    font-size: 14px;
}
.search-box input::placeholder { color: rgba(255,255,255,0.3); }
.search-box button {
    background: var(--primary);
    border: none;
    padding: 8px 20px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}
.search-box button:hover { background: var(--gold); }
.search-hot-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.search-hot-tags span {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}
.search-hot-tags a {
    font-size: 12px;
    color: var(--gold-dark);
    padding: 2px 8px;
    border: 1px solid rgba(212,160,23,0.3);
    border-radius: 12px;
    transition: var(--transition);
}
.search-hot-tags a:hover {
    background: var(--gold-dark);
    color: #fff;
}

/* ============================================
   面包屑
   ============================================ */
.breadcrumb {
    background: #f0e8e0;
    border-bottom: 1px solid #e0d0c0;
    padding: 8px 0;
    font-size: 13px;
}
.breadcrumb-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
}
.breadcrumb-inner a { color: var(--primary); }
.breadcrumb-inner a:hover { color: var(--gold); }
.breadcrumb-inner .sep { color: #ccc; }

/* ============================================
   Hero 横幅
   ============================================ */
.hero-section {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.55);
    transform: scale(1.05);
    transition: transform 8s ease;
}
.hero-section:hover .hero-bg { transform: scale(1); }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,10,10,0.7) 0%, rgba(139,10,30,0.4) 50%, rgba(26,10,10,0.7) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}
.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 16px;
    border: 1px solid var(--gold-dark);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(200,16,46,0.4); }
    50% { box-shadow: 0 0 0 10px rgba(200,16,46,0); }
}
.hero-content h1 {
    font-size: clamp(28px, 5vw, 52px);
    color: var(--gold-light);
    font-weight: 900;
    text-shadow: 0 2px 20px rgba(0,0,0,0.8);
    margin-bottom: 16px;
    line-height: 1.3;
}
.hero-content .hero-desc {
    font-size: clamp(14px, 2vw, 18px);
    color: rgba(255,248,240,0.85);
    max-width: 700px;
    margin: 0 auto 30px;
}
.hero-numbers {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.lottery-ball {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4), inset 0 -3px 6px rgba(0,0,0,0.2);
    animation: ballFloat 3s ease-in-out infinite;
}
.lottery-ball:nth-child(odd) { animation-delay: 0.5s; }
.lottery-ball.red { background: radial-gradient(circle at 35% 35%, #ff6060, #c8102e, #8b0000); }
.lottery-ball.blue { background: radial-gradient(circle at 35% 35%, #6090ff, #2060c8, #003080); }
.lottery-ball.green { background: radial-gradient(circle at 35% 35%, #60d060, #20a020, #006000); }
.lottery-ball.special { background: radial-gradient(circle at 35% 35%, #ffd060, #d4a017, #806000); color: #1a0a0a; }
@keyframes ballFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    border: 2px solid var(--primary-light);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200,16,46,0.4);
    color: #fff;
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-dark);
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    border: 2px solid var(--gold-light);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212,160,23,0.5);
    color: var(--bg-dark);
}
.btn-outline {
    background: transparent;
    color: var(--gold-light);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid var(--gold);
    cursor: pointer;
    transition: var(--transition);
}
.btn-outline:hover {
    background: var(--gold);
    color: var(--bg-dark);
}

/* ============================================
   开奖数据实时栏
   ============================================ */
.live-ticker {
    background: linear-gradient(135deg, var(--bg-dark), #2d0a0a);
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    padding: 16px 0;
}
.ticker-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.ticker-label {
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}
.ticker-label.live { background: var(--primary); animation: liveBlink 1s infinite; }
@keyframes liveBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.ticker-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.ticker-ball {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.ticker-ball.red { background: radial-gradient(circle at 35% 35%, #ff6060, #c8102e); }
.ticker-ball.blue { background: radial-gradient(circle at 35% 35%, #6090ff, #2060c8); }
.ticker-ball.green { background: radial-gradient(circle at 35% 35%, #60d060, #20a020); }
.ticker-ball.special { background: radial-gradient(circle at 35% 35%, #ffd060, #d4a017); color: #1a0a0a; }
.ticker-plus { color: var(--gold); font-size: 18px; font-weight: 900; }
.ticker-info {
    color: rgba(255,248,240,0.6);
    font-size: 13px;
    margin-left: auto;
}

/* ============================================
   通用区块样式
   ============================================ */
.section { padding: 60px 0; }
.section-alt { background: #fff; }
.section-dark {
    background: linear-gradient(135deg, var(--bg-dark), #2d0a0a);
    color: var(--text-light);
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-tag {
    display: inline-block;
    background: rgba(200,16,46,0.1);
    color: var(--primary);
    border: 1px solid rgba(200,16,46,0.3);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 12px;
}
.section-dark .section-tag {
    background: rgba(212,160,23,0.1);
    color: var(--gold-light);
    border-color: rgba(212,160,23,0.3);
}
.section-title {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: 2px;
}
.section-dark .section-title { color: var(--gold-light); }
.section-desc {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 600px;
    margin: 16px auto 0;
}
.section-dark .section-desc { color: rgba(255,248,240,0.6); }

/* ============================================
   视频卡片
   ============================================ */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.video-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #f0e0d0;
}
.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(200,16,46,0.2);
    border-color: var(--gold);
}
.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-dark);
}
.video-thumb img {
    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(200,16,46,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255,255,255,0.8);
    transform: scale(0.8);
    transition: var(--transition);
}
.video-card:hover .play-icon { transform: scale(1); }
.play-icon::after {
    content: '';
    width: 0; height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid #fff;
    margin-left: 4px;
}
.video-duration {
    position: absolute;
    bottom: 8px; right: 8px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}
.video-badge {
    position: absolute;
    top: 8px; left: 8px;
    background: var(--primary);
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}
.video-badge.live-badge {
    background: var(--primary);
    animation: liveBlink 1s infinite;
}
.video-badge.new-badge { background: #e67e22; }
.video-badge.hot-badge { background: #e74c3c; }
.video-info { padding: 16px; }
.video-info h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-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;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-stats {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
    padding-top: 10px;
    border-top: 1px solid #f0e0d0;
}
.video-stats span { display: flex; align-items: center; gap: 4px; }
.stat-icon { font-style: normal; }

/* 视频弹窗 */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.video-modal.active { display: flex; }
.video-modal-inner {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    padding: 20px;
    max-width: 800px;
    width: 90%;
    border: 2px solid var(--gold);
    position: relative;
}
.video-modal-close {
    position: absolute;
    top: -15px; right: -15px;
    width: 32px; height: 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    border: 2px solid #fff;
}
.video-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1a0a0a, #2d0a0a);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--gold-light);
    gap: 16px;
}
.video-placeholder .big-play {
    width: 80px; height: 80px;
    background: rgba(200,16,46,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--gold);
}
.video-placeholder .big-play::after {
    content: '';
    width: 0; height: 0;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 28px solid var(--gold-light);
    margin-left: 6px;
}
.video-placeholder p { font-size: 16px; color: rgba(255,248,240,0.7); }

/* ============================================
   图文卡片
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.info-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #f0e0d0;
}
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(200,16,46,0.15);
    border-color: var(--gold);
}
.card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.info-card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 20px; }
.card-tag {
    display: inline-block;
    background: rgba(200,16,46,0.1);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    margin-bottom: 10px;
}
.card-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.5;
}
.card-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-footer {
    padding: 12px 20px;
    border-top: 1px solid #f0e0d0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}
.card-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   专家展示
   ============================================ */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}
.expert-card {
    background: linear-gradient(135deg, #fff, #fdf5ee);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid #f0e0d0;
    transition: var(--transition);
}
.expert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(212,160,23,0.2);
    border-color: var(--gold);
}
.expert-avatar {
    width: 90px; height: 90px;
    border-radius: 50%;
    margin: 0 auto 16px;
    border: 3px solid var(--gold);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    font-weight: 900;
}
.expert-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.expert-title {
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 600;
}
.expert-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}
.expert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 16px;
}
.expert-tags span {
    background: rgba(200,16,46,0.08);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
}
.expert-btns {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.expert-btns a {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid;
}
.expert-btns .btn-contact {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.expert-btns .btn-works {
    background: transparent;
    color: var(--gold-dark);
    border-color: var(--gold);
}

/* ============================================
   开奖记录表格
   ============================================ */
.lottery-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid #f0e0d0;
}
.lottery-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 14px;
}
.lottery-table th {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 14px 16px;
    text-align: center;
    font-weight: 700;
    white-space: nowrap;
}
.lottery-table td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid #f5ece0;
    color: var(--text-dark);
}
.lottery-table tr:nth-child(even) td { background: #fdf8f3; }
.lottery-table tr:hover td { background: #fff5ee; }
.lottery-table .num-balls {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.num-ball {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    color: #fff;
}
.num-ball.r { background: radial-gradient(circle at 35% 35%, #ff6060, #c8102e); }
.num-ball.b { background: radial-gradient(circle at 35% 35%, #6090ff, #2060c8); }
.num-ball.g { background: radial-gradient(circle at 35% 35%, #60d060, #20a020); }
.num-ball.s { background: radial-gradient(circle at 35% 35%, #ffd060, #d4a017); color: #1a0a0a; }
.zodiac-badge {
    display: inline-block;
    background: rgba(200,16,46,0.1);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid #f0e0d0;
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover { border-color: var(--gold); }
.faq-question {
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    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 { content: '−'; }
.faq-answer {
    display: none;
    padding: 0 20px 18px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    border-top: 1px solid #f5ece0;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================
   用户评论
   ============================================ */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.review-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid #f0e0d0;
    transition: var(--transition);
    position: relative;
}
.review-card::before {
    content: '"';
    position: absolute;
    top: 12px; left: 20px;
    font-size: 60px;
    color: rgba(200,16,46,0.1);
    font-family: Georgia, serif;
    line-height: 1;
}
.review-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}
.review-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 12px;
}
.review-stars span { color: var(--gold); font-size: 16px; }
.review-text {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 16px;
}
.review-user {
    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-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}
.review-user-info .name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}
.review-user-info .date {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   合作品牌Logo墙
   ============================================ */
.partner-wall {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
}
.partner-item {
    background: #fff;
    border: 1px solid #f0e0d0;
    border-radius: var(--radius);
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition);
    white-space: nowrap;
}
.partner-item:hover {
    border-color: var(--gold);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ============================================
   联系我们
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.contact-info-block { }
.contact-info-block h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
}
.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    align-items: flex-start;
}
.contact-icon {
    width: 40px; height: 40px;
    background: rgba(200,16,46,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    color: var(--primary);
}
.contact-item-text .label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.contact-item-text .value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}
.qr-codes {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.qr-item {
    text-align: center;
}
.qr-item img {
    width: 120px; height: 120px;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    margin-bottom: 8px;
}
.qr-item p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   社交分享
   ============================================ */
.share-bar {
    background: linear-gradient(135deg, #fff8f0, #fff);
    border: 1px solid #f0e0d0;
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.share-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
}
.share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.share-btn:hover { transform: translateY(-2px); opacity: 0.9; }
.share-wechat { background: #07c160; }
.share-weibo { background: #e6162d; }
.share-douyin { background: #000; }
.share-bilibili { background: #00a1d6; }
.share-qq { background: #12b7f5; }

/* ============================================
   统计数字
   ============================================ */
.stats-bar {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 40px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.stat-item { color: #fff; }
.stat-number {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    color: var(--gold-light);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

/* ============================================
   页脚
   ============================================ */
.site-footer {
    background: linear-gradient(135deg, #0d0505, var(--bg-dark));
    color: rgba(255,248,240,0.7);
    padding: 60px 0 0;
    border-top: 3px solid var(--gold);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand .logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-brand .logo-wrap img {
    width: 50px; height: 50px;
    border-radius: 50%;
    border: 2px solid var(--gold);
}
.footer-brand .brand-name {
    font-size: 20px;
    font-weight: 900;
    color: var(--gold-light);
}
.footer-brand p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 20px;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212,160,23,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--gold);
    color: var(--bg-dark);
    border-color: var(--gold);
}
.footer-col h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--gold-light);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212,160,23,0.3);
}
.footer-col ul li {
    margin-bottom: 8px;
}
.footer-col ul li a {
    color: rgba(255,248,240,0.6);
    font-size: 13px;
    transition: var(--transition);
}
.footer-col ul li a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}
.footer-bottom {
    border-top: 1px solid rgba(212,160,23,0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,248,240,0.4);
}
.footer-bottom a { color: rgba(255,248,240,0.4); }
.footer-bottom a:hover { color: var(--gold-light); }
.update-time {
    color: var(--gold-dark);
    font-size: 12px;
    margin-top: 6px;
}

/* ============================================
   内页通用
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, var(--bg-dark), #2d0a0a);
    padding: 50px 0;
    text-align: center;
    border-bottom: 3px solid var(--gold);
}
.page-hero h1 {
    font-size: clamp(24px, 4vw, 42px);
    color: var(--gold-light);
    font-weight: 900;
    margin-bottom: 12px;
}
.page-hero p {
    color: rgba(255,248,240,0.7);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
}
.content-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}
.sidebar {
    position: sticky;
    top: 100px;
}
.sidebar-widget {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border: 1px solid #f0e0d0;
}
.sidebar-widget h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gold);
}
.sidebar-links li {
    margin-bottom: 8px;
}
.sidebar-links li a {
    font-size: 14px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #f5ece0;
    transition: var(--transition);
}
.sidebar-links li a:hover {
    color: var(--primary);
    padding-left: 6px;
}
.sidebar-links li a::before {
    content: '▶';
    font-size: 10px;
    color: var(--primary);
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .content-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}
@media (max-width: 768px) {
    .header-inner { height: 60px; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-dark); flex-direction: column; padding: 16px; gap: 4px; border-bottom: 2px solid var(--gold); }
    .main-nav.open { display: flex; }
    .nav-toggle { display: flex; }
    .hero-section { min-height: 360px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .video-grid { grid-template-columns: 1fr; }
    .expert-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .top-bar-links { display: none; }
}
@media (max-width: 480px) {
    .expert-grid { grid-template-columns: 1fr; }
    .hero-numbers { gap: 6px; }
    .lottery-ball { width: 40px; height: 40px; font-size: 14px; }
    .search-hot-tags { display: none; }
}

/* ============================================
   动画与工具类
   ============================================ */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.gold-text { color: var(--gold); }
.red-text { color: var(--primary); }
.view-all-wrap { text-align: center; margin-top: 36px; }
.view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border: 2px solid var(--primary);
    border-radius: 30px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
    transition: var(--transition);
}
.view-all:hover {
    background: var(--primary);
    color: #fff;
}

/* ============================================
   如何加入指南
   ============================================ */
.how-to-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}
.step-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid #f0e0d0;
    transition: var(--transition);
    position: relative;
}
.step-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}
.step-number {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    margin: 0 auto 16px;
    border: 3px solid var(--gold);
}
.step-card h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.step-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}
