* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    color: #fff;
    padding-top: 100px;
    padding-bottom: 130px;
}

.page {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
}

/* 顶部固定栏 */
.top-bar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: 88px;
    z-index: 999;
    background: linear-gradient(180deg, #171717 0%, #050505 100%);
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 215, 128, 0.18);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.75);
}

/* 底部固定栏 */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: 88px;
    z-index: 999;
    background: linear-gradient(180deg, #050505 0%, #171717 100%);
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-top: 1px solid rgba(255, 215, 128, 0.18);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.8);
}

/* LOGO */
.logo {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #222, #060606);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.05);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    flex: 1;
    margin-left: 12px;
    overflow: hidden;
}

.product-name {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.product-desc {
    margin-top: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.68);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 下载按钮 */
.download-btn {
    width: 94px;
    height: 42px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffe9a6 0%, #f6b82f 100%);
    color: #141007;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow:
        0 5px 16px rgba(246, 184, 47, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.download-btn:active {
    transform: scale(0.96);
}

/* 底部上方漂浮下载按钮 */
.float-download {
    position: fixed;
    left: 50%;
    bottom: 98px;
    transform: translateX(-50%);
    width: 86%;
    max-width: 168px;
    height: 50px;
    z-index: 998;
    border-radius: 999px;
    border: 1px solid rgba(255, 221, 128, 0.55);
    background: linear-gradient(180deg, #ffe9a6 0%, #f2a900 100%);
    color: #120d03;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow:
        0 10px 30px rgba(242, 169, 0, 0.36),
        0 0 18px rgba(255, 218, 120, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    cursor: pointer;
    animation: pulse 1.8s infinite;
}

.float-download:active {
    transform: translateX(-50%) scale(0.96);
}

@keyframes pulse {
    0% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.035);
    }

    100% {
        transform: translateX(-50%) scale(1);
    }
}

/* 客服图标 */
.service-icon {
    position: fixed;
    right: calc(50% - 205px);
    bottom: 188px;
    width: 58px;
    height: 58px;
    z-index: 1000;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    border: 1px solid rgba(255, 221, 128, 0.38);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.65),
        0 0 18px rgba(255, 200, 80, 0.22);
    cursor: pointer;
}

.service-icon img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

@media (max-width: 430px) {
    .service-icon {
        right: 12px;
    }
}

/* 图片栏目 */
.section {
    width: 100%;
    background: #000;
}

.image-box {
    width: 100%;
    display: block;
    overflow: hidden;
    background: #080808;
}

.image-box img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* 指定图片高度 */
.img-430-519 {
    height: 519px;
}

.img-430-60 {
    height: 60px;
}

.img-430-262 {
    height: 262px;
}

.img-430-546 {
    height: 546px;
}

/* 轮播区域 */
.carousel {
    position: relative;
    width: 100%;
    height: 262px;
    overflow: hidden;
    background: #080808;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 262px;
    transition: transform 0.55s ease;
}

.carousel-slide {
    min-width: 100%;
    width: 100%;
    height: 262px;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 262px;
    display: block;
    object-fit: cover;
}

/* 轮播圆点 */
.carousel-dots {
    position: absolute;
    left: 0;
    bottom: 12px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 7px;
}

.carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.32);
    cursor: pointer;
}

.carousel-dot.active {
    width: 20px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffe9a6, #f6b82f);
    box-shadow: 0 0 10px rgba(246, 184, 47, 0.7);
}

/* 没有图片时的占位背景 */
.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 205, 90, 0.18), transparent 32%),
        linear-gradient(135deg, #111 0%, #050505 55%, #000 100%);
}