/* ===========================
   悦爱 - 下载广告落地页
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Helvetica, "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    color: #333;
}

/* ===== 主容器 ===== */
.website-box {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.swiper-wrapper {
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    display: flex;
    flex-direction: column;
    transform: translateY(0);
}

/* ===== 通用 slide 样式 ===== */
.swiper-slide {
    width: 100%;
    height: 100vh;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 40px 60px;
    overflow: hidden;
}

.swiper-slide > .img {
    width: 32%;
    max-height: 80vh;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(233, 16, 52, 0.15));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ===== 文案区 ===== */
.swiper-slide .module-des {
    display: flex;
    align-items: center;
    gap: 40px;
}

.swiper-slide .module-des1 {
    display: block;
    text-align: center;
}

.swiper-slide .module-des .logo {
    width: 160px;
    height: 160px;
    border-radius: 32px;
    box-shadow: 0 10px 30px rgba(233, 16, 52, 0.2);
}

.des {
    text-align: left;
}

.swiper-slide1 .des,
.swiper-slide1 .module-des {
    text-align: left;
}

.swiper-slide3 .des {
    text-align: right;
}

.des .title {
    font-size: 64px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 2px;
    line-height: 1.2;
}

.des .subtitle {
    font-size: 26px;
    color: #666;
    margin-top: 12px;
    font-weight: 400;
    letter-spacing: 4px;
}

.des .sub-des {
    font-size: 32px;
    margin-top: 24px;
    color: #e91034;
    font-weight: 500;
    letter-spacing: 2px;
}

/* ===== 下载按钮 ===== */
.btn-box {
    display: flex;
    align-items: center;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 36px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #e91034 0%, #ff4d6d 100%);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(233, 16, 52, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(233, 16, 52, 0.45);
}

.btn .icon-download {
    width: 20px;
    height: 20px;
}

/* ===== 浮动下载按钮（右下角悬浮） ===== */
.floating-download {
    position: fixed;
    right: 40px;
    bottom: 100px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    background: linear-gradient(135deg, #e91034 0%, #ff4d6d 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(233, 16, 52, 0.4);
    transition: all 0.3s ease;
    user-select: none;
}

.floating-download svg {
    width: 22px;
    height: 22px;
}

.floating-download:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 40px rgba(233, 16, 52, 0.55);
}

.floating-download::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(233, 16, 52, 0.4), rgba(255, 77, 109, 0.4));
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0; }
}

/* ===== 滚动提示 ===== */
.scroll-hint {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    color: #999;
    font-size: 14px;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-hint svg {
    width: 16px;
    height: 16px;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* ===== 底部备案 ===== */
.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    font-size: 14px;
    line-height: 28px;
    color: #999;
    padding: 12px 0;
    z-index: 50;
}

.footer-content {
    width: 68%;
    margin: 0 auto;
    text-align: center;
}

.footer p {
    font-size: 12px;
    margin: 0;
    text-align: center;
}

/* ===== 各屏背景 ===== */
.swiper-slide1 {
    background: linear-gradient(135deg, #fff5f7 0%, #ffe5ec 50%, #ffd6e0 100%);
}

.swiper-slide2 {
    background: linear-gradient(135deg, #fff0f3 0%, #ffe0e9 100%);
}

.swiper-slide3 {
    background: linear-gradient(135deg, #ffe5ec 0%, #ffd1dc 100%);
}

.swiper-slide4 {
    background: linear-gradient(135deg, #fff0f3 0%, #ffe5ec 100%);
}

/* ===== 响应式：移动端适配 ===== */
@media screen and (max-width: 768px) {
    .swiper-slide {
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
    }

    .swiper-slide > .img {
        width: 70%;
        max-height: 50vh;
    }

    .swiper-slide .module-des {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .swiper-slide .module-des .logo {
        width: 80px;
        height: 80px;
        border-radius: 18px;
    }

    .des, .swiper-slide1 .des, .swiper-slide3 .des {
        text-align: center;
    }

    .des .title {
        font-size: 32px;
    }

    .des .subtitle {
        font-size: 16px;
        margin-top: 6px;
    }

    .des .sub-des {
        font-size: 18px;
        margin-top: 12px;
    }

    .btn {
        padding: 10px 28px;
        font-size: 15px;
    }

    .floating-download {
        right: 16px;
        bottom: 80px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .floating-download svg {
        width: 18px;
        height: 18px;
    }

    .scroll-hint {
        bottom: 140px;
        font-size: 12px;
    }

    .footer-content {
        width: 100%;
        padding: 0 16px;
    }
}

/* ===== 键盘/触摸滚动支持（由 JS 通过 transform 切换） ===== */