* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    min-height: 100vh;
}

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

header {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    white-space: nowrap;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffd700;
}

nav a br {
    display: none;
}

.hero {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 100%);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.hero p {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: #000;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

.game-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

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

.info-item span {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #ffd700;
}

.info-item p {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #ffd700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
}

.game-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, background 0.3s;
}

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

.feature-card h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 20px;
}

.feature-card p {
    color: #ccc;
    line-height: 1.8;
}

.game-intro img {
    width: 100%;
    max-width: 800px;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.game-intro p {
    text-align: center;
    line-height: 1.8;
    color: #ccc;
    font-size: 16px;
}

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

.guide-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.guide-card:hover {
    transform: translateY(-5px);
}

.guide-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.guide-card .content {
    padding: 20px;
}

.guide-card h3 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 18px;
}

.guide-card p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
}

.hero-guide {
    background: rgba(255, 215, 0, 0.05);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.hero-guide h3 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 24px;
}

.hero-guide .hero-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.hero-guide .hero-header img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
}

.hero-guide .hero-info {
    flex: 1;
}

.hero-guide .hero-info h4 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 5px;
}

.hero-guide .hero-info p {
    color: #ffd700;
    font-size: 14px;
}

.skill-section {
    margin-bottom: 20px;
}

.skill-section h4 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 16px;
    border-left: 4px solid #ffd700;
    padding-left: 10px;
}

.skill-section p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 5px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.team-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.team-card .content {
    padding: 15px;
}

.team-card h3 {
    color: #ffd700;
    margin-bottom: 8px;
    font-size: 16px;
}

.team-card p {
    color: #ccc;
    font-size: 13px;
    line-height: 1.5;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s, opacity 0.3s;
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    color: #999;
    font-size: 14px;
}

.game-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.detail-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item span {
    color: #ffd700;
    font-weight: bold;
}

.detail-item p {
    color: #ccc;
    font-size: 14px;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .game-features {
        grid-template-columns: 1fr;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    nav ul {
        gap: 8px;
        flex-wrap: nowrap;
    }

    nav li {
        width: 36px;
        text-align: center;
    }

    nav a {
        font-size: 13px;
        line-height: 1.5;
    }

    nav a br {
        display: block;
    }

    .logo {
        font-size: 18px;
    }

    .modal-content {
        width: 80%;
        max-width: 300px;
        padding: 30px 20px;
    }

    .modal-content h3 {
        font-size: 24px;
    }

    .modal-content p {
        font-size: 14px;
    }

    .modal-icon {
        font-size: 40px;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
    animation: slideUp 0.3s ease;
    max-width: 400px;
    width: 90%;
}

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

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.close-btn:hover {
    color: #ffd700;
}

.modal-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.modal-content h3 {
    color: #ffd700;
    font-size: 28px;
    margin-bottom: 15px;
}

.modal-content p {
    color: #ccc;
    font-size: 16px;
    line-height: 1.6;
}