/* 新葡京 xkdphi.com - 主样式文件 */
/* ===== CSS Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', sans-serif;
    background: #0d0d1a;
    color: #e8e0d0;
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: #f39c12; text-decoration: none; transition: color .3s; }
a:hover { color: #e67e22; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== CSS Variables ===== */
:root {
    --primary: #c0392b;
    --primary-dark: #922b21;
    --gold: #f39c12;
    --gold-light: #f8c471;
    --dark-bg: #0d0d1a;
    --card-bg: #1a1a2e;
    --card-border: #2d2d4e;
    --text-main: #e8e0d0;
    --text-muted: #9a9ab0;
    --gradient-hero: linear-gradient(135deg, #1a0a0a 0%, #2d0a0a 40%, #1a0a1a 100%);
    --gradient-gold: linear-gradient(135deg, #f39c12, #e67e22);
    --gradient-red: linear-gradient(135deg, #c0392b, #922b21);
    --shadow-card: 0 4px 24px rgba(0,0,0,0.5);
    --radius: 12px;
    --radius-sm: 8px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; color: var(--text-main); }

/* ===== Layout ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-alt { background: #111125; }
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--gold);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-red);
    border-radius: 2px;
}
.section-title p { color: var(--text-muted); margin-top: 10px; }

/* ===== Header ===== */
.site-header {
    background: linear-gradient(180deg, #0a0a14 0%, #12121f 100%);
    border-bottom: 2px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(192,57,43,0.3);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.logo-wrap img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--gold);
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-text .brand-name {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 2px;
    line-height: 1.2;
}
.logo-text .brand-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ===== Navigation ===== */
.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.main-nav a {
    color: #ccc;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all .3s;
    white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
    background: var(--primary);
    color: #fff;
}
.nav-toggle {
    display: none;
    background: none;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2rem;
}

/* ===== Search Bar ===== */
.search-bar-wrap {
    background: #111125;
    border-bottom: 1px solid var(--card-border);
    padding: 10px 0;
}
.search-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.search-bar-inner form {
    display: flex;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    gap: 0;
}
.search-bar-inner input {
    flex: 1;
    padding: 10px 18px;
    background: #1a1a2e;
    border: 1px solid var(--card-border);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color .3s;
}
.search-bar-inner input:focus { border-color: var(--gold); }
.search-bar-inner input::placeholder { color: var(--text-muted); }
.search-bar-inner button {
    padding: 10px 22px;
    background: var(--gradient-red);
    border: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    transition: opacity .3s;
}
.search-bar-inner button:hover { opacity: 0.85; }

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-hero);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    width: 100%;
}
.hero-badge {
    display: inline-block;
    background: var(--gradient-red);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.8);
    margin-bottom: 16px;
    line-height: 1.2;
}
.hero h1 span { color: var(--gold); }
.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin-bottom: 28px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s;
    border: none;
    text-decoration: none;
}
.btn-primary {
    background: var(--gradient-red);
    color: #fff;
    box-shadow: 0 4px 20px rgba(192,57,43,0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(192,57,43,0.7); color: #fff; }
.btn-gold {
    background: var(--gradient-gold);
    color: #1a0a0a;
}
.btn-gold:hover { transform: translateY(-2px); color: #1a0a0a; }
.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: #1a0a0a; }

/* ===== Live Numbers Ticker ===== */
.live-ticker {
    background: linear-gradient(90deg, #1a0a0a, #2d0a0a, #1a0a0a);
    border-top: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
    padding: 10px 0;
    overflow: hidden;
}
.ticker-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.ticker-label {
    background: var(--primary);
    color: #fff;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}
.ticker-scroll {
    overflow: hidden;
    flex: 1;
}
.ticker-content {
    display: flex;
    gap: 30px;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}
.ticker-content span { color: var(--gold-light); font-size: 0.9rem; }
.ticker-content .num-ball {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.8rem;
    margin: 0 2px;
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== Video Cards ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.video-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .3s;
    cursor: pointer;
}
.video-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 12px 40px rgba(243,156,18,0.2);
}
.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #0a0a14;
}
.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.video-card:hover .video-thumb img { transform: scale(1.05); }
.play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity .3s;
}
.video-card:hover .play-btn { opacity: 1; }
.play-btn-icon {
    width: 60px;
    height: 60px;
    background: rgba(192,57,43,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    transition: transform .3s;
}
.play-btn-icon:hover { transform: scale(1.1); }
.play-btn-icon svg { width: 24px; height: 24px; fill: #fff; margin-left: 4px; }
.video-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}
.video-duration {
    position: absolute;
    bottom: 8px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}
.video-info { padding: 16px; }
.video-info h3 { font-size: 1rem; margin-bottom: 8px; color: #fff; line-height: 1.4; }
.video-meta {
    display: flex;
    gap: 14px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.video-meta span { display: flex; align-items: center; gap: 4px; }

/* ===== Stats Bar ===== */
.stats-bar {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
}
.stat-item .stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
    display: block;
}
.stat-item .stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* ===== Cards Grid ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all .3s;
}
.card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}
.card-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-red);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 16px;
}
.card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--gold); }
.card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0; }

