* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    overflow-x: auto;
}

/* 导航栏样式 - 与 index.html 一致 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar:hover {
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar:hover .nav-link {
    color: #000000;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 80px;
}

.logo-link {
    position: absolute;
    left: 150px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
}

.logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-hover {
    display: none;
}

.navbar:hover .logo-default {
    display: none;
}

.navbar:hover .logo-hover {
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin-right: 40px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: #ffffff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar:hover .nav-link::after {
    background-color: #000000;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-item-has-children {
    position: relative;
}

/* 二级菜单样式 - 同步 index.html */
.sub-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 200px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    list-style: none;
    padding: 8px;
    border-radius: 16px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.12),
        0 2px 10px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2000;
}

.sub-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(255, 255, 255, 0.98);
    filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.05));
}

.nav-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.sub-menu-item {
    padding: 0;
    margin: 2px 0;
}

.sub-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 20px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.sub-menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6ee7b7 0%, #10b981 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.sub-menu-link::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 20px;
    background: linear-gradient(180deg, #6ee7b7 0%, #10b981 100%);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.sub-menu-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.sub-menu-link:hover::before {
    opacity: 1;
}

.sub-menu-link:hover::after {
    transform: translateY(-50%) scaleY(1);
}

.sub-menu-item + .sub-menu-item {
    position: relative;
}

.sub-menu-item + .sub-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 0, 0, 0.06) 20%,
        rgba(0, 0, 0, 0.06) 80%,
        transparent 100%);
}

/* 视频 Banner 区域 */
.video-banner {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/video-banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

.video-banner-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #ffffff;
}

.video-banner-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.video-banner-subtitle {
    font-size: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* 视频播放区域 */
.video-section {
    position: relative;
    margin-top: -15vh;
    padding: 0 20px 60px;
    background-color: transparent;
    z-index: 20;
}

.video-player-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.video-player-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000000;
}

.video-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.video-name {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}

.video-duration {
    font-size: 16px;
    color: #6b7280;
    font-variant-numeric: tabular-nums;
}

/* 页脚样式 - 完全同步 index.html */
.site-footer {
    position: relative;
    width: 100%;
    background-color: #0f0f1a;
    color: #ffffff;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    gap: 40px;
}

.footer-left {
    flex: 1;
}

.footer-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-intro {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-details {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-item {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qrcode-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: #ffffff;
    padding: 6px;
}

.qrcode-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-beian {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.beian-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.beian-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar-container {
        height: 60px;
        padding: 0 15px;
    }

    .logo {
        height: 35px;
    }

    .nav-menu {
        gap: 20px;
        margin-right: 0;
    }

    .nav-link {
        font-size: 14px;
        padding: 8px 12px;
    }

    .video-banner {
        height: 40vh;
    }

    .video-banner-title {
        font-size: 32px;
    }

    .video-banner-subtitle {
        font-size: 16px;
    }

    .video-section {
        padding: 40px 15px;
    }

    .video-player-wrapper {
        padding: 15px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}
