/* 基础样式 - 所有页面共用 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

body {
    background: #050816;
    color: #eee;
    line-height: 1.6;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

/* 动态背景 */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 120, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 200, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(138, 43, 226, 0.08) 0%, transparent 50%);
}

/* 导航栏 */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 8, 22, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 180, 255, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

nav:hover {
    background: rgba(5, 8, 22, 0.9);
    border-bottom-color: rgba(0, 180, 255, 0.5);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(90deg, #0066ff, #00b4ff, #4facfe, #00ff88, #4facfe, #00b4ff, #0066ff);
    background-size: 400% auto;
    -webkit-background-clip: text;
    color: transparent;
    animation: shine 6s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 180, 255, 0.5);
}

@keyframes shine {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 0% center;
    }
}

.nav-links a {
    color: #a0b4d8;
    text-decoration: none;
    margin-left: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00b4ff, #00ff88);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #00b4ff;
    transform: translateY(-2px);
}

.nav-links a:hover::after {
    width: 100%;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientText {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

/* 底部 */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 180, 255, 0.2);
    color: #66789c;
    background: rgba(5, 8, 22, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1;
}

footer p {
    margin-bottom: 0.5rem;
}

.footer-highlight {
    background: linear-gradient(90deg, #00b4ff, #00ff88);
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 600;
}