* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Arial', sans-serif;
    color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    cursor: default;
    cursor: url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/normal.cur), auto;
}
a {
    cursor: url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/ayuda.cur), auto
}
a:active {
    cursor: url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/work.cur), alias
}
p {
    cursor: url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur), auto
}
span {
   cursor: url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/No_Disponible.cur), auto;
}

.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    z-index: 101;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}
.menu-toggle:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.menu-toggle span {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 320px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 99;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
}
.sidebar.active {
    transform: translateX(0);
}
.sidebar::-webkit-scrollbar {
    width: 4px;
}
.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}
.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 10px;
}
.sidebar-avatar {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}
.sidebar-avatar .avatar {
    width: 100px;
    height: 100px;
}
.sidebar-avatar .ring-1 {
    width: 110px;
    height: 110px;
}
.sidebar-avatar .ring-2 {
    width: 120px;
    height: 120px;
}
.sidebar-avatar .ring-3 {
    width: 130px;
    height: 130px;
}
.sidebar-avatar .pulse-ring {
    width: 140px;
    height: 140px;
}
.profile-info {
    text-align: center;
}
.profile-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}
.profile-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}
.sidebar-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    padding-left: 10px;
}
.sidebar-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: linear-gradient(to bottom, #ff00ff, #00ffff);
    border-radius: 2px;
}

.sidebar-nav {
    list-style: none;
}
.sidebar-nav li {
    margin-bottom: 10px;
}
.sidebar-nav a {
    display: block;
    padding: 12px 15px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
.sidebar-nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateX(5px);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tag {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
.tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.read-world-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.world-img-wrapper {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: relative;
}
.world-img {
    width: 100%;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.world-img:hover {
    transform: scale(1.02);
}
.loading-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

.sidebar-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
    padding: 5px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}
.main-footer-time {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    text-align: center;
    padding: 8px 15px;
    backdrop-filter: blur(5px);
    z-index: 50;
}

.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.7);
    transition: filter 1s ease;
}
body:hover .bg-video {
    filter: brightness(0.65);
}

.mouse-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    pointer-events: none;
    z-index: 1000;
    transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease,
                box-shadow 0.2s ease;
    mix-blend-mode: screen;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    transform: translate(-50%, -50%); 
}

.mouse-follower.idle {
    width: 20px;
    height: 20px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

.mouse-follower.clicked {
    width: 120px;
    height: 120px;
    opacity: 0.7;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.9);
}

.trail-container {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999; 
}
.trail {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00);
    background-size: 200% 200%;
    animation: trailGradient 3s ease infinite;
    opacity: 0.8;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.3s ease, width 0.3s ease, height 0.3s ease;
    box-shadow: 0 0 10px currentColor;
    color: rgba(255, 255, 255, 0.6);
}
@keyframes trailGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.trail.fade {
    opacity: 0;
    width: 15px;
    height: 15px;
}

.avatar-container {
    position: relative;
    margin-bottom: 15px;
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(to right, #6441A5, #2a0845) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotate linear infinite;
    box-shadow: 0 0 30px currentColor; 
}
.ring-1 {
    width: 160px;
    height: 160px;
    animation-duration: 8s;
    opacity: 0.8;
    color: rgba(100, 65, 165, 0.6);
}
.ring-2 {
    width: 180px;
    height: 180px;
    animation-duration: 12s;
    animation-direction: reverse;
    opacity: 0.6;
    background: linear-gradient(to right, #FF512F, #F09819) border-box;
    color: rgba(255, 81, 47, 0.6);
}
.ring-3 {
    width: 200px;
    height: 200px;
    animation-duration: 15s;
    opacity: 0.4;
    background: linear-gradient(to right, #00C9FF, #92FE9D) border-box;
    color: rgba(0, 201, 255, 0.6);
}
@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulse 4s infinite ease-in-out;
}
@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
}
.avatar-container:hover .avatar {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 255, 255, 0.3);
}

.text-container {
    text-align: center;
    margin: 20px 0;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s forwards 0.5s;
}
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.custom-text {
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 20px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 80%;
    margin: 0 auto;
}
.custom-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shine 3s infinite;
}
@keyframes shine {
    100% {
        left: 100%;
    }
}
.text-container:hover .custom-text {
    transform: scale(1.05);
    background: rgba(0, 0, 0, 0.4);
}

