
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #ffffff;
    overflow-x: hidden;
}

/* 文字和标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Exo 2', sans-serif;
    text-shadow: 0 0 10px #00ff8c;
    margin: 20px 0;
}

p {
    line-height: 1.6;
    margin: 15px 0;
}

a {
    color: #ff4e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #f9d423;
}

a[rel="nofollow"]::after {
    content: "";
}

/* 按钮样式 */
button {
    background: linear-gradient(to right, #ff4e50, #f9d423);
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 25px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

button:hover {
    box-shadow: 0 0 20px #ff4e50;
    transform: scale(1.05);
}

/* 容器和布局 */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px;
}

.module {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 255, 140, 0.2);
    transition: transform 0.3s ease;
}

.module:hover {
    transform: translateY(-10px);
}

.code-block {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    font-family: 'Roboto Mono', monospace;
    color: #00ff8c;
}

pre {
    margin: 10px 0;
}

code {
    display: block;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid #00ff8c;
    padding: 10px;
    text-align: left;
}

th {
    background-color: rgba(0, 255, 140, 0.2);
}

/* 图片样式 */
img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 标题区 */
.header {
    text-align: center;
    padding: 60px 20px;
    background: radial-gradient(circle, rgba(255,87,34,1) 0%, rgba(0,0,0,1) 100%);
    color: #ffffff;
    position: relative;
}

.header h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.header p {
    font-size: 18px;
    color: #f9d423;
}

/* 动态粒子背景 */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.gptkong.com/demo/sample1.png') repeat;
    opacity: 0.05;
    z-index: -1;
    animation: particles 15s linear infinite;
}

@keyframes particles {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(-1000px, 1000px);
    }
}

/* 动画效果 */
@keyframes glow {
    from {
        box-shadow: 0 0 20px #ff4e50;
    }
    to {
        box-shadow: 0 0 40px #ff4e50;
    }
}

/* 媒体查询 - 小尺寸手机 */
@media (max-width: 320px) {
    .header h1 {
        font-size: 32px;
    }
    .container {
        padding: 20px;
    }
}

/* 媒体查询 - 大尺寸手机 */
@media (max-width: 480px) {
    .header h1 {
        font-size: 36px;
    }
}

/* 媒体查询 - 竖屏平板 */
@media (max-width: 768px) {
    .header h1 {
        font-size: 40px;
    }
    .container {
        grid-template-columns: 1fr;
    }
}

/* 媒体查询 - 中等屏幕 */
@media (max-width: 1024px) {
    .header h1 {
        font-size: 42px;
    }
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 媒体查询 - 桌面显示器及以上 */
@media (min-width: 1200px) {
    .header h1 {
        font-size: 56px;
    }
}

/* 固定提示文本样式 */
.reference-note {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 255, 140, 0.7);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    color: #000000;
}

