/* Header 组件样式 */

/* 顶部蓝色�?*/
.top-banner {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(90deg, #6ef1e3, #7b2ff2) !important;
    color: #0a0a0a !important;
    text-align: center !important;
    padding: 8px 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    z-index: 101 !important;
}

/* 主头�?*/
.main-header {
    position: fixed !important;
    top: 36px !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(10, 10, 10, 0.9) !important;
    padding: 20px 0 !important;
    z-index: 100 !important;
    backdrop-filter: blur(10px) !important;
}

.header-bg-decor {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(123, 47, 242, 0.3), transparent 70%);
    pointer-events: none;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-svg {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(45deg, #6ef1e3, #7b2ff2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #6ef1e3;
}

.nav-link.active {
    color: #6ef1e3;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #7b2ff2;
}

/* 页脚 */
.footer {
    background: #0a0a0a;
    padding: 40px 0;
    border-top: 1px solid rgba(110, 241, 227, 0.2);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('首页顶部背景�?png') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.footer-nav {
    display: flex;
    gap: 40px;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #6ef1e3;
}

.footer-nav a {
    position: relative;
}

.footer-nav a.active {
    color: #6ef1e3;
}

.footer-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #6ef1e3;
}

.footer-logo-svg {
    display: flex;
    align-items: center;
}

.footer-logo-svg svg {
    transition: transform 0.3s ease;
}

.footer-logo-svg:hover svg {
    transform: scale(1.1);
}

/* 汉堡菜单默认隐藏 */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: #6ef1e3;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* 响应式设?*/
@media (max-width: 768px) {
    .nav-menu {
        gap: 20px;
    }
    
    .footer-nav {
        gap: 20px;
    }
    
    .logo-nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        position: relative;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        display: none !important;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        padding: 20px;
        border-radius: 12px;
        border: 1px solid rgba(110, 241, 227, 0.2);
        margin-top: 20px;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid rgba(110, 241, 227, 0.1);
        width: 100%;
        text-align: center;
    }
    
    .nav-menu .nav-link:last-child {
        border-bottom: none;
    }
    
    /* 汉堡菜单样式 */
    .hamburger-menu {
        display: block !important;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        /* 确保按钮本身不会因为active状态而移动 */
        transition: none;
    }
    
    .hamburger-menu span {
        transition: all 0.3s ease;
    }
    
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@media (max-width: 480px) {
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .header-inner {
        padding: 0 15px;
    }
    
    .footer-inner {
        padding: 0 15px;
    }
} 