.connect-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(255,255,255,0));
    margin: 0 auto;
    transition: height 0.3s ease;
}
.text-container:hover .connect-line {
    height: 40px;
}
.line-group {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 10px;
}
.small-line {
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.6);
    margin-top: 10px;
    transition: all 0.3s ease;
}
.text-container:hover .small-line {
    width: 50px;
    background: rgba(255,255,255,0.8);
}

.button-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s forwards 1s;
}
.action-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}
.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
}
.action-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.action-btn:hover::before {
    left: 100%;
}
.action-btn:active {
    transform: translateY(-2px);
}

.decor {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    animation: floatRandom 15s infinite ease-in-out;
}
.decor-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-duration: 18s;
}
.decor-2 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: 15%;
    animation-duration: 22s;
    animation-delay: 2s;
}
.decor-3 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 20%;
    animation-duration: 15s;
    animation-delay: 4s;
}
@keyframes floatRandom {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -10px) rotate(5deg); }
    50% { transform: translate(10px, 20px) rotate(0deg); }
    75% { transform: translate(-15px, 10px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* 内容区域样式 */
.container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    padding: 100px 20px 80px;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

video {
    object-fit: cover;
}

video::after {
    content: '';
    background-size: cover;
    background-position: center;
}

.audio-visualizer-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px; 
    display: flex;
    align-items: flex-end;
    justify-content: center; 
    gap: 2px;
    padding: 0 10px;
    z-index: 10; 
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; 
}

.audio-visualizer-top.active {
    opacity: 1;
}

.visualizer-bar-top {
    width: 3px;
    background: linear-gradient(to top, #6441A5, #2a0845);
    border-radius: 1px;
    transition: height 0.1s ease;
    max-height: 100%; 
}

@media (max-width: 768px) {
    .sidebar {
        width: 280px;
    }
    .tag {
        padding: 6px 12px;
        font-size: 13px;
    }
    .content-wrapper {
        padding: 20px;
    }
    .audio-visualizer-top {
        max-width: 90%; 
        left: 50%;
        transform: translateX(-50%);
    }
}
@media (max-width: 480px) {
    .menu-toggle {
        width: 36px;
        height: 36px;
        top: 15px;
        left: 15px;
    }
    .sidebar {
        width: 260px;
        padding: 20px 15px;
    }
    .sidebar-avatar {
        width: 80px;
        height: 80px;
    }
    .sidebar-avatar .avatar {
        width: 80px;
        height: 80px;
    }
    .sidebar-avatar .ring-1 {
        width: 90px;
        height: 90px;
    }
    .sidebar-avatar .ring-2 {
        width: 100px;
        height: 100px;
    }
    .sidebar-avatar .ring-3 {
        width: 110px;
        height: 110px;
    }
    .sidebar-avatar .pulse-ring {
        width: 120px;
        height: 120px;
    }
    .world-img-wrapper {
        max-height: 150px;
    }
    .avatar {
        width: 120px;
        height: 120px;
    }
    .ring-1 { width: 130px; height: 130px; }
    .ring-2 { width: 150px; height: 150px; }
    .ring-3 { width: 170px; height: 170px; }
    .pulse-ring { width: 190px; height: 190px; }
    .custom-text { font-size: 16px; }
    .button-group { gap: 15px; }
    .action-btn { padding: 10px 20px; font-size: 14px; }
    .line-group { gap: 25px; }
    .decor-1 { width: 70px; height: 70px; }
    .decor-2 { width: 100px; height: 100px; }
    .decor-3 { width: 50px; height: 50px; }
    
    .trail {
        width: 6px;
        height: 6px;
    }
    .trail.fade {
        width: 10px;
        height: 10px;
    }
    
    .main-footer-time {
        font-size: 14px;
        bottom: 15px;
    }
    
    .container {
        padding: 80px 10px 60px;
    }
    .content-wrapper {
        padding: 15px;
    }
}

/* ============================================
   服务器查询页面样式 (Query Page Styles)
   ============================================ */

.query-page {
    width: 100%;
    animation: fadeUp 0.6s ease;
}

.query-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeUp 0.6s ease 0.2s both;
}

.query-page .page-title {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #ff85c0;
    color: #ff85c0;
    text-shadow: 0 2px 20px rgba(255, 133, 192, 0.4);
}

.page-toast,
.connect-message,
.query-message,
.connect-message-success,
.connect-message-error,
.connect-message-info,
.query-message-success,
.query-message-error,
.query-message-warning,
.query-message-info {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.page-toast .message-text,
.connect-message .message-text,
.query-message .message-text {
    color: #000 !important;
}

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

.query-card {
    animation: fadeUp 0.6s ease both;
}

.query-card:nth-child(2) {
    animation-delay: 0.1s;
}

.query-card:nth-child(3) {
    animation-delay: 0.2s;
}

.server-info-card {
    grid-column: 1 / -1;
}

.query-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: center;
    margin-top: 15px;
}

.btn-query {
    width: 100%;
    margin-top: 10px;
}

.server-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.info-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.3));
    flex-shrink: 0;
}

