/* ============================================================
   share-card.css — Share Card 모달 스타일
   ============================================================ */

/* 공유 버튼 (Stats 화면) */
#shareCardBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(150, 60, 255, 0.25), rgba(80, 160, 255, 0.2));
    border: 1.5px solid rgba(150, 80, 255, 0.5);
    border-radius: 14px;
    color: rgba(220, 180, 255, 0.95);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

#shareCardBtn:hover {
    background: linear-gradient(135deg, rgba(150, 60, 255, 0.4), rgba(80, 160, 255, 0.35));
    border-color: rgba(180, 100, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(120, 60, 255, 0.3);
    color: white;
}

#shareCardBtn:active {
    transform: translateY(0);
}

/* ── 모달 오버레이 ─────────────────────────────────── */
#shareCardModal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9900;
    background: rgba(6, 2, 20, 0.88);
    backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

#shareCardModal.active {
    display: flex;
    animation: scFadeIn 0.28s ease-out;
}

@keyframes scFadeIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 캔버스 래퍼 */
.sc-canvas-wrap {
    position: relative;
    width: 100%;
    max-width: 760px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(120, 60, 255, 0.35), 0 20px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(150, 80, 255, 0.3);
}

#shareCanvas {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

/* 닫기 버튼 */
#scCloseBtn {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    padding: 0 !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

#scCloseBtn:hover {
    background: rgba(255, 60, 60, 0.25);
    border-color: rgba(255, 60, 60, 0.5);
    color: white;
}

/* ── 공유 액션 버튼 ─────────────────────────────────── */
.sc-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    width: 100%;
    max-width: 760px;
}

.sc-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
}

#scTweetBtn {
    background: linear-gradient(135deg, #1d9bf0, #0d6ebd);
    color: white;
    box-shadow: 0 4px 16px rgba(29, 155, 240, 0.35);
}

#scTweetBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(29, 155, 240, 0.5);
}

#scDownloadBtn {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(220, 180, 255, 0.9);
    border: 1.5px solid rgba(150, 80, 255, 0.4);
}

#scDownloadBtn:hover {
    background: rgba(150, 80, 255, 0.2);
    border-color: rgba(180, 100, 255, 0.7);
    color: white;
    transform: translateY(-2px);
}

.sc-btn:active {
    transform: translateY(0) !important;
}

/* 힌트 텍스트 */
.sc-hint {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(180, 140, 255, 0.55);
    text-align: center;
    font-family: 'Inter', sans-serif;
}