/* ==========================================
   CSS变量 - 主题色管理 (基于Itch.io官方配色)
   ========================================== */
:root {
    --primary-color: #ff2449;
    --primary-dark: #e6103c;
    --primary-light: #ff4d6d;
    --secondary-color: #ff3860;
    --accent-color: #ffe8ed;
    
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-dark: #333333;
    --bg-card: #ffffff;
    
    --border-color: #eeeeee;
    --border-light: #f5f5f5;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(255, 36, 73, 0.15);
    
    --transition-speed: 0.3s;
    --border-radius: 50px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
}

/* ==========================================
   全局样式
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   导航栏
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-speed);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    flex-shrink: 0;
}

.logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color var(--transition-speed);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-speed);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all var(--transition-speed);
}

/* 导航栏CTA按钮容器 */
.nav-cta-wrapper {
    display: flex;
    align-items: center;
    margin-left: auto;
}

/* 导航栏CTA按钮 */
.nav-cta-button {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem !important;
    background: var(--primary-color) !important;
    color: white !important;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed);
    box-shadow: 0 2px 8px rgba(255, 36, 73, 0.2);
    white-space: nowrap;
}

.nav-cta-button::after {
    display: none !important;
}

.nav-cta-button:hover {
    background: var(--primary-dark) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 36, 73, 0.3);
}

.nav-cta-button i {
    font-size: 1rem;
}

/* ==========================================
   英雄区域
   ========================================== */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0 60px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        #ff2449 0%, 
        #ff3860 100%);
    opacity: 0.98;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 1rem;
}

.hero-title {
    font-family: 'Poppins', 'Noto Sans SC', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.6rem 1.25rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.hero-feature i {
    font-size: 1.2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 2.25rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--border-radius);
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed);
    animation: fadeInUp 1s ease 0.6s backwards;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 36, 73, 0.3);
    background: white;
    border-color: white;
}

.cta-button i {
    transition: transform var(--transition-speed);
}

.cta-button:hover i {
    transform: translateX(5px);
}

.cta-button.large {
    padding: 1.25rem 3rem;
    font-size: 1.3rem;
}

.hero-note {
    margin-top: 1.25rem;
    font-size: 0.95rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.8s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   平台介绍
   ========================================== */
.intro {
    padding: 5rem 0;
    background: var(--bg-primary);
}

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

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.intro-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ==========================================
   通用区块标题
   ========================================== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 1rem;
}

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

/* ==========================================
   平台特色
   ========================================== */
.features {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius-sm);
    box-shadow: none;
    transition: all var(--transition-speed);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card ul {
    list-style: none;
}

.feature-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.feature-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ==========================================
   平台功能
   ========================================== */
.platform-features {
    padding: 5rem 0;
    background: var(--bg-primary);
}

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

.platform-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius-sm);
    text-align: center;
    box-shadow: none;
    transition: all var(--transition-speed);
    border: 1px solid var(--border-color);
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.platform-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.platform-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

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

/* ==========================================
   游戏类型
   ========================================== */
.game-types {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.game-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.game-type-card {
    background: var(--primary-color);
    padding: 2rem;
    border-radius: var(--border-radius-sm);
    text-align: center;
    color: white;
    transition: all var(--transition-speed);
    cursor: pointer;
    box-shadow: none;
    border: none;
}

.game-type-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(255, 36, 73, 0.3);
    background: var(--secondary-color);
}

.game-type-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.game-type-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ==========================================
   开发者支持
   ========================================== */
.developers {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.developers-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.developer-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius-sm);
    box-shadow: none;
    transition: all var(--transition-speed);
    border: 1px solid var(--border-color);
}

.developer-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.developer-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.developer-icon i {
    font-size: 1.5rem;
    color: white;
}

.developer-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

/* ==========================================
   特色项目
   ========================================== */
.special-projects {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

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

.project-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius-sm);
    text-align: center;
    transition: all var(--transition-speed);
    border: 1px solid var(--border-color);
}

.project-card:hover {
    background: var(--bg-card);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.project-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.project-card p {
    color: var(--text-secondary);
}

/* ==========================================
   用户评价
   ========================================== */
.testimonials {
    padding: 5rem 0;
    background: var(--primary-color);
    color: white;
}

.testimonials .section-title {
    color: white;
}

.testimonials .section-title::after {
    background: white;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-speed);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.testimonial-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.testimonial-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
}

.stars i {
    font-size: 1rem;
    opacity: 1;
}

/* ==========================================
   常见问题
   ========================================== */
.faq {
    padding: 5rem 0;
    background: var(--bg-primary);
}

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

