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

body {
    font-family: 'Noto Sans SC', 'Inter', sans-serif;
    line-height: 1.7;
    color: #333;
    background: #ffffff;
    font-size: 16px;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

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

.nav-logo h2 {
    color: #2563eb;
    font-weight: 600;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #2563eb;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

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

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.lang-link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.lang-link:hover {
    color: #2563eb;
}

.lang-current {
    color: #2563eb;
    font-weight: 600;
}

.lang-separator {
    color: #d1d5db;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主标题区域 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

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

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #1f2937;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 3rem;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* 游戏介绍 */
.game-intro {
    padding: 80px 0;
    background: #ffffff;
}

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

.intro-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
}

/* 功能介绍模块 */
.features {
    padding: 80px 0;
    background: #f8fafc;
}

.features h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3rem;
}

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

.feature-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.feature-content p {
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.feature-content li {
    padding: 0.5rem 0;
    color: #6b7280;
    position: relative;
    padding-left: 1.5rem;
}

.feature-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* 使用教程模块 */
.tutorial {
    padding: 80px 0;
    background: #ffffff;
}

.tutorial h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3rem;
    line-height: 1.2;
}

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

.tutorial-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.step-content p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.tutorial-tips {
    background: #fef3c7;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
    margin-top: 1.5rem;
}

.tutorial-tips h4 {
    color: #92400e;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tutorial-tips ul {
    list-style: none;
    padding: 0;
}

.tutorial-tips li {
    color: #92400e;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.tutorial-tips li::before {
    content: '⚠';
    position: absolute;
    left: 0;
}

.tutorial-image-placeholder {
    background: #e5e7eb;
    padding: 3rem;
    text-align: center;
    border-radius: 8px;
    margin: 1.5rem 0;
    color: #6b7280;
    font-size: 1.1rem;
}

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

.strategy-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.strategy-item h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.strategy-item p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* FAQ模块 */
.faq {
    padding: 80px 0;
    background: #f8fafc;
}

.faq h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3rem;
}

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

.faq-item {
    background: #ffffff;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem 2rem;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.faq-answer {
    padding: 1.5rem 2rem;
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

/* 用户证言模块 */
.testimonials {
    padding: 80px 0;
    background: #ffffff;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3rem;
}

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

.testimonial-item {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: #6b7280;
    font-size: 0.9rem;
}

.rating {
    color: #f59e0b;
    font-size: 1.2rem;
}

/* 总结与行动号召 */
.conclusion {
    padding: 80px 0;
    background: #f8fafc;
}

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

.conclusion h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
}

.conclusion p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cta-section {
    background: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-top: 3rem;
}

.cta-section h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

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

.cta-stat .number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.cta-stat .label {
    color: #6b7280;
    font-size: 0.9rem;
}

/* 页脚 */
.footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-section:last-child ul {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-section:last-child ul li {
    margin-bottom: 0;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section ul li a:hover {
    color: #2563eb;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* 稀有度链接样式 */
.rarity-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.rarity-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.rarity-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    border-color: #d1d5db;
}

.rarity-link:active {
    transform: translateY(0);
}

/* 稀有度图标颜色 */
.rarity-link.common {
    border-left: 4px solid #9ca3af;
}

.rarity-link.common:hover {
    border-left-color: #6b7280;
    background: #f9fafb;
}

.rarity-link.rare {
    border-left: 4px solid #3b82f6;
}

.rarity-link.rare:hover {
    border-left-color: #2563eb;
    background: #eff6ff;
}

.rarity-link.epic {
    border-left: 4px solid #8b5cf6;
}

.rarity-link.epic:hover {
    border-left-color: #7c3aed;
    background: #f5f3ff;
}

.rarity-link.legendary {
    border-left: 4px solid #f97316;
}

.rarity-link.legendary:hover {
    border-left-color: #ea580c;
    background: #fff7ed;
}

.rarity-link.mythic {
    border-left: 4px solid #ef4444;
}

.rarity-link.mythic:hover {
    border-left-color: #dc2626;
    background: #fef2f2;
}

.rarity-link.god {
    border-left: 4px solid #fbbf24;
}

.rarity-link.god:hover {
    border-left-color: #f59e0b;
    background: #fffbeb;
}

.rarity-link.secret {
    border-left: 4px solid #6b7280;
}

.rarity-link.secret:hover {
    border-left-color: #4b5563;
    background: #f9fafb;
}

/* 游戏链接样式 */
.game-link {
    display: inline-block;
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    margin: 1rem 0;
}

.game-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
    color: white;
}

.game-link:active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .tutorial h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
}

@media (max-width: 768px) {
    .rarity-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .rarity-card {
        padding: 15px;
    }
    
    .rarity-icon {
        font-size: 2rem;
        width: 50px;
        height: 50px;
        margin-right: 12px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 2rem 0;
        border-top: 1px solid #e5e5e5;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tutorial h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .tutorial-step {
        flex-direction: row;
        text-align: left;
        gap: 1.5rem;
    }
    
    .step-number {
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-stats {
        gap: 2rem;
    }
    
    .strategy-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .features h2,
    .tutorial h2,
    .faq h2,
    .testimonials h2,
    .conclusion h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .tutorial-step {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
    }
    
    .feature-item,
    .testimonial-item {
        padding: 1.5rem;
    }
    
    .cta-section {
        padding: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 选中文本样式 */
::selection {
    background: #dbeafe;
    color: #1e40af;
}