/* ==========================================================
   Landing Page Styles (pb_public/index.html)
   ========================================================== */

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    font-family: 'Noto Serif SC', 'Songti SC', serif;
    color: #333;
}

.container {
    text-align: center;
    max-width: 600px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
}

.logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 40px;
}

.slogan {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    margin-bottom: 60px;
    color: #555;
    font-weight: 300;
}

.links-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    margin-top: auto;
}

.branch-link, .mp-link {
    display: inline-block;
    position: relative;
    text-decoration: none;
    color: #999;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.branch-link:hover, .mp-link:hover {
    color: #000;
    border-bottom-color: #000;
}

.mp-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 15px;
    width: 160px;
    height: 160px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 10px;
    pointer-events: none;
    box-sizing: border-box;
}

.mp-popup img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mp-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

@media (hover: hover) and (pointer: fine) {
    .mp-link:hover .mp-popup {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Fade In Animation */
.fade-in {
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
