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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.logo h1 a {
    color: #fff;
    text-decoration: none;
    display: block;
}

.logo .slogan {
    font-size: 14px;
    color: #b8b8b8;
}

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

.nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav ul li a:hover,
.nav ul li a.active {
    background-color: #e74c3c;
    color: #fff;
}

.search form {
    display: flex;
    gap: 10px;
}

.search input {
    padding: 10px 15px;
    border: 1px solid #34495e;
    border-radius: 4px;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 14px;
    width: 200px;
}

.search input::placeholder {
    color: #b8b8b8;
}

.search button {
    padding: 10px 20px;
    background-color: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search button:hover {
    background-color: #c0392b;
}

/* 公告区域 */
.announcement {
    background-color: #e74c3c;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    font-weight: 500;
}

/* 通用部分样式 */
.section-title {
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
}

.section-title .icon {
    font-size: 28px;
}

/* 今日开服 */
.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.server-item {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.server-time {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.server-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.server-type {
    font-size: 14px;
    color: #e74c3c;
    margin-bottom: 10px;
}

.server-feature {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.server-count {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.server-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-primary {
    background-color: #e74c3c;
    color: #fff;
}

.btn-primary:hover {
    background-color: #c0392b;
}

.btn-secondary {
    background-color: #3498db;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #2980b9;
}

.more-link {
    text-align: center;
    margin: 30px 0;
}

.more-link a {
    color: #e74c3c;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.more-link a:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* 未来开服计划 */
.future-servers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.future-server {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.future-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.future-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 5px;
}

.future-status {
    font-size: 14px;
    color: #e74c3c;
    font-weight: 500;
}

/* 新服深度解析 */
.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.analysis-item {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.analysis-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.analysis-version {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.analysis-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.analysis-feature {
    font-size: 14px;
    color: #e74c3c;
    margin-bottom: 15px;
}

.read-more {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* 版本对比评测 */
.comparison-table {
    margin: 30px 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table th {
    background-color: #1a1a2e;
    color: #fff;
    font-weight: 600;
}

.comparison-table tr:hover {
    background-color: #f9f9f9;
}

.comparison-table a {
    color: #3498db;
    text-decoration: none;
    transition: all 0.3s ease;
}

.comparison-table a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* 玩法秘籍 */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.guide-item {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

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

.guide-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.guide-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.guide-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.guide-stats {
    font-size: 14px;
    color: #e74c3c;
    margin-bottom: 15px;
}

/* 玩家讨论区 */
.discussion-list {
    margin: 30px 0;
}

.discussion-item {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.discussion-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.discussion-content {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}

.discussion-author {
    font-size: 12px;
    color: #999;
}

/* 常见问题 */
.faq-list {
    margin: 30px 0;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.faq-answer {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-info p {
    font-size: 14px;
    color: #b8b8b8;
    margin-bottom: 15px;
    line-height: 1.5;
}

.footer-contact p {
    margin-bottom: 5px;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #b8b8b8;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: #e74c3c;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #b8b8b8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .search input {
        width: 150px;
    }
    
    .servers-grid,
    .analysis-grid,
    .guides-grid {
        grid-template-columns: 1fr;
    }
    
    .future-servers {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .server-actions {
        flex-direction: column;
    }
    
    .search form {
        flex-direction: column;
    }
    
    .search input {
        width: 100%;
    }
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title,
.server-item,
.analysis-item,
.guide-item,
.discussion-item,
.faq-item {
    animation: fadeIn 0.5s ease-out forwards;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #c0392b;
}
