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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    position: relative;
    overflow-x: hidden;
}

/* 背景动画粒子 */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float-up 15s infinite linear;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* 主容器 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px;
    padding-bottom: 120px;
}

/* 页面内容区域 */
.page-content {
    display: block;
    animation: fadeInUp 0.3s ease;
    min-height: calc(100vh - 70px);
    padding-top: 10px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 页面标题 */
.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 20px 0;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 底部菜单 */
.bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 15px;
    min-width: 60px;
    text-decoration: none;
    color: inherit;
}

.menu-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.menu-item.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    color: #667eea;
}

.menu-icon {
    font-size: 24px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.menu-text {
    font-size: 12px;
    font-weight: 500;
}

.menu-item.active .menu-icon {
    transform: scale(1.1);
}

/* 响应式设计 */
@media (max-width: 600px) {
    .container {
        padding: 10px;
        padding-top: 20px;
        padding-bottom: 120px;
    }

    .particle {
        display: none;
    }
}