/* ========================================
   c7娱乐 - 主样式表
   独特的深蓝紫渐变配色方案
   ======================================== */

:root {
    --primary-gradient: linear-gradient(135deg, #1a0a2e 0%, #16213e 50%, #0f3460 100%);
    --accent-gold: #d4af37;
    --accent-gold-light: #f4d03f;
    --accent-purple: #9b59b6;
    --text-light: #f8f9fa;
    --text-muted: #adb5bd;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(212, 175, 55, 0.3);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.2);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', sans-serif;
    background: var(--primary-gradient);
    color: var(--text-light);
    line-height: 1.8;
    min-height: 100vh;
}

/* 导航栏 - 非sticky */
.main-header {
    background: linear-gradient(180deg, rgba(26, 10, 46, 0.98) 0%, rgba(22, 33, 62, 0.95) 100%);
    border-bottom: 2px solid var(--accent-gold);
    padding: 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold);
}

.nav-link.active {
    background: var(--accent-gold);
    color: #1a0a2e;
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    color: #1a0a2e;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

/* 移动端菜单 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--accent-gold);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero区域 */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 10, 46, 0.85) 0%, rgba(15, 52, 96, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: #1a0a2e;
}

/* 内容区域 */
.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 30px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 20px auto 0;
}

/* 游戏卡片网格 */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.game-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
    border-color: var(--accent-gold);
}

.game-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-card-body {
    padding: 25px;
}

.game-card-title {
    font-size: 1.3rem;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.game-card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.game-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.game-card-link:hover {
    gap: 12px;
}

/* 特色区块 */
.features-section {
    background: linear-gradient(180deg, rgba(15, 52, 96, 0.3) 0%, rgba(26, 10, 46, 0.3) 100%);
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 40px 25px;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--card-border);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature-title {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.feature-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 文章内容 */
.article-content {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    border: 1px solid var(--card-border);
}

.article-content h2 {
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--card-border);
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 18px;
    text-align: justify;
}

.article-content ul, .article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
    color: var(--text-muted);
}

/* 用户评论 */
.reviews-section {
    padding: 80px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
}

.review-card:hover {
    border-color: var(--accent-gold);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a0a2e;
}

.review-info h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.review-location {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.review-stars {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-text {
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.7;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 15px;
    text-align: right;
}

/* FAQ区域 */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(26, 10, 46, 0.5) 0%, rgba(15, 52, 96, 0.5) 100%);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(212, 175, 55, 0.1);
}

.faq-question h3 {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-icon {
    color: var(--accent-gold);
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-answer {
    padding: 0 30px 25px;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* 支付方式 */
.payment-section {
    padding: 60px 0;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.payment-icon {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 20px 30px;
    transition: var(--transition);
}

.payment-icon:hover {
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.payment-icon img {
    height: 40px;
    width: auto;
    filter: brightness(0.9);
}

/* 页脚 */
.main-footer {
    background: linear-gradient(180deg, rgba(26, 10, 46, 0.98) 0%, #0a0612 100%);
    border-top: 2px solid var(--accent-gold);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-section h4 {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 40px auto 0;
    padding: 30px 30px 0;
    border-top: 1px solid var(--card-border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-badges {
    display: flex;
    gap: 20px;
    align-items: center;
}

.age-badge {
    background: #dc3545;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
}

.license-badge {
    height: 50px;
    width: auto;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.2);
}

.breadcrumb-list {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    gap: 10px;
    list-style: none;
    font-size: 0.9rem;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-list a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-list a:hover {
    color: var(--accent-gold);
}

.breadcrumb-list .current {
    color: var(--accent-gold);
}

/* 内页Hero */
.page-hero {
    background: linear-gradient(135deg, rgba(26, 10, 46, 0.95) 0%, rgba(15, 52, 96, 0.9) 100%);
    padding: 80px 0;
    text-align: center;
}

.page-hero-title {
    font-size: 2.8rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.page-hero-desc {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 作者信息 */
.author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-gold);
}

.author-info h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-title {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.author-bio {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 表格样式 */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.info-table th,
.info-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--card-border);
}

.info-table th {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    font-weight: 600;
}

.info-table td {
    color: var(--text-muted);
}

.info-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 10, 46, 0.98);
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid var(--card-border);
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .article-content {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 15px 20px;
    }
    
    .hero-section {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .content-wrapper {
        padding: 40px 20px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .page-hero-title {
        font-size: 2rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* 懒加载图片占位 */
img[loading="lazy"] {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(212, 175, 55, 0.1) 100%);
}

/* 打印样式 */
@media print {
    .main-header,
    .main-footer,
    .cta-button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
