* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000223;
    color: #ffffff;
}

/* 导航栏整体 */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    background: transparent;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

.container {
    display: flex;
    width: 1180px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo {
    height: 36px;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

nav a, .dropdown {
    text-align: center;
    min-width: 100px;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
    position: relative;
    padding: 20px 0;
}

.nav-btn.active {
    border: 1px solid #ffffff;
    padding: 6px 18px;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-btn.active:hover {
    background: #ffffff;
    color: #000000;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(15, 15, 15, 0.5);
    backdrop-filter: blur(10px); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    transition: all 0.2s;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: rgba(123, 77, 255, 0.2);
    color: #7b4dff;
    padding-left: 25px;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    transition: all 0.3s;
    margin-left: 20px;
}

.search-box:focus-within {
    background: rgba(255, 255, 255, 0.2);
    border-color: #7b4dff;
    box-shadow: 0 0 10px rgba(123, 77, 255, 0.3);
}

.search-box img {
    height: 14px;
    opacity: 0.7;
}

.search-box input {
    background: none;
    border: none;
    width: 120px;
    padding: 4px 10px;
    color: white;
    outline: none;
    font-size: 13px;
    transition: width 0.3s;
}

.search-box input:focus {
    width: 180px; 
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.banner {
    width: 100%;
    height: 100vh;
    background-image: url('../images/banner.png');
    background-size: 100% 100%;
    background-position: center;
    background-color: #000223;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.banner-text-img {
    width: 60%;
    z-index: 2;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #000000b0, #000000b0, transparent);
    z-index: 1;
}

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px 10%;
    margin-top: 50px;
}

.footer-container {
    width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.footer-logo {
    height: 30px;
    margin-bottom: 10px;
}

.footer-info {
    width: 200px;
    font-size: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.icon {
    width: 35px;
    height: 35px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon img { 
    width: 100%;
    height: 100%;
}

button {
    background-color: #7B4DFF;
    color: white;
    border: none;
    padding: 10px 20px;
    height: 50px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.3s;
}

button:hover {
    background: #FDA308;
    color: #2F2353;
    text-shadow: 0 2px 4px #000000a1;
}

.side-toolbar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 8px;
    border-radius: 10px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border: 2px solid #7B3EFF;
    border-right: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 111;
}

.side-toolbar .tool-item img {
    height: 20px;
}

.tool-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: opacity .3s;
}

.tool-item:hover {
    opacity: .7;
}

.side-toolbar .tool-item p {
    font-size: 8px;
}

.badge {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 20px;
    height: 20px;
    line-height: 19px;
    text-align: center;
    background: red;
    font-size: 10px;
    border-radius: 50%;
}

.section-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 80px 0;
}

.section-header h2 {
    font-family: 'Noto Serif SC Black';
    font-size: 40px;
    letter-spacing: 2px;
}

.view-more {
    position: absolute;
    right: 0;
}