
/* 页面整体样式定义 */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #e0e0e0;
    background: linear-gradient(135deg, #000046, #1c1c3c);
    overflow-x: hidden;
}

/* 主容器样式 */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    max-width: 1440px;
    margin: 0 auto;
}

/* 标题区域 */
.header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.header h1 {
    font-family: 'Roboto Bold', sans-serif;
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(173, 216, 230, 0.8);
}

.header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center/cover;
    border-radius: 50%;
    opacity: 0.8;
    z-index: -1;
}

/* 段落与列表样式 */
p {
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 20px;
}

ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
}

/* 代码块样式 */
pre {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin-bottom: 30px;
}

code {
    color: #61dafb;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* 图片装饰样式 */
.image-decorator {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.image-decorator img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    pre {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    p, li {
        font-size: 0.9rem;
    }
}

/* 提示文本样式 */
.notice {
    font-size: 0.9rem;
    color: #ff6f61;
    text-align: center;
    margin-top: 20px;
}

/* 渐变按钮样式 */
.button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(90deg, #61dafb, #ff6f61);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    margin-top: 20px;
}

