/* ============================================
   모바일 푸터 스킨 1 - 뉴시스 스타일
   ============================================ */

.mobile_footer {
    background: #2c2c2c;
    color: #ccc;
    padding: 20px 0 90px 0;
    font-size: 11px;
    line-height: 1.6;
}

/* 상단 링크 영역 */
.footer_top_links {
    padding: 15px 20px;
    border-bottom: 1px solid #444;
    margin-bottom: 20px;
}

.footer_top_links_list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    font-size: 12px;
}

.footer_top_links_list a {
    color: #ccc;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.footer_top_links_list a:active {
    color: #5AB2FF;
}

.footer_top_links_list .ft_link_red {
    color: #ff6b6b;
    font-weight: 600;
}

.footer_top_links_list .ft_divider {
    color: #666;
    margin: 0 4px;
}

/* 회사 정보 영역 */
.footer_company_info {
    padding: 0 20px;
    margin-bottom: 20px;
}

.footer_info_line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    font-size: 10px;
    line-height: 1.8;
    color: #bbb;
    margin-bottom: 10px;
    word-break: keep-all;
}

.footer_info_line:last-child {
    margin-bottom: 0;
}

.footer_info_line span {
    display: inline-block;
    white-space: nowrap;
}

.footer_info_line .ft_info_divider {
    color: #666;
    margin: 0 8px;
    font-weight: 300;
}

/* 모바일에서는 긴 텍스트가 여러 줄로 자연스럽게 배치되도록 */
@media (max-width: 480px) {
    .footer_company_info {
        padding: 0 15px;
    }
    
    .footer_info_line {
        font-size: 9.5px;
        line-height: 2;
        margin-bottom: 12px;
        justify-content: center;
        text-align: center;
    }
    
    .footer_info_line span {
        white-space: normal;
        word-break: keep-all;
    }
    
    /* 작은 화면에서는 구분자 여백 축소 */
    .footer_info_line .ft_info_divider {
        margin: 0 5px;
    }
    
    /* 단독 줄 항목(주소, 청소년개인정보책임자)은 이미 HTML에서 분리됨 */
    .footer_info_line:only-child {
        justify-content: center;
    }
}

/* 저작권 */
.footer_copyright {
    text-align: center;
    padding: 20px 20px 0 20px;
    border-top: 1px solid #444;
    margin-top: 20px;
    padding-top: 20px;
}

.footer_copyright p {
    margin: 0 0 8px 0;
    font-size: 10px;
    color: #888;
    line-height: 1.7;
}

.footer_copyright p:last-child {
    margin-bottom: 0;
    font-size: 10px;
    color: #777;
}

/* Top 버튼 */
.mobile_top_btn {
    position: fixed;
    bottom: 20px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: #5AB2FF;
    border: none;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 999;
}

.mobile_top_btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile_top_btn:active {
    transform: scale(0.95);
}

