
/* 全局样式设置 */
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #8B4513, #0074D9); /* 深棕到电光蓝渐变 */
    font-family: 'Futura', sans-serif;
    color: #fff;
    line-height: 1.6;
}
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: #FFD700; /* 金色 */
}
a {
    color: #FF69B4; /* 霓虹紫 */
    text-decoration: none;
    position: relative;
}
a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #00CED1; /* 电光蓝 */
    left: 0;
    bottom: -5px;
    transition: width 0.3s;
}
a:hover::after {
    width: 100%;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 40px 0;
}
.header {
    text-align: center;
    padding: 50px 0;
}
.header h1 {
    font-size: 3em;
    margin-bottom: 10px;
}
.header p {
    font-size: 1.2em;
    color: #F0E68C; /* 橄榄绿 */
}
.section {
    margin: 60px 0;
}
.section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}
.button {
    display: inline-block;
    padding: 10px 20px;
    background: #FF69B4;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: rgba(255,255,255,0.2);
    transition: left 0.3s;
}
.button:hover::after {
    left: 0;
}
.button:hover {
    background: #FF1493;
    box-shadow: 0 0 10px #FF1493, 0 0 20px #FF1493;
}
.code-block {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    color: #00FF7F;
}
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5em;
    }
    .grid {
        grid-template-columns: 1fr;
    }
}

