/* ==========================================================================
   Promo Popup — AI Fitting 무료 체험 이벤트 (2026-03-30까지)
   ========================================================================== */

.promo-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.promo-overlay.active {
    opacity: 1;
    visibility: visible;
}

.promo-popup {
    position: relative;
    max-width: 520px;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.promo-overlay.active .promo-popup {
    transform: scale(1) translateY(0);
}

/* 닫기 버튼 */
.promo-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 10;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.promo-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* 이미지 */
.promo-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* D-Day 뱃지 */
.promo-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 12px rgba(238, 90, 36, 0.4);
}

/* 본문 */
.promo-body {
    padding: 1.5rem 2rem 2rem;
    text-align: center;
}

.promo-body h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.promo-body .promo-sub {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.promo-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.promo-feat {
    text-align: center;
}

.promo-feat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.promo-feat-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #444;
}

/* CTA 버튼 */
.promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

.promo-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.45);
}

/* 오늘 하루 안 보기 */
.promo-dismiss {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.78rem;
    color: #999;
    cursor: pointer;
    background: none;
    border: none;
    text-decoration: underline;
}

/* 모바일 */
@media (max-width: 640px) {
    .promo-popup {
        max-width: 100%;
        border-radius: 16px;
    }

    .promo-body {
        padding: 1.25rem 1.5rem 1.5rem;
    }

    .promo-body h2 {
        font-size: 1.25rem;
    }

    .promo-features {
        gap: 1rem;
    }
}
