/* 팝업 배너 스타일 (PC 전용) */
.popup-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    display: block;
}

/* 태블릿 이하 숨김 */
@media (max-width: 1024px) {
    .popup-banner {
        display: none !important;
    }
}

.popup-banner-container {
    width: 280px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 2px solid #01FF75;
}

.popup-banner-slider {
    width: 280px;
    height: 350px;
    position: relative;
    overflow: hidden;
}

.popup-banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
}

.popup-banner-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.popup-banner-slide.prev {
    transform: translateX(-100%);
}

.popup-banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
     object-position: center; /* 중앙 정렬 */
    display: block;
    background: #ffffff; /* 여백이 생길 경우 배경색 */
}

/* 네비게이션 도트 */
.popup-banner-dots {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    background: #000000;
    gap: 8px;
}

.popup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-dot.active {
    background: #01FF75;
    width: 20px;
    border-radius: 10px;
}

.popup-dot:hover {
    background: #01FF75;
}

/* 하단 버튼 영역 */
.popup-banner-controls {
    display: flex;
    background: #000000;
    padding: 10px;
    gap: 8px;
}

.popup-hide-today{
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #01FF75;
    background: #01FF75;
    color: #000000;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.popup-close {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #01FF75;
    background: #000000;
    color: #01FF75;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.popup-hide-today:hover {
    background: #000000;
    border-color: #01FF75;
    color: #01FF75;
}

.popup-close:hover {
    background: #01FF75;
    border-color: #01FF75;
    color: #000000;
}


/* 팝업이 숨겨질 때 애니메이션 */
.popup-banner.hide {
    animation: slideOut 0.4s ease-out forwards;
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(50px);
    }
}

/* 팝업이 나타날 때 애니메이션 */
.popup-banner.show {
    animation: slideIn 0.3s ease-out forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}