
/* 全局样式 */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: 'Helvetica', sans-serif;
    color: #ffffff;
    background: linear-gradient(to bottom, #1a0033, #0d001a);
}

/* 标题样式 */
h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 48px;
    text-align: center;
    background: linear-gradient(to right, #f7dc6f, #ffcc00);
    -webkit-background-clip: text;
    color: transparent;
    margin-top: 20px;
}

h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #f7dc6f;
    margin: 20px 0;
}

/* 段落与代码块样式 */
p {
    line-height: 1.8;
    font-size: 16px;
    padding: 0 20px;
    text-align: justify;
}

pre {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
    overflow-x: auto;
}

code {
    font-family: 'Courier New', monospace;
    color: #f7dc6f;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 5px;
}

/* 全屏布局 */
.fullscreen-section {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, #000046, #1cb5e0);
    position: relative;
}

/* 图片装饰样式 */
.image-decorator {
    position: absolute;
    width: 100px;
    height: 100px;
    opacity: 0.5;
    filter: blur(2px);
}

.image-decorator:nth-child(1) { top: 10%; left: 10%; }
.image-decorator:nth-child(2) { top: 30%; right: 10%; }
.image-decorator:nth-child(3) { bottom: 10%; left: 50%; transform: translateX(-50%); }

/* 动态粒子效果 */
@keyframes particleFlow {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #f7dc6f;
    border-radius: 50%;
    animation: particleFlow 5s linear infinite;
}

.particle:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { top: 40%; left: 60%; animation-delay: 1s; }
.particle:nth-child(3) { top: 70%; left: 30%; animation-delay: 2s; }

/* 响应式设计 */
@media (max-width: 768px) {
    h1 { font-size: 36px; }
    pre { font-size: 14px; }
    .fullscreen-section { padding: 20px; }
}

@media (max-width: 480px) {
    h1 { font-size: 28px; }
    p { font-size: 14px; }
}

/* 提示文字样式 */
.tip {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
}

