/* ==========================
   TOP BUTTON
========================== */
p {
    word-break: keep-all;
}

.admin-link {
    font-size: 14px;
    opacity: .3;
    transition: .3s;
}

.admin-link:hover {
    opacity: 1;
}

.top-btn {
    position: fixed;
    right: 40px;
    bottom: 40px;

    width: 72px;
    height: 72px;

    border-radius: 50%;

    background: #b91f0d;
    border: 0;

    color: #fff;

    cursor: pointer;

    z-index: 999;

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    transition:
        opacity .4s,
        visibility .4s,
        transform .4s,
        width .3s,
        height .3s;
}

.top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.top-btn span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}

.top-btn:hover {
    width: 90px;
    height: 90px;
    transform: translateY(0) scale(1.15);

}

@media(max-width:768px) {

    .top-btn {
        right: 20px;
        bottom: 20px;

        width: 60px;
        height: 60px;
    }

}

/* ===========================
   HEADER
=========================== */
body.menu-open {
    overflow: hidden;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    pointer-events: none;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;

    pointer-events: auto;
}

.logo a {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .08em;
}

.gnb {
    display: flex;
    gap: 50px;
}

.gnb a {
    position: relative;

    color: #fff;
    font-size: 14px;
    font-weight: 500;

    transition: .3s;
}

.gnb a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -5px;

    width: 0;
    height: 1px;

    background: #fff;

    transition: .3s;
}

.gnb a:hover::after {
    width: 100%;
}


/* ===========================
   MENU BUTTON
=========================== */

.menu-btn {
    display: none;

    width: 42px;
    height: 42px;

    position: relative;

    background: none;
    border: 0;

    cursor: pointer;
}

.menu-btn span {
    position: absolute;
    left: 50%;

    width: 22px;
    height: 2px;

    background: #fff;

    transition: .4s;
}

.menu-btn span:nth-child(1) {
    top: 14px;
    transform: translateX(-50%);
}

.menu-btn span:nth-child(2) {
    top: 20px;
    transform: translateX(-50%);
}

.menu-btn span:nth-child(3) {
    top: 26px;
    transform: translateX(-50%);
}


/* ACTIVE */

.menu-btn.active span:nth-child(1) {
    top: 20px;
    transform: translateX(-50%) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    top: 20px;
    transform: translateX(-50%) rotate(-45deg);
}


/* ===========================
   MOBILE MENU
=========================== */

.mobile-menu {
    position: fixed;
    inset: 0;

    background: #050505;

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;

    transition: .5s;

    z-index: 9990;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 30px;

    text-align: center;
}

.mobile-menu a {
    color: #fff;

    font-size: 42px;
    font-weight: 800;

    letter-spacing: -.04em;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;

    text-align: center;
}

.mobile-lang {
    margin-top: 40px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.mobile-lang button {
    background: none;
    border: 0;
    padding: 0;

    color: rgba(255, 255, 255, .45);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: .15em;

    cursor: pointer;
    transition: .3s;
}

.mobile-lang button.active {
    color: #b91f0d;
}

.mobile-lang button:hover {
    color: #fff;
}

.mobile-menu {
    flex-direction: column;
}

.mobile-lang {
    margin-top: 42px;
    display: flex;
    gap: 18px;
}

.mobile-lang button {
    background: none;
    border: 0;
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .16em;
}

.mobile-lang button.active {
    color: #b91f0d;
}

/* ===========================
   TABLET
=========================== */

@media (max-width:1024px) {

    .header__inner {
        padding: 32px;
    }

    .gnb {
        gap: 30px;
    }

}


/* ===========================
   MOBILE
=========================== */

@media (max-width:768px) {

    .header__inner {
        padding: 25px;
    }

    .gnb {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .logo a {
        font-size: 16px;
    }

    .mobile-menu a {
        font-size: 12vw;
    }

}


body {
    cursor: none;
}

.cursor {
    position: fixed;
    left: 0;
    top: 0;

    width: 20px;
    height: 20px;

    border-radius: 50%;

    background: #b91f0d;

    pointer-events: none;

    z-index: 999999;

    display: flex;
    justify-content: center;
    align-items: center;

    transform: translate(-50%, -50%);

    mix-blend-mode: difference;

    transition:
        width .3s ease,
        height .3s ease;
}

.cursor span {
    opacity: 0;
    visibility: hidden;

    color: #fff;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;

    white-space: nowrap;
}


.lang-switch {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-switch button {
    background: none;
    border: 0;
    color: rgba(255, 255, 255, .45);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    cursor: pointer;
}

.lang-switch button.active {
    color: #fff;
}