/* 样式保持不变 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #fff4e6 0%, #ffe6d5 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #4a2c15;
    padding: 20px;
    text-align: center;
    /* 添加禁止选择文本 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 服务器选择页面样式 */
#serverPage {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #7c2d12;
    margin: 5px 0 15px 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.section-title i {
    color: #ff7700;
    font-size: 16px;
}

.servers-section {
    width: 100%;
    max-width: 400px;
    margin: 0 0 20px 0;
}

.server-card {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(255, 149, 92, 0.15);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.server-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 149, 92, 0.25);
    border-color: #ffba74;
}

.server-flag {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffddc1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 18px;
    color: #ff7700;
}

.server-info {
    flex: 1;
    text-align: left;
}

.server-name {
    font-weight: 600;
    color: #7c2d12;
    font-size: 16px;
}

.server-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ping-indicator {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    min-width: 45px;
    text-align: center;
}

.ping-excellent {
    background: #e0ffeb;
    color: #2e8b57;
}

.ping-good {
    background: #fff4d1;
    color: #d97706;
}

.ping-average {
    background: #ffe4d1;
    color: #ed7014;
}

.server-arrow {
    color: #ff7700;
    font-size: 16px;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: 400px;
    margin-bottom: 30px;
}

.action-button {
    flex: 1;
    background: linear-gradient(145deg, #ffb380, #ff984f);
    color: #7c2d12;
    border: none;
    border-radius: 10px;
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(255, 149, 92, 0.25);
    text-decoration: none;
}

.action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 149, 92, 0.35);
    background: linear-gradient(145deg, #ff984f, #ffba74);
    color: #5c220d;
}

.action-button i {
    font-size: 20px;
    margin-bottom: 5px;
}

.action-button span {
    font-size: 12px;
    font-weight: 500;
}

.customer-service {
    background: linear-gradient(145deg, #7fdbda, #5ecbc9);
    color: #0d5c5b;
    box-shadow: 0 4px 8px rgba(94, 203, 201, 0.3);
}

.customer-service:hover {
    box-shadow: 0 6px 12px rgba(94, 203, 201, 0.4);
    background: linear-gradient(145deg, #5ecbc9, #7fdbda);
    color: #063736;
}

.server-footer {
    margin-top: 25px;
    width: 100%;
    max-width: 500px;
}

.footer-title {
    font-size: 16px;
    color: #7c2d12;
    margin-bottom: 12px;
    font-weight: 600;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.nav-item {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #7c2d12;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 149, 92, 0.1);
}

.nav-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 149, 92, 0.2);
    color: #ff7700;
}

.nav-icon {
    width: 32px;
    height: 32px;
    background: #ffddc1;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 6px;
    font-size: 14px;
    color: #ff7700;
}

.nav-name {
    font-size: 11px;
    font-weight: 500;
}

.copyright {
    font-size: 11px;
    color: #d97706;
    margin-top: 15px;
}