@charset "utf-8";

/* SNS 페이지 공통 스타일 (블로그, 페이스북) */

.sns_page_wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 페이지 헤더 */
.sns_header {
    text-align: center;
    margin-bottom: 50px;
}

.sns_icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.sns_icon.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5bbf 100%);
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.3);
}

.sns_icon svg,
.sns_icon i {
    width: 36px;
    height: 36px;
    color: #fff;
    stroke: #fff;
}

.sns_title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.sns_desc {
    font-size: 16px;
    color: #666;
}

/* SNS 카드 - 배경 이미지 스타일 */
.sns_content {
    margin-bottom: 40px;
}

.sns_card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sns_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* 배경 이미지 레이어 */
.sns_card_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: bgZoom 20s ease-in-out infinite alternate;
    z-index: 1;
}

/* 배경 줌 애니메이션 */
@keyframes bgZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* 다크 오버레이 */
.sns_card_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 2;
    transition: background 0.3s ease;
}

.sns_card:hover .sns_card_overlay {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

/* 카드 컨텐츠 */
.sns_card_content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 50px 40px;
    max-width: 600px;
}

.sns_card_icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sns_card:hover .sns_card_icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.sns_card_icon svg,
.sns_card_icon i {
    width: 40px;
    height: 40px;
    color: #fff;
    stroke: #fff;
}

.sns_card_info h3 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.sns_card_info p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* 링크 버튼 */
.sns_link_btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.sns_link_btn:hover {
    background: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.sns_link_btn svg,
.sns_link_btn i {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.sns_link_btn:hover i,
.sns_link_btn:hover svg {
    transform: translateX(3px);
}

/* 블로그 전용 버튼 색상 */
.sns_link_btn.blog {
    color: #03c75a;
}

/* 페이스북 전용 버튼 색상 */
.sns_link_btn.facebook {
    color: #1877f2;
}

/* 미리보기 섹션 */
.sns_preview,
.sns_embed {
    background: #f9f9f9;
    border-radius: 16px;
    padding: 30px;
}

.preview_title,
.embed_title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.preview_list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.preview_item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.preview_item:hover {
    background: #f0f0f0;
}

.preview_date {
    font-size: 13px;
    color: #999;
    flex-shrink: 0;
}

.preview_text {
    font-size: 15px;
    color: #333;
    margin: 0;
}

/* 임베드 컨테이너 */
.embed_container {
    display: flex;
    justify-content: center;
    min-height: 200px;
    align-items: center;
}

.embed_placeholder {
    color: #999;
    font-size: 14px;
}

/* 반응형 */
@media (max-width: 768px) {
    .sns_page_wrap {
        padding: 30px 15px;
    }

    .sns_header {
        margin-bottom: 30px;
    }

    .sns_icon {
        width: 60px;
        height: 60px;
    }

    .sns_icon svg,
    .sns_icon i {
        width: 28px;
        height: 28px;
    }

    .sns_title {
        font-size: 26px;
    }

    .sns_card {
        min-height: 350px;
        border-radius: 16px;
    }

    .sns_card_content {
        padding: 40px 25px;
    }

    .sns_card_icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .sns_card_icon svg,
    .sns_card_icon i {
        width: 32px;
        height: 32px;
    }

    .sns_card_info h3 {
        font-size: 24px;
    }

    .sns_card_info p {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .sns_link_btn {
        padding: 13px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .sns_card {
        min-height: 320px;
    }

    .sns_card_content {
        padding: 35px 20px;
    }

    .sns_card_icon {
        width: 60px;
        height: 60px;
    }

    .sns_card_icon svg,
    .sns_card_icon i {
        width: 28px;
        height: 28px;
    }

    .sns_card_info h3 {
        font-size: 22px;
    }

    .sns_card_info p {
        font-size: 14px;
    }

    .sns_link_btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .sns_preview,
    .sns_embed {
        padding: 20px 15px;
    }
}
