/* 全局样式重置与基础设置（与主页面一致） */
@font-face {
    font-family: 'CustomFont';
    src: url('font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'CustomFont', 'Consolas', Arial, sans-serif;
}

body {
    /* 复用MC风格像素背景，保持主题统一 */
    background: #0f0f1f;
    background-image: url('Minecraft.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: #f5f5f5;
    line-height: 1.7;
    padding: 30px 15px;
}

/* 内容容器 - 居中布局 */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* 标题样式（与主页面h1风格统一） */
h1 {
    text-align: center;
    color: #ffdd00;
    text-shadow: 0 0 12px rgba(255, 221, 0, 0.9), 0 2px 4px rgba(0, 0, 0, 0.8);
    margin: 20px 0 40px;
    font-size: 40px;
    letter-spacing: 2px;
}

/* 监控卡片容器 */
.monitor-card {
    background: rgba(15, 15, 35, 0.9);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 221, 0, 0.2);
    text-align: center;
}

/* 监控项样式 */
.monitor-item {
    font-size: 22px;
    margin-bottom: 30px;
    background: rgba(25, 25, 50, 0.95);
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 5px solid #ffdd00;
}

/* 监控项标签与数值样式 */
.monitor-item .label {
    color: #5cdbd3;
    font-weight: bold;
}

.monitor-item .value {
    color: #f5f5f5;
    margin-left: 10px;
}

/* 服务器图标容器 */
.icon-container {
    margin-top: 20px;
}

/* 服务器图标样式 */
.server-icon {
    border-radius: 10px;
    border: 2px solid rgba(255, 221, 0, 0.3);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.server-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 221, 0, 0.4);
}

/* 返回主页链接样式 */
.back-link {
    text-align: center;
    margin-top: 40px;
}

.back-link a {
    color: #5cdbd3;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    background: rgba(10, 10, 30, 0.8);
    padding: 10px 25px;
    border-radius: 8px;
    border: 1px solid rgba(92, 219, 211, 0.3);
    transition: all 0.4s ease;
}

.back-link a:hover {
    background: rgba(92, 219, 211, 0.2);
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(92, 219, 211, 0.5);
}

/* 响应式适配（手机端优化） */
@media (max-width: 768px) {
    h1 {
        font-size: 32px;
        margin: 15px 0 30px;
    }

    .monitor-card {
        padding: 30px 20px;
        margin: 0 10px;
    }

    .monitor-item {
        font-size: 18px;
        margin-bottom: 20px;
        padding: 12px 15px;
    }

    .back-link a {
        font-size: 16px;
        padding: 8px 20px;
    }
}