.body_class {
    margin: 0px;
    background: #07010c;
}

/* ========== 移动端适配样式 ========== */

/* 移动端汉堡菜单按钮 - 默认隐藏 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

/* 移动端抽屉菜单 */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #28013f 0%, #1a0129 100%);
    z-index: 2000;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-logo {
    height: 40px;
}

.drawer-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.drawer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.drawer-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-nav a {
    display: block;
    padding: 18px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s;
}

.drawer-nav a:hover,
.drawer-nav a.active {
    background: rgba(168, 175, 255, 0.2);
    color: #a8afff;
}

/* 遮罩层 */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.drawer-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* 移动端响应式样式 */
@media (max-width: 768px) {
    /* 显示汉堡菜单按钮 - 右对齐 */
    .mobile-menu-btn {
        display: block;
        margin-left: auto;
        margin-right: 20px;
    }

    /* 隐藏桌面端导航 */
    .desktop-nav {
        display: none !important;
    }

    /* 头部样式调整 */
    .header-main {
        padding: 0 15px !important;
        height: 55px !important;
        justify-content: space-between !important;
    }

    .header-logo {
        height: 40px !important;
        padding-left: 5px !important;
    }

    /* 下载按钮区域适配 - 保持水平排列 */
    .buttons {
        flex-direction: row !important;
        gap: 8px !important;
        padding: 10px !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
    }

    .buttons a {
        flex-shrink: 1 !important;
        max-width: 45% !important;
    }

    .buttons a img {
        width: 100% !important;
        max-width: 140px !important;
        height: auto !important;
    }

    /* 背景图片适配 */
    .background-img {
        height: auto !important;
        min-height: 50vh !important;
        object-fit: cover !important;
    }

    /* 关于区域适配 */
    .about-section {
        padding: 0 15px !important;
    }

    .about-title {
        font-size: 1.5rem !important;
    }

    .about-section p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    /* 视频区域适配 - 居中显示 */
    .video-parent {
        padding: 0 29px 0 2px !important;
        text-align: center !important;
    }

    .video-div {
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .youtubeVideo {
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
        aspect-ratio: 16/9 !important;
    }

    /* 九宫格容器适配 */
    .nine-grid-container {
        padding: 60px 0 20px 0 !important;
    }

    /* ========== 轮播图修复 - 确保完整显示且不能拖动 ========== */
    .carousel-container {
        margin-top: 25px !important;
        margin-bottom: 25px !important;
        overflow: hidden !important;
    }

    .carousel-slide {
        flex: 0 0 100% !important;
        min-width: 100% !important;
    }

    .carousel-item {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }

    .carousel-img {
        width: 100% !important;
        height: auto !important;
        max-height: 70vh !important;
        object-fit: contain !important;
    }

    /* ========== 底部导航适配 - 两行布局 ========== */
    footer {
        padding: 20px 15px !important;
    }

    /* 底部整体布局 */
    footer .center-container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }

    /* 导航栏 - 第一行水平平铺 */
    footer .nav {
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    footer .nav ul {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px 15px !important;
    }

    footer .nav a {
        font-size: 13px !important;
        margin: 0 !important;
    }

    /* 图标 - 第二行水平平铺 */
    .image-container {
        width: 100% !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
        margin-top: 10px !important;
    }

    .download_icon {
        width: 45px !important;
        margin-bottom: 0 !important;
    }

    /* 减少间距 */
    br {
        display: none;
    }

    /* 添加适当间距 */
    .about-section {
        margin-bottom: 25px !important;
    }

    .about-title {
        margin-bottom: 15px !important;
    }

    .video-parent {
        margin-bottom: 25px !important;
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .header-main {
        height: 50px !important;
    }

    .header-logo {
        height: 35px !important;
    }

    /* 超小屏幕下载按钮 */
    .buttons a img {
        max-width: 120px !important;
    }

    .about-title {
        font-size: 1.3rem !important;
    }

    .about-section p {
        font-size: 13px !important;
    }

    footer .nav a {
        font-size: 12px !important;
    }

    .download_icon {
        width: 40px !important;
    }
}

/* 极小屏幕适配 (320px左右) */
@media (max-width: 360px) {
    .buttons a img {
        max-width: 100px !important;
    }

    footer .nav a {
        font-size: 11px !important;
    }

    .download_icon {
        width: 35px !important;
    }
}