/* ============================================================
   coupon_chance_modal.css — 일일 게임 찬스 부여 모달
   ============================================================ */

.cc-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
}

.cc-modal-overlay.show {
    display: flex;
    animation: ccFadeIn 0.2s ease-out;
}

@keyframes ccFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.cc-modal {
    position: relative;
    width: 100%;
    max-width: 360px;
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    text-align: center;
    animation: ccPopIn 0.25s ease-out;
}

@keyframes ccPopIn {
    from { opacity: 0; transform: translateY(24px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

.cc-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    color: #333;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.15s;
}

.cc-modal__close:hover {
    background: #f0f0f0;
}

.cc-modal__img-wrap {
    display: flex;
    justify-content: center;
    margin: 0 auto 20px;
}

.cc-modal__img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.cc-modal__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--ssadang-black);
    margin: 0 0 10px;
    line-height: 1.3;
}

.cc-modal__desc {
    font-size: 15px;
    color: var(--ssadang-black);
    line-height: 1.55;
    margin: 0 0 24px;
}

.cc-modal__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 15px 20px;
    background: #177000;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
}

.cc-modal__cta:hover {
    background: #125c00;
    color: #fff;
}

/* 모바일 */
@media (max-width: 480px) {
    .cc-modal {
        max-width: 100%;
        padding: 32px 22px 24px;
    }
    .cc-modal__title  { font-size: 19px; }
    .cc-modal__img    { width: 104px; height: 104px; }
}
