/* 
 * {{SITE_NAME}} - 电子捕鱼娱乐平台
 * 主样式表 - 2026年SEO优化版
 * 独特的深海蓝金配色方案
 */

/* CSS变量定义 */
:root {
    --primary-blue: #0a1628;
    --secondary-blue: #1a2d4a;
    --accent-gold: #f5c518;
    --accent-orange: #ff6b35;
    --text-light: #ffffff;
    --text-muted: #a8b5c8;
    --gradient-start: #0a1628;
    --gradient-end: #1e3a5f;
    --card-bg: rgba(26, 45, 74, 0.85);
    --border-gold: rgba(245, 197, 24, 0.3);
    --shadow-color: rgba(0, 0, 0, 0.4);
}

/* 基础重置 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--text-light);
    line-height: 1.8;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 15px;
}

/* 头部导航 - 非sticky */
.site-header {
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.98) 0%, rgba(26, 45, 74, 0.95) 100%);
    border-bottom: 1px solid var(--border-gold);
    padding: 12px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-shadow: 0 2px 4px var(--shadow-color);
}

/* 主导航 */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-list li a {
    display: block;
    padding: 10px 18px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: var(--accent-gold);
    background: rgba(245, 197, 24, 0.1);
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-list li a:hover::after {
    width: 60%;
}

/* CTA按钮 */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(245, 197, 24, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 197, 24, 0.5);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero区域 */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 60px 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(30, 58, 95, 0.7) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px var(--shadow-color);
    line-height: 1.3;
}

.hero-title .highlight {
    color: var(--accent-gold);
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 30px;
    border: 2px solid var(--accent-gold);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
}

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    background: rgba(10, 22, 40, 0.5);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.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;
    transition: opacity 0.3s ease;
}

.breadcrumb-list a:hover {
    opacity: 0.8;
}

.breadcrumb-list span {
    color: var(--text-muted);
}

/* 章节标题 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    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, var(--accent-gold), var(--accent-orange));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* 游戏卡片网格 */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.game-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    transition: all 0.4s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(245, 197, 24, 0.2);
    border-color: var(--accent-gold);
}

.game-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-card:hover .game-card-image img {
    transform: scale(1.1);
}

.game-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    color: var(--primary-blue);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.game-card-content {
    padding: 20px;
}

.game-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-light);
}

.game-card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.game-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-gold);
}

.game-rtp {
    font-size: 0.85rem;
    color: var(--accent-gold);
}

.game-play-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.game-play-btn:hover {
    box-shadow: 0 4px 15px rgba(245, 197, 24, 0.4);
}

/* 特色区块 */
.features-section {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 45, 74, 0.5) 50%, transparent 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 35px 25px;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-gold);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.2), rgba(255, 107, 53, 0.2));
    border-radius: 50%;
}

.feature-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--accent-gold);
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 内容区块 */
.content-section {
    padding: 70px 0;
}

.content-block {
    margin-bottom: 50px;
}

.content-block h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-gold);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-gold);
}

.content-block h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 25px 0 15px;
    color: var(--text-light);
}

.content-block p {
    margin-bottom: 18px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.9;
}

.content-block ul, .content-block ol {
    margin: 15px 0 20px 25px;
    color: var(--text-muted);
}

.content-block li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* 双栏布局 */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.two-column.reverse {
    direction: rtl;
}

.two-column.reverse > * {
    direction: ltr;
}

.column-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.column-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 用户评论 */
.reviews-section {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(26, 45, 74, 0.3) 0%, transparent 100%);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.review-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-gold);
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: var(--accent-gold);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.review-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.review-info .location {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 15px;
}

.star {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.star.empty {
    color: var(--text-muted);
}

.review-content {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* FAQ区块 */
.faq-section {
    padding: 80px 0;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border-gold);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-gold);
}

.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 {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* 支付方式 */
.payment-section {
    padding: 60px 0;
    background: rgba(26, 45, 74, 0.4);
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.payment-icon {
    width: 100px;
    height: 60px;
    background: var(--text-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: transform 0.3s ease;
}

.payment-icon:hover {
    transform: scale(1.1);
}

.payment-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 页脚 */
.site-footer {
    background: linear-gradient(180deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-gold);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-gold);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(245, 197, 24, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-gold);
    text-align: center;
}

.footer-license {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.license-badge {
    height: 60px;
    width: auto;
}

.footer-age {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #dc3545;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

/* 作者信息 */
.author-box {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-gold);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin: 30px 0;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--accent-gold);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.author-title {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.author-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 标签页面 */
.tags-section {
    padding: 60px 0;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.tag-link {
    display: inline-block;
    padding: 10px 22px;
    background: var(--card-bg);
    border: 1px solid var(--border-gold);
    border-radius: 25px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
    border-color: var(--accent-gold);
}

.tag-link.large {
    font-size: 1.1rem;
    padding: 12px 28px;
}

.tag-link.small {
    font-size: 0.85rem;
    padding: 8px 18px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .two-column {
        grid-template-columns: 1fr;
    }
    
    .two-column.reverse {
        direction: ltr;
    }
    
    .nav-list {
        gap: 5px;
    }
    
    .nav-list li a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-blue);
        padding: 20px;
        display: none;
        border-top: 1px solid var(--border-gold);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-list li a {
        padding: 15px;
        border-bottom: 1px solid var(--border-gold);
    }
    
    .header-inner {
        position: relative;
    }
    
    .hero-section {
        min-height: 60vh;
        padding: 40px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .site-logo img {
        height: 40px;
    }
    
    .site-logo-text {
        font-size: 1.2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-icons {
        gap: 15px;
    }
    
    .payment-icon {
        width: 80px;
        height: 50px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-pulse {
    animation: pulse 2s ease infinite;
}

/* 懒加载图片 */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

/* 打印样式 */
@media print {
    .site-header,
    .site-footer,
    .cta-btn,
    .mobile-menu-btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .content-block p,
    .content-block li {
        color: black;
    }
}
