
/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Mono', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #1E3C72, #2A52BE);
    color: #fff;
    padding: 20px;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #FFC107;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

p {
    font-size: 1rem;
    color: #E0E0E0;
    margin-bottom: 1rem;
}

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

a:hover {
    color: #FFC107;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.code-block {
    background: #1E1E1E;
    color: #00FF00;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    white-space: pre-wrap;
}

button {
    background-color: #4A90E2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #2A52BE;
    transform: scale(1.1);
}

.particle {
    width: 10px;
    height: 10px;
    background: #FFC107;
    position: absolute;
    animation: move 5s infinite;
}

@keyframes move {
    0% { transform: translate(0, 0); }
    50% { transform: translate(200px, 100px); }
    100% { transform: translate(0, 0); }
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    .code-block {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    h1, h2, h3, h4, h5, h6 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.9rem;
    }
}

