html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body.login-page {
    background-color: black;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    background-attachment: fixed;
    transition: background-image 0.8s ease-in-out, opacity 0.8s ease-in-out;

    min-height: 300px;
}

.page-wrapper {
    display: flex;
    align-items: flex-start;
    padding-top: 180px;
}

.login-main {
    width: 100%;
    padding-top: 6%;
    padding-left: 20%;
}

.login-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.logo-text {
    font-size: 4rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.login-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);

    margin-bottom: 20px;
    margin-top: -15px;
}

.login-info-link {
    margin-top: -15px;
}

.info-link-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    text-decoration: underline;
    cursor: pointer;
}

.info-link-text:hover {
    color: #ffffff;
}

.login-btn {
    width: 180px;
    padding: 14px 0;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    transition: 0.2s ease;
}

.login-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.bg-photo-credit {
    position: fixed;
    right: 12px;
    bottom: 12px;

    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);

    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    pointer-events: none;
    z-index: 9999;
}

@media (max-width: 992px) {
    .login-main {
        padding-left: 12%;
    }

    .logo-text {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    .login-main {
        padding-left: 5%;
        padding-top: 10%;
    }

    .logo-text {
        font-size: 2.8rem;
    }
}

@media (max-width: 480px) {
    .login-main {
        padding-left: 8%;
        padding-top: 16%;
    }

    .login-content {
        align-items: flex-start;
        text-align: left;
    }

    .logo-text {
        font-size: 2.2rem;
    }

    .login-subtitle {
        font-size: 0.9rem;
    }

    .login-btn {
        width: 150px;
        padding: 12px 0;
    }
}

.glass-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.glass-modal-content {
    width: 90%;
    max-width: 420px;
    padding: 24px;
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);

    color: #fff;
    text-align: center;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.4),
        inset 0 0 15px rgba(255, 255, 255, 0.1);

    animation: popupFade 0.25s ease-in-out;
}

.glass-modal-content p {
    font-size: 0.75rem;
}

@keyframes popupFade {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

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

.glass-close-btn {
    margin-top: 16px;
    padding: 10px 24px;
    border-radius: 12px;
    border: none;
    outline: none;

    font-size: 1rem;
    font-weight: 600;

    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    cursor: pointer;

    transition: 0.2s;
}

.glass-close-btn:hover {
    background: rgba(255, 255, 255, 0.28);
}

.login-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.login-btn:disabled {
    cursor: not-allowed !important;
    pointer-events: none !important;
    opacity: 0.6;
    transform: none;
}

.maintenance-msg {
    color: #000;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.8);
    padding: 6px 12px;
    border-radius: 6px;
    width: fit-content;
}

.logo-text {
    opacity: 0;
    transform: translateX(-40px);
    /* 왼쪽에서 */
    animation: logoSlideIn 0.9s ease-out 1.7s forwards;
}

@keyframes logoSlideIn {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

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

.login-subtitle {
    opacity: 0;
    transform: translateX(-30px);
    animation: subtitleSlideIn 0.9s ease-out 1.95s forwards;
}

@keyframes subtitleSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

#intro-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0s linear 0.8s;
}

#intro-overlay.is-hide {
    opacity: 0;
    visibility: hidden;
}

.intro-logo {
    max-width: 50px;
    width: 40vw;
    height: auto;

    opacity: 0;
    transition: opacity 0.6s ease;
}

.intro-logo.is-show {
    opacity: 1;
}

.intro-logo.is-hide {
    opacity: 0;
}

.menu-toggler {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    border: none;
    background: transparent;
    padding: 6px 10px;
}

.menu-toggler:focus {
    outline: none;
    box-shadow: none;
}

.nav-time {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
}

body.login-page::before {
    content: "";
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
    z-index: -1;
}

.symbol-preview {
    width: 120px;
    margin: 12px 0 20px;
    opacity: 0.95;
    pointer-events: none;
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}