/* =====================================================
   MAIN SLIDER
===================================================== */

.dance-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: url(../images/hero_banner_bg_2.png) no-repeat center center;
    background-size: cover;
    transition: background-color .8s ease;
}


/* =====================================================
   BIG BACKGROUND TEXT
===================================================== */

.bg-title {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    z-index: 1;
    white-space: nowrap;
    pointer-events: auto;
    user-select: none;
    transition: opacity .45s ease, transform .65s ease;
}

.character.prev,
.character.next {
    pointer-events: auto;
    cursor: pointer;
}


/* =====================================================
   SLIDES CONTAINER
===================================================== */

.slides-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

/* =====================================================
   CHARACTER
===================================================== */

.character {
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: 230px;
    height: auto;
    opacity: 0;
    z-index: 1;
    pointer-events: auto;
    transform: translateX(-50%);
    transition: left .75s cubic-bezier(.65, .05, .36, 1), width .75s cubic-bezier(.65, .05, .36, 1), opacity .55s ease, transform .75s cubic-bezier(.65, .05, .36, 1);
}

.character img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}


/* =====================================================
   ACTIVE / CENTER
===================================================== */

.character.active {
    left: 50%;
    width: 300px;
    opacity: 1;
    z-index: 5;
    transform: translateX(-50%);
}


/* =====================================================
   LEFT
===================================================== */

.character.prev {
    left: calc(50% - 250px);
    width: 150px;
    opacity: .9;
    z-index: 3;
    transform: translateX(-50%);
}

/* =====================================================
   RIGHT
===================================================== */

.character.next {
    left: calc(50% + 250px);
    width: 150px;
    opacity: .9;
    z-index: 3;
    transform: translateX(-50%);
}


/* =====================================================
   HIDDEN LEFT
===================================================== */

.character.hidden-left {
    left: -20%;
    width: 150px;
    opacity: 0;
    z-index: 1;
}

/* =====================================================
   HIDDEN RIGHT
===================================================== */

.character.hidden-right {
    left: 120%;
    width: 150px;
    opacity: 0;
    z-index: 1;
}


/* =====================================================
   CAPTION
===================================================== */

.slider-caption {
    position: absolute;
    left: 8%;
    bottom: 80px;
    width: 430px;
    z-index: 10;
    color: var(--white);
    opacity: 1;
}

.slider-caption h2 {
    margin-bottom: 7px;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 600;
    color: var(--white);
}


.slider-caption p {
    font-size: 1rem;
    line-height: 1.45;
    color: var(--white);
    font-weight: 400;
}


/* =====================================================
   NAVIGATION
===================================================== */

.slider-navigation {
    position: absolute;
    left: 8%;
    bottom: 30px;
    z-index: 20;
    display: flex;
    gap: 8px;
}

.slider-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--white);
    border-radius: 50%;
    background: transparent;
    color: var(--white);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.slider-btn:hover {
    background: var(--white);
    color: var(--text-dark);
    transform: scale(1.08);
}


/* =====================================================
   COUNTER
===================================================== */

.slide-counter {
    position: absolute;
    right: 7%;
    bottom: 25px;
    z-index: 20;
    color: var(--white);
    font-size: 11px;
    letter-spacing: 2px;
}


/* =====================================================
   PROGRESS BAR
===================================================== */

.progress-line {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, .15);
    z-index: 30;
}

.progress-bar {
    width: 0;
    height: 100%;
    background: var(--white);
    transition: width 5s linear;
}


/* =====================================================
   TABLET
===================================================== */

@media(max-width:991px) {

    .dance-slider {
        min-height: 560px;
    }

    .bg-title {
        top: 39%;
        font-size: 145px;
        letter-spacing: -6px;
    }

    .shape-1 {

        width: 170px;
        height: 170px;

        top: 16%;
    }

    .character {
        bottom: 25px;
    }

    .character.active {
        width: 210px;
    }

    .character.prev {

        left: calc(50% - 165px);

        width: 105px;
    }

    .character.next {

        left: calc(50% + 165px);

        width: 105px;
    }

    .slider-caption {

        left: 5%;

        bottom: 32px;
    }

    .slider-navigation {

        left: 5%;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media(max-width:767px) {

    .dance-slider {
        height: 90vh;
        min-height: 440px;
    }

    .bg-title {
        top: 25%;
        font-size: 82px;
        letter-spacing: -4px;
    }

    .shape-1 {

        width: 120px;

        height: 145px;

        top: 13%;
    }

    .shape-2 {

        left: 20%;

        width: 42px;

        height: 80px;
    }

    .shape-3 {

        right: 20%;

        width: 42px;

        height: 80px;
    }

    .character {
        bottom: 89px;
    }

    .character.active {
        width: 150px;
    }

    .character.prev {

        left: calc(50% - 110px);

        width: 85px;
    }

    .character.next {

        left: calc(50% + 110px);

        width: 85px;
    }

    .slider-caption {
        left: 20px;
        bottom: 60px;
        width: calc(100% - 40px);
    }

    .slider-caption h2 {

        font-size: 13px;
    }

    .slider-caption p {
        font-size: 14px;
        max-width: 100%;
        text-align: left;
        margin-bottom: 0px;
    }

    .slider-navigation {
        left: 3%;
        right: auto;
        bottom: auto;
        top: 93%;
        width: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .slide-counter {

        display: none;
    }

    .slides-container {
        top: 82px;
    }
    #danceSlider .slides-container {
        margin-top: -90px;
    }

    .limited-badge {
        font-size: 2.375rem;
        letter-spacing: -0.75px;
        margin: 0 20px;
    }



}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media(max-width:480px) {

    .bg-title {
        font-size: 75px;
        letter-spacing: 1px;
    }

    .character.active {
        width: 150px;
    }

    .character.prev {
        left: calc(50% - 100px);
        width: 90px;
    }

    .character.next {
        left: calc(50% + 100px);
        width: 90px;
    }
}

#danceSlider .slides-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

#danceSlider .arc-char {
    position: absolute;
    left: 50%;
    bottom: var(--arc-floor, 4.2%);
    height: var(--arc-char-height, 72%);
    transform-origin: 50% 100%;
    will-change: transform, opacity;
    opacity: 0;
    pointer-events: auto;
}

#danceSlider .arc-char img {
    height: 100%;
    width: auto;
    max-width: none;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

@media (max-width: 767px) {
    #danceSlider {
        --arc-char-height: 60%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #danceSlider .arc-char {
        transition: none;
    }
}