.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    background: url("../images/hero-bg.jpg") center top / cover no-repeat;
    min-height: 100vh;
    overflow: hidden;
}

.hero-section__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section__container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 1.5rem;
    min-height: 0;
}

.hero-section__layout {
    flex: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: clamp(0.75rem, 2vh, 1.5rem);
    min-height: 100%;
}

.hero-section__header {
    align-self: start;
}

.hero-section__header h1 {
    margin: 0;
}

.hero-section__body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.hero-section__body-img {
    max-height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.hero-section__actions {
    align-self: end;
    position: relative;
    z-index: 2;
}

.hero-section__actions img {
    width: auto;
}

@media (max-width: 767.98px) {
    .hero-section__video {
        display: none;
    }

    .hero-section {
        min-height: 79vh;
    }

    .hero-section__container {
        justify-content: center;
        padding-top: 0;
    }

    .hero-section__layout {
        flex: 0 1 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: auto;
    }

    .hero-section__header,
    .hero-section__actions {
        align-self: center;
    }

    .hero-section__body {
        flex: 0 0 auto;
    }
}

.privilege-section {
    position: relative;
    background-color: #000;
    background-image: url("../images/bg-privilege.jpg");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 40px 0px;
    overflow: hidden;
}

.privilege-section .container {
    position: relative;
    z-index: 1;
}

.privilege-section.is-bg-left {
    background-image: url("../images/bg-privilege-left.jpg");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
}

.privilege-section.is-bg-right {
    background-image: url("../images/bg-privilege-right.jpg");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
}

.highlight-section {
    position: relative;
    background: url("../images/bg-hightlight.jpg") center top / cover no-repeat;
    overflow: hidden;
}

.highlight-section__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    mix-blend-mode: color-dodge;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 767.98px) {
    .highlight-section__video {
        display: none;
    }

    .highlight-effect {
        display: none;
    }
}

.highlight-section .container {
    position: relative;
    z-index: 1;
}

.highlight-effect {
    position: absolute;
    top: -181px;
    left: 50%;
    transform: translateX(-50%);
    mix-blend-mode: color-dodge;
    pointer-events: none;
    filter: grayscale(1);
}

.highlight-visual {
    position: relative;
    display: inline-block;
    max-width: 100%;
    vertical-align: top;
}

.highlight-main-link {
    position: relative;
    z-index: 1;
    display: block;
}

.highlight-main-link img {
    display: block;
    width: 100%;
    height: auto;
}

/* design coords on highlight 1356x839 — fire-sword 324x210 at (-20, 243) */
.fire-sword {
    position: absolute;
    left: calc(100% * -20 / 1356);
    top: calc(100% * 243 / 839);
    width: calc(100% * 324 / 1356);
    height: auto;
    z-index: 0;
    pointer-events: none;
}

.privilege-center-char {
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    width: 61%;
    z-index: -1;
}

.privilege-join-btn {
    position: static;
    transform: none;
    display: inline-block;
    margin-top: 1.5rem;
    z-index: 2;
}

@media (min-width: 1200px) {
    .privilege-join-btn {
        position: absolute;
        bottom: 0%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0;
    }
}

.privilege-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: block;
    pointer-events: none;
    z-index: 3;
}
.privilege-item-visual {
    position: relative;
    display: inline-block;
    width: 100%;
}

.privilege-item-visual__bg {
    position: relative;
    display: block;
    width: 100%;
    z-index: 1;
}

.privilege-item-visual__bg:not(img) {
    aspect-ratio: 420 / 420;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.privilege-item-visual__bg--left {
    background: url("../images/bg-item-left.png") center / 85% no-repeat;
}

.privilege-item-visual__bg--right {
    background: url("../images/bg-item-right.png") center / 85% no-repeat;
}

.privilege-item-visual__bg:not(img) img:not(.privilege-item-visual__aura) {
    position: relative;
    width: 85%;
    z-index: 1;
    pointer-events: none;
}

.privilege-item-visual__item-base {
    position: relative;
    z-index: 2;
}

.privilege-item-visual__aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    z-index: 0;
    pointer-events: none;
}

.ygth-section {
    position: relative;
    background: url("../images/bg-ygtc.jpg") center top / cover no-repeat;
    min-height: 122vh;
    overflow: hidden;
}

.ygth-section__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.ygth-section.is-video-playing .ygth-section__video {
    opacity: 1;
}

.ygth-section__mobile-bg {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}

@media (max-width: 767.98px) {
    .ygth-section {
        background: none;
        min-height: 0;
    }

    .ygth-section__video {
        display: none;
    }
}

