/* 
 * c7娱乐 - 专业博彩娱乐平台样式表
 * 2026年最新设计 - 移动优先响应式布局
 */

/* CSS变量定义 - 独特配色方案 */
:root {
    --primary-gold: #c9a227;
    --secondary-gold: #f5d742;
    --dark-bg: #0a0e17;
    --card-bg: #141b2d;
    --accent-red: #e63946;
    --accent-green: #2ecc71;
    --text-primary: #ffffff;
    --text-secondary: #a8b2c1;
    --border-color: #2a3548;
    --gradient-start: #1a1f2e;
    --gradient-end: #0d1117;
    --shadow-color: rgba(201, 162, 39, 0.15);
}

/* 基础重置 */
*, *::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-primary);
    line-height: 1.8;
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* 头部导航 - 非sticky */
header {
    background: linear-gradient(180deg, rgba(10, 14, 23, 0.98) 0%, rgba(20, 27, 45, 0.95) 100%);
    border-bottom: 2px solid var(--primary-gold);
    padding: 15px 0;
    position: relative;
    z-index: 100;
}

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

.logo {
    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;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 导航菜单 */
nav {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary-gold);
    margin: 6px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-menu li a {
    display: block;
    padding: 10px 18px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid transparent;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: rgba(201, 162, 39, 0.15);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

/* CTA按钮 */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    color: var(--dark-bg);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--shadow-color);
}

/* Hero区域 */
.hero-section {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(10, 14, 23, 0.9), rgba(20, 27, 45, 0.85)),
                url('../images/hero-banner.webp') center/cover no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* 视频模块 */
.video-section {
    padding: 60px 0;
    background: var(--card-bg);
}

.video-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.video-cover {
    width: 100%;
    display: block;
    cursor: pointer;
}

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

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

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--accent-red);
}

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal video {
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
}

.video-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-red);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 章节标题 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

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

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* 游戏卡片网格 */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

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

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 20px 50px rgba(201, 162, 39, 0.2);
}

.game-card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.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-content {
    padding: 25px;
}

.game-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-gold);
}

.game-card-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.game-card .cta-btn {
    width: 100%;
    justify-content: center;
}

/* 博彩小卡片 */
.mini-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.mini-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.mini-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
}

.mini-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

.mini-card h4 {
    font-size: 1rem;
    color: var(--primary-gold);
}

/* 比赛模块 */
.tournament-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--card-bg) 100%);
}

.tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.tournament-card {
    background: linear-gradient(145deg, var(--card-bg), rgba(201, 162, 39, 0.05));
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
}

.tournament-card:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.tournament-image {
    height: 220px;
    overflow: hidden;
}

.tournament-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tournament-info {
    padding: 30px;
}

.tournament-info h3 {
    font-size: 1.4rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.tournament-info p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.tournament-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.tournament-meta span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.tournament-meta strong {
    color: var(--secondary-gold);
}

/* 文章模块 */
.articles-section {
    padding: 80px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

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

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.article-image {
    height: 180px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 25px;
}

.article-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.article-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content h3 a:hover {
    color: var(--primary-gold);
}

.article-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* 关于我们 */
.about-section {
    padding: 80px 0;
    background: var(--card-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary-gold);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    display: block;
}

/* 作者信息 */
.author-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--card-bg), var(--dark-bg));
}

.author-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(201, 162, 39, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    max-width: 800px;
    margin: 0 auto;
}

.author-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-gold);
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h3 {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 8px;
}

.author-info .author-title {
    color: var(--secondary-gold);
    font-size: 1rem;
    margin-bottom: 15px;
}

.author-info p {
    color: var(--text-secondary);
}

/* 支付方式 */
.payment-section {
    padding: 60px 0;
}

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

