/* ===== Banner Base ===== */
.banner-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 700 / 350;
    height: 90%;
    min-height: clamp(520px, 72vh, 860px);
    overflow: hidden;

    /* 깊은 네이비 그라데이션 + 은은한 비네팅 */
    background: radial-gradient(1200px 600px at 60% 30%, rgba(21, 43, 62, 0.25) 0%, rgba(10, 20, 32, 0.6) 55%, rgba(8, 16, 28, 0.9) 100%),
        linear-gradient(180deg, #0c1724 0%, #0b1622 60%, #0a1420 100%);
    background-repeat: no-repeat;
    background-size: cover;
    color: #eaf3ff;
    isolation: isolate;
}

/* 배경 전환 애니메이션 */
.banner-wrapper.slide-left {
    animation: bgSlideFromRight .9s ease-out both;
}

@keyframes bgSlideFromRight {
    0% {
        background-position: right center;
        opacity: .85;
    }

    100% {
        background-position: center;
        opacity: 1;
    }
}

/* 슬라이드 스택 */
.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s ease;
    display: grid;
    place-items: center;
}

.banner-slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* ===== Layout ===== */
.banner-content {
    width: min(1200px, 92vw);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    /* 좌 텍스트 / 우 이미지 */
    align-items: center;
    transform: translateY(25px);
    gap: clamp(24px, 4vw, 100px);
}

/* ===== Left: Headline (EN) ===== */

.banner-main-text {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 30px;
}


.banner-main-text .text-eng p {
    margin: 0;
    line-height: .92;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    /* 거대한 사이즈를 화면에 맞춰 */
    font-size: clamp(40px, 5.5vw, 148px);

    /* 네온 글로우 */
    color: #dff1ff;
    filter: drop-shadow(0 12px 28px rgba(135, 180, 255, .25));
    text-shadow:
        0 0 10px rgba(164, 202, 255, .75),
        0 0 24px rgba(164, 202, 255, .35),
        0 0 52px rgba(135, 180, 255, .25),
        0 2px 0 rgba(255, 255, 255, .05);
}

