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

button {
    pointer-events: auto !important;
    cursor: pointer;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    color: #333;
    line-height: 1.6;
    position: relative;
    pointer-events: auto;
}

main {
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

/* 背景图片 */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://ol.3dmgame.com/uploads/images/thumbvideo/20180124/1516773224_631624.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -2;
    filter: brightness(0.6);
}

/* 移动端触摸优化 */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

button,
a,
.community-btn,
.check-btn,
.download-btn {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
}

/* 移动端滚动优化 */
@media (max-width: 768px) {
    .modal-body {
        -webkit-overflow-scrolling: touch;
    }

    .player-list-container {
        -webkit-overflow-scrolling: touch;
    }
}

/* 背景遮罩 */
.background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.88) 50%, rgba(255, 255, 255, 0.85) 100%);
}

/* 额外磨砂层 */
.frosted-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noise"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%" height="100%" filter="url(%23noise)" opacity="0.03"/%3E%3C/svg%3E');
    pointer-events: none;
    z-index: -1;
    mix-blend-mode: overlay;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.logo i {
    color: #3498db;
    font-size: 1.8rem;
}

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

/* 汉堡菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

.nav-links a {
    text-decoration: none;
    color: #34495e;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.4);
}

.nav-links a:hover::before {
    opacity: 1;
}

/* 主容器 */
.container {
    max-width: 1400px;
    margin: 100px auto 0;
    padding: 3rem 2rem 6rem;
    position: relative;
    pointer-events: auto;
    z-index: 1;
}

/* 玻璃态板块 */
.glass-section {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08),
                0 2px 8px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.9),
                inset 0 -1px 0 rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

.glass-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.8) 50%,
        transparent 100%);
    pointer-events: none;
}

.glass-section:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12),
                0 8px 20px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.9),
                inset 0 -1px 0 rgba(0, 0, 0, 0.02);
    border-color: rgba(255, 255, 255, 0.8);
}

/* 标题样式 */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.section-title i {
    color: #3498db;
    font-size: 2.2rem;
}

/* 关于本服板块 */
.about-content {
    margin-bottom: 2rem;
}

.about-text {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #3498db;
}

.main-description {
    font-size: 1.15rem;
    line-height: 2;
    color: #34495e;
    text-align: justify;
}

.tip-box {
    background: linear-gradient(135deg, rgba(255, 235, 59, 0.3) 0%, rgba(255, 193, 7, 0.2) 100%);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 2px dashed rgba(255, 193, 7, 0.5);
}

.tip-box i {
    font-size: 1.8rem;
    color: #f39c12;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.tip-box p {
    font-size: 1.05rem;
    color: #d35400;
    font-weight: 600;
}

/* 服务器信息卡片 */
.server-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.server-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06),
                0 1px 3px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-top: 4px solid;
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.server-card:first-child {
    border-top-color: #3498db;
}

.server-card:last-child {
    border-top-color: #e74c3c;
}

.server-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12),
                0 4px 12px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.server-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.server-card h3 i {
    font-size: 1.3rem;
}

.server-card:first-child h3 i {
    color: #3498db;
}

.server-card:last-child h3 i {
    color: #e74c3c;
}

.server-details p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: #34495e;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.server-details i {
    color: #3498db;
    width: 20px;
    text-align: center;
}

.server-details strong {
    color: #2c3e50;
    font-weight: 600;
}

