
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Open Sans', sans-serif;
    background: radial-gradient(circle, rgb(30, 41, 59), rgb(20, 27, 38));
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    animation: fadeIn 2s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
header {
    font-family: 'Fira Sans', sans-serif;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}
header h1 {
    font-size: 3rem;
    color: #00BFFF;
    text-shadow: 0 4px 10px rgba(0, 191, 255, 0.5);
    animation: glow 3s infinite alternate;
}
@keyframes glow {
    from { text-shadow: 0 4px 10px rgba(0, 191, 255, 0.5); }
    to { text-shadow: 0 8px 20px rgba(0, 191, 255, 1); }
}
header p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-top: 10px;
}
.glassmorphism {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px 0;
    transition: transform 0.3s ease;
}
.glassmorphism:hover {
    transform: scale(1.02);
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
}
.grid-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}
.grid-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}
.grid-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}
.button {
    background: rgba(0, 191, 255, 0.2);
    border: 1px solid rgba(0, 191, 255, 0.5);
    border-radius: 10px;
    padding: 10px 20px;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}
.button:hover {
    background: rgba(0, 191, 255, 0.4);
    transform: scale(1.05);
}
.code-block {
    background: rgba(0, 0, 0, 0.5);
    color: #00BFFF;
    padding: 15px;
    border-radius: 10px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}
.code-block pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
    .glassmorphism {
        padding: 15px;
    }
}

