/* 基础重置与背景 */
@font-face {
    font-family: AlternateGotNo2D;
    src: url(./AlternateGotNo2D.woff);
}

@font-face {
    font-family: PxGrotesk-Regular;
    src: url(./PxGrotesk-Regular.otf);
}

.indexbody .qm-top .box {
    background-color: transparent;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 890px;
    background: radial-gradient(circle at center, #f9f9f9 0%, #cccccc 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
    font-family: AlternateGotNo2D;
}

.banner-container:active {
    cursor: grabbing;
}

/* 背景装饰字母 */
.bg-letters {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 50vh;
    font-weight: 300;
    color: rgba(159, 159, 159, 0.15);
    z-index: 1;
    pointer-events: none;
    font-family: 'Impact', sans-serif;
}

/* 数据面板 */
.stats-panel {
    position: absolute;
    left: 5%;
    top: 18%;
    display: flex;
    flex-direction: column;
    gap: 25px;
    color: #ff0000;
    z-index: 3;
    pointer-events: none;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    font-family: PxGrotesk-Regular;
}

.stat-value {
    font-size: 30px;
    font-weight: 800;
}

.msrp {
    position: absolute;
    left: 5%;
    bottom: 10%;
    color: #ff0000;
    font-size: 28px;
    font-weight: 800;
    z-index: 3;
}

.msrp span {
    font-size: 14px;
    opacity: 0.7;
    margin-left: 8px;
}

.icon-360 {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 12, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff0000;
    font-size: 24px;
    z-index: 3;
    pointer-events: none;
}

/* 加载状态指示器 */
#loader {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: white;
    font-size: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 12px;
    border-radius: 20px;
}

/* 产品图片 */
.product-image {
    position: relative;
    top: -4%;
    z-index: 2;
    height: 125%;
    max-width: 100%;
    object-fit: contain;
    pointer-events: none;
    /* 下面这一行是添加阴影的，需要祛除 */
    /*  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));  */
}

/* 加载状态指示器容器 */
#loader-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    width: 200px;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 20px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    transition: opacity 0.4s ease;
    /* 用于加载完成后的淡出效果 */
}

#loader-text {
    color: white;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: bold;
}

/* 进度条轨道 */
#progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    overflow: hidden;
}

/* 进度条填充 */
#progress-fill {
    width: 0%;
    height: 100%;
    background: white;
    transition: width 0.1s linear;
    /* 让进度条涨起来更平滑 */
}


@media (min-width: 1280px) {
    .stats-panel {
        left: 50%;
        margin-left: -660px;
    }

    .icon-360 {
        right: 50%;
        margin-right: -660px;
    }
}

@media (max-width: 768px) {
    .stats-panel {
        right: 5%;
        top: 12%;
        gap: 15px;
    }

    .stat-item {
        display: block;
    }

    .stat-label {
        font-size: 18px;
    }

    .stat-value {
        float: right;
        font-size: 25px;
    }

    .bg-letters {
        font-size: 15vh;
    }

    .icon-360 {
        top: 40%;
        zoom: .8;
    }

    .product-image {
        top: 0%;
        max-width: 120%;
    }
}