/* ================================================================
   [수정] Footer Styles - 기본 상태를 완전히 숨김으로 설정
   ================================================================ */
body, html, #app-container {
    height: auto !important;
    min-height: auto !important;
}

:root {
    --lc-site-edge: clamp(44px, 8vw, 140px);
}

.page-footer {
    display: none !important;
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    width: 100% !important;
    z-index: 1 !important;
    background: linear-gradient(180deg, transparent 0%, #090b10 100%) !important;
    color: #fff !important;
    padding: 28px 0 !important;
    text-align: left !important;
    max-height: none !important;
    overflow: visible !important;
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1), transform 0.72s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: opacity, transform;
    pointer-events: none !important;
}

.page-footer.visible {
    display: block !important;
    max-height: none !important;
    pointer-events: auto !important;
}

.page-footer.visible.footer-ready {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.page-footer .footer-info {
    pointer-events: auto;
    max-width: none;
    margin: 0;
    width: 100%;
    padding: 24px var(--lc-site-edge) 0;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 32px;
}

.page-footer .footer-info h3 { font-size: 16px; margin-bottom: 0; }
.page-footer .footer-info .footer-left {
    flex: 0 1 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-top: 4px;
    padding-bottom: 4px;
}
.page-footer .footer-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.page-footer .footer-logo {
    display: block;
    width: clamp(168px, 14vw, 220px);
    height: auto;
}
.page-footer .footer-newsletter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 28px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}
.page-footer .footer-newsletter-btn:hover {
    border-color: #ea4c38;
    background: #ea4c38;
    color: #fff;
}
.page-footer .footer-address {
    text-align: right;
}
.page-footer .footer-info .footer-right {
    flex: 0 1 auto;
    text-align: right;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.page-footer .footer-info p {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.58);
    margin: 4px 0;
}

.page-footer .footer-label {
    color: rgba(255, 255, 255, 0.74);
    font-weight: 600;
}

.page-footer .footer-inline-divider {
    color: rgba(255, 255, 255, 0.5);
}

.page-footer .footer-bottom-divider {
    width: auto;
    height: 1px;
    margin: 24px var(--lc-site-edge) 0;
    background: rgba(255, 255, 255, 0.24);
}

.page-footer .footer-bottom-row {
    margin: 24px var(--lc-site-edge) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.page-footer .footer-copyright {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.58);
    text-align: left;
}

.page-footer .footer-policy-links {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.58);
}

.page-footer .footer-policy-link {
    color: inherit;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.page-footer .footer-policy-link:hover {
    color: #ea4c38;
}

.page-footer .footer-policy-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
}

.page-footer .footer-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.page-footer .footer-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile */
@media (max-width: 768px) {
    .page-footer {
        padding: 20px 0 !important;
    }
    .page-footer.visible {
        display: block !important;
        max-height: none !important;
        pointer-events: auto !important;
    }
    .page-footer .footer-info {
        padding: 18px 20px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .page-footer .footer-logo { width: 168px; }
    .page-footer .footer-info .footer-left,
    .page-footer .footer-info .footer-right,
    .page-footer .footer-address {
        text-align: left;
    }
    .page-footer .footer-info .footer-right {
        margin-left: 0;
        gap: 0;
    }
    .page-footer .footer-newsletter-btn {
        min-height: 44px;
        padding: 0 20px;
        font-size: 14px;
        white-space: normal;
    }
    .page-footer .footer-bottom-divider {
        width: auto;
        margin: 18px 20px 0;
    }
    .page-footer .footer-bottom-row {
        margin: 18px 20px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .page-footer .footer-copyright {
        text-align: left;
    }
    .page-footer .footer-policy-links {
        justify-content: flex-start;
    }
}