/* ===== Lottery Numbers ===== */
.lottery-result-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 24px;
}
.lottery-result-box .result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}
.result-header h3 { color: var(--gold); }
.result-header .issue { color: var(--text-muted); font-size: 0.9rem; }
.balls-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 16px;
}
.ball {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    color: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}
.ball.red { background: radial-gradient(circle at 35% 35%, #e74c3c, #922b21); }
.ball.blue { background: radial-gradient(circle at 35% 35%, #3498db, #1a5276); }
.ball.green { background: radial-gradient(circle at 35% 35%, #27ae60, #145a32); }
.ball.yellow { background: radial-gradient(circle at 35% 35%, #f39c12, #b7770d); }
.ball.purple { background: radial-gradient(circle at 35% 35%, #9b59b6, #6c3483); }
.ball.special { background: radial-gradient(circle at 35% 35%, #e67e22, #a04000); border: 2px solid #f39c12; }
.ball-plus { color: var(--text-muted); font-size: 1.2rem; font-weight: 700; }
.zodiac-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.zodiac-tag {
    background: rgba(243,156,18,0.15);
    border: 1px solid rgba(243,156,18,0.3);
    color: var(--gold);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* ===== Expert Cards ===== */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}
.expert-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: all .3s;
}
.expert-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.expert-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    margin: 0 auto 14px;
    object-fit: cover;
}
.expert-name { font-size: 1.1rem; color: var(--gold); margin-bottom: 4px; }
.expert-title { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.expert-tags { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.tag {
    background: rgba(192,57,43,0.2);
    border: 1px solid rgba(192,57,43,0.4);
    color: #e8a0a0;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
}
.expert-btns { display: flex; gap: 8px; justify-content: center; }
.expert-btns a {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--gold);
    color: var(--gold);
    transition: all .3s;
}
.expert-btns a:hover { background: var(--gold); color: #1a0a0a; }

/* ===== Reviews ===== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.review-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all .3s;
}
.review-card:hover { border-color: var(--gold); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}
.review-user-info .name { font-weight: 700; color: #fff; font-size: 0.95rem; }
.review-user-info .date { font-size: 0.8rem; color: var(--text-muted); }
.stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 10px; }
.review-text { font-size: 0.9rem; color: var(--text-main); line-height: 1.6; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    transition: background .3s;
}
.faq-question:hover { background: rgba(243,156,18,0.08); }
.faq-question.active { color: var(--gold); }
.faq-icon { color: var(--gold); font-size: 1.2rem; transition: transform .3s; flex-shrink: 0; }
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
.faq-answer.open { max-height: 300px; padding: 0 24px 18px; }

/* ===== QR Codes ===== */
.qr-section {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}
.qr-item { text-align: center; }
.qr-box {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: var(--radius-sm);
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8px;
}
.qr-box svg { width: 100%; height: 100%; }
.qr-label { font-size: 0.85rem; color: var(--text-muted); }

/* ===== Social Share ===== */
.social-share { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s;
    border: none;
    text-decoration: none;
}
.share-wechat { background: #07C160; color: #fff; }
.share-weibo { background: #E6162D; color: #fff; }
.share-douyin { background: #000; color: #fff; border: 1px solid #333; }
.share-bilibili { background: #00A1D6; color: #fff; }
.share-btn:hover { transform: translateY(-2px); opacity: 0.9; }

/* ===== Partners ===== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}
.partner-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    transition: all .3s;
}
.partner-item:hover { border-color: var(--gold); }
.partner-item .partner-name { font-size: 0.9rem; color: var(--text-muted); margin-top: 8px; }
.partner-logo-placeholder {
    width: 60px;
    height: 40px;
    background: var(--gradient-red);
    border-radius: 6px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ===== Footer ===== */
.site-footer {
    background: #070710;
    border-top: 2px solid var(--primary);
    padding: 50px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 40px;
}
.footer-brand .brand-name { font-size: 1.4rem; color: var(--gold); font-weight: 900; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
.footer-col h4 { color: var(--gold); font-size: 1rem; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--card-border); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.9rem; transition: color .3s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding-top: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-wrap img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--gold); }

/* ===== Breadcrumb ===== */
.breadcrumb {
    background: #111125;
    padding: 12px 0;
    border-bottom: 1px solid var(--card-border);
}
.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.breadcrumb-inner a { color: var(--text-muted); }
.breadcrumb-inner a:hover { color: var(--gold); }
.breadcrumb-inner .sep { color: var(--card-border); }
.breadcrumb-inner .current { color: var(--gold); }

/* ===== Page Hero ===== */
.page-hero {
    background: var(--gradient-hero);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(192,57,43,0.2) 0%, transparent 70%);
}
.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.page-hero h1 { color: var(--gold); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 600px; }

/* ===== Table ===== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.data-table th {
    background: var(--primary);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
}
.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--card-border);
    color: var(--text-main);
}
.data-table tr:nth-child(even) td { background: rgba(255,255,255,0.03); }
.data-table tr:hover td { background: rgba(243,156,18,0.05); }

/* ===== Tabs ===== */
.tabs { margin-bottom: 24px; }
.tab-nav {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--card-border);
    flex-wrap: wrap;
}
.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all .3s;
    font-family: inherit;
}
.tab-btn.active, .tab-btn:hover { color: var(--gold); border-bottom-color: var(--gold); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ===== Comment Section ===== */
.comment-section { margin-top: 40px; }
.comment-section h3 { color: var(--gold); margin-bottom: 20px; font-size: 1.2rem; }
.comment-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 16px;
}
.comment-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.comment-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gradient-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.comment-meta .username { font-weight: 700; color: #fff; font-size: 0.9rem; }
.comment-meta .time { font-size: 0.78rem; color: var(--text-muted); }
.comment-body { font-size: 0.9rem; color: var(--text-main); line-height: 1.6; }
.comment-reply {
    background: rgba(255,255,255,0.03);
    border-left: 3px solid var(--gold);
    padding: 12px 16px;
    margin-top: 12px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.comment-reply .reply-label { font-size: 0.8rem; color: var(--gold); font-weight: 700; margin-bottom: 6px; }
.comment-reply p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ===== Notification Banner ===== */
.notice-bar {
    background: linear-gradient(90deg, #1a0a0a, #2d1a0a, #1a0a0a);
    border: 1px solid rgba(243,156,18,0.3);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.notice-bar .notice-icon { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; }
.notice-bar p { margin: 0; font-size: 0.9rem; color: var(--gold-light); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; }
    .main-nav { display: none; width: 100%; flex-direction: column; padding: 10px 0; }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 10px 16px; border-radius: 8px; }
    .nav-toggle { display: block; }
    .hero { min-height: 400px; }
    .hero h1 { font-size: 1.8rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .section { padding: 40px 0; }
    .hero-btns { flex-direction: column; }
    .btn { justify-content: center; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
}

/* ===== Lazy Load ===== */
img[data-src] { opacity: 0; transition: opacity .4s; }
img.loaded { opacity: 1; }

/* ===== Scroll Top ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 999;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 4px 16px rgba(192,57,43,0.5);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); }

/* ===== Highlight Numbers ===== */
.num-red { color: #e74c3c; font-weight: 700; }
.num-blue { color: #3498db; font-weight: 700; }
.num-green { color: #27ae60; font-weight: 700; }
.num-gold { color: var(--gold); font-weight: 700; }

/* ===== Live Badge ===== */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e74c3c;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}
.live-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* ===== Image Sections ===== */
.img-cover {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
}
.img-feature {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

/* ===== Two Column Layout ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
@media (max-width: 768px) {
    .two-col { grid-template-columns: 1fr; }
    .two-col.reverse { direction: ltr; }
}

/* ===== Update Time ===== */
.update-time { font-size: 0.82rem; color: var(--text-muted); }
.update-time span { color: var(--gold); }
