/* ============================================
   传奇私服网站 - 完整CSS样式文件
   包含：基础样式 + 增强样式 + 响应式样式
============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

a:hover {
    color: #e74c3c;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

main {
    flex: 1;
}

/* 2. 动画定义 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 3. 动画类 */
.animate-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
}

/* 4. 按钮样式 */
.btn-primary, .btn-play, .btn-download, .btn-confirm, .btn-apply {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover, .btn-play:hover, .btn-download:hover, 
.btn-confirm:hover, .btn-apply:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary:active, .btn-play:active, .btn-download:active,
.btn-confirm:active, .btn-apply:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-login, .btn-register {
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
    margin-left: 10px;
    font-size: 0.9rem;
}

.btn-login {
    border: 2px solid #3498db;
    color: #3498db;
    background: transparent;
}

.btn-login:hover {
    background: #3498db;
    color: white;
}

.btn-register {
    background: #3498db;
    color: white;
    border: 2px solid #3498db;
}

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

.btn-details, .btn-do-compare {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
    background: white;
}

.btn-details:hover, .btn-do-compare:hover:not(:disabled) {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.2);
}

.btn-details:active, .btn-do-compare:active:not(:disabled) {
    transform: translateY(0);
}

.btn-download-small {
    padding: 8px 16px;
    background: #3498db;
    color: white;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-download-small:hover {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(52, 152, 219, 0.2);
}

.btn-reset, .btn-clear-compare, .btn-cancel {
    padding: 8px 20px;
    background: #95a5a6;
    color: white;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-reset:hover, .btn-clear-compare:hover, .btn-cancel:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(149, 165, 166, 0.2);
}

.btn-compare {
    padding: 6px 12px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-compare:hover {
    background: #e3f2fd;
    border-color: #3498db;
    color: #3498db;
}

.btn-compare.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

.btn-remove-compare {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-remove-compare:hover {
    color: #c0392b;
    transform: translateY(-50%) scale(1.2);
}

.btn-advanced-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #555;
    transition: all 0.3s;
    margin-left: 10px;
}

.btn-advanced-filter:hover {
    background: #e9ecef;
    border-color: #3498db;
    color: #3498db;
}

.btn-close-compare, .modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #95a5a6;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-close-compare:hover, .modal-close:hover {
    color: #e74c3c;
    transform: scale(1.1);
}

.disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
    pointer-events: none;
}

/* 5. 头部导航 */
.header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    background-color: rgba(44, 62, 80, 0.95);
}

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s;
}

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

.main-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: white;
    font-weight: 600;
    padding: 8px 0;
    position: relative;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-nav a:hover, .main-nav a.active {
    color: #e74c3c;
}

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

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

.user-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s;
    display: block;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -6px);
}

/* 6. 英雄轮播区 */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 500px;
    margin-bottom: 40px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slider-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.8);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    border-left: 4px solid #e74c3c;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 2rem;
    transition: all 0.3s;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.slider-prev:hover, .slider-next:hover {
    background: rgba(231, 76, 60, 0.8);
    border-color: #e74c3c;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 2;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: #e74c3c;
    border-color: white;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.8);
    transform: scale(1.2);
}

/* 7. 通用部分样式 */
.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
    border-radius: 2px;
}

/* 8. 特色服务器 */
.featured-servers {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.featured-servers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/631599/pattern.png') repeat;
    opacity: 0.05;
    z-index: 1;
}

.featured-servers .container {
    position: relative;
    z-index: 2;
}

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

.server-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.6s ease-out forwards;
    animation-delay: calc(var(--delay, 0) * 0.1s);
}

.server-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #e74c3c;
}

.server-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.server-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.server-card:hover .server-image img {
    transform: scale(1.1) rotate(2deg);
}

