
/* 全局样式定义 */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0A192F, #1E3C72, #2A5298);
    background-size: 300% 300%;
    animation: gradient-animation 10s infinite;
    color: #FFFFFF;
    line-height: 1.6;
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

h1, h2, h3, h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: bold;
    margin: 1rem 0;
    color: #FF6B35;
}

p {
    font-size: 1rem;
    margin: 1rem 0;
    text-align: justify;
}

section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

.highlight {
    color: #FF6B35;
    font-weight: bold;
}

button {
    background-color: #FF6B35;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-top: 1rem;
}

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

pre {
    background-color: #1E3C72;
    color: #FFFFFF;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

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

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    section {
        padding: 1rem;
    }
}

/* 特殊样式设计 */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
}

.card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

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

.dream-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.dream-item {
    background-color: #EAEAEA;
    color: #0A192F;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.dream-item:hover {
    transform: scale(1.05);
}

.info-box {
    background-color: #1E3C72;
    color: #FFFFFF;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 2rem;
}