.info-content {
    flex: 1;
    min-width: 0;
}

.info-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    font-weight: 500;
}

.info-value {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    word-break: break-word;
}

.server-status-badge {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 15px;
}

.server-status-badge.online {
    background: transparent;
    color: #e53e3e;
    box-shadow: none;
    border: 1px solid rgba(229, 62, 62, 0.4);
}

.server-status-badge.offline {
    background: rgba(107, 114, 128, 0.8);
    color: #fff;
}

.map-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
}

.map-badge.custom {
    background: rgba(72, 187, 120, 0.3);
    color: #48bb78;
    border: 1px solid rgba(72, 187, 120, 0.5);
}

.map-badge.official {
    background: rgba(66, 153, 225, 0.3);
    color: #4299e1;
    border: 1px solid rgba(66, 153, 225, 0.5);
}

.info-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.players-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.player-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.player-item:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateX(5px);
}

.player-name {
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
}

.player-stats {
    display: flex;
    gap: 15px;
}

.player-stat {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.status-message {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    margin-top: 25px;
}

.status-message.success {
    background: rgba(72, 187, 120, 0.2);
    border: 1px solid rgba(72, 187, 120, 0.4);
}

.status-message.error {
    background: rgba(237, 137, 54, 0.2);
    border: 1px solid rgba(237, 137, 54, 0.4);
}

.status-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.status-content {
    flex: 1;
}

.status-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.status-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    white-space: pre-line;
}

