.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.popup-overlay.active {
    display: flex;
}

.popup-wrap {
    width: 520px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.popup-slider {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #0b0d68;
}

.popup-slides {
    display: flex;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}

.popup-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.popup-slide a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.popup-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.popup-slide-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 28px 24px;
    background: linear-gradient(to top, rgba(11,13,104,0.88) 0%, transparent 100%);
    color: #fff;
}

.popup-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #7eb8ff;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.popup-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 6px;
    color: #fff;
}

.popup-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    margin: 0;
}

.popup-prev,
.popup-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}
.popup-prev:hover,
.popup-next:hover {
    background: rgba(255,255,255,0.4);
}
.popup-prev { left: 12px; }
.popup-next { right: 12px; }

.popup-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.popup-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}
.popup-dot.active {
    background: #fff;
    transform: scale(1.3);
}

.popup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: #f5f6fa;
    border-top: 1px solid #e8e9f0;
}

.popup-today {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    user-select: none;
}

.popup-today input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #0b0d68;
    cursor: pointer;
}

.popup-close {
    background: #0b0d68;
    color: #fff;
    border: none;
    padding: 7px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.popup-close:hover {
    background: #1a1e8f;
}

@media (max-width: 560px) {
    .popup-wrap {
        width: calc(100vw - 32px);
    }
    .popup-title {
        font-size: 15px;
    }
    .popup-prev,
    .popup-next {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}