/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

html {
    scroll-behavior: smooth;
}

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

/* 导航栏样式 */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
    padding: 5px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
    transition: height 0.3s ease;
}

.navbar.scrolled .nav-container {
    height: 65px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.2rem;
    color: #333;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-logo img {
    height: 35px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #eb7101, #ff9933);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: #eb7101;
}

/* Hero区域样式 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(235, 113, 1, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(235, 113, 1, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 153, 51, 0.06) 0%, transparent 50%);
    animation: backgroundPulse 20s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: #eb7101;
    font-size: 2rem;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.scroll-indicator:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-20px); }
    60% { transform: translateX(-50%) translateY(-10px); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo img {
    height: 100px;
    width: auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #eb7101 0%, #ff9933 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(235, 113, 1, 0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #eb7101;
    color: #fff;
    padding: 18px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(235, 113, 1, 0.3);
}

.cta-button:hover {
    background-color: #d86500;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(235, 113, 1, 0.4);
}

.version-info {
    font-size: 0.9rem;
    color: #666;
}

.version {
    font-weight: 600;
    color: #eb7101;
}

/* 功能展示区域样式 - 滚动动效 */
.features-showcase {
    padding: 120px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    overflow: hidden;
}

.features-showcase .section-title {
    color: #333;
    margin-bottom: 100px;
    font-size: 3rem;
}

.feature-showcase-item {
    margin-bottom: 150px;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-showcase-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

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

.feature-showcase-item.reverse .feature-content {
    direction: rtl;
}

.feature-showcase-item.reverse .feature-text {
    direction: ltr;
}

.feature-text {
    color: #333;
}

.feature-badge {
    display: inline-block;
    background: linear-gradient(135deg, #eb7101, #ff9933);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.feature-text > p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-list i {
    color: #eb7101;
    font-size: 1.2rem;
}

.feature-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
    transform: scale(1);
}

.feature-image:hover {
    transform: scale(1.08) translateY(-15px) rotateZ(2deg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* 功能网格区域样式 */
.features-grid-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.features-grid-section .section-title {
    color: #333;
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
}

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

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.05);
    background: #ffffff;
    border-color: #eb7101;
    box-shadow: 0 25px 50px rgba(235, 113, 1, 0.25);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #eb7101, #ff9933);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
}

.feature-icon i {
    font-size: 2rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* 支持游戏区域样式 */
.games {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.game-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #eb7101, #d86500);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.game-card.poe2::before {
    background: linear-gradient(45deg, #8B4513, #A0522D);
}

.game-card.lostark::before {
    background: linear-gradient(45deg, #4169E1, #1E90FF);
}

.game-card.throne::before {
    background: linear-gradient(45deg, #FFD700, #FFA500);
}

.game-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #eb7101, #d86500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.game-card.poe2 .game-icon {
    background: linear-gradient(135deg, #8B4513, #A0522D);
}

.game-card.lostark .game-icon {
    background: linear-gradient(135deg, #4169E1, #1E90FF);
}

.game-card.throne .game-icon {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.game-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.game-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.game-card p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.game-features span {
    background-color: #f0f0f0;
    color: #666;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.system-requirements {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.system-requirements h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.system-requirements h3 i {
    color: #eb7101;
}

.req-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.req-list span {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #666;
}

.req-list i {
    color: #eb7101;
}

/* 下载区域样式 */
.download-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.download-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: #ffffff;
    border: 2px solid #e9ecef;
    padding: 80px 60px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-box.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.download-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #eb7101 0%, #ff9933 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
}

.download-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding: 40px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
}

.download-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid #e9ecef;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #eb7101 0%, #ff9933 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #666;
}

.download-info {
    text-align: left;
}

.version-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.version-label {
    background-color: #eb7101;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.version-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.download-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.download-details span {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-details i {
    color: #eb7101;
    width: 16px;
}

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

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #eb7101;
    color: #fff;
    padding: 18px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(235, 113, 1, 0.3);
    margin-bottom: 15px;
}

.download-btn:hover {
    background-color: #d86500;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(235, 113, 1, 0.4);
}

.download-note {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.download-alternatives {
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
}

.download-alternatives h4 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.1rem;
}

.alt-downloads {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.alt-download {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.alt-download:hover {
    border-color: #eb7101;
    color: #eb7101;
}

/* 页脚样式 */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-logo img {
    height: 30px;
    width: auto;
}

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

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #eb7101;
}

.footer-logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.footer-logo-section img {
    height: 40px;
    width: auto;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 15px;
}

.footer-beian {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.footer-beian a {
    color: #999;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-beian a:hover {
    color: #eb7101;
}

/* 平滑过渡和动画 */
.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

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

/* 响应式设计 */
@media (max-width: 1024px) {
    .feature-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .feature-showcase-item.reverse .feature-content {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        min-height: 90vh;
        padding: 100px 0 60px;
    }

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

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

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

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

    .features-showcase {
        padding: 80px 0;
    }

    .feature-showcase-item {
        margin-bottom: 80px;
    }

    .feature-text h3 {
        font-size: 1.8rem;
    }

    .feature-text > p {
        font-size: 1rem;
    }

    .feature-list li {
        font-size: 0.95rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-card {
        padding: 30px 25px;
    }

    .download-box {
        padding: 50px 30px;
    }

    .download-main {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

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

    .download-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

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

    .download-box {
        padding: 40px 20px;
    }

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

/* 旧版样式保留（下载消息等） */
.download-message {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 15px 20px;
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.download-message.show {
    transform: translateY(0);
    opacity: 1;
}

.download-message-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.download-message i.fa-download {
    font-size: 1.5rem;
    color: #eb7101;
}

.download-message p {
    margin: 0;
    font-size: 0.95rem;
}

.close-message {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 5px;
}

.close-message:hover {
    color: #333;
}