/* 
 * 博彩网站样式表 - 2026年移动优先设计
 * 独特配色方案：深紫渐变 + 金色点缀
 */

/* CSS变量定义 */
:root {
    --primary-gradient: linear-gradient(135deg, #1a0533 0%, #2d1b4e 50%, #0f0a1a 100%);
    --accent-gold: #ffd700;
    --accent-orange: #ff6b35;
    --text-light: #f5f5f5;
    --text-muted: #b8b8b8;
    --card-bg: rgba(45, 27, 78, 0.85);
    --border-glow: rgba(255, 215, 0, 0.3);
    --success-green: #00c853;
    --danger-red: #ff1744;
    --font-primary: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
}

/* 全局重置 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--primary-gradient);
    color: var(--text-light);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部导航 - 非sticky */
.site-header {
    background: linear-gradient(180deg, rgba(26, 5, 51, 0.98) 0%, rgba(26, 5, 51, 0.9) 100%);
    padding: 12px 0;
    border-bottom: 2px solid var(--border-glow);
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

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

.logo-wrap img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: block;
    background: transparent;
    border: 2px solid var(--accent-gold);
    border-radius: 5px;
    padding: 8px 12px;
    cursor: pointer;
    color: var(--accent-gold);
    font-size: 1.2rem;
}

/* 导航菜单 */
.main-nav {
    width: 100%;
    display: none;
}

.main-nav.active {
    display: block;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-list li a {
    display: block;
    padding: 12px 15px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 215, 0, 0.05);
}

.nav-list li a:hover,
.nav-list li a.active {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.2), rgba(255, 107, 53, 0.2));
    color: var(--accent-gold);
}

/* CTA按钮 */
.cta-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
    color: #1a0533;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

/* Hero区域 */
.hero-section {
    padding: 40px 0;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 215, 0, 0.03) 100%);
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--accent-gold), #fff, var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    margin: 30px auto;
}

/* 视频模块 */
.video-section {
    padding: 50px 0;
    background: rgba(0, 0, 0, 0.3);
}

.video-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.2);
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover {
    transform: scale(1.02);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 4px solid white;
}

.play-btn::after {
    content: '';
    border-left: 25px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 8px;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 0, 0, 1);
}

.video-container {
    display: none;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-container.active {
    display: block;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 章节标题 */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange));
    border-radius: 2px;
}

/* 游戏卡片网格 */
.games-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 0;
}

.game-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-glow);
    transition: all 0.4s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
    border-color: var(--accent-gold);
}

.game-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.game-card-body {
    padding: 20px;
}

.game-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--accent-gold);
}

.game-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.game-card .cta-btn {
    width: 100%;
    padding: 10px 20px;
    font-size: 0.95rem;
}

/* 文章模块 */
.articles-section {
    padding: 60px 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.article-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    border-left: 4px solid var(--accent-gold);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateX(5px);
    background: rgba(45, 27, 78, 0.95);
}

.article-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-light);
}

.article-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.article-meta {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--accent-gold);
}

/* 下载模块 */
.download-section {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
}

.download-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.qr-code {
    width: 180px;
    height: 180px;
    border-radius: 15px;
    border: 3px solid var(--accent-gold);
    padding: 10px;
    background: white;
}

.download-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #333 0%, #1a1a1a 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-btn:hover {
    transform: scale(1.03);
    border-color: var(--accent-gold);
}

.download-btn img {
    width: 100%;
    height: auto;
}

/* 作者信息 */
.author-section {
    padding: 50px 0;
    background: rgba(0, 0, 0, 0.2);
}

.author-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-glow);
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
    object-fit: cover;
}

.author-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.author-title {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.author-bio {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* 用户评论 */
.reviews-section {
    padding: 60px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.review-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-glow);
}

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

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #1a0533;
}

.review-info {
    flex: 1;
}

.review-name {
    font-weight: 600;
    color: var(--text-light);
}

.review-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-stars {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.review-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
}

.review-date {
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* FAQ模块 */
.faq-section {
    padding: 60px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
}

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

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

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

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

/* 支付方式 */
.payment-section {
    padding: 50px 0;
    text-align: center;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.payment-icon {
    width: 80px;
    height: 50px;
    object-fit: contain;
    background: white;
    border-radius: 8px;
    padding: 8px;
}

/* 牌照模块 */
.license-section {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
}

.license-badge {
    max-width: 300px;
    margin: 30px auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.license-info {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* 客户支持 */
.support-section {
    padding: 60px 0;
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.support-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-glow);
}

.support-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.support-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.support-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 充值活动 */
.promo-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
}

.promo-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.promo-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 107, 53, 0.15) 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 2px solid var(--accent-gold);
    position: relative;
    overflow: hidden;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: pulse 3s infinite;
}

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

.promo-badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--accent-gold);
    color: #1a0533;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 20px;
    margin-bottom: 15px;
}

.promo-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent-gold);
}

.promo-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* 关于我们 */
.about-section {
    padding: 60px 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-light);
}

/* 负责任博彩 */
.responsible-section {
    padding: 50px 0;
    background: rgba(220, 20, 60, 0.1);
    border-top: 2px solid rgba(220, 20, 60, 0.3);
    border-bottom: 2px solid rgba(220, 20, 60, 0.3);
}

.responsible-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.age-badge {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.responsible-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 25px;
    text-align: left;
}

.responsible-list li {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.responsible-list li::before {
    content: '✓';
    color: var(--success-green);
    font-weight: 700;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    font-size: 0.9rem;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-list li::after {
    content: '>';
    color: var(--text-muted);
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list a {
    color: var(--accent-gold);
    text-decoration: none;
}

.breadcrumb-list span {
    color: var(--text-muted);
}

/* 页脚 */
.site-footer {
    background: linear-gradient(180deg, #0f0a1a 0%, #000 100%);
    padding: 50px 0 20px;
    border-top: 2px solid var(--border-glow);
}

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

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-glow);
}

.social-link:hover {
    background: var(--accent-gold);
    color: #1a0533;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.footer-badges img {
    height: 40px;
    width: auto;
}

/* 内页样式 */
.page-header {
    padding: 40px 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.05) 0%, transparent 100%);
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.page-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

.page-content {
    padding: 40px 0;
}

.content-block {
    margin-bottom: 40px;
}

.content-block h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-glow);
}

.content-block h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 25px 0 15px;
}

.content-block p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-block ul,
.content-block ol {
    margin: 15px 0;
    padding-left: 25px;
}

.content-block li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.content-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    margin: 25px auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 表格样式 */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
}

.info-table th,
.info-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-glow);
}

.info-table th {
    background: rgba(255, 215, 0, 0.1);
    color: var(--accent-gold);
    font-weight: 600;
}

.info-table tr:last-child td {
    border-bottom: none;
}

/* 响应式设计 - 平板 */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
    
    .main-nav {
        display: block;
        width: auto;
    }
    
    .nav-list {
        flex-direction: row;
        gap: 5px;
    }
    
    .nav-list li a {
        padding: 10px 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .promo-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .responsible-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-wrapper {
        flex-direction: row;
        justify-content: center;
    }
    
    .download-btns {
        flex-direction: row;
    }
    
    .author-card {
        flex-direction: row;
        text-align: left;
    }
}

/* 响应式设计 - 桌面 */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .support-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* 懒加载图片 */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"][src] {
    opacity: 1;
}

/* 打印样式 */
@media print {
    .site-header,
    .site-footer,
    .cta-btn,
    .video-section {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