.server-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.server-status.online {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.server-status.offline {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.server-info {
    padding: 25px;
    position: relative;
}

.server-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #2c3e50;
    font-weight: 700;
}

.server-info h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.server-info h3 a:hover {
    color: #e74c3c;
}

.server-desc {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    min-height: 60px;
}

.server-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #777;
    padding: 12px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.server-version, .server-players {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.server-version::before {
    content: '📦';
    font-size: 1.1rem;
}

.server-players::before {
    content: '👥';
    font-size: 1.1rem;
}

/* 9. 特色功能 */
.features {
    padding: 80px 0;
    background: white;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #e74c3c, #3498db, #2ecc71);
}

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

.feature {
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(52, 152, 219, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #e74c3c;
}

.feature:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e74c3c;
    padding: 15px;
    background: white;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.2);
    transition: all 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(231, 76, 60, 0.3);
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.feature h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.feature h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #e74c3c;
    border-radius: 2px;
    transition: width 0.3s;
}

.feature:hover h3::after {
    width: 60px;
}

.feature p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 10. 最新开区 */
.latest-servers {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.latest-servers .section-title {
    color: white;
    position: relative;
    z-index: 2;
}

.latest-servers .section-title::after {
    background: linear-gradient(90deg, #e74c3c, #3498db);
}

.latest-servers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/631599/pattern-dark.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.news-list {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.news-item {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid #e74c3c;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2), rgba(52, 152, 219, 0.2));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.news-item:hover {
    transform: translateX(10px);
    border-color: #e74c3c;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.news-item:hover::before {
    opacity: 1;
}

.news-date {
    text-align: center;
    margin-right: 25px;
    min-width: 80px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.news-date .day {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #e74c3c;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 5px;
}

.news-date .month {
    color: #bdc3c7;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 4px;
}

.news-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.news-content h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
    font-weight: 700;
}

.news-content h3 a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.news-content h3 a:hover {
    color: #e74c3c;
}

.news-content p {
    color: #bdc3c7;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.news-meta {
    display: flex;
    gap: 30px;
    font-size: 0.85rem;
    color: #95a5a6;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-meta span::before {
    font-size: 1.1rem;
}

/* 11. 页脚 */
.footer {
    background: linear-gradient(135deg, #2c3e50, #1a252f);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #e74c3c, #3498db, #2ecc71);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e74c3c;
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #3498db;
    transition: width 0.3s;
}

.footer-section:hover h3::after {
    width: 100px;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

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

.footer-section ul li a {
    color: #bdc3c7;
    transition: all 0.3s;
    font-size: 0.95rem;
    display: inline-block;
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s;
}

.footer-section ul li a:hover {
    color: #e74c3c;
    padding-left: 10px;
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s;
}

.footer-section ul li a:hover::before {
    left: 0;
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
}

/* 12. 服务器列表页特定样式 */
.servers-page {
    padding: 40px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: calc(100vh - 300px);
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid #e74c3c;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #e74c3c, #3498db, #2ecc71);
}

.page-header h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.page-header p {
    color: #666;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.server-filter {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(231, 76, 60, 0.1);
}

.filter-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-btn {
    padding: 10px 20px;
    background: #f8f9fa;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    color: #555;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    background: #e9ecef;
    border-color: #3498db;
    color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border-color: #e74c3c;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    transform: translateY(-2px);
}

.search-box {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 1;
    max-width: 400px;
    margin-left: auto;
}

.search-box input {
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 6px;
    width: 100%;
    background: white;
    transition: all 0.3s;
    font-size: 1rem;
    color: #333;
}

.search-box input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
}

.search-box input::placeholder {
    color: #95a5a6;
}

.search-box button {
    padding: 12px 25px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    white-space: nowrap;
}

.search-box button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.servers-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.server-item {
    display: grid;
    grid-template-columns: 60px 120px 2fr 1fr 200px;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.server-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #e74c3c, #3498db);
    opacity: 0;
    transition: opacity 0.4s;
}

.server-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: rgba(231, 76, 60, 0.3);
}

.server-item:hover::before {
    opacity: 1;
}

.server-rank {
    font-size: 1.8rem;
    font-weight: 800;
    color: #e74c3c;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(231, 76, 60, 0.2);
    min-width: 60px;
}

.server-image {
    position: relative;
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.server-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.server-item:hover .server-image img {
    transform: scale(1.1) rotate(2deg);
}

.server-details {
    padding-right: 20px;
}

.server-details h3 {
    margin-bottom: 8px;
    font-size: 1.3rem;
    color: #2c3e50;
    font-weight: 700;
}

.server-details h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.server-details h3 a:hover {
    color: #e74c3c;
}

.server-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.server-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tag-retro { 
    background: linear-gradient(135deg, #3498db, #2980b9); 
}
.tag-slight { 
    background: linear-gradient(135deg, #2ecc71, #27ae60); 
}
.tag-combo { 
    background: linear-gradient(135deg, #9b59b6, #8e44ad); 
}
.tag-extreme { 
    background: linear-gradient(135deg, #e74c3c, #c0392b); 
}
.tag-hot { 
    background: linear-gradient(135deg, #f39c12, #e67e22); 
}
.tag-new { 
    background: linear-gradient(135deg, #1abc9c, #16a085); 
}
.tag-popular { 
    background: linear-gradient(135deg, #e67e22, #d35400); 
}
.tag-safe { 
    background: linear-gradient(135deg, #2ecc71, #27ae60); 
}
.tag-recommended { 
    background: linear-gradient(135deg, #e74c3c, #c0392b); 
}

.server-info {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.server-version, .server-online {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.server-online .online-count {
    color: #2ecc71;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(46, 204, 113, 0.2);
    transition: all 0.3s;
}

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

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    padding: 20px 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.page-link {
    padding: 10px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    min-width: 45px;
    text-align: center;
}

.page-link:hover:not(.active) {
    background: #f8f9fa;
    border-color: #3498db;
    color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.2);
}

.page-link.active {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border-color: #e74c3c;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    transform: translateY(-2px);
}

.page-link.next {
    padding: 10px 20px;
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.page-link.next:hover {
    background: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

/* 13. 高级筛选面板 */
.advanced-filter-panel {
    display: none;
    width: 100%;
    background: white;
    border: 2px solid #3498db;
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: scaleIn 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

.advanced-filter-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
}

.advanced-filter-panel.active {
    display: block;
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-group h4 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group h4::before {
    content: '🔍';
    font-size: 1.2rem;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px 0;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #555;
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 2px solid #eee;
    transition: all 0.3s;
    user-select: none;
}

.filter-options label:hover {
    background: #e9ecef;
    border-color: #3498db;
    color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.2);
}

.filter-options input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #3498db;
}

.filter-options input[type="checkbox"]:checked + span {
    font-weight: 600;
    color: #3498db;
}

.filter-options label:has(input[type="checkbox"]:checked) {
    background: #e3f2fd;
    border-color: #3498db;
    color: #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.filter-actions {
    display: flex;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.result-count {
    width: 100%;
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 8px;
    margin-top: 20px;
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
    border: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.result-count::before {
    content: '📊';
    font-size: 1.2rem;
}

/* 14. 排序容器 */
.sort-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(52, 152, 219, 0.1);
}

.sort-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sort-select {
    padding: 10px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    min-width: 200px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5l-5-5h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.sort-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
}

.sort-select:hover {
    border-color: #3498db;
    background-color: #f8f9fa;
}

/* 15. 对比功能 */
.compare-bar {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, white, #f8f9fa);
    border-top: 3px solid #3498db;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 9999;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px 20px 0 0;
}

.compare-bar.active {
    bottom: 0;
}

.compare-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.compare-header h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.compare-header h4::before {
    content: '⚖️';
    font-size: 1.5rem;
}

.compare-items {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    max-height: 120px;
    overflow-y: auto;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.compare-items::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.compare-items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.compare-items::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 4px;
}

.compare-items::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

.compare-item {
    position: relative;
    background: white;
    border: 2px solid #3498db;
    border-radius: 8px;
    padding: 10px 35px 10px 15px;
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.1);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.compare-item::before {
    content: '🎮';
    font-size: 1.1rem;
}

.compare-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.2);
    border-color: #2980b9;
}

.compare-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: center;
}

.btn-do-compare:disabled {
    background: #bdc3c7;
    border-color: #bdc3c7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* 16. 下载中心页样式 */
.download-page .hero-banner {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.7)), url('../images/631599/download-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 120px 0;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.download-page .hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2), rgba(52, 152, 219, 0.2));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 25px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-intro {
    margin-bottom: 60px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid #e74c3c;
    position: relative;
    overflow: hidden;
}

.download-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #e74c3c, #3498db, #2ecc71);
}

.download-intro h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 20px;
}

.download-intro h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
    border-radius: 2px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    counter-reset: step;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    counter-increment: step;
}

.step::before {
    content: counter(step);
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #e74c3c;
    background: white;
}

.step h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
    padding-top: 20px;
}

.step p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.download-section {
    margin-bottom: 60px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(52, 152, 219, 0.1);
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
}

.download-section .section-title {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.download-section .section-title::after {
    left: 0;
    transform: none;
}

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

.download-card {
    border: 2px solid #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    position: relative;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #3498db;
}

.download-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-bottom: 2px solid #e9ecef;
    min-height: 100px;
}

.download-header h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
}

.download-tag {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    margin-left: 15px;
}

.download-content {
    padding: 25px;
    flex: 1;
}

.download-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
    min-height: 60px;
}

.download-features {
    list-style: none;
    margin-top: 20px;
    padding: 0;
}

.download-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-features li:last-child {
    border-bottom: none;
}

.download-features li::before {
    content: '✓';
    color: #2ecc71;
    font-weight: bold;
    font-size: 1.1rem;
    min-width: 20px;
}

.download-actions {
    padding: 25px;
    display: flex;
    gap: 15px;
    border-top: 2px solid #e9ecef;
    background: #f8f9fa;
}

.patches-list, .launcher-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.patch-item, .launcher-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #3498db;
    transition: all 0.4s;
    border: 2px solid #e9ecef;
}

.patch-item:hover, .launcher-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
    background: white;
}

.patch-info h3, .launcher-header h3 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 700;
}

.patch-info p, .launcher-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.patch-meta, .launcher-meta {
    display: flex;
    gap: 25px;
    font-size: 0.9rem;
    color: #777;
    font-weight: 500;
}

.patch-meta span, .launcher-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.patch-meta span::before, .launcher-meta span::before {
    font-size: 1.1rem;
}

.patch-actions, .launcher-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.launcher-card {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
}

.launcher-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.launcher-content {
    width: 100%;
}

.launcher-actions {
    width: 100%;
    text-align: right;
}

.guide-section {
    margin-bottom: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(52, 152, 219, 0.2);
}

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

.guide-step {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #e74c3c;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.guide-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-left-color: #3498db;
}

.guide-step h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    position: relative;
}

.guide-step h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #e74c3c;
    transition: width 0.3s;
}

.guide-step:hover h3::after {
    width: 100px;
}

.guide-step ol {
    margin-left: 20px;
    color: #666;
    counter-reset: item;
}.guide-step li {
    margin-bottom: 12px;
    padding-left: 10px;
    position: relative;
    counter-increment: list;
    line-height: 1.7;
}

.guide-step li::before {
    content: counter(list) ". ";
    position: absolute;
    left: -20px;
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.1rem;
}

/* 17. 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.modal.active {
    display: flex;
    opacity: 1;
    animation: modalFadeIn 0.3s ease-out;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 3px solid #3498db;
    position: relative;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    border-bottom: 3px solid #3498db;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-body {
    padding: 30px;
    flex: 1;
    overflow-y: auto;
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

.modal-body p {
    margin-bottom: 20px;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

#fileName, #fileSize, #fileType {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(231, 76, 60, 0.2);
}

.modal-footer {
    padding: 20px 30px;
    display: flex;
    gap: 15px;
    border-top: 2px solid #eee;
    background: #f8f9fa;
    justify-content: flex-end;
}

/* 18. 服务器详情模态框样式 */
.server-detail-content {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.server-detail-content::-webkit-scrollbar {
    width: 8px;
}

.server-detail-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.server-detail-content::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 4px;
}

.server-detail-content::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 3px solid #3498db;
}

.detail-header h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
}

.detail-header .server-status {
    position: static;
    transform: none;
    padding: 8px 20px;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.detail-info {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
}

.detail-info p {
    margin: 12px 0;
    color: #555;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.6;
}

.detail-info strong {
    color: #2c3e50;
    min-width: 120px;
    display: inline-block;
    font-weight: 600;
    font-size: 1rem;
}

.detail-info a {
    color: #3498db;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.detail-info a:hover {
    color: #e74c3c;
    text-decoration: underline;
}

.detail-description, .detail-features {
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.detail-description h5, .detail-features h5 {
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-description h5::before {
    content: '📋';
    font-size: 1.5rem;
}

.detail-features h5::before {
    content: '⭐';
    font-size: 1.5rem;
}

.detail-description p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

.detail-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.detail-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.6;
}

.detail-features li:last-child {
    border-bottom: none;
}

.detail-features li::before {
    content: '✓';
    color: #2ecc71;
    font-weight: bold;
    font-size: 1.2rem;
    min-width: 20px;
    text-shadow: 0 2px 4px rgba(46, 204, 113, 0.3);
}

.detail-actions {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-top: 2px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
    justify-content: center;
}

/* 19. 在线总人数样式 */
.total-online {
    text-align: center;
    font-size: 1.3rem;
    color: #2ecc71;
    font-weight: bold;
    margin-top: 20px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border-left: 5px solid #2ecc71;
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.2);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.total-online::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(39, 174, 96, 0.1));
    z-index: 1;
}

.total-online span {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: block;
    font-size: 2.2rem;
    margin-top: 5px;
    letter-spacing: 1px;
}

/* 20. 工具类 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-bold { font-weight: bold; }
.text-italic { font-style: italic; }
.text-uppercase { text-transform: uppercase; }
.text-lowercase { text-transform: lowercase; }
.text-capitalize { text-transform: capitalize; }

.mt-0 { margin-top: 0; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }

.mb-0 { margin-bottom: 0; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }

.pt-0 { padding-top: 0; }
.pt-10 { padding-top: 10px; }
.pt-20 { padding-top: 20px; }
.pt-30 { padding-top: 30px; }
.pt-40 { padding-top: 40px; }
.pt-50 { padding-top: 50px; }

.pb-0 { padding-bottom: 0; }
.pb-10 { padding-bottom: 10px; }
.pb-20 { padding-bottom: 20px; }
.pb-30 { padding-bottom: 30px; }
.pb-40 { padding-bottom: 40px; }
.pb-50 { padding-bottom: 50px; }

.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }
.align-center { align-items: center; }
.align-stretch { align-items: stretch; }

.w-100 { width: 100%; }
.w-75 { width: 75%; }
.w-50 { width: 50%; }
.w-25 { width: 25%; }
.h-100 { height: 100%; }
.h-auto { height: auto; }

.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }
.position-sticky { position: sticky; }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-scroll { overflow: scroll; }

.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }

.user-select-none { user-select: none; }
.user-select-text { user-select: text; }
.user-select-all { user-select: all; }

.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

.transition { transition: all 0.3s ease; }
.transition-fast { transition: all 0.15s ease; }
.transition-slow { transition: all 0.5s ease; }

.transform-scale-1 { transform: scale(1); }
.transform-scale-1-1 { transform: scale(1.1); }
.transform-scale-0-9 { transform: scale(0.9); }
.transform-rotate-0 { transform: rotate(0deg); }
.transform-rotate-90 { transform: rotate(90deg); }
.transform-rotate-180 { transform: rotate(180deg); }
.transform-rotate-270 { transform: rotate(270deg); }
.transform-translate-y-0 { transform: translateY(0); }
.transform-translate-y-5 { transform: translateY(5px); }
.transform-translate-y-10 { transform: translateY(10px); }
.transform-translate-x-0 { transform: translateX(0); }
.transform-translate-x-5 { transform: translateX(5px); }
.transform-translate-x-10 { transform: translateX(10px); }

.z-index-0 { z-index: 0; }
.z-index-1 { z-index: 1; }
.z-index-10 { z-index: 10; }
.z-index-100 { z-index: 100; }
.z-index-1000 { z-index: 1000; }

/* 21. 滚动条美化 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 5px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2980b9, #21618c);
}

/* 22. 选择文本样式 */
::selection {
    background: rgba(231, 76, 60, 0.3);
    color: white;
    text-shadow: none;
}

::-moz-selection {
    background: rgba(231, 76, 60, 0.3);
    color: white;
    text-shadow: none;
}

/* 23. 焦点状态 */
:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
}

