.hero-slider {
    position: relative;
    width: 100%;
    height: 680px;
    overflow: hidden;
    background: #0b1d3a;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-fixed {
    background-image: url('/images/encg_slider.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: brightness(0.45);
    transform: scale(1.02);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.20) 35%, rgba(0,0,0,0.30) 100%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.hero-poster {
    width: 100%;
    max-width: 320px;
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    padding: 8px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.35);
}

.hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #fff;
}

.hero-content-box {
    max-width: 720px;
    background: rgba(70, 70, 70, 0.45);
    padding: 28px 36px;
    color: #fff;
    backdrop-filter: blur(2px);
}

.hero-kicker {
    font-size: 1.1rem;
    font-style: italic;
    color: #ff7a3d;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.15;
    font-weight: 700;
    color: #f2c21f;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #f1f1f1;
    margin-bottom: 20px;
}

.hero-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #bd3d3f;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s ease;
}

.hero-btn:hover {
    background: #9d2f31;
    color: #fff;
    transform: translateY(-2px);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.hero-nav:hover {
    background: rgba(255,255,255,0.18);
}

.hero-prev {
    left: 12px;
}

.hero-next {
    right: 12px;
}

.hero-pagination {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.hero-dot.active {
    background: #5b38d1;
}

@media (max-width: 1200px) {
    .hero-inner {
        gap: 40px;
    }

    .hero-poster {
        width: 300px;
    }

    .hero-poster img {
        height: 460px;
    }

    .hero-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 992px) {
    .hero-slider {
        height: auto;
        min-height: 700px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        row-gap: 24px;
        padding: 70px 20px 90px;
    }

    .hero-poster img {
        max-width: 220px;
        height: 320px;
    }

    .hero-content-box {
        max-width: 100%;
        text-align: center;
    }

    .hero-kicker {
        text-align: center;
    }

    .hero-title {
        font-size: 1.9rem;
    }
     .hero-bg-fixed {
        background-attachment: scroll;
    }
}

@media (max-width: 576px) {
    .hero-poster img {
        max-width: 180px;
        height: 260px;
    }

    .hero-content-box {
        padding: 20px;
    }

    .hero-title {
        font-size: 1.45rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }
}