.payment-item {
    background: var(--card-bg);
    padding: 20px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.payment-item:hover {
    border-color: var(--primary-gold);
    transform: translateY(-3px);
}

.payment-item img {
    height: 40px;
    width: auto;
}

.payment-item span {
    font-weight: 600;
    color: var(--text-primary);
}

/* 牌照模块 */
.license-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--card-bg), var(--dark-bg));
}

.license-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.license-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.license-badge {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid var(--primary-gold);
    text-align: center;
}

.license-badge img {
    height: 80px;
    margin-bottom: 10px;
}

.license-badge p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.support-card {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.support-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
}

.support-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.support-card h3 {
    font-size: 1.2rem;
    color: var(--primary-gold);
    margin-bottom: 12px;
}

.support-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* FAQ模块 */
.faq-section {
    padding: 80px 0;
    background: var(--card-bg);
}

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

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

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(201, 162, 39, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.faq-icon {
    width: 30px;
    height: 30px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg);
    font-weight: bold;
    transition: transform 0.3s ease;
}

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

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

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

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 用户评论 */
.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);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

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

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-gold);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-user h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.review-user .vip-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--dark-bg);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 5px;
}

.review-user .location {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.review-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 15px;
}

.review-stars span {
    color: var(--secondary-gold);
    font-size: 1.2rem;
}

.review-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* 充值活动 */
.promo-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1), var(--dark-bg));
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.promo-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
}

.promo-card:hover {
    border-color: var(--primary-gold);
    transform: scale(1.02);
}

.promo-image {
    height: 180px;
    overflow: hidden;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-content {
    padding: 25px;
}

.promo-content h3 {
    font-size: 1.3rem;
    color: var(--primary-gold);
    margin-bottom: 12px;
}

.promo-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.promo-badge {
    display: inline-block;
    background: var(--accent-red);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* 负责任博彩 */
.responsible-section {
    padding: 60px 0;
    background: var(--card-bg);
    border-top: 3px solid var(--accent-red);
}

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

.responsible-content h2 {
    color: var(--accent-red);
    margin-bottom: 25px;
}

.responsible-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(230, 57, 70, 0.1);
    padding: 20px 40px;
    border-radius: 50px;
    border: 2px solid var(--accent-red);
    margin-top: 20px;
}

.age-badge img {
    width: 50px;
    height: 50px;
}

.age-badge span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-red);
}

/* 页脚 */
footer {
    background: linear-gradient(180deg, var(--dark-bg), #050709);
    padding: 60px 0 30px;
    border-top: 2px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.1rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-gold);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-gold);
}

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

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    transform: scale(1.1);
}

.footer-social img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

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

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

.footer-payment img {
    height: 35px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-payment img:hover {
    opacity: 1;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.3);
}

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

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

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

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

.breadcrumb-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: var(--primary-gold);
}

.breadcrumb-list li:last-child a {
    color: var(--primary-gold);
}

/* 内页样式 */
.page-header {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-bg), var(--card-bg));
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-gold);
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

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

.content-wrapper h2 {
    font-size: 1.8rem;
    color: var(--primary-gold);
    margin: 40px 0 20px;
}

.content-wrapper h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 30px 0 15px;
}

.content-wrapper p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.content-wrapper ul,
.content-wrapper ol {
    margin: 20px 0;
    padding-left: 30px;
    color: var(--text-secondary);
}

.content-wrapper li {
    margin-bottom: 10px;
}

.content-image {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
}

.content-image img {
    width: 100%;
    display: block;
}

/* APP下载页面 */
.download-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-bg), var(--card-bg));
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-info h1 {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.download-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.download-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: var(--card-bg);
    border: 2px solid var(--primary-gold);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
}

.download-image {
    text-align: center;
}

.download-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.app-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.app-feature {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.app-feature h4 {
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.app-feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content,
    .license-content,
    .download-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 20px;
        display: none;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li a {
        padding: 15px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .games-grid,
    .tournament-grid,
    .articles-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .author-card {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 40px 0;
        min-height: 400px;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .mini-cards {
        grid-template-columns: repeat(2, 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"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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