/*#region Intro base*/
.intro-button
{
    opacity: 1;
}

.game-intro-page
{
    min-height: 100vh;
    color: var(--cream);
    background-color: var(--black);
    overflow-x: hidden;
}

.game-intro-page strong
{
    font-weight: 400;
}

.intro-hero,
.intro-section
{
    width: 100%;
    padding-inline: clamp(24px, 7vw, 96px);
}

.intro-hero
{
    position: relative;
    min-height: 840px;
    padding-top: calc(var(--top-bar-height) + var(--tool-bar-height) + 96px);
    padding-bottom: 110px;

    display: grid;
    grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
    gap: clamp(56px, 8vw, 120px);
    align-items: center;

    border-bottom: 1px solid rgba(234, 220, 194, 0.14);
    overflow: hidden;
}

.intro-hero::before
{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    background-image: url("media/MainPage/Main1/Back1.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.34;
}

.intro-hero::after
{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background-color: rgba(11, 9, 9, 0.7);
    pointer-events: none;
}

.intro-hero-copy,
.trailer-frame
{
    position: relative;
    z-index: 2;
}

.intro-logo
{
    display: block;
    width: min(100%, 360px);
    height: auto;
    filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.42));
}

.intro-lead
{
    max-width: 500px;
    margin-top: 34px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.9;
    opacity: 0.9;
}

.trailer-frame
{
    width: 100%;
}

.trailer-video
{
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;

    background-color: rgba(234, 220, 194, 0.06);
    border: 1px solid rgba(234, 220, 194, 0.42);
}

/*#endregion*/

/*#region Shared section*/
.intro-section
{
    padding-top: 112px;
    padding-bottom: 112px;
    border-bottom: 1px solid rgba(234, 220, 194, 0.42);
}

.intro-section-title,
.info-block-list,
.feature-grid,
.flow-carousel,
.map-layout
{
    max-width: 1180px;
    margin-inline: auto;
}

.intro-section-title
{
    min-height: 64px;
    padding: 0 26px;
    margin-bottom: 58px;

    display: flex;
    align-items: center;
    gap: 14px;

    background-color: rgba(234, 220, 194, 0.1);
}

