/* 基础重置和变量 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6B46C1;
    --secondary-color: #F59E0B;
    --accent-color: #EC4899;
    --dark-bg: #1F2937;
    --light-bg: #F9FAFB;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --border-color: #E5E7EB;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* 导航栏样式 */
.header-nav {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.95), rgba(236, 72, 153, 0.95));
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(107, 70, 193, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.nav-logo:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
}

.nav-menu {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    padding: 0.6rem 1rem;
    border-radius: 1.2rem;
    position: relative;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.nav-link:active {
    transform: translateY(0);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
    padding: 0.6rem;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.nav-toggle .bar {
    width: 22px;
    height: 2.5px;
    background: white;
    transition: 0.3s;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 主要内容区域 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* 英雄区域 */
.hero-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.game-header {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    min-height: 300px;
}

.game-icon {
    width: 450px;
    height: 280px;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.game-details {
    flex: 1;
}

.game-title {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.3;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.tag {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.game-summary {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.download-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-btn {
    background: linear-gradient(45deg, var(--secondary-color), #F97316);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-self: flex-start;
    box-shadow: var(--shadow);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.download-info {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* 文章内容区域 */
.game-article {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.article-container {
    max-width: none;
}

.section-title {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin: 2rem 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--secondary-color);
}

.section-title:first-child {
    margin-top: 0;
}

.content-block {
    margin-bottom: 3rem;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.content-block p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.image-content {
    margin: 2rem 0;
    text-align: center;
}

.content-image {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    margin-bottom: 0.5rem;
}

.image-caption {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

.highlight-quote {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(236, 72, 153, 0.1));
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 0.75rem 0.75rem 0;
    font-style: italic;
}

.emphasis-text {
    background: linear-gradient(45deg, var(--secondary-color), #F97316);
    color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

/* 特色功能网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    background: rgba(107, 70, 193, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    border: 1px solid rgba(107, 70, 193, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* 角色卡片 */
.character-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.character-card {
    display: flex;
    gap: 1.5rem;
    background: rgba(245, 158, 11, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.character-img {
    width: 120px;
    height: 150px;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.character-info h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.character-role {
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.character-info p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-dark);
}

/* 截图画廊 */
.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 1rem;
    margin: 2rem 0;
}

.gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* 下载中心 */
.download-center {
    text-align: center;
    margin: 2rem 0;
}

.download-card {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(236, 72, 153, 0.1));
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid var(--primary-color);
    display: inline-block;
}

.download-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.download-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.download-btn-large {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
}

.download-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* 攻略和资讯列表 */
.strategy-list, .news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.strategy-item, .news-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(245, 158, 11, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strategy-item:hover, .news-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.strategy-item i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.strategy-content, .news-content {
    flex: 1;
}

.strategy-content h3, .news-content h3 {
    color: var(--primary-color);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.strategy-content p, .news-content p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.news-date {
    font-size: 0.75rem;
    color: var(--text-light);
    background: rgba(107, 70, 193, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

/* 页脚 */
.footer {
    background: var(--dark-bg);
    color: white;
    margin-top: 3rem;
    padding: 2rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.friend-links a {
    color: #D1D5DB;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: background 0.3s ease;
}

.friend-links a:hover {
    background: rgba(245, 158, 11, 0.2);
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #9CA3AF;
    font-size: 0.875rem;
}

/* 响应式设计 */
@media (max-width: 1024px) and (min-width: 769px) {
    .screenshots-gallery {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, auto);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(107, 70, 193, 0.98), rgba(236, 72, 153, 0.98));
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 0 10px 40px rgba(107, 70, 193, 0.4);
        backdrop-filter: blur(20px);
        padding: 2rem 1rem;
        gap: 0.5rem;
        border: none;
        border-radius: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .game-header {
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }

    .game-icon {
        align-self: center;
        width: 300px;
        height: 200px;
    }

    .game-title {
        font-size: 1.5rem;
        justify-content: center;
    }

    .download-section {
        align-items: center;
    }

    .character-card {
        flex-direction: column;
        text-align: center;
    }

    .character-img {
        align-self: center;
    }

    .screenshots-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, auto);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .news-item {
        flex-direction: column;
        text-align: center;
    }

    .news-item:hover {
        transform: translateY(-5px);
    }

    .friend-links {
        justify-content: center;
    }

    .main-content {
        padding: 1rem;
    }

    .hero-section, .game-article {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.5rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .game-title {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .download-btn, .download-btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .main-content {
        padding: 0.5rem;
    }

    .hero-section, .game-article {
        padding: 1rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-block {
    animation: fadeInUp 0.6s ease-out;
}

.feature-item, .character-card, .strategy-item, .news-item {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动行为 */
html {
    scroll-behavior: smooth;
}

/* 文章页面样式 */
.article-page {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--secondary-color);
}

.article-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-light);
}

.publish-date, .article-category {
    background: rgba(107, 70, 193, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(107, 70, 193, 0.2);
}

.article-content {
    line-height: 1.8;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin: 2rem 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--secondary-color);
}

.content-section h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

.content-section h4 {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin: 1rem 0 0.5rem 0;
    font-weight: 600;
}

.content-section p {
    margin-bottom: 1rem;
    text-align: justify;
}

.content-section ul, .content-section ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

/* 信息框样式 */
.info-box, .tip-box, .warning-box, .feature-box {
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
    border: 1px solid;
}

.info-box {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
}

.tip-box {
    background: rgba(34, 197, 94, 0.05);
    border-color: rgba(34, 197, 94, 0.2);
}

.warning-box {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.2);
}

.feature-box {
    background: rgba(245, 158, 11, 0.05);
    border-color: rgba(245, 158, 11, 0.2);
}

.info-box h4, .tip-box h4, .warning-box h4, .feature-box h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

/* 礼物分类样式 */
.gift-category {
    background: rgba(236, 72, 153, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin: 1rem 0;
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.gift-category h4 {
    color: var(--accent-color);
    margin-top: 0;
}

/* 活动列表样式 */
.activity-list {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.activity-item {
    background: rgba(107, 70, 193, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(107, 70, 193, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.activity-item h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

/* FAQ样式 */
.faq-item {
    background: rgba(245, 158, 11, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin: 1rem 0;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.faq-item h4 {
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

/* 更新内容样式 */
.update-highlight {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(236, 72, 153, 0.1));
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid var(--primary-color);
    margin: 2rem 0;
}

.update-highlight h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.cg-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.cg-item {
    background: rgba(107, 70, 193, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(107, 70, 193, 0.2);
    text-align: center;
}

.cg-item h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.optimization-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.optimization-item {
    background: rgba(34, 197, 94, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.optimization-item h4 {
    color: #059669;
    margin-top: 0;
    margin-bottom: 1rem;
}

.fix-list {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.fix-category {
    background: rgba(59, 130, 246, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.fix-category h4 {
    color: #2563EB;
    margin-top: 0;
    margin-bottom: 1rem;
}

/* 高亮文本 */
.highlight-text {
    background: linear-gradient(45deg, var(--secondary-color), #F97316);
    color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

/* 文章页脚 */
.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.article-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-button {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-button.download-btn {
    background: linear-gradient(45deg, var(--secondary-color), #F97316);
}

/* 响应式设计 - 文章页面 */
@media (max-width: 768px) {
    .article-page {
        padding: 1.5rem;
    }

    .article-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .content-section h2 {
        font-size: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .cg-list, .optimization-list {
        grid-template-columns: 1fr;
    }

    .article-navigation {
        flex-direction: column;
        align-items: center;
    }

    .nav-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .article-page {
        padding: 1rem;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .content-section h2 {
        font-size: 1.25rem;
    }

    .info-box, .tip-box, .warning-box, .feature-box,
    .gift-category, .activity-item, .faq-item {
        padding: 1rem;
    }

    .update-highlight {
        padding: 1.5rem;
    }
}

/* 星球征服页面特殊样式 */
.conquest-strategies {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.strategy-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(107, 70, 193, 0.1);
    border: 1px solid rgba(107, 70, 193, 0.15);
    transition: all 0.4s ease;
    position: relative;
}

.strategy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.strategy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(107, 70, 193, 0.2);
    border-color: rgba(107, 70, 193, 0.3);
}

.strategy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.05), rgba(236, 72, 153, 0.03));
}

.strategy-icon {
    font-size: 2.5rem;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(107, 70, 193, 0.3), inset 0 0 0 3px var(--primary-color);
    position: relative;
    backdrop-filter: blur(10px);
}

.strategy-title h4 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.strategy-type {
    display: inline-block;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(236, 72, 153, 0.1));
    color: var(--primary-color);
    padding: 0.25rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.4rem;
    border: 1px solid rgba(107, 70, 193, 0.2);
}

.difficulty-badge {
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.difficulty-badge.high {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.difficulty-badge.medium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.difficulty-badge.low {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.strategy-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.strategy-section {
    margin-bottom: 1.5rem;
}

.strategy-section h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.strategy-section p {
    line-height: 1.6;
    color: #4b5563;
    font-size: 0.95rem;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.pros, .cons {
    background: rgba(107, 70, 193, 0.03);
    padding: 1.2rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(107, 70, 193, 0.1);
}

.pros h6, .cons h6 {
    margin: 0 0 0.8rem 0;
    font-size: 1rem;
    font-weight: 700;
}

.pros h6 {
    color: #059669;
}

.cons h6 {
    color: #dc2626;
}

.pros ul, .cons ul {
    margin: 0;
    padding-left: 1.2rem;
    list-style: none;
}

.pros li, .cons li {
    margin-bottom: 0.4rem;
    position: relative;
    line-height: 1.4;
    font-size: 0.9rem;
}

.pros li::before {
    content: '•';
    color: #059669;
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

.cons li::before {
    content: '•';
    color: #dc2626;
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

.strategy-tips {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
    padding: 1.2rem;
    border-radius: 0.8rem;
    border-left: 3px solid var(--primary-color);
    font-size: 0.95rem;
    line-height: 1.5;
    color: #374151;
}

.strategy-tips strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .strategy-header {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding: 1.2rem;
    }
    
    .strategy-icon {
        width: 55px;
        height: 55px;
        font-size: 2rem;
        box-shadow: 0 4px 12px rgba(107, 70, 193, 0.3), inset 0 0 0 2px var(--primary-color);
    }
    
    .strategy-title h4 {
        font-size: 1.3rem;
    }
    
    .strategy-type {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
    
    .difficulty-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .strategy-content {
        padding: 0 1.2rem 1.2rem 1.2rem;
    }
    
    .strategy-section {
        margin-bottom: 1.2rem;
    }
    
    .strategy-section h5 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .pros, .cons {
        padding: 1rem;
    }
    
    .strategy-tips {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

.planet-guide {
    background: rgba(245, 158, 11, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin: 2rem 0;
}

.planet-info, .conquest-strategy {
    margin-bottom: 1.5rem;
}

.planet-info h4, .conquest-strategy h4 {
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.management-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.management-item {
    background: rgba(34, 197, 94, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.management-item h4 {
    color: #059669;
    margin-top: 0;
    margin-bottom: 1rem;
}

.rewards-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.reward-item {
    background: rgba(236, 72, 153, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(236, 72, 153, 0.2);
    text-align: center;
}

.reward-item h4 {
    color: var(--accent-color);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .strategy-grid, .management-tips {
        grid-template-columns: 1fr;
    }
    
    .rewards-list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .planet-guide {
        padding: 1.5rem;
    }
}

/* 文章页面特殊样式 */
.character-profile {
    background: rgba(107, 70, 193, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(107, 70, 193, 0.2);
    margin: 1.5rem 0;
}

.personality-analysis, .inner-traits, .design-analysis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.trait-item, .soft-trait, .design-element {
    background: rgba(245, 158, 11, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.trait-item h4, .soft-trait h4, .design-element h4 {
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.relationship-stages {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.stage {
    background: rgba(236, 72, 153, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-left: 4px solid var(--accent-color);
}

.stage h4 {
    color: var(--accent-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.deeper-meaning, .cultural-elements, .popularity-reasons, .success-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.meaning-item, .culture-item, .reason-item, .success-item {
    background: rgba(34, 197, 94, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(34, 197, 94, 0.2);
    text-align: center;
}

.meaning-item h4, .culture-item h4, .reason-item h4, .success-item h4 {
    color: #059669;
    margin-top: 0;
    margin-bottom: 1rem;
}

/* 游戏技巧页面样式 */
.quick-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tip-card {
    background: rgba(59, 130, 246, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.tip-card h4 {
    color: #2563EB;
    margin-top: 0;
    margin-bottom: 1rem;
}

.affection-tips, .advanced-conquest, .time-management {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.method-item, .strategy-tip, .schedule-tip {
    background: rgba(245, 158, 11, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.method-item h4, .strategy-tip h4, .schedule-tip h4 {
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.hidden-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.unlock-item {
    background: rgba(236, 72, 153, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.unlock-item h4 {
    color: var(--accent-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.common-mistakes {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.mistake-item {
    background: rgba(239, 68, 68, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-left: 4px solid #DC2626;
}

.mistake-item h4 {
    color: #DC2626;
    margin-top: 0;
    margin-bottom: 1rem;
}

.playthrough-guide {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.playthrough-item {
    background: rgba(107, 70, 193, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(107, 70, 193, 0.2);
}

.playthrough-item h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.player-insights {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.insight-item {
    background: rgba(245, 158, 11, 0.05);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
    position: relative;
}

.insight-item h4 {
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.insight-item .author {
    font-style: italic;
    color: var(--text-light);
    margin-top: 1rem;
    text-align: right;
}

@media (max-width: 768px) {
    .personality-analysis, .inner-traits, .design-analysis,
    .deeper-meaning, .cultural-elements, .popularity-reasons,
    .success-points, .quick-tips, .hidden-content {
        grid-template-columns: 1fr;
    }
} 
/* Managed download confirmation */
.download-confirm-backdrop { position: fixed; inset: 0; display: grid; place-items: center; padding: 1.5rem; background: rgba(15, 23, 42, 0.72); z-index: 3000; }
.download-confirm-dialog { width: min(100%, 26rem); padding: 1.75rem; border: 1px solid rgba(245, 158, 11, 0.45); border-radius: 0.75rem; background: #fff; color: #1f2937; box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, 0.35); }
.download-confirm-dialog h2 { margin: 0 0 0.75rem; color: var(--primary-color); font-size: 1.35rem; }
.download-confirm-dialog p { margin: 0 0 1.25rem; color: var(--text-light); line-height: 1.7; }
.download-confirm-actions { display: flex; justify-content: flex-end; gap: 0.75rem; }
.download-confirm-actions button { min-height: 2.5rem; padding: 0.5rem 1rem; border-radius: 0.5rem; cursor: pointer; font: inherit; }
.download-confirm-cancel { border: 1px solid #d1d5db; background: #fff; color: #374151; }
.download-confirm-continue { border: 1px solid var(--primary-color); background: var(--primary-color); color: #fff; }
