
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #0074D9, #6a11cb);
    background-attachment: fixed;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.container {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}
h1::after, h2::after, h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #00ff88, #00c8ff);
    margin: 10px auto;
    border-radius: 5px;
}
p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}
ul, ol {
    margin-left: 20px;
    margin-bottom: 20px;
}
li {
    margin-bottom: 10px;
}
a {
    color: #00ff88;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #00c8ff;
}
button {
    background: linear-gradient(135deg, #0074D9, #6a11cb);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.3s ease;
}
button:hover {
    transform: scale(1.1);
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
pre {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
code {
    font-family: 'Courier New', Courier, monospace;
    color: #00ff88;
    font-size: 14px;
}
.divider {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    height: 1px;
    margin: 20px 0;
}
/* 布局样式 */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    margin-bottom: 30px;
}
.header img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}
.main-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-10px);
}
.footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    width: 100%;
}
/* 自适应样式 */
@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    h1, h2, h3 {
        font-size: 1.5em;
    }
    p {
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .header img {
        width: 80px;
        height: 80px;
    }
    button {
        font-size: 14px;
        padding: 8px 16px;
    }
}