.status-hints {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.status-hints strong {
    color: #fff;
    display: block;
    margin-bottom: 8px;
}

.status-hints ul {
    margin: 0;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.status-hints li {
    margin-bottom: 5px;
}

.server-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.server-actions .modern-btn {
    flex: 1;
    min-width: 120px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .query-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .server-info-grid {
        grid-template-columns: 1fr;
    }
    
    .server-actions {
        flex-direction: column;
    }
    
    .server-actions .modern-btn {
        width: 100%;
    }
    
    .player-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .player-stats {
        width: 100%;
        justify-content: space-between;
    }
}

/* ============================================
   收藏服务器页面样式 (Favorites Page Styles)
   ============================================ */

.favorites-page {
    width: 100%;
    animation: fadeUp 0.6s ease;
}

.favorites-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeUp 0.6s ease 0.2s both;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.favorite-card {
    animation: fadeUp 0.6s ease both;
}

.favorite-card:nth-child(1) { animation-delay: 0.1s; }
.favorite-card:nth-child(2) { animation-delay: 0.2s; }
.favorite-card:nth-child(3) { animation-delay: 0.3s; }
.favorite-card:nth-child(4) { animation-delay: 0.4s; }
.favorite-card:nth-child(n+5) { animation-delay: 0.5s; }

.favorite-card .server-name {
    flex: 1;
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.favorite-card .card-header {
    position: relative;
}

.btn-remove {
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.8) 0%, rgba(229, 62, 62, 0.8) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(245, 101, 101, 0.3);
}

.btn-remove:hover {
    background: linear-gradient(135deg, rgba(229, 62, 62, 0.9) 0%, rgba(220, 38, 38, 0.9) 100%);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(245, 101, 101, 0.4);
}

.btn-remove span {
    display: block;
    font-weight: bold;
}

.favorite-card .server-info-grid {
    margin-bottom: 20px;
}

.favorite-card .info-item {
    padding: 15px;
}

.server-status-container {
    margin: 20px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.status-loading .status-icon {
    font-size: 1.5rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.status-online,
.status-offline {
    width: 100%;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.status-header .status-icon {
    font-size: 1.5rem;
}

.status-header .status-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.status-online .status-header .status-title {
    color: #48bb78;
}

.status-offline .status-header .status-title {
    color: rgba(255, 255, 255, 0.7);
}

.status-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.status-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.detail-icon {
    font-size: 1.2rem;
}

.detail-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.status-error {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-top: 10px;
}

.favorite-card .server-actions {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.favorite-card .server-actions .modern-btn {
    padding: 12px 15px;
    font-size: 0.9rem;
}

.empty-state {
    text-align: center;
    padding: 60px 40px;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeUp 0.6s ease;
}

.empty-state .empty-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 15px rgba(255, 255, 255, 0.3));
    animation: float 3s ease-in-out infinite;
}

.empty-state h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.empty-state p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.empty-state .modern-btn {
    display: inline-flex;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.3s ease;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 40px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    animation: slideUp 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10001;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(245, 101, 101, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10002;
}

.modal-close:hover {
    background: rgba(229, 62, 62, 0.9);
    transform: scale(1.1) rotate(90deg);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .favorites-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .favorite-card .server-actions {
        grid-template-columns: 1fr;
    }
    
    .favorite-card .server-actions .modern-btn {
        width: 100%;
    }
    
    .modal-content {
        padding: 30px 20px;
        width: 95%;
        max-height: 90vh;
    }
}

/* ============================================
   进入服务器页面样式 (Join Page Styles)
   ============================================ */

.join-page {
    width: 100%;
    animation: fadeUp 0.6s ease;
}

.join-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeUp 0.6s ease 0.2s both;
}

.join-page .page-title {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #ff85c0;
    color: #ff85c0;
    text-shadow: 0 2px 20px rgba(255, 133, 192, 0.4);
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    text-shadow: 0 2px 20px rgba(102, 126, 234, 0.3);
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

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

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: fadeUp 0.6s ease both;
    position: relative;
    overflow: hidden;
}

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

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

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.highlight-card {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
}

.highlight-card .modern-btn-success {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.highlight-card .modern-btn-success:hover {
    background: transparent;
    box-shadow: none;
}

body:has(.join-page) .trail {
    background: transparent !important;
    box-shadow: none !important;
    opacity: 0 !important;
    animation: none !important;
}

.query-page .modern-btn-primary,
.join-page .modern-btn-primary,
.query-page .modern-btn-success,
.join-page .modern-btn-success {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.query-page .modern-btn-primary:hover,
.join-page .modern-btn-primary:hover,
.query-page .modern-btn-success:hover,
.join-page .modern-btn-success:hover {
    background: transparent;
    box-shadow: none;
}

.full-width-card {
    grid-column: 1 / -1;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.3));
}

.card-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.card-content {
    position: relative;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    font-weight: 500;
}

.label-icon {
    font-size: 1.1rem;
}

.modern-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modern-input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.6);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.modern-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.modern-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

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

.modern-btn:hover::before {
    left: 100%;
}

.modern-btn-primary {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modern-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.modern-btn-success {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.8) 0%, rgba(56, 178, 172, 0.8) 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modern-btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.4);
}

.modern-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modern-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.modern-btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-icon {
    font-size: 1.1rem;
}

.btn-auto-connect-large {
    width: 100%;
    padding: 20px 30px;
    font-size: 1.2rem;
    margin: 20px 0;
}

.btn-icon-large {
    font-size: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

.btn-text-large {
    font-size: 1.3rem;
}

.card-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: center;
    margin-top: 15px;
}

.address-display {
    display: flex;
    gap: 15px;
    align-items: center;
}

.address-input {
    flex: 1;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    backdrop-filter: blur(10px);
}

.btn-copy {
    white-space: nowrap;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 25px;
    background: transparent;
    border-radius: 15px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.step-item:hover {
    background: transparent;
    border-left-color: transparent;
    transform: translateX(5px);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.step-number img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.step-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 8px;
}

.step-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 8px;
}

.keyboard-key {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.command-display {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.command-code {
    flex: 1;
    font-family: 'Courier New', monospace;
    color: #48bb78;
    font-size: 1rem;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    word-break: break-all;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.method-card {
    padding: 25px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.method-card:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.method-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.3));
}

.method-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.method-steps {
    color: rgba(255, 255, 255, 0.9);
    line-height: 2;
    padding-left: 25px;
}

.method-steps li {
    margin-bottom: 10px;
}

.inline-code {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    color: #48bb78;
    font-size: 0.9em;
}

/* 动画 */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .join-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .glass-card {
        padding: 20px;
    }
    
    .card-header h2 {
        font-size: 1.3rem;
    }
    
    .step-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .address-display {
        flex-direction: column;
    }
    
    .btn-copy {
        width: 100%;
    }
    
    .command-display {
        flex-direction: column;
        align-items: stretch;
    }
    
    .modern-btn-small {
        width: 100%;
    }
}