.uptime-counter, .player-count {
    color: #27ae60;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

/* 交流社区板块 */
.community-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.community-group {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06),
                0 1px 3px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.community-group:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1),
                0 2px 6px rgba(0, 0, 0, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.community-group h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.community-group h3 i {
    color: #3498db;
}

.community-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.community-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.community-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.community-btn i {
    font-size: 1.4rem;
}

.qq-btn {
    background: linear-gradient(135deg, #12b7f5 0%, #00a8e8 100%);
}

.kook-btn {
    background: linear-gradient(135deg, #5c6bc0 0%, #3f51b5 100%);
}

.qq-channel-btn {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

/* 在线查询板块 */
.online-check {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.server-selector {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 18px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06),
                0 1px 3px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-top: 4px solid #3498db;
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    pointer-events: auto;
    z-index: 2;
}

.server-selector:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1),
                0 2px 6px rgba(0, 0, 0, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.server-selector h3,
.server-selector p,
.server-selector button {
    pointer-events: auto;
    position: relative;
    z-index: 5;
}

.server-selector button {
    pointer-events: auto !important;
    z-index: 100 !important;
}

.server-selector h3 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.server-selector h3 i {
    color: #3498db;
}

.server-description {
    color: #7f8c8d;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    pointer-events: auto;
}

.check-btn {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 30px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    pointer-events: auto !important;
    position: relative;
    z-index: 9999 !important;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.check-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.6);
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.check-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

.check-btn:focus {
    outline: 2px solid rgba(243, 156, 18, 0.5);
    outline-offset: 2px;
}

.check-btn i {
    font-size: 1.3rem;
}

/* 推荐客户端板块 */
.client-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 18px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06),
                0 1px 3px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12),
                0 4px 12px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.client-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.client-icon i {
    font-size: 3rem;
    color: white;
}

.client-card h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.client-description {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.6);
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

/* 页脚 */
.footer {
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(20px);
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-content p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.footer-content i {
    color: #e74c3c;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999 !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 24px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25),
                0 8px 20px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.8);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 100000 !important;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateX(-100px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.modal-header h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.modal-header h3 i {
    color: #667eea;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #e74c3c;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(80vh - 80px);
}

.loading {
    text-align: center;
    padding: 3rem;
}

.loading i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.loading p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* 玩家列表样式 */
.player-list-container {
    display: grid;
    gap: 1rem;
}

.player-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    border-left: 4px solid;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: playerSlideIn 0.3s ease backwards;
}

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

.player-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.95);
}

.player-item.java {
    border-color: #3498db;
}

.player-item.bedrock {
    border-color: #e74c3c;
}

.player-name {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
}

.player-version {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.java-version {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.bedrock-version {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.player-count-display {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.player-count-display .count {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
}

.player-count-display .label {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-top: 0.5rem;
}

.error-message {
    text-align: center;
    padding: 2rem;
    color: #e74c3c;
}

.error-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* 响应式设计 - 平板 */
@media (max-width: 992px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }

    .server-info {
        grid-template-columns: 1fr;
    }

    .community-container {
        grid-template-columns: 1fr;
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 768px) {
    /* 导航栏优化 */
    .navbar {
        padding: 0.8rem 1rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo i {
        font-size: 1.4rem;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .nav-links a {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
        border-radius: 20px;
    }

    /* 主容器优化 */
    .container {
        padding: 70px 1rem 2rem;
        margin-top: 0;
    }

    /* 玻璃板块优化 */
    .glass-section {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
        border-radius: 16px;
    }

    /* 标题优化 */
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }

    .section-title i {
        font-size: 1.6rem;
    }

    /* 关于本服板块 */
    .main-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .tip-box {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .tip-box i {
        font-size: 1.5rem;
    }

    .tip-box p {
        font-size: 0.9rem;
    }

    /* 服务器卡片 */
    .server-card {
        padding: 1.5rem;
    }

    .server-card h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .server-details p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
        flex-wrap: wrap;
    }

    /* 社区按钮 */
    .community-buttons {
        width: 100%;
    }

    .community-btn {
        width: 100%;
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }

    .community-btn i {
        font-size: 1.2rem;
    }

    /* 查询按钮 */
    .check-btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .check-btn i {
        font-size: 1.1rem;
    }

    /* 客户端卡片 */
    .client-card {
        padding: 1.5rem;
    }

    .client-card h3 {
        font-size: 1.4rem;
    }

    .client-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .download-btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* 模态框优化 */
    .modal-content {
        width: 95%;
        margin: 0.5rem;
        border-radius: 20px;
        max-height: 85vh;
    }

    .modal-header {
        padding: 1rem 1.2rem;
    }

    .modal-header h3 {
        font-size: 1.1rem;
    }

    .modal-body {
        padding: 1rem 1.2rem;
    }

    .player-count-display {
        padding: 1.5rem;
    }

    .player-count-display .count {
        font-size: 2rem;
    }

    .player-item {
        padding: 0.8rem 1rem;
    }

    .player-name {
        font-size: 0.95rem;
    }

    .player-version {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }

    /* 页脚优化 */
    .footer {
        padding: 1.5rem 1rem;
    }

    .footer-content p {
        font-size: 0.9rem;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    /* 汉堡菜单显示 */
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(30px) saturate(180%);
        -webkit-backdrop-filter: blur(30px) saturate(180%);
        flex-direction: column;
        gap: 0;
        padding: 80px 1.5rem 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 1rem 1.2rem;
        text-align: center;
        border-radius: 12px;
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }

    .navbar {
        padding: 0.6rem 0.8rem;
    }

    .logo {
        font-size: 1rem;
    }

    .logo i {
        font-size: 1.2rem;
    }

    .container {
        padding: 65px 0.8rem 1.5rem;
    }

    .glass-section {
        padding: 1rem;
        margin-bottom: 1.2rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .section-title i {
        font-size: 1.4rem;
    }

    .main-description {
        font-size: 0.9rem;
    }

    .server-card,
    .community-group {
        padding: 1.2rem;
    }

    .server-card h3,
    .community-group h3 {
        font-size: 1.1rem;
    }

    .server-details p,
    .server-description {
        font-size: 0.85rem;
    }

    .uptime-counter,
    .player-count {
        font-size: 0.9rem;
    }

    .community-btn,
    .check-btn,
    .download-btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }

    .modal-content {
        width: 98%;
        margin: 0.3rem;
    }

    .player-count-display {
        padding: 1rem;
    }

    .player-count-display .count {
        font-size: 1.8rem;
    }

    .player-count-display .label {
        font-size: 1rem;
    }
}

/* 汉堡菜单遮罩层 */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
}

@media (min-width: 481px) {
    .menu-overlay {
        display: none !important;
    }
}

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

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

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.6);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    border-radius: 5px;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    border-color: rgba(255, 255, 255, 0.8);
}

/* 左右滑动动画 */
.slide-in-left {
    animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right {
    animation: slideInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* 为不同的板块添加交替的滑动方向 */
.glass-section:nth-child(odd) {
    animation-delay: 0.1s;
}

.glass-section:nth-child(even) {
    animation-delay: 0.2s;
}

/* 下载中心样式 */
.download-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tab-btn {
    flex: 1 1 auto;
    min-width: 140px;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 240, 240, 0.9) 100%);
    color: #34495e;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.2) 0%, rgba(243, 156, 18, 0.2) 100%);
}

.tab-btn.active {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.4);
}

.tab-btn i {
    font-size: 1.2rem;
}

.download-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.download-content.active {
    display: block;
}

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

.download-content h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid #f1c40f;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.download-card {
    display: block;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.download-card:hover::before {
    left: 100%;
}

.download-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: #f1c40f;
}

.download-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.4);
    transition: all 0.3s ease;
}

