* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", SimHei, arial;
    text-decoration: none;
    font-size: 18px;
    color: #fff;
}

#background {
    background-size: cover;
    /* 自动裁剪、保持比例 */
    background-repeat: no-repeat;
    /* 不重复 */
    background-position: center;
    /* 居中 */
    width: 100%;
    min-height: 100vh;
    /* 最小全屏高度，内容超出时可以滚动 */
    height: auto;
    /* 自适应内容高度 */
}

.background {
    background-color: rgba(25, 25, 25, 0.2);
    width: 100%;
    min-height: 100vh;
    /* 最小全屏高度 */
    height: auto;
    /* 自适应内容高度 */
    padding-bottom: 40px;
    /* 底部留白 */
}

header {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

header img {
    max-width: 100%;
    height: auto;
    width: clamp(150px, 60vw, 300px);
    /* 响应式宽度，最小250px，最大500px */
}

.main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    gap: 30px;
}

.main-button {
    background: linear-gradient(135deg, #9b0d14, #d43f52);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 18px 36px;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    width: 300px;
}

.main-button:hover {
    background: linear-gradient(135deg, #af3d42, #e05566);
    transform: translateY(-4px);
}

.title {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    /* 允许按钮换行 */
}

.nr {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
}

/* 文字内容样式 */
.nr-title {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 50px;
    max-width: 1200px;
    margin: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* 左右两列样式 */
.nr-title-left,
.nr-title-right {
    flex: 1;
    min-width: 0;
}

.nr-title h1 {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 25px;
    margin-top: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.nr-title h1:first-child {
    margin-top: 0;
}

/* .nr-title h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #9b0d14, #d43f52);
    border-radius: 2px;
} */

.nr-title p {
    color: #f0f0f0;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.nr-title p::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #d43f52;
    font-size: 16px;
    top: 2px;
}

.nr-title p:hover {
    color: #fff;
    transform: translateX(10px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    #background {
        background-attachment: scroll;
        /* 移动端使用scroll避免背景固定导致的问题 */
    }
    
    .background {
        padding-bottom: 20px;
    }
    
    header {
        padding: 15px 10px;
    }
    
    header img {
        width: clamp(200px, 70vw, 400px);
    }
    
    .main {
        padding: 15px 10px;
        gap: 25px;
    }
    
    .main-button {
        width: 100%;
        max-width: 280px;
        font-size: 18px;
        padding: 16px 30px;
    }
    
    .title {
        gap: 15px;
        flex-direction: column;
    }
    
    .nr {
        padding: 15px 10px;
    }
    
    .nr-title {
        margin: 10px 0;
        padding: 25px 20px;
        max-width: 100%;
        flex-direction: column;
        gap: 25px;
    }

    .nr-title h1 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .nr-title p {
        font-size: 16px;
        padding-left: 15px;
        margin-bottom: 12px;
    }

    .nr-title-left,
    .nr-title-right {
        flex: 1;
        min-width: 0;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .background {
        padding-bottom: 15px;
    }
    
    header {
        padding: 10px 5px;
    }
    
    header img {
        width: clamp(180px, 80vw, 350px);
    }
    
    .main {
        padding: 10px 5px;
        gap: 20px;
    }
    
    .main-button {
        font-size: 16px;
        padding: 14px 25px;
    }
    
    .nr {
        padding: 10px 15px;
    }
    
    .nr-title {
        padding: 20px 15px;
        margin: 5px 0;
    }
    
    .nr-title h1 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .nr-title p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 10px;
    }
}