/* ===== Left: Korean badges ===== */
.banner-main-text .text-kor {
    margin-top: clamp(10px, 1.8vw, 18px);
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.banner-main-text .text-kor h2 {
    margin: 0;
    font-size: clamp(35px, 3.3vw, 52px);
    font-weight: 800;
    filter: drop-shadow(0 12px 28px rgb(255, 255, 255));
    text-shadow:
        0 0 10px rgba(164, 202, 255, .75),
        0 0 24px rgba(255, 255, 255, 0.35),
        0 0 52px rgba(255, 255, 255, 0.25),
        0 2px 0 rgba(213, 118, 118, 0.05);
    font-family: 'suit-extrabold';
}

.banner-main-text .text-kor h2 span {
    display: inline-block;
    padding: 14px 18px;
    border-radius: 14px;
}

.text-kor img {
    width: 150px;
}

.banner-product-text {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 30px;
}

.banner-product-text .text-eng p {
    margin: 0;
    line-height: .92;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 0;
    /* 거대한 사이즈를 화면에 맞춰 */
    font-size: clamp(40px, 5.5vw, 148px);

    /* 네온 글로우 */
    color: #dff1ff;
    filter: drop-shadow(0 12px 28px rgba(135, 180, 255, .25));
    text-shadow:
        0 0 10px rgba(164, 202, 255, .75),
        0 0 24px rgba(164, 202, 255, .35),
        0 0 52px rgba(135, 180, 255, .25),
        0 2px 0 rgba(255, 255, 255, .05);

}

.banner-product-text .text-kor {

    gap: 30px;
}

.banner-product-text .text-kor h2 {
    margin: 0;
    font-size: clamp(35px, 3.3vw, 52px);
    font-weight: 800;
    filter: drop-shadow(0 12px 28px rgb(255, 255, 255));
    text-shadow:
        0 0 10px rgba(164, 202, 255, .75),
        0 0 24px rgba(255, 255, 255, 0.35),
        0 0 52px rgba(255, 255, 255, 0.25),
        0 2px 0 rgba(213, 118, 118, 0.05);
    font-family: 'suit-extrabold';
}

.banner-product-text .text-kor h2 span {
    display: inline-block;
    padding: 14px 18px;
    border-radius: 14px;
}

/* ===== Right: Product / Photo Card ===== */
.banner-product {
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-main img {
    width: clamp(500px, 40vw, 550px);
    --fade: 10px;

    max-height: 70vh;
    background: #fff;

    /* 가로 + 세로 페더를 교차시켜 경계 흐림 */
    -webkit-mask:
        linear-gradient(to right,
            transparent, #000 var(--fade),
            #000 calc(100% - var(--fade)), transparent),
        linear-gradient(to bottom,
            transparent, #000 var(--fade),
            #000 calc(100% - var(--fade)), transparent);
    -webkit-mask-composite: source-in;
    /* Safari/Chrome */
    mask-composite: intersect;
    /* Firefox */
    border-radius: 12px;
}

.banner-product img {
    width: clamp(400px, 5vw, 550px);
    --fade: 10px;

    max-height: 70vh;
    background: #fff;

    /* 가로 + 세로 페더를 교차시켜 경계 흐림 */
    -webkit-mask:
        linear-gradient(to right,
            transparent, #000 var(--fade),
            #000 calc(100% - var(--fade)), transparent),
        linear-gradient(to bottom,
            transparent, #000 var(--fade),
            #000 calc(100% - var(--fade)), transparent);
    -webkit-mask-composite: source-in;
    /* Safari/Chrome */
    mask-composite: intersect;
    /* Firefox */
    border-radius: 12px;
}

/* ===== Quick Menu (슬라이드 2~3에만 노출되는 영역) ===== */
.banner-quick-menu {

    display: flex;
    gap: 30px;
    flex-wrap: nowrap;
}

.banner-quick-menu>div {
    cursor: pointer;
    user-select: none;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(15, 27, 41, .7);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(4px);
    transition: transform .15s ease, background .2s ease, border-color .2s ease;
}

.banner-quick-menu>div:hover {
    background: rgba(20, 34, 52, .85);
    border-color: rgba(131, 207, 248, .35);
}

.banner-quick-menu br {
    display: none;
}

/* ===== Arrows ===== */
.arrow-banner {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    font-size: 28px;
    line-height: 1;
    border-radius: 50%;
    color: #eaf3ff;
    background: radial-gradient(120% 120% at 30% 30%, #3a86ff 0%, #2962ff 60%, #1e48b0 100%);
    box-shadow:
        0 8px 22px rgba(0, 0, 0, .35),
        inset 0 0 0 1px rgba(255, 255, 255, .18);
    cursor: pointer;
    z-index: 3;
    transition: transform .15s ease, filter .2s ease, box-shadow .2s ease;
}

.arrow-left {
    left: 28px;
}

.arrow-right {
    right: 28px;
}

.arrow-banner:hover {
    transform: translateY(-50%) scale(1.04);
    filter: brightness(1.08);
}


/* ===== Variants (첫 슬라이드 특수 여백) ===== */
.banner-content.banner-content-main.banner-ground .banner-main-text .text-eng p {
    /* 첫 장은 더 웅장하게 여백 */
    margin-bottom: clamp(4px, .8vw, 12px);
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .banner-content {
        grid-template-columns: 1fr;
        justify-content: center;
        gap: 30px;
    }

    .banner-product img {
        width: clamp(350px, 5vw, 400px);
        max-height: 44vh;
    }

    .arrow-banner {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .arrow-left {
        left: 18px;
    }

    .arrow-right {
        right: 18px;
    }
}

@media (max-width: 640px) {
    .banner-ground {
        display: grid;
        grid-template-rows: 1.3fr 1fr 1fr;
    }

    .banner-content {
        justify-content: center;
        align-items: center;
    }

    .banner-main-text .text-eng p {
        font-size: clamp(40px, 12vw, 58px);
    }

    .banner-main-text .text-kor {

        gap: 15px;
    }

    .banner-main-text .text-kor img {
        width: 100px;
    }

    .banner-main img {
        width: 110vw;
    }

    .banner-product img {
        width: 60vw;
        max-height: 38vh;
        border-radius: 10px;
    }

    .banner-quick-menu {
        display: flex;
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    .banner-quick-menu p {
        display: none;
    }

    .banner-quick-menu .info-card h3 {
        font-size: clamp(15px, 5vw, 24px);
        border-bottom: none;
        margin: 0;
        padding: 0;
    }

    .banner-quick-menu .info-card {
        padding-top: clamp(20px, 6vw, 28px);
        padding-bottom: clamp(20px, 6vw, 28px);
        height: fit-content;
        background: radial-gradient(120% 120% at 30% 30%, #283954 0%, #283954 60%, #53679a 100%);
    }

    .arrow-banner {
        background: radial-gradient(120% 120% at 30% 30%, #afafaf 0%, #737373 60%, #1e48b0 100%);

    }

    .banner-product-text .text-kor {
        line-height: 1.7rem;
    }
}