/* Overlay */
.hengFengSplashOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

/* Modal / Carousel */
.hengFengSplashModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    overflow: hidden;
    /* border-radius: 8px; */
    /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
    width: auto;
    height: auto;
    max-width: 75vw;
    max-height: 45vw;
}

@media (max-width: 768px) {
    .hengFengSplashModal {
        max-width: 90vw;
        max-height: 130vw;
    }
}

/* Controls (close + countdown) */
.hengFengSplashModal .hengFengSplashCloseButton,
.hengFengSplashModal .hengFengSplashCountdown {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.hengFengSplashModal .hengFengSplashCloseButton {
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.hengFengSplashModal .hengFengSplashCloseButton:hover {
    background: rgba(0, 0, 0, 0.8);
}

.hengFengSplashModal .hengFengSplashCountdown {
    top: 28px;
    right: 65px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: bold;
    font-size: 12px;
}

/* Carousel container */
.hengFengSplashModal.splash-carousel {
    width: 100%;
    height: 100%;
}

/* Slides */
.hengFengSplashModal .splash-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    cursor: pointer; /* 👈 Added */
}

.hengFengSplashModal .splash-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Bullets */
.hengFengSplashModal .splash-bullets {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 1;
}

.hengFengSplashModal .splash-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.hengFengSplashModal .splash-bullet:hover {
    transform: scale(1.2);
}

.hengFengSplashModal .splash-bullet.active {
    background: #fff;
}
