/* 全局样式重置与基础设置 */
@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;
}

/* 标题样式 */
title {
    display: block;
    font-size: 30px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 15px;
}

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: 48px;
    letter-spacing: 2px;
}

/* 服务器IP与QQ群链接样式 */
h3 {
    text-align: center;
    color: #5cdbd3;
    font-size: 24px;
    background: rgba(10, 10, 30, 0.8);
    padding: 12px 0;
    border-radius: 10px;
    max-width: 700px;
    margin: 0 auto 30px;
    transition: all 0.4s ease;
    border: 1px solid rgba(92, 219, 211, 0.3);
}

/* QQ群链接交互效果 */
a h3 {
    display: block;
    text-decoration: none;
    color: #5cdbd3;
}

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

/* 新增服务器监控入口样式 */
.monitor-entry {
    text-align: center;
    margin: 0 auto 30px;
}

.monitor-link {
    color: #ff7a00;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    background: rgba(25, 25, 50, 0.8);
    padding: 10px 25px;
    border-radius: 8px;
    border: 1px solid #ff7a00;
    transition: all 0.3s ease;
}

.monitor-link:hover {
    background: rgba(255, 122, 0, 0.2);
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 122, 0, 0.6);
}

/* 列表容器样式 */
.content-container ol {
    max-width: 900px;
    margin: 0 auto 40px;
    background: rgba(15, 15, 35, 0.9);
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
    list-style-position: inside;
    border: 2px solid rgba(255, 221, 0, 0.2);
}

/* 列表项样式 */
.content-container ol li {
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(25, 25, 50, 0.95);
    border-radius: 10px;
    border-left: 5px solid #ffdd00;
    transition: all 0.3s ease;
    font-size: 16px;
    text-align: center;
}

/* 移除列表项底部冗余间距 */
.content-container ol li:last-child {
    margin-bottom: 0;
}

/* 列表项悬停效果 */
.content-container ol li:hover {
    transform: translateX(8px);
    box-shadow: 0 0 20px rgba(255, 221, 0, 0.4);
    background: rgba(30, 30, 60, 0.95);
}

/* 关键信息高亮 */
.content-container ol li b {
    color: #ffdd00;
    font-weight: 800;
}

/* 英文内容特殊样式（贴合游戏氛围） */
.content-container ol li:has(> br + br) {
    font-family: 'Consolas', 'Microsoft YaHei', Arial, sans-serif;
}

/* 图片样式优化 */
.scene-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid rgba(255, 221, 0, 0.3);
    margin-top: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

/* 投稿提示样式 */
.contribute-tip {
    color: #ff7a00;
    font-size: 18px;
    margin-top: 10px;
    font-weight: bold;
}

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

    h3 {
        font-size: 20px;
        padding: 10px 0;
        margin: 0 10px 25px;
    }

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

    .content-container ol {
        padding: 20px;
        margin: 0 10px 30px;
    }

    .content-container ol li {
        padding: 18px;
        font-size: 14px;
        margin-bottom: 20px;
    }
}