#home.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

#home.hero .i3-hero-layer {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#home.hero .i3-hero-layer.is-active {
    opacity: 1;
}

#home.hero .hero-grid {
    position: relative;
    z-index: 1;
}

#home.hero .i3-hero-controls {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.i3-hero-controls button {
    cursor: pointer;
    border: 1px solid rgba(255,255,255,.6);
    background: rgba(4,18,44,.65);
    color: white;
    border-radius: 20px;
    min-width: 32px;
    min-height: 32px;
}

.i3-hero-controls button.is-active {
    background: #219bc7;
    border-color: #219bc7;
}

@media (prefers-reduced-motion: reduce) {
    #home.hero .i3-hero-layer {
        transition: none;
    }
}

/* Minimalist Slider Indicator V2 */

#home.hero .i3-hero-controls {
    bottom: 24px;
    gap: 4px;
}

.i3-hero-controls button,
.i3-hero-controls button.is-active {
    position: relative;
    width: 28px;
    min-width: 28px;
    height: 28px;
    min-height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 0;
}

.i3-hero-controls button:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 7px;
    height: 7px;
    border-radius: 10px;
    background: rgba(255,255,255,.45);
    transition: width .3s ease, background .3s ease;
}

.i3-hero-controls button.is-active::after {
    width: 26px;
    background: #219bc7;
}

.i3-hero-controls button:last-child::after {
    content: '';
    display: inline-block;
    width: 9px;
    height: 12px;
    border-left: 3px solid rgba(255,255,255,.65);
    border-right: 3px solid rgba(255,255,255,.65);
    box-sizing: border-box;
}

.i3-hero-controls button:last-child[aria-label^="Play"]::after,
.i3-hero-controls button:last-child[aria-label^="Putar"]::after {
    width: 0;
    height: 0;
    border-left: 9px solid rgba(255,255,255,.65);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 0;
}

.i3-hero-controls button:focus-visible {
    outline: 2px solid #219bc7;
    outline-offset: 2px;
}
