* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5aa0;
    --secondary-color: #f8a5c2;
    --accent-color: #ffd700;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --border-color: #e1e5e9;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
    --gradient-primary: linear-gradient(135deg, #2c5aa0 0%, #4a90e2 100%);
    --gradient-secondary: linear-gradient(135deg, #f8a5c2 0%, #ff6b9d 100%);
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container-p7n2s {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-nav-z8w4y {
    background: var(--gradient-primary);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-nav-z8w4y .container-p7n2s {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-section-q5x8m {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img-r4t9k {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: contain;
    background: rgba(255,255,255,0.1);
    padding: 5px;
}

.site-title-a6b3c {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.desktop-nav-e8f2g {
    display: block;
}

.nav-list-h3j5k {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link-m9p7n {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link-m9p7n:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.mobile-menu-btn-s2v6x {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    z-index: 1002;
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-t4y8z {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gradient-primary);
    box-shadow: var(--shadow);
    z-index: 1001;
    display: none;
    border-radius: 0 0 15px 15px;
}

.mobile-nav-t4y8z.active {
    display: block !important;
}

.mobile-nav-list-u7w3a {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav-list-u7w3a li {
    margin-bottom: 15px;
}

.mobile-nav-link-v9x5b {
    color: white !important;
    text-decoration: none !important;
    font-weight: 500;
    display: block;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 1px solid transparent;
}

.mobile-nav-link-v9x5b:hover {
    background-color: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
}

.mobile-nav-link-v9x5b:active {
    background-color: rgba(255,255,255,0.3);
}

.main-content-w8k4j {
    min-height: calc(100vh - 200px);
}

.game-header-x3l7m {
    background: var(--bg-light);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.game-info-y6n9p {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.game-icon-section-z2m5q {
    flex-shrink: 0;
    text-align: center;
}

.game-icon-large-a4b8c {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: contain;
    background: var(--bg-color);
    padding: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.game-tags-d7f3g {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tag-h8j2k {
    background: var(--gradient-secondary);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.game-details-i9l4n {
    flex: 1;
}

.game-title-j5m8o {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.game-star-k6n9p {
    color: var(--accent-color);
    font-size: 2rem;
}

.game-subtitle-l7p2q {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.game-description-m8q5r {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-color);
}

.download-section-n9r6s {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.download-btn-primary-o2s7t {
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    align-self: flex-start;
}

.download-btn-primary-o2s7t:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.game-info-stats-p3t8u {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item-q4u9v {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-weight: 500;
}

.stat-item-q4u9v i {
    color: var(--primary-color);
}

.game-content-r5v2w {
    padding: 40px 0;
}

.game-content-r5v2w .container-p7n2s {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.game-article-s6w3x {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Shared presentation for the generated news pages. */
.news-page-wcv08 .game-content-r5v2w,
.news-detail-page-wcv10 {
    min-height: calc(100vh - 160px);
    padding: 120px 0 60px;
}

.news-page-wcv08 .container-p7n2s,
.news-detail-page-wcv10 .container-p7n2s {
    display: block;
    max-width: 1000px;
}

.news-grid-wcv03 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.news-card-wcv01 {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-light);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card-wcv01:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.news-card-wcv01 a {
    display: block;
    height: 100%;
    padding: 24px;
    color: inherit;
    text-decoration: none;
}

.news-card-wcv01 h2 {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.news-card-wcv01 p {
    min-height: 3.2em;
    margin-bottom: 18px;
    color: var(--text-light);
}

.news-card-wcv01 time,
.article-date-wcv06 {
    color: var(--text-light);
    font-size: 0.9rem;
}

.news-read-more-wcv09 {
    display: block;
    margin-top: 12px;
    color: var(--primary-color);
    font-weight: 600;
}

.article-detail-wcv04 {
    max-width: 820px;
    margin: 0 auto;
}

.back-link-wcv05 {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.back-link-wcv05:hover {
    text-decoration: underline;
}

.article-detail-wcv04 .section-title-t7x4y {
    margin-bottom: 12px;
}

.article-content-wcv07 {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.article-content-wcv02 {
    color: var(--text-color);
    font-size: 1.08rem;
    line-height: 2;
}

.article-footer-links-wcv11 {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.section-title-t7x4y {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color);
}

.subsection-title-w2a7b {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 40px 0 20px 0;
    padding-left: 15px;
    border-left: 4px solid var(--secondary-color);
}

.content-block-u8y5z {
    margin-bottom: 30px;
}

.content-block-u8y5z p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.content-image-v9z6a {
    width: 100%;
    max-width: 800px;
    height: 400px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin: 20px 0;
    background: var(--bg-light);
    padding: 15px;
    object-fit: contain;
}

.features-grid-x3b8c {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.feature-item-y4c9d {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item-y4c9d:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon-z5d2e {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item-y4c9d h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.character-showcase-a6e3f {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.character-card-b7f4g {
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.character-card-b7f4g:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.character-image-c8g5h {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: var(--bg-light);
}

.character-info-d9h6i {
    padding: 20px;
}

.character-info-d9h6i h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.character-age-e2i7j {
    color: var(--secondary-color);
    font-weight: 500;
}

.character-role-f3j8k {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 10px;
}

.screenshots-grid-g4k9l {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.screenshot-image-h5l2m {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: var(--bg-light);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.screenshot-image-h5l2m:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.system-requirements-i6m3n {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.requirement-column-j7n4o {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
}

.requirement-column-j7n4o h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.requirement-column-j7n4o ul {
    list-style: none;
}

.requirement-column-j7n4o li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.requirement-column-j7n4o li:last-child {
    border-bottom: none;
}

.download-cta-section-k8o5p {
    background: var(--gradient-primary);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 40px 0;
}

.download-cta-section-k8o5p h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.download-cta-section-k8o5p p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.download-btn-secondary-l9p6q {
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.download-btn-secondary-l9p6q:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.sidebar-sections-m2q7r {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-section-n3r8s {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.sidebar-title-o4s9t {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.sidebar-list-p5t2u {
    list-style: none;
}

.sidebar-list-p5t2u li {
    margin-bottom: 12px;
}

.sidebar-link-q6u3v {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.sidebar-link-q6u3v:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-r7v4w {
    background: var(--bg-dark);
    color: white;
    padding: 40px 0 20px 0;
    margin-top: 60px;
}

.footer-content-s8w5x {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section-t9x6y h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-section-t9x6y ul {
    list-style: none;
}

.footer-section-t9x6y li {
    margin-bottom: 8px;
}

.footer-section-t9x6y a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section-t9x6y a:hover {
    color: var(--secondary-color);
}

.footer-bottom-u2y7z {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}

@media (max-width: 768px) {
    .desktop-nav-e8f2g {
        display: none !important;
    }
    
    .mobile-menu-btn-s2v6x {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1002;
        width: 44px;
        height: 44px;
        border-radius: 8px;
        background: rgba(255,255,255,0.1);
    }
    
    .mobile-nav-t4y8z.active {
        display: block !important;
    }
    
    .logo-img-r4t9k {
        width: 40px;
        height: 40px;
        padding: 3px;
    }
    
    .game-icon-large-a4b8c {
        width: 100px;
        height: 100px;
        padding: 8px;
    }
    
    .game-info-y6n9p {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .game-title-j5m8o {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .game-content-r5v2w .container-p7n2s {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .game-article-s6w3x {
        padding: 25px;
    }

    .news-page-wcv08 .game-content-r5v2w,
    .news-detail-page-wcv10 {
        padding: 90px 0 40px;
    }

    .news-grid-wcv03 {
        grid-template-columns: 1fr;
    }
    
    .features-grid-x3b8c {
        grid-template-columns: 1fr;
    }
    
    .character-showcase-a6e3f {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid-g4k9l {
        grid-template-columns: 1fr;
    }
    
    .system-requirements-i6m3n {
        grid-template-columns: 1fr;
    }
    
    .footer-content-s8w5x {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .game-info-stats-p3t8u {
        justify-content: center;
    }
    
    .content-image-v9z6a {
        max-width: 100%;
        height: 250px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .container-p7n2s {
        padding: 0 15px;
    }
    
    .game-header-x3l7m {
        padding: 25px 0;
    }
    
    .game-article-s6w3x {
        padding: 20px;
    }
    
    .section-title-t7x4y {
        font-size: 1.5rem;
    }
    
    .game-title-j5m8o {
        font-size: 1.5rem;
    }
    
    .download-cta-section-k8o5p {
        padding: 25px;
    }
}

.loading-animation {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.smooth-scroll {
    scroll-behavior: smooth;
}

.parallax-effect {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-lift:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.glow-effect {
    box-shadow: 0 0 20px rgba(44, 90, 160, 0.3);
    transition: box-shadow 0.3s ease;
}

.glow-effect:hover {
    box-shadow: 0 0 30px rgba(44, 90, 160, 0.5);
} 

.download-btn-primary-o2s7t[role="button"],
.download-btn-secondary-l9p6q[role="button"] {
    cursor: pointer;
}

.download-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(20, 27, 45, 0.62);
}

.download-confirm-dialog {
    position: relative;
    width: min(100%, 420px);
    padding: 32px;
    border-radius: 14px;
    background: var(--bg-color);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
    text-align: center;
}

.download-confirm-dialog h2 {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.download-confirm-dialog p {
    margin-bottom: 24px;
    color: var(--text-light);
}

.download-confirm-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1.7rem;
    line-height: 1;
}

.download-confirm-close:hover {
    background: var(--bg-light);
}

.download-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.download-confirm-actions button {
    min-width: 116px;
    padding: 10px 18px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.download-confirm-cancel {
    background: var(--bg-light);
    color: var(--text-color);
}

.download-confirm-continue {
    background: var(--primary-color);
    color: #fff;
}

.download-confirm-actions button:focus-visible,
.download-confirm-close:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .download-confirm-dialog {
        padding: 28px 20px;
    }

    .download-confirm-actions {
        flex-direction: column-reverse;
    }

    .download-confirm-actions button {
        width: 100%;
    }
}
