
/* 全局样式设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #121212, #1A237E);
    color: #E0E0E0;
    padding: 20px;
}

h1, h2, h3 {
    font-family: 'Bebas Neue', sans-serif;
    color: #FFA500;
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.module {
    flex: 1 1 calc(33.33% - 40px);
    background: rgba(51, 51, 51, 0.8);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.button:hover {
    transform: scale(1.1);
    background-color: #45a049;
}

code {
    background: #333;
    color: #FFA500;
    padding: 5px 10px;
    border-radius: 5px;
    display: block;
    overflow-x: auto;
    white-space: pre-wrap;
    font-family: 'Courier New', monospace;
}

pre {
    background: #333;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .module {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        gap: 10px;
    }

    .module {
        padding: 15px;
    }
}

/* 特殊视觉效果 */
.background-gradient {
    background: linear-gradient(to right, #1A237E, #64B5F6);
    height: 200px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.dream-prompt {
    text-align: center;
    color: #FFA500;
    font-size: 1.2em;
    margin-bottom: 20px;
}