.download-card:hover .download-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(241, 196, 15, 0.6);
}

.download-icon i {
    font-size: 2rem;
    color: white;
}

.download-card h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.download-card p {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.back-home {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.4);
    transition: all 0.3s ease;
}

.back-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 196, 15, 0.6);
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.back-home:hover::before {
    opacity: 1;
}

/* 友情链接板块 */
.links-container {
    margin-top: 1.5rem;
}

.search-box {
    position: relative;
    margin-bottom: 2rem;
}

.search-box i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #f1c40f;
    font-size: 1.2rem;
}

.search-box input {
    width: 100%;
    padding: 1.2rem 1.5rem 1.2rem 3.5rem;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    font-size: 1rem;
    color: #2c3e50;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.search-box input:focus {
    outline: none;
    border-color: #f1c40f;
    box-shadow: 0 6px 20px rgba(241, 196, 15, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.links-grid {
    display: grid;
    gap: 1.5rem;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.link-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: #f1c40f;
}

.link-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.4);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.link-card:hover .link-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(241, 196, 15, 0.6);
}

.link-icon i {
    font-size: 2rem;
    color: white;
}

.link-info {
    flex: 1;
}

.link-info h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.link-info p {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.link-arrow {
    font-size: 1.5rem;
    color: #f1c40f;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.link-card:hover .link-arrow {
    opacity: 1;
    transform: translateX(0);
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #7f8c8d;
}

.no-results i {
    font-size: 3rem;
    color: #f1c40f;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.no-results p {
    font-size: 1.1rem;
}

/* 下载中心响应式 */
@media (max-width: 768px) {
    .download-tabs {
        gap: 0.5rem;
        padding: 0.8rem;
    }

    .tab-btn {
        min-width: 100px;
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
        gap: 0.4rem;
    }

    .tab-btn i {
        font-size: 1rem;
    }

    .download-content h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .download-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }

    .download-card {
        padding: 1.5rem;
    }

    .download-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 0.8rem;
    }

    .download-icon i {
        font-size: 1.5rem;
    }

    .download-card h4 {
        font-size: 1rem;
    }

    .download-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .download-tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
        min-width: auto;
    }

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