
/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

/* 头部样式 */
header {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    text-align: center;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    color: #ff6ec7;
    text-shadow: 0 0 10px #ff6ec7, 0 0 20px #ff6ec7;
}

/* 主内容区 */
main {
    padding: 100px 20px 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    margin-bottom: 50px;
}

section h2 {
    font-size: 2em;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
    margin-bottom: 20px;
}

section p {
    font-size: 1em;
    line-height: 1.8;
    color: #ffffff;
}

/* 示例展示样式 */
.demo-article {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.demo-article h2 {
    color: #ffa500;
    text-shadow: 0 0 5px #ffa500, 0 0 10px #ffa500;
}

.demo-article pre {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    color: #00ff00;
    font-family: 'Courier New', Courier, monospace;
}

.demo-article code {
    color: #ff4500;
}

/* 图片样式 */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.image-gallery img {
    width: 100%;
    max-width: 320px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

/* 按钮样式 */
button {
    background: #ff6ec7;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px #ff6ec7;
}

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

/* 提示信息 */
.notice {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-left: 5px solid #00ffff;
    margin-bottom: 20px;
    border-radius: 5px;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    header h1 {
        font-size: 2em;
    }
    section h2 {
        font-size: 1.8em;
    }
}

@media (max-width: 1200px) {
    main {
        padding: 80px 15px 15px 15px;
    }
}

@media (max-width: 1024px) {
    .image-gallery {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.8em;
    }
    section h2 {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }
    button {
        padding: 8px 16px;
    }
}

@media (max-width: 320px) {
    header h1 {
        font-size: 1.2em;
    }
    section h2 {
        font-size: 1.2em;
    }
}

/* 动画效果 */
@keyframes aurora-move {
    0% {
        background: radial-gradient(circle, rgb(255, 87, 34), transparent);
    }
    50% {
        background: radial-gradient(circle, rgb(34, 255, 87), transparent);
    }
    100% {
        background: radial-gradient(circle, rgb(255, 87, 34), transparent);
    }
}

body {
    animation: aurora-move 15s linear infinite;
}


