/* =====================================================================
   RSCTIX - PURE EVENT FLYER SLIDER SHOWCASE
   Theme: Nuansa Biru (#4862c4) & Pink (#f53f7b) Khas RSCTIX
   ===================================================================== */
.hero-flyer-section {
    position: relative;
    /* Background kaya nuansa Royal Blue (#4862c4) & Signature Pink (#f53f7b) */
    background: #080d24;
    background: radial-gradient(circle at 12% 20%, rgba(72, 98, 196, 0.45) 0%, transparent 48%),
                radial-gradient(circle at 88% 75%, rgba(245, 63, 123, 0.42) 0%, transparent 52%),
                radial-gradient(circle at 50% 10%, rgba(99, 102, 241, 0.22) 0%, transparent 45%),
                linear-gradient(135deg, #070c22 0%, #121738 45%, #22102b 100%);
    /* Offset untuk fixed #site-header (~118px) */
    padding-top: 140px;
    padding-bottom: 44px;
    overflow: hidden;
    color: #fff;
}

/* Ambient glow background with dynamic blue & pink orbs */
.hero-flyer-bg-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Blue Ambient Glow Orb (Kiri Atas) */
.hero-flyer-bg-ambient::before {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    top: -60px;
    left: -80px;
    background: radial-gradient(circle, rgba(72, 98, 196, 0.38) 0%, rgba(72, 98, 196, 0) 70%);
    filter: blur(60px);
    opacity: 0.85;
}

/* Pink Ambient Glow Orb (Kanan Bawah) */
.hero-flyer-bg-ambient::after {
    content: '';
    position: absolute;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    bottom: -80px;
    right: -80px;
    background: radial-gradient(circle, rgba(245, 63, 123, 0.35) 0%, rgba(245, 63, 123, 0) 70%);
    filter: blur(65px);
    opacity: 0.85;
}

.hero-flyer-bg-ambient .ambient-blur {
    position: absolute;
    inset: -40px;
    background-size: cover;
    background-position: center;
    filter: blur(60px) brightness(0.24);
    opacity: 0.4;
    mix-blend-mode: screen;
    transition: background-image 0.6s ease;
    transform: scale(1.1);
}

.hero-flyer-container {
    position: relative;
    z-index: 2;
}

/* Flyer Slider Wrapper */
.flyer-slider-wrap {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
}

.flyer-slides {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flyer-slide-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.96);
    transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
}

.flyer-slide-item.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

/* Centered Flyer Card with subtle blue-pink halo */
.flyer-card-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 10px;
}

.flyer-image-link {
    display: inline-block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #0d122c;
    box-shadow: 0 25px 60px -10px rgba(7, 10, 26, 0.85),
                0 0 35px -8px rgba(72, 98, 196, 0.35),
                0 0 35px -8px rgba(245, 63, 123, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    line-height: 0;
}

.flyer-image-link:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 35px 75px -10px rgba(7, 10, 26, 0.95),
                0 0 50px -5px rgba(245, 63, 123, 0.45),
                0 0 50px -5px rgba(72, 98, 196, 0.45),
                0 0 0 1px rgba(245, 63, 123, 0.55);
}

.flyer-image-link img {
    max-height: 480px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    border-radius: 20px;
    margin: 0 auto;
}

/* Nav Arrows with Pink & Blue Hover */
.flyer-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(18, 23, 50, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    outline: none;
    font-size: 16px;
}

.flyer-nav-arrow:hover {
    background: linear-gradient(135deg, #4862c4, #f53f7b);
    border-color: rgba(245, 63, 123, 0.5);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(245, 63, 123, 0.5);
    color: #ffffff;
}

.flyer-arrow-prev {
    left: 10px;
}

.flyer-arrow-next {
    right: 10px;
}

/* Controls Bar (Dots Indicator) */
.flyer-controls-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.flyer-dots-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.flyer-dot {
    width: 24px;
    height: 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
    outline: none;
}

.flyer-dot.active {
    background: linear-gradient(90deg, #4862c4, #f53f7b);
    width: 44px;
    box-shadow: 0 0 14px rgba(245, 63, 123, 0.65);
}

/* =====================================================================
   MOBILE & TABLET MODE: FULL-SCREEN HERO
   ===================================================================== */
@media (max-width: 991.98px) {
    .hero-flyer-section {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-top: 105px;
        padding-bottom: 20px;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }

    .hero-flyer-bg-ambient::before {
        width: 320px;
        height: 320px;
        top: -40px;
        left: -60px;
    }

    .hero-flyer-bg-ambient::after {
        width: 340px;
        height: 340px;
        bottom: -40px;
        right: -60px;
    }

    .hero-flyer-container {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        max-width: 100%;
        padding: 0 12px;
    }

    .flyer-slider-wrap {
        flex: 1;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 0;
        position: relative;
    }

    .flyer-slides {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .flyer-slide-item {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .flyer-slide-item.active {
        display: flex;
    }

    .flyer-card-center {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .flyer-image-link {
        max-height: calc(100dvh - 165px);
        max-height: calc(100vh - 165px);
        max-width: 92vw;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 18px;
        box-shadow: 0 20px 45px -10px rgba(7, 10, 26, 0.85),
                    0 0 30px -8px rgba(72, 98, 196, 0.3),
                    0 0 30px -8px rgba(245, 63, 123, 0.3),
                    0 0 0 1px rgba(255, 255, 255, 0.14);
    }

    .flyer-image-link img {
        max-height: calc(100dvh - 165px);
        max-height: calc(100vh - 165px);
        max-width: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 18px;
    }

    .flyer-controls-bar {
        margin-top: 14px;
        flex-shrink: 0;
    }

    .flyer-nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .flyer-arrow-prev {
        left: 6px;
    }

    .flyer-arrow-next {
        right: 6px;
    }
}

@media (max-width: 575.98px) {
    .hero-flyer-section {
        padding-top: 98px;
        padding-bottom: 16px;
    }

    .flyer-image-link {
        max-height: calc(100dvh - 155px);
        max-height: calc(100vh - 155px);
        max-width: 94vw;
        border-radius: 16px;
    }

    .flyer-image-link img {
        max-height: calc(100dvh - 155px);
        max-height: calc(100vh - 155px);
        border-radius: 16px;
    }

    .flyer-controls-bar {
        margin-top: 10px;
    }

    .flyer-dot {
        width: 20px;
        height: 5px;
    }

    .flyer-dot.active {
        width: 36px;
    }
}