.section-symbol
{
    width: 30px;
    height: 30px;
    flex: 0 0 30px;

    background-image: url("media/GameIntro/Flower.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.intro-section-title h2
{
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 800;
    line-height: 1.1;
}

.info-block-list
{
    display: grid;
    gap: 52px;
}

.text-panel
{
    max-width: 980px;
}

.text-panel h3
{
    margin-bottom: 18px;
    font-size: 26px;
    font-weight: 800;
}

.text-panel p
{
    max-width: 920px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.9;
    opacity: 0.9;
}

.text-panel p + p
{
    margin-top: 16px;
}
/*#endregion*/

/*#region Feature*/
.feature-grid
{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
}

.feature-card
{
    min-height: 460px;

    border: 1px solid rgba(234, 220, 194, 0.46);
    background-color: rgba(234, 220, 194, 0.04);
}

.image-placeholder,
.flow-image-placeholder
{
    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(234, 220, 194, 0.72);
    background:
        linear-gradient(135deg, rgba(234, 220, 194, 0.08), rgba(234, 220, 194, 0.02)),
        rgba(13, 12, 11, 0.96);
    border-bottom: 1px solid rgba(234, 220, 194, 0.26);

    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
}

.image-placeholder
{
    height: 250px;
    padding: 0;
    overflow: hidden;
}

.feature-card h3
{
    margin: 28px 28px 0;
    font-size: 23px;
    font-weight: 800;
    text-align: center;
}

.feature-card p
{
    padding: 24px 34px 38px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.78;
    text-align: center;
    opacity: 0.88;
}
/*#endregion*/

/*#region Flow*/
.flow-carousel
{
    position: relative;
    padding: 0 74px 62px;
}

.flow-stage
{
    position: relative;
    min-height: 560px;
    perspective: 1400px;
    transform-style: preserve-3d;
}

.flow-slide
{
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 1;

    width: min(650px, 72%);
    min-height: 480px;

    color: var(--cream);
    border: 1px solid rgba(234, 220, 194, 0.46);
    background-color: rgba(18, 16, 15, 0.96);
    box-shadow: 0 34px 70px rgba(0, 0, 0, 0.48);
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateZ(-360px) scale(0.72);
    transition: transform 0.65s ease, opacity 0.65s ease, filter 0.65s ease;
}

.flow-slide.active
{
    z-index: 5;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateZ(90px) scale(1);
}

.flow-slide.prev
{
    z-index: 3;
    opacity: 0.46;
    filter: brightness(0.72);
    transform: translateX(-122%) translateY(44px) rotateY(30deg) scale(0.78);
}

.flow-slide.next
{
    z-index: 3;
    opacity: 0.46;
    filter: brightness(0.72);
    transform: translateX(22%) translateY(44px) rotateY(-30deg) scale(0.78);
}

.flow-image-placeholder
{
    height: 300px;
    border-bottom: 1px solid rgba(234, 220, 194, 0.26);
    overflow: hidden;
}

.image-placeholder img,
.flow-image-placeholder img,
.map-image
{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flow-image-placeholder.question-mark
{
    font-size: 86px;
    font-weight: 800;
}

.flow-slide-copy
{
    padding: 30px 42px 38px;
}

.flow-slide-copy span
{
    display: block;
    margin-bottom: 12px;

    font-size: 15px;
    font-weight: 400;
    opacity: 0.58;
}

.flow-slide-copy h3
{
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
}

.flow-slide-copy p
{
    margin-top: 18px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    opacity: 0.9;
}

.flow-nav
{
    position: absolute;
    top: 218px;
    z-index: 7;

    width: 48px;
    height: 88px;

    background-color: rgba(234, 220, 194, 0.08);
    border: 1px solid rgba(234, 220, 194, 0.28);
    cursor: pointer;
    transition: background-color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.flow-nav:hover
{
    background-color: rgba(234, 220, 194, 0.16);
    transform: translateY(-2px);
}

.flow-nav:focus-visible,
.flow-dots button:focus-visible
{
    outline: 1px solid var(--cream);
    outline-offset: 5px;
}

.flow-nav::before
{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;

    width: 18px;
    height: 18px;
    border-top: 3px solid rgba(234, 220, 194, 0.8);
    border-right: 3px solid rgba(234, 220, 194, 0.8);
}

.flow-nav-prev
{
    left: 0;
}

.flow-nav-prev::before
{
    transform: translate(-38%, -50%) rotate(-135deg);
}

.flow-nav-next
{
    right: 0;
}

.flow-nav-next::before
{
    transform: translate(-62%, -50%) rotate(45deg);
}

.flow-dots
{
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 8;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;

    transform: translateX(-50%);
}

.flow-dots button
{
    width: 10px;
    height: 10px;
    padding: 0;

    background-color: rgba(234, 220, 194, 0.34);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.flow-dots button.active
{
    background-color: var(--cream);
    transform: scale(1.35);
}
/*#endregion*/

/*#region Map*/
.map-layout
{
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(280px, 420px);
    gap: clamp(48px, 7vw, 86px);
    align-items: center;
}

.hotel-map
{
    position: relative;
    aspect-ratio: 1672 / 941;

    border: 1px solid rgba(234, 220, 194, 0.46);
    background-color: rgba(13, 12, 11, 0.96);
    overflow: hidden;
}

.map-copy h3
{
    font-size: 28px;
    font-weight: 800;
}

.map-copy p
{
    margin-top: 24px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9;
    opacity: 0.9;
}
/*#endregion*/

/*#region Responsive*/
@media (max-width: 980px)
{
    .intro-hero,
    .map-layout,
    .feature-grid
    {
        grid-template-columns: 1fr;
    }

    .intro-hero
    {
        min-height: auto;
    }

    .flow-carousel
    {
        padding-inline: 58px;
    }

    .flow-slide
    {
        width: min(620px, 78%);
    }
}

@media (max-width: 720px)
{
    .intro-hero
    {
        padding-top: calc(var(--top-bar-height) + var(--tool-bar-height) + 54px);
        padding-bottom: 64px;
    }

    .intro-section
    {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .intro-section-title
    {
        padding: 0 16px;
    }

    .text-panel p
    {
        font-size: 15px;
    }

    .feature-card h3
    {
        font-size: 20px;
    }

    .flow-carousel
    {
        padding: 0 0 58px;
    }

    .flow-stage
    {
        min-height: 520px;
    }

    .flow-slide
    {
        width: min(440px, 86%);
        min-height: 446px;
    }

    .flow-slide.prev
    {
        opacity: 0.2;
        transform: translateX(-112%) translateY(42px) rotateY(24deg) scale(0.72);
    }

    .flow-slide.next
    {
        opacity: 0.2;
        transform: translateX(12%) translateY(42px) rotateY(-24deg) scale(0.72);
    }

    .flow-image-placeholder
    {
        height: 240px;
    }

    .flow-slide-copy
    {
        padding: 26px 28px 34px;
    }

    .flow-slide-copy h3
    {
        font-size: 24px;
    }

    .flow-nav
    {
        top: 194px;
        width: 42px;
        height: 72px;
        background-color: rgba(11, 9, 9, 0.72);
    }

    .hotel-map
    {
        min-height: auto;
    }
}
/*#endregion*/
