* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', "Microsoft YaHei", sans-serif;
}

:root {
    --primary-color: #ff6b00;
    --secondary-color: #FFD700;
    --dark-color: #222;
    --light-color: #fff;
    --accent-color: #ff3e00;
    --bg-color: #f8f8f8;
    --header-height: 70px;
}

body {
    background-color: var(--bg-color);
    color: #333;
    line-height: 1.6;
}

.header-bg {
    height: 110px;
    position: relative;
}

/* 保持原有导航栏样式 */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    color: white;
}

.logo img {
    height: 30px;
    margin-right: 10px;
}

.logo-text {
    color: #FFD700;
    font-weight: bold;
}

nav {
    display: flex;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 10px;
    display: block;
}

/* Dropdown styles */
.dropdown {
    position: relative;
}


.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px;
    top: 100%;
    left: 0;
    padding-top: 5px;
}

.dropdown-content a {
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;

}

.dropdown-content a::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Arrow indicator for dropdown */
.dropdown>a:after {
    content: " ▼";
    font-size: 10px;
    margin-left: 5px;
    vertical-align: 1px;
}

.sub-nav {
    position: absolute;
    right: 20px;
    top: 50px;
}

.sub-nav a {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    margin-bottom: 5px;
    text-decoration: none;
    font-size: 14px;
    width: 80px;
    text-align: center;
}

nav ul li.active a {
    background-color: #888;
    border-radius: 4px;
}

/* 优化视频背景 */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.8);
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    padding-top: 65px;
    position: relative;
}

.search-bar {
    width: 100%;
    padding: 12px 40px 12px 20px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-bar:focus {
    outline: none;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    background-color: white;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 73px;
    color: #666;
}

/* 优化主布局 */
.main-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    margin-top: 50px;
    position: relative;
}

/* 优化左侧边栏 */
.left-sidebar {
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    position: sticky;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 0.5s ease forwards;
}

/* 公告部分 */
.announcement {
    background: linear-gradient(135deg, #fff8e1 0%, #fffde7 100%);
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    margin-bottom: 5px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.announcement:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.announcement-title {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.announcement-title::before {
    content: '\f0a1';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.announcement-content {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.announcement-content p {
    margin-bottom: 8px;
}

.announcement-content p:last-child {
    margin-bottom: 0;
}

/* 菜单列表 */
.menu-list {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background: white;
}

.menu-item {
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background-color: #f9f9f9;
    padding-left: 22px;
}

.menu-item.active {
    color: var(--primary-color);
    font-weight: bold;
    background: linear-gradient(to right, rgba(255, 107, 0, 0.1) 0%, rgba(255, 107, 0, 0.02) 100%);
    border-left: 3px solid var(--primary-color);
}

.menu-item-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.menu-item::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 12px;
}

.menu-item:hover::after {
    opacity: 0.5;
    right: 10px;
}

.menu-item.active::after {
    opacity: 1;
    color: var(--primary-color);
}

/* 二维码部分 */
.qr-section {
    text-align: center;
    background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%);
    padding: 20px;
    border-radius: 12px;
    border: 1px dashed #ddd;
    transition: all 0.3s ease;
}

.qr-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 1px dashed var(--primary-color);
}

.qr-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.qr-title::before {
    content: '\f029';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
}

.qr-section img {
    width: 180px;
    height: 180px;
    margin-bottom: 15px;
    border: 8px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.qr-section:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.qr-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qr-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
}

.qr-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 107, 0, 0.4);
}

.qr-btn:first-child::before {
    content: '\f3e0';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.qr-btn:last-child::before {
    content: '\f3cf';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* 主内容区域 */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.5s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: slideIn 0.5s ease forwards;
}

/* 背景覆盖层 */
.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 12px;
    z-index: 0;
    backdrop-filter: blur(5px);
}

.title-section {
    width: 100%;
    text-align: center;
    margin: 10px 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.title {
    font-size: 32px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.arrow {
    color: var(--primary-color);
    font-size: 28px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.arrow:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: var(--primary-color);
    color: white;
}

.weapon-display {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 30px 0;
    z-index: 1;
}

.weapon-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
}

.weapon-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.chinese-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 300px;
    color: rgba(255, 107, 0, 0.05);
    font-family: "SimSun", serif;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.weapon-note {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--primary-color);
    font-size: 14px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.weapon-info {
    width: 100%;
    max-width: 800px;
    text-align: center;
    margin: 40px 0;
    position: relative;
    z-index: 1;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.weapon-info h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.weapon-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.weapon-info p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

.nav-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
}

.nav-arrow {
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    background: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-arrow:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.weapon-thumbnails {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.thumbnail {
    width: 80px;
    height: 60px;
    background: #f0f0f0;
    border: 3px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.thumbnail.active {
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.thumbnail:hover img {
    transform: scale(1.1);
}

/* 响应式样式 */
@media (max-width: 1200px) {
    .main-layout {
        grid-template-columns: 250px 1fr;
        padding: 20px;
    }
}

@media (max-width: 992px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .left-sidebar {
        position: static;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 24px;
    }

    .weapon-info h3 {
        font-size: 22px;
    }

    .weapon-info p {
        font-size: 14px;
    }

    .arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .thumbnail {
        width: 60px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .main-layout {
        padding: 15px;
    }

    .main-content {
        padding: 20px;
    }

    .weapon-info {
        padding: 20px;
    }

    .title-section {
        gap: 15px;
    }

    .qr-section img {
        width: 150px;
        height: 150px;
    }
}

/* 动画类 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}