* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}
ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    list-style-type: none;
}


body {
    background-color: #0a0e17;
    color: #ffffff;
    line-height: 1.6;
}

.header {
    background-color: #10141b;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 2rem;
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2rem;
}

.logo-icon {
    background: linear-gradient(45deg, #3a86ff, #8338ec);
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    background-color: rgba(58, 134, 255, 0.2);
    color: #3a86ff;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-item {
    position: relative;
}

.submenu-link {
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    display: block;
    transition: all 0.3s ease;
}

.submenu-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #3a86ff;
}

.submenu-link.active {
    background-color: rgba(58, 134, 255, 0.1);
    color: #3a86ff;
}

.subsubmenu {
    position: absolute;
    top: 0;
    left: 100%;
    background-color: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.submenu-item:hover .subsubmenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.subsubmenu-link {
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    display: block;
    transition: all 0.3s ease;
}

.subsubmenu-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #3a86ff;
}

.subsubmenu-link.active {
    background-color: rgba(58, 134, 255, 0.1);
    color: #3a86ff;
}

.arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.submenu-item:hover .arrow {
    transform: rotate(90deg);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #1a1f2e;
    z-index: 1001;
    padding: 2rem 1rem;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-menu {
    list-style: none;
    margin-top: 2rem;
}

.mobile-nav-item {
    margin-bottom: 0.5rem;
}

.mobile-nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    display: block;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-nav-link.active {
    background-color: rgba(58, 134, 255, 0.2);
    color: #3a86ff;
}

.mobile-submenu-toggle {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.mobile-submenu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-submenu-toggle.active {
    background-color: rgba(58, 134, 255, 0.2);
    color: #3a86ff;
}

.mobile-submenu {
    list-style: none;
    margin-left: 1rem;
    margin-top: 0.5rem;
    display: none;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu-item {
    margin-bottom: 0.5rem;
}

.mobile-submenu-link {
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    display: block;
    transition: all 0.3s ease;
}

.mobile-submenu-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-submenu-link.active {
    background-color: rgba(58, 134, 255, 0.2);
    color: #3a86ff;
}

.mobile-subsubmenu-toggle {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.mobile-subsubmenu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-subsubmenu-toggle.active {
    background-color: rgba(58, 134, 255, 0.2);
    color: #3a86ff;
}

.mobile-subsubmenu {
    list-style: none;
    margin-left: 1rem;
    margin-top: 0.5rem;
    display: none;
}

.mobile-subsubmenu.active {
    display: block;
}

.mobile-subsubmenu-item {
    margin-bottom: 0.5rem;
}

.mobile-subsubmenu-link {
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    display: block;
    transition: all 0.3s ease;
}

.mobile-subsubmenu-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-subsubmenu-link.active {
    background-color: rgba(58, 134, 255, 0.2);
    color: #3a86ff;
}

/* 遮罩层 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 响应式设计 */
@media (max-width: 1000px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .header {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .logo span {
        font-size: 1rem;
    }

    .mobile-menu {
        width: 90%;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

.ad-banner {
  max-width: 1200px;
  width: 95%;
  text-align: center;
  height: 300px;
  background-color: #333;
  margin: 0 auto;
  margin-top: 15px;
  margin-bottom: 15px;
}
.ad-banner img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
