/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 鼠标点击动画 */
.click-animation {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 124, 255, 0.5);
    animation: clickEffect 0.5s ease-out forwards;
    pointer-events: none;
    z-index: 9999;
}

@keyframes clickEffect {
    0% {
        transform: scale(0.1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* 基础样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航栏 */
.header {
    background-color: #000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    display: block;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav li {
    margin-left: 30px;
    position: relative;
}

.nav a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s;
    position: relative;
    display: block;
    padding: 10px 0;
}

.nav a:hover,
.nav a.active {
    color: #007CFF;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #007CFF;
    transition: width 0.3s;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

/* 下拉菜单 */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 4px;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: #007CFF;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    color: #007CFF;
}

/* 主视觉区域 */
.hero {
    background: #000;
    color: #fff;
    padding: 160px 0 120px;
    text-align: center;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.snow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.snowflake {
    position: absolute;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    animation: fall linear forwards;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    padding-bottom: 50px;
}

.hero-title {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: 20px;
    color: #ccc;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: #007CFF;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0066cc;
}

.btn-outline {
    background-color: transparent;
    color: #007CFF;
    border-color: #007CFF;
}

.btn-outline:hover {
    background-color: rgba(0, 124, 255, 0.05);
}

/* 服务器状态 */
.server-status-section {
    background-color: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.status-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-label {
    margin-right: 10px;
    font-weight: 500;
    color: #666;
}

.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.status-indicator.online {
    background-color: #00C179;
}

.status-text {
    font-weight: 500;
    color: #666;
}

/* 区块样式 */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 400;
    color: #000;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.bg-light {
    background-color: #f8f9fa;
}

/* 信息网格 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #000;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    margin-right: 10px;
    min-width: 100px;
}

.game-modes .mode-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.game-modes .mode-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.mode-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #000;
    font-weight: 500;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 8px 0 8px 20px;
    position: relative;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    width: 6px;
    height: 6px;
    background-color: #007CFF;
    border-radius: 50%;
}

.join-steps {
    padding-left: 0;
    counter-reset: step-counter;
    list-style: none;
}

.join-steps li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.join-steps li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: #007CFF;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
}

.join-steps li:last-child {
    margin-bottom: 0;
}

.join-steps strong {
    color: #007CFF;
    font-weight: 500;
}

/* 社区网格 */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.community-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.community-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #000;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.highlight {
    font-weight: 500;
    color: #007CFF;
    margin: 20px 0;
    font-size: 18px;
}

.qrcode {
    max-width: 150px;
    margin: 20px auto;
    display: block;
    border: 1px solid #eee;
    padding: 10px;
}

/* 活动区域 */
.activities h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #000;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.activity-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.activity-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #000;
    font-weight: 500;
}

/* 联系方式网格 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.contact-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #000;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.contact-list {
    list-style: none;
    margin-top: 15px;
    padding-left: 0;
}

.contact-list li {
    padding: 8px 0 8px 20px;
    position: relative;
}

.contact-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    width: 6px;
    height: 6px;
    background-color: #007CFF;
    border-radius: 50%;
}

/* 致谢名单 */
.credits-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 100px;
}

.credits-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #000;
    font-weight: 500;
    text-align: center;
}

.credits-list {
    list-style: none;
    padding-left: 0;
    text-align: center;
}

.credits-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.credits-list li:last-child {
    border-bottom: none;
}

.credits-list li::before {
    content: '•';
    color: #007CFF;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* 友商推荐 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.partner-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.partner-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #000;
    font-weight: 500;
}

/* 页脚 */
.footer {
    background-color: #000;
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.footer-content p {
    margin: 10px 0;
    color: #aaa;
    font-size: 14px;
}

/* 音乐播放器 */
.music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.music-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 1px solid #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.music-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.music-btn.playing {
    background: rgba(0, 124, 255, 0.7);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: row;
        padding: 15px 0;
        align-items: center;
    }
    
    .nav ul {
        margin-top: 0;
    }
    
    .nav li {
        margin: 0 10px;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .info-grid,
    .community-grid,
    .activity-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-card,
    .community-card,
    .activity-card,
    .contact-card {
        padding: 20px;
    }
    
    .community-card {
        padding: 30px 20px;
    }
    
    .footer {
        padding: 30px 0;
    }
}