.ygth-fade-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    pointer-events: none;
    z-index: 1;
}

.footer {
    background: #000;
    padding: 2em 0;
    text-align: center;
}

.footer img {
    width: 100%;
    height: auto;
    max-width: 200px;
}

.footer__text {
    color: #fff;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 200 !important;
    line-height: normal;
}

a > img {
    transition: filter 0.25s ease;
}

a:hover > img {
    filter: brightness(1.12);
}

.floating-menu-wrap {
    position: fixed;
    left: clamp(0.5rem, 1.5vw, 1.25rem);
    top: 50%;
    z-index: 100;
    will-change: transform;
}

.floating-menu-toggle {
    display: none;
}

.floating-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    pointer-events: auto;
}

.floating-menu a {
    display: block;
    line-height: 0;
    filter: drop-shadow(2px 4px 6px black);
    opacity: 0;
    will-change: transform, opacity;
}

.floating-menu img {
    display: block;
    width: auto;
    height: auto;
}

@media (max-width: 767.98px) {
    .floating-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.75rem;
        height: 2.75rem;
        padding: 0;
        border: 1px solid rgba(255, 196, 120, 0.45);
        border-radius: 50%;
        background: rgba(8, 4, 2, 0.82);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
        cursor: pointer;
        opacity: 0;
        transition: border-color 0.25s ease, background 0.25s ease;
    }

    .floating-menu-toggle:focus-visible {
        outline: 2px solid rgba(255, 196, 120, 0.8);
        outline-offset: 2px;
    }

    .floating-menu-wrap.is-open .floating-menu-toggle {
        border-color: rgba(255, 196, 120, 0.85);
        background: rgba(28, 12, 4, 0.92);
    }

    .floating-menu-toggle__icon,
    .floating-menu-toggle__icon::before,
    .floating-menu-toggle__icon::after {
        display: block;
        width: 1rem;
        height: 2px;
        border-radius: 999px;
        background: #ffc478;
        transition: transform 0.28s ease, opacity 0.2s ease;
    }

    .floating-menu-toggle__icon {
        position: relative;
    }

    .floating-menu-toggle__icon::before,
    .floating-menu-toggle__icon::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .floating-menu-toggle__icon::before {
        top: -5px;
    }

    .floating-menu-toggle__icon::after {
        top: 5px;
    }

    .floating-menu-wrap.is-open .floating-menu-toggle__icon {
        background: transparent;
    }

    .floating-menu-wrap.is-open .floating-menu-toggle__icon::before {
        top: 0;
        transform: rotate(45deg);
    }

    .floating-menu-wrap.is-open .floating-menu-toggle__icon::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .floating-menu {
        position: absolute;
        left: 0;
        bottom: calc(100% + 0.5rem);
        pointer-events: none;
    }

    .floating-menu-wrap.is-open .floating-menu {
        pointer-events: auto;
    }
}

.floating-banner-wrap {
    position: fixed;
    right: clamp(0.25rem, 1.5vw, 1rem);
    bottom: clamp(0.75rem, 3vh, 2rem);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.45rem;
    pointer-events: none;
}

.floating-banner-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid rgba(255, 196, 120, 0.45);
    border-radius: 50%;
    background: rgba(8, 4, 2, 0.82);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    opacity: 0;
    pointer-events: auto;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.floating-banner-toggle:focus-visible {
    outline: 2px solid rgba(255, 196, 120, 0.8);
    outline-offset: 2px;
}

.floating-banner-wrap.is-open .floating-banner-toggle {
    border-color: rgba(255, 196, 120, 0.85);
    background: rgba(28, 12, 4, 0.92);
}

.floating-banner-toggle__icon {
    display: block;
    width: 0.45rem;
    height: 0.45rem;
    border-top: 2px solid #ffc478;
    border-right: 2px solid #ffc478;
    transform: rotate(-135deg);
    transition: transform 0.28s ease;
    margin-left: 2px;
}

.floating-banner-wrap:not(.is-open) .floating-banner-toggle__icon {
    transform: rotate(45deg);
    margin-left: -2px;
}

.floating-banner-panel {
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

.floating-banner-wrap.is-open .floating-banner-panel {
    pointer-events: auto;
}

.floating-banner {
    position: relative;
    display: inline-grid;
    line-height: 0;
    isolation: isolate;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.floating-banner img {
    grid-area: 1 / 1;
    place-self: center;
    display: block;
    width: auto;
    height: auto;
    max-width: none;
    pointer-events: none;
}

.floating-banner__box {
    z-index: 1;
    width: 100%;
}
