
/* 色彩方案 */
$primary-gradient: linear-gradient(135deg, #0B4F6C, #FF5733);
$secondary-gradient: linear-gradient(135deg, #1A73E8, #FFC107);
$accent-green: #39FF14;
$accent-blue: #00FFFF;

/* 排版布局 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #FFFFFF;
    background: $primary-gradient;
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
}

/* 关键视觉元素 */
.gradient-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: $primary-gradient;
    animation: aurora-effect 10s infinite alternate ease-in-out;
}

@keyframes aurora-effect {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.dynamic-background {
    background: $secondary-gradient;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

/* 互动与动画 */
.button {
    background: $primary-gradient;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.button:hover {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
}

.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    display: inline-block;
    margin: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

/* 用户体验优化 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem 2rem;
    z-index: 1000;
}

.menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.menu.open {
    display: block;
}

.menu-item {
    display: block;
    padding: 0.5rem 0;
    text-decoration: none;
    color: white;
}

.search-box {
    position: relative;
    display: inline-block;
}

.search-input {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    color: white;
    outline: none;
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header {
        display: flex;
        justify-content: space-between;
    }

    .menu {
        display: none;
        flex-direction: column;
    }

    .menu.open {
        display: flex;
    }

    .search-box {
        display: none;
    }
}

