/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background: #d9e1e8; /* 稍深的灰蓝背景 */
    color: #1e272e; /* 更深的灰黑色文字 */
}

.wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
}

.main {
    text-align: center;
    z-index: 1;
    padding: 30px;
    max-width: 800px;
    width: 100%;
    background: rgba(245, 245, 245, 0.95); /* 接近白色的灰色，增加对比 */
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 600;
    color: #1e272e; /* 深灰黑标题 */
}

h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: 400;
    color: #2d3436; /* 深灰标题 */
}

.content {
    margin: 20px 0;
}

.footer {
    margin-top: 20px;
    font-size: 1em;
    color: #57606f; /* 更深的中灰色 */
}

ul {
    list-style: none;
    padding: 0;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.9;
}

.bookmark-prompt {
    color: #fff;
    padding: 10px 20px;
    background: linear-gradient(90deg, #2e86de, #1e3799); /* 更深的蓝色渐变 */
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(46, 134, 222, 0.3);
}

.link-btn {
    display: inline-block;
    padding: 8px 15px;
    color: #fff;
    border-radius: 8px;
    margin-left: 10px;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.link-btn:hover {
    transform: translateY(-2px);
}

.notice-text {
    font-size: 1.1em;
    line-height: 1.8;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    background: rgba(232, 236, 241, 0.9); /* 稍深的浅灰蓝 */
    color: #1e272e; /* 深灰黑文字 */
    border-left: 4px solid #2e86de; /* 深蓝色边框 */
}

/* 新增：联系邮箱样式 */
.contact {
    margin-top: 15px;
    font-size: 1em;
    color: #2d3436; /* 深灰，与正文一致 */
}

.contact a {
    color: #2e86de; /* 蓝色链接 */
    font-weight: 500;
}

.contact a:hover {
    color: #1e3799; /* 深蓝色悬停 */
}

.contact i {
    margin-right: 5px;
}

/* 模板1：经典渐变风格 */
.template1 {
    background: linear-gradient(135deg, #74b9ff, #a4b0be); /* 蓝色到深灰蓝 */
}

.template1 h1 {
    color: #1e272e; /* 深灰黑 */
}

.template1 .link-btn {
    background: #d63031; /* 深红色 */
}

.template1 .link-btn:hover {
    background: #b71540;
}

.template1 .bg-bubbles li {
    position: absolute;
    width: 15px;
    height: 15px;
    background: rgba(46, 134, 222, 0.4); /* 稍深的蓝色气泡 */
    border-radius: 50%;
    animation: bubbleRise 8s infinite ease-in-out;
}

@keyframes bubbleRise {
    0% { transform: translateY(100vh); opacity: 0; }
    50% { opacity: 0.7; }
    100% { transform: translateY(-20vh); opacity: 0; }
}

/* 模板2：暗黑科技风 */
.template2 {
    background: linear-gradient(135deg, #2d3436, #4b6584); /* 深灰到中蓝灰 */
}

.template2 h1 {
    color: #f1f2f6; /* 更亮的白灰，提升对比度 */
}

.template2 ul li {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    margin: 8px 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #f1f2f6; /* 更亮的白灰，与背景对比更强 */
    transition: background 0.3s ease;
}

.template2 ul li:hover {
    background: rgba(255, 255, 255, 0.3);
}

.template2 .link-btn {
    background: #00a896; /* 深青绿 */
}

.template2 .link-btn:hover {
    background: #008374;
}

/* 模板3：极简卡片风 */
.template3 {
    background: linear-gradient(135deg, #f6b93b, #e58e26); /* 深黄到橙色 */
}

.template3 h1 {
    color: #2d1b1b; /* 深棕黑 */
}

.template3 .card {
    background: rgba(245, 245, 245, 0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.template3 ul li {
    margin: 10px 0;
    font-size: 1.1em;
    color: #2d1b1b;
}

.template3 .link-btn {
    background: #e17055; /* 深橙色 */
}

.template3 .link-btn:hover {
    background: #c44536;
}

/* 模板4：优雅玻璃态 */
.template4 {
    background: linear-gradient(135deg, #63cdda, #99e9f2); /* 深青到浅青 */
}

.template4 h1 {
    color: #0a3d62; /* 深蓝绿 */
}

.template4 .glass-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.template4 ul li {
    margin: 10px 0;
    font-size: 1.1em;
    color: #0a3d62;
}

.template4 .link-btn {
    background: #218c74; /* 深青绿 */
}

.template4 .link-btn:hover {
    background: #186f5b;
}

/* 模板5：现代渐变条 */
.template5 {
    background: linear-gradient(135deg, #ff6b81, #d13e5b); /* 深粉到深红 */
}

.template5 h1 {
    color: #2d1320; /* 深紫红黑 */
}

.template5 ul li {
    margin: 10px 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    color: #2d1320;
    transition: background 0.3s ease;
}

.template5 ul li:hover {
    background: rgba(255, 255, 255, 0.35);
}

.template5 .link-btn {
    background: #b53471; /* 深玫红 */
}

.template5 .link-btn:hover {
    background: #9b1f57;
}

/* 自适应样式 */
@media (max-width: 768px) {
    .main {
        padding: 20px;
        max-width: 100%;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.3em;
    }

    .content {
        padding: 15px;
    }

    ul li {
        font-size: 1em;
    }

    .notice-text {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .main {
        padding: 15px;
    }

    h1 {
        font-size: 1.6em;
    }

    h2 {
        font-size: 1.2em;
    }

    .content {
        padding: 10px;
    }

    ul li {
        font-size: 0.9em;
        flex-direction: column;
        text-align: left;
    }

    .link-btn {
        margin-left: 0;
        margin-top: 5px;
    }

    .notice-text {
        font-size: 0.9em;
    }
}