/* 引入自定义字体 font.ttf */
@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', 'Microsoft YaHei', 'Consolas', Arial, sans-serif;
}

body {
    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;
}

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;
}

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 #5cdbd3;
    box-shadow: 0 0 10px rgba(92, 219, 211, 0.4);
}

.qq-group-link {
    text-decoration: none;
    display: block;
}

.qq-group-link h3:hover {
    background: rgba(92, 219, 211, 0.2);
    transform: scale(1.02);
    box-shadow: 0 0 18px rgba(92, 219, 211, 0.7);
}

p 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), 0 0 12px rgba(92, 219, 211, 0.5);
    list-style-position: inside;
    border: 2px solid #5cdbd3;
}

p ol li {
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(25, 25, 50, 0.95);
    border-radius: 10px;
    border-left: 5px solid #5cdbd3;
    border: 1px solid rgba(92, 219, 211, 0.6);
    transition: all 0.3s ease;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 0 5px rgba(92, 219, 211, 0.3) inset;
}

p ol li:last-child {
    margin-bottom: 0;
}

p ol li:hover {
    transform: translateX(8px);
    box-shadow: 0 0 20px rgba(92, 219, 211, 0.6), 0 0 5px rgba(92, 219, 211, 0.3) inset;
    background: rgba(30, 30, 60, 0.95);
    border-color: #87e5e0;
    border-left-color: #87e5e0;
}

p ol li b {
    color: #ffdd00;
    font-weight: 800;
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
        margin: 15px 0 30px;
    }

    h3 {
        font-size: 20px;
        padding: 10px 0;
        margin: 0 10px 25px;
        box-shadow: 0 0 8px rgba(92, 219, 211, 0.4);
    }

    p ol {
        padding: 20px;
        margin: 0 10px 30px;
        box-shadow: 0 0 18px rgba(0, 0, 0, 0.6), 0 0 8px rgba(92, 219, 211, 0.4);
        border-width: 1.5px;
    }

    p ol li {
        padding: 18px;
        font-size: 14px;
        margin-bottom: 20px;
        border-width: 1px;
    }

    p ol li b {
        font-size: 16px;
    }
}