.faq-item {
    background: var(--bg-card);
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: none;
    transition: all var(--transition-speed);
    border: 1px solid var(--border-color);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    user-select: none;
}

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

.faq-question i {
    color: var(--primary-color);
    transition: transform var(--transition-speed);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed) ease;
}

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

.faq-answer p {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ==========================================
   CTA区域
   ========================================== */
.cta-section {
    padding: 5rem 0;
    background: var(--primary-color);
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* ==========================================
   页脚
   ========================================== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

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

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-speed);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-logo i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-tags h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.4rem 0.9rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    transition: all var(--transition-speed);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tag:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

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

.footer-bottom p {
    margin: 0.5rem 0;
}

.footer-link a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-link a:hover {
    color: var(--primary-light);
}

/* ==========================================
   返回顶部按钮
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(255, 36, 73, 0.3);
    transition: all var(--transition-speed);
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(-3px);
    background: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(255, 36, 73, 0.4);
}

.back-to-top.show {
    display: flex;
}

/* ==========================================
   页面特定样式
   ========================================== */

/* 文章模块 */
.articles {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: -1.5rem;
    margin-bottom: 3rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.article-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 600;
}

.article-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    line-height: 1.4;
}

.article-content h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-speed);
}

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

.article-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.article-meta i {
    color: var(--primary-color);
}

.articles-cta {
    text-align: center;
    padding-top: 1rem;
}

/* 文章内页 */
.article-header {
    padding: 8rem 0 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    margin-top: 70px;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-header-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1rem;
    opacity: 0.95;
    flex-wrap: wrap;
}

.article-header-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-body {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

.article-content-body {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    line-height: 1.8;
}

.article-content-body h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.article-content-body h2:first-child {
    margin-top: 0;
}

.article-content-body h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-content-body p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.article-content-body ul,
.article-content-body ol {
    color: var(--text-secondary);
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.article-content-body li {
    margin-bottom: 0.5rem;
}

.article-content-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.article-content-body a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.article-content-body a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.article-content-body blockquote {
    background: var(--accent-color);
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: var(--border-radius-sm);
}

.article-content-body blockquote p {
    color: var(--text-primary);
    margin: 0;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.article-tag {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.4rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-speed);
    border: 1px solid var(--border-color);
}

.article-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.article-related {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
}

.article-related h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.related-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-article {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    transition: all var(--transition-speed);
    border: 1px solid var(--border-color);
}

.related-article:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

.related-article h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.related-article p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* ==========================================
   页面特定样式
   ========================================== */

/* 页面头部 */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-header h1 i {
    font-size: 2.5rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* 页面内容 */
.page-content {
    padding: 4rem 0;
    background: var(--bg-primary);
    min-height: 60vh;
}

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

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

.faq-cta {
    text-align: center;
    padding: 3rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    margin-top: 3rem;
}

.faq-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.faq-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.secondary {
    background: var(--bg-card);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--accent-color);
}

/* 内容块样式 */
.content-block {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.content-block h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.content-block h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-block p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-block ul,
.content-block ol {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-block li {
    margin-bottom: 0.5rem;
}

.content-block strong {
    color: var(--text-primary);
    font-weight: 600;
}

.content-block a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.content-block a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* 联系表单 */
.contact-form {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 36, 73, 0.3);
}

/* 信息框 */
.info-box {
    background: var(--accent-color);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: var(--border-radius-sm);
}

.info-box p {
    color: var(--text-primary);
    margin: 0;
}

.info-box i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* ==========================================
   响应式设计
   ========================================== */

/* 平板设备 */
@media (max-width: 768px) {
    /* 隐藏汉堡菜单按钮 */
    .menu-toggle {
        display: none !important;
    }

    /* 隐藏导航菜单 */
    .nav-menu {
        display: none !important;
    }

    /* 导航栏布局调整 */
    .nav-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        margin-right: auto;
    }

    .nav-cta-wrapper {
        margin-left: auto;
    }

    .nav-cta-button {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .platform-grid,
    .game-types-grid,
    .projects-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

/* 手机设备 */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* 小屏幕导航菜单更紧凑 */
    .nav-menu {
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    .nav-menu a {
        font-size: 0.85rem;
    }

    /* 小屏幕上按钮更紧凑 */
    .nav-cta-button {
        padding: 0.45rem 0.85rem !important;
        font-size: 0.8rem;
        gap: 0.35rem;
    }

    .nav-cta-button i {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .cta-button.large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .feature-card,
    .platform-card,
    .project-card,
    .developer-item {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

