/* 
 * 游戏娱乐网站主样式表
 * 独特配色：深紫色 + 金色 + 渐变蓝
 * 移动端优先设计
 */

/* CSS Reset 和基础样式 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-purple: #2d1b4e;
    --secondary-purple: #4a2c7a;
    --accent-gold: #d4af37;
    --accent-gold-light: #f4d03f;
    --gradient-blue: #1a3a5c;
    --text-light: #f5f5f5;
    --text-dark: #1a1a2e;
    --bg-dark: #0f0f1a;
    --bg-card: rgba(45, 27, 78, 0.85);
    --success-green: #28a745;
    --warning-red: #dc3545;
    --border-gold: rgba(212, 175, 55, 0.3);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-purple) 50%, var(--gradient-blue) 100%);
    color: var(--text-light);
    line-height: 1.8;
    min-height: 100vh;
}

/* 容器布局 */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 头部导航 - 非sticky */
.site-header {
    background: linear-gradient(180deg, rgba(15, 15, 26, 0.98) 0%, rgba(45, 27, 78, 0.95) 100%);
    padding: 1rem 0;
    border-bottom: 2px solid var(--border-gold);
    position: relative;
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-wrap img {
    height: 50px;
    width: auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: block;
    background: var(--accent-gold);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: var(--accent-gold-light);
    transform: scale(1.05);
}

/* 主导航 */
.main-nav {
    width: 100%;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
}

.nav-list.hidden {
    display: none;
}

.nav-list li a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(74, 44, 122, 0.5);
}

.nav-list li a:hover,
.nav-list li a.active {
    background: var(--accent-gold);
    color: var(--text-dark);
}

/* CTA按钮 */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    color: var(--text-dark);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

/* Hero区域 */
.hero-section {
    position: relative;
    padding: 3rem 0;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--accent-gold) 0%, #fff 50%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* 面包屑导航 */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb-list li::after {
    content: '>';
    margin-left: 0.5rem;
    color: var(--accent-gold);
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list a {
    color: var(--accent-gold);
    text-decoration: none;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

/* 内容区块 */
.content-section {
    padding: 3rem 0;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, transparent 100%);
}

.section-title.center {
    text-align: center;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* 游戏卡片网格 */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.game-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
    border-color: var(--accent-gold);
}

.game-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.game-card-content {
    padding: 1.25rem;
}

.game-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--accent-gold-light);
}

.game-card-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.game-card-link {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--text-dark);
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.game-card-link:hover {
    background: var(--accent-gold-light);
}

/* 特色区块 */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 58, 92, 0.7) 100%);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-gold);
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
}

/* 用户评论 */
.reviews-section {
    background: rgba(15, 15, 26, 0.8);
    padding: 3rem 0;
    margin: 2rem 0;
}

.review-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-gold);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-dark);
}

.review-meta {
    flex: 1;
}

.review-name {
    font-weight: 600;
    color: var(--accent-gold-light);
}

.review-location {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.review-stars {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.review-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.review-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.75rem;
}

/* FAQ手风琴 */
.faq-section {
    margin: 2rem 0;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-gold);
}

.faq-question {
    padding: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--accent-gold-light);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0 1.25rem 1.25rem;
    display: none;
    color: rgba(255, 255, 255, 0.85);
}

.faq-item.active .faq-answer {
    display: block;
}

/* 支付方式 */
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.payment-icon {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-icon img {
    height: 40px;
    width: auto;
}

/* 作者信息 */
.author-box {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
    border: 1px solid var(--border-gold);
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-gold);
}

.author-info {
    text-align: center;
}

.author-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.author-title {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
}

.author-bio {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 标签云 */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2rem 0;
}

.tag-item {
    background: linear-gradient(135deg, var(--secondary-purple) 0%, var(--gradient-blue) 100%);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: none;
    border: 1px solid var(--border-gold);
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: var(--accent-gold);
    color: var(--text-dark);
}

/* 页脚 */
.site-footer {
    background: linear-gradient(180deg, var(--primary-purple) 0%, var(--bg-dark) 100%);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
    border-top: 2px solid var(--border-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-gold);
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-badges img {
    height: 50px;
    width: auto;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* 响应式设计 - 平板 */
@media (min-width: 768px) {
    .header-inner {
        flex-direction: row;
        justify-content: space-between;
    }

    .menu-toggle {
        display: none;
    }

    .nav-list {
        flex-direction: row;
        padding: 0;
    }

    .nav-list.hidden {
        display: flex;
    }

    .nav-list li a {
        background: transparent;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .author-box {
        flex-direction: row;
        text-align: left;
    }

    .author-info {
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 响应式设计 - 桌面 */
@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* 懒加载图片占位 */
img[loading="lazy"] {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--gradient-blue) 100%);
}

/* 文章内容样式 */
.article-content {
    font-size: 1rem;
    line-height: 1.9;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-gold);
}

.article-content h3 {
    font-size: 1.25rem;
    color: var(--accent-gold-light);
    margin: 1.5rem 0 1rem;
}

.article-content ul,
.article-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}

/* 表格样式 */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-gold);
}

.data-table th {
    background: var(--secondary-purple);
    color: var(--accent-gold);
    font-weight: 600;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* 信息提示框 */
.info-box {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2) 0%, rgba(45, 27, 78, 0.8) 100%);
    border-left: 4px solid var(--success-green);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.warning-box {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2) 0%, rgba(45, 27, 78, 0.8) 100%);
    border-left: 4px solid var(--warning-red);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* 社交媒体链接 */
.social-links {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
    background: var(--accent-gold-light);
}

/* 负责任博彩区块 */
.responsible-gaming {
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.9) 0%, rgba(45, 27, 78, 0.9) 100%);
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    border: 1px solid var(--border-gold);
}

.responsible-gaming img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* 牌照信息 */
.license-section {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 16px;
    margin: 2rem 0;
}

.license-badge {
    max-width: 150px;
    height: auto;
    margin: 1rem 0;
}

/* APP下载区块 */
.app-download {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin: 2rem 0;
    color: var(--text-dark);
}

.app-download h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.app-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.app-btn {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.app-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 图片画廊 */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .image-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}