/* 24. 响应式设计 */
/* 大桌面 (1200px以上) */
@media screen and (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .servers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .download-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 桌面 (992px - 1199px) */
@media screen and (max-width: 1199px) and (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .servers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .server-item {
        grid-template-columns: 50px 100px 2fr 1fr 180px;
        gap: 15px;
    }
    
    .slide-content h1 {
        font-size: 2.8rem;
    }
    
    .slide-content p {
        font-size: 1.2rem;
    }
}

/* 平板 (768px - 991px) */
@media screen and (max-width: 991px) and (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 15px;
    }
    
    .header .container {
        flex-wrap: wrap;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 20px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        background: #2c3e50;
        border-radius: 8px;
        padding: 10px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    .main-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav li:last-child {
        border-bottom: none;
    }
    
    .main-nav a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    
    .main-nav a::after {
        display: none;
    }
    
    .main-nav a.active {
        background: rgba(231, 76, 60, 0.2);
        border-left: 3px solid #e74c3c;
    }
    
    .user-actions {
        margin-left: auto;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .servers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .server-item {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        padding: 25px;
    }
    
    .server-image img {
        width: 100%;
        max-width: 200px;
        height: 150px;
        margin: 0 auto;
    }
    
    .server-actions {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-section:nth-child(3) {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .download-intro, .download-section, .guide-section {
        padding: 30px;
    }
    
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .guide-content {
        grid-template-columns: 1fr;
    }
    
    .server-filter {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .patch-item, .launcher-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .patch-actions, .launcher-actions {
        width: 100%;
        text-align: center;
    }
    
    .sort-container {
        justify-content: center;
    }
    
    .compare-bar {
        padding: 15px;
    }
    
    .compare-items {
        max-height: 100px;
    }
    
    .compare-actions {
        flex-direction: column;
    }
    
    .server-detail-content {
        max-height: 50vh;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .modal-content {
        max-width: 90%;
    }
}

/* 手机 (576px - 767px) */
@media screen and (max-width: 767px) and (min-width: 576px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    .header .container {
        flex-wrap: wrap;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 20px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        background: #2c3e50;
        border-radius: 8px;
        padding: 10px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    .main-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav li:last-child {
        border-bottom: none;
    }
    
    .main-nav a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    
    .main-nav a::after {
        display: none;
    }
    
    .main-nav a.active {
        background: rgba(231, 76, 60, 0.2);
        border-left: 3px solid #e74c3c;
    }
    
    .user-actions {
        margin-left: auto;
    }
    
    .logo img {
        height: 40px;
    }
    
    .hero-slider {
        height: 350px;
    }
    
    .slide-content {
        left: 5%;
        padding: 20px;
        max-width: 90%;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slider-prev, .slider-next {
        padding: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .servers-grid {
        grid-template-columns: 1fr;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .server-item {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        padding: 20px;
    }
    
    .server-image img {
        width: 100%;
        max-width: 200px;
        height: 150px;
        margin: 0 auto;
    }
    
    .server-actions {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .download-intro, .download-section, .guide-section {
        padding: 20px;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .guide-content {
        grid-template-columns: 1fr;
    }
    
    .server-filter {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .filter-options {
        justify-content: center;
    }
    
    .search-box {
        width: 100%;
    }
    
    .patch-item, .launcher-card {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        text-align: center;
    }
    
    .patch-actions, .launcher-actions {
        width: 100%;
        text-align: center;
    }
    
    .sort-container {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }
    
    .sort-select {
        width: 100%;
        max-width: 300px;
    }
    
    .compare-bar {
        padding: 10px;
    }
    
    .compare-items {
        max-height: 80px;
    }
    
    .compare-actions {
        flex-direction: column;
    }
    
    .server-detail-content {
        max-height: 50vh;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .modal-content {
        max-width: 95%;
        margin: 10px;
    }
    
    .modal-header, .modal-body, .modal-footer {
        padding: 20px;
    }
    
    .modal-header h3 {
        font-size: 1.5rem;
    }
    
    .news-item {
        flex-direction: column;
        text-align: center;
    }
    
    .news-date {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
}

/* 小手机 (0 - 575px) */
@media screen and (max-width: 575px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }
    
    .header .container {
        flex-wrap: wrap;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 15px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        background: #2c3e50;
        border-radius: 8px;
        padding: 10px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    .main-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav li:last-child {
        border-bottom: none;
    }
    
    .main-nav a {
        display: block;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .main-nav a::after {
        display: none;
    }
    
    .main-nav a.active {
        background: rgba(231, 76, 60, 0.2);
        border-left: 3px solid #e74c3c;
    }
    
    .user-actions {
        margin-left: auto;
    }
    
    .logo img {
        height: 35px;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .slide-content {
        left: 5%;
        padding: 15px;
        max-width: 90%;
    }
    
    .slide-content h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .slider-prev, .slider-next {
        padding: 8px;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .slider-dots {
        gap: 8px;
        bottom: 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .servers-grid {
        grid-template-columns: 1fr;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature {
        padding: 25px 15px;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
    }
    
    .server-item {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
        padding: 15px;
    }
    
    .server-image img {
        width: 100%;
        height: 120px;
        margin: 0 auto;
    }
    
    .server-actions {
        justify-content: center;
        flex-direction: column;
        gap: 8px;
    }
    
    .server-actions .btn-play, .server-actions .btn-details, .server-actions .btn-compare {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .download-intro, .download-section, .guide-section {
        padding: 15px;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .guide-content {
        grid-template-columns: 1fr;
    }
    
    .server-filter {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 15px;
    }
    
    .filter-options {
        justify-content: center;
    }
    
    .filter-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .search-box {
        width: 100%;
        flex-direction: column;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .search-box button {
        width: 100%;
    }
    
    .patch-item, .launcher-card {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        text-align: center;
        padding: 15px;
    }
    
    .patch-actions, .launcher-actions {
        width: 100%;
        text-align: center;
    }
    
    .sort-container {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    
    .sort-select {
        width: 100%;
    }
    
    .compare-bar {
        padding: 10px;
    }
    
    .compare-items {
        max-height: 60px;
    }
    
    .compare-actions {
        flex-direction: column;
    }
    
    .server-detail-content {
        max-height: 45vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .modal-content {
        max-width: 95%;
        margin: 5px;
    }
    
    .modal-header, .modal-body, .modal-footer {
        padding: 15px;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer button, .modal-footer a {
        width: 100%;
    }
    
    .news-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .news-date {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .page-header {
        padding: 20px 15px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
        padding: 10px;
    }
    
    .page-link {
        padding: 8px 12px;
        min-width: 40px;
    }
    
    .advanced-filter-panel {
        padding: 15px;
    }
    
    .filter-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-options label {
        width: 100%;
    }
    
    .btn-advanced-filter {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 10px;
    }
    
    .total-online {
        font-size: 1rem;
        padding: 10px 15px;
    }
    
    .total-online span {
        font-size: 1.8rem;
    }
    
    .detail-actions {
        flex-direction: column;
    }
    
    .detail-actions .btn-play, .detail-actions .btn-details {
        width: 100%;
    }
}

/* 25. 打印样式 */
@media print {
    .header, .footer, .mobile-menu-btn,
    .slider-prev, .slider-next, .slider-dots,
    .btn-play, .btn-details, .filter-btn,
    .search-box, .btn-download, .modal,
    .compare-bar, .advanced-filter-panel,
    .sort-container, .btn-compare,
    .user-actions, .hero-slider,
    .server-status, .download-actions,
    .patch-actions, .launcher-actions,
    .guide-step, .steps,
    .news-item, .featured-servers,
    .features, .latest-servers .section-title,
    .download-page .hero-banner,
    .download-intro, .guide-section,
    .server-filter, .pagination,
    .servers-list, .download-grid,
    .patches-list, .launcher-list,
    .result-count, .total-online,
    .btn-primary, .btn-login, .btn-register {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
        margin: 0;
        padding: 0;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.9em;
        color: #666;
    }
    
    img {
        max-width: 300px !important;
        height: auto !important;
    }
    
    .section-title {
        color: #000;
        font-size: 18pt;
        margin-bottom: 20pt;
        page-break-after: avoid;
    }
    
    .section-title::after {
        display: none;
    }
    
    .server-card, .server-item, .download-card,
    .feature, .news-item, .patch-item,
    .launcher-card, .guide-step {
        break-inside: avoid;
        page-break-inside: avoid;
        border: 1px solid #ccc;
        margin-bottom: 15pt;
        padding: 10pt;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }
    
    p, li {
        page-break-inside: avoid;
    }
    
    ul, ol, dl {
        page-break-before: avoid;
    }
    
    .page-header {
        border: none;
        box-shadow: none;
        margin-bottom: 20pt;
    }
    
    .page-header h1 {
        font-size: 24pt;
        color: #000;
    }
    
    .servers-page, .download-page {
        background: #fff;
        padding: 0;
    }
    
    .download-section {
        border: 1px solid #ccc;
        margin-bottom: 20pt;
        page-break-inside: avoid;
    }
    
    .download-section .section-title {
        font-size: 16pt;
    }
    
    .footer-bottom {
        border-top: 1px solid #000;
        padding-top: 10pt;
        margin-top: 20pt;
    }
    
    .footer-bottom p {
        font-size: 10pt;
        color: #666;
    }
    
    /* 隐藏所有背景图片和渐变 */
    * {
        background-image: none !important;
        background: #fff !important;
        color: #000 !important;
        border-color: #ccc !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    /* 确保链接可点击 */
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    /* 隐藏不必要的内容 */
    .no-print {
        display: none !important;
    }
}