.hero-slider {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-slider .swiper {
    width: 100%;
    height: 100%;
}

.hero-slider .swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-slider .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-slider .hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    padding: 0 2rem;
    margin-left: 5%;
}

.hero-slider .hero-title {
    /* font-size: 4rem; */
    color: #ccc;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-slider .hero-subtitle {
    font-size: 1.3rem;
    color: #ccc;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.hero-slider .movie-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-slider .meta-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1rem;
    /* border-radius: 25px; */
    border-radius: .33rem;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-slider .badge-rating-slider {
    border: 1px solid #f0d25c;
    border-radius: .33rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1rem;
}
.hero-slider .badge-rating-slider:before {    
    content: "IMDb";
    color: #f0d25c;
    position: relative;
    font-weight: 500;
    padding-right: 4px;
    font-size: 10px;
    line-height: 1;
}

.hero-slider .hero-description {
    font-size: 1.0rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: #ddd;
    max-width: 600px;
}

.hero-slider .hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.hero-slider .btn-play {
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.hero-slider .btn-play:hover {
    background: linear-gradient(45deg, #e67e22, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.5);
}

.hero-slider .btn-secondary-action {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider .btn-secondary-action:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    color: var(--primary-color);
}

/* Floating Animation Elements */
.hero-slider .floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.hero-slider .shape {
    position: absolute;
    font-size: 2rem;
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
}

.hero-slider .shape:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; color: #e74c3c; }
.hero-slider .shape:nth-child(2) { top: 70%; left: 85%; animation-delay: 1.5s; color: #3498db; }
.hero-slider .shape:nth-child(3) { top: 85%; left: 15%; animation-delay: 3s; color: #2ecc71; }
.hero-slider .shape:nth-child(4) { top: 25%; left: 75%; animation-delay: 4.5s; color: var(--primary-color); }
.hero-slider .shape:nth-child(5) { top: 5%; left: 90%; animation-delay: 6s; color: #9b59b6; }
.hero-slider .shape:nth-child(6) { top: 50%; left: 5%; animation-delay: 7.5s; color: #e67e22; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); opacity: 0.6; }
    25% { transform: translateY(-30px) rotate(90deg) scale(1.1); opacity: 0.8; }
    50% { transform: translateY(-20px) rotate(180deg) scale(0.9); opacity: 0.7; }
    75% { transform: translateY(-35px) rotate(270deg) scale(1.05); opacity: 0.9; }
}

/* Thumbnail Navigation */
/* .hero-slider .thumbnail-nav {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 100;
} */

.hero-slider .thumbnail-nav {
    display: flex;
    position: absolute;
    justify-content: center;
    gap: 8px;
    /* right: calc(50% - 900px); */
    left: 50%;
    transform: translateX(-50%);
    bottom: 60px;
    z-index: 100;
}

/* .hero-slider .thumb-item {
    width: 45px;
    aspect-ratio: 9 / 13;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
} */

.hero-slider .thumb-item {
  width: 60px;
  height: 40px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  /* opacity: 0.6; */
  border-radius: 6px;
  border: 2px solid #ffffff24;
}

@media screen and (max-width: 1120px) {
    .hero-slider .thumb-item {
        border-radius: 50%;
        overflow: hidden;
        max-width: 30px;
        height: 30px;
        border-width: 2px;
        transform: scale(1);
    }
    .hero-slider .thumbnail-nav {
        bottom: 30px;
    }
}

.hero-slider .thumb-item.swiper-thumb-active {
  opacity: 1;
  border: 2px solid #fff;
}
/* .hero-slider .thumb-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
} */

/* .hero-slider .thumb-item:hover::after,
.hero-slider .thumb-item.swiper-thumb-active::after {
    background: rgba(243, 156, 18, 0.3);
    background-color: transparent;
} */

.hero-slider .thumb-item:hover,
.hero-slider .thumb-item.swiper-thumb-active {
    /* border-color: var(--primary-color); */
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

/* Custom Swiper Navigation */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    margin-top: -25px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 3;
    opacity: 0;
}

.swiper:hover .swiper-button {
    opacity: 1;
}

.hero-slider .swiper-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    opacity: 1;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1);
}

.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
    font-size: 20px;
}

/* Custom Swiper Pagination */
.hero-slider .swiper-pagination {
    bottom: 3rem !important;
}

.hero-slider .swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-slider .thumbnail-nav {
        right: 1rem;
    }
    
    /* .hero-slider .thumb-item {
        width: 70px;
        height: 100px;
    } */
    
    .hero-content {
        margin-left: 3%;
    }
}

@media (max-width: 992px) {
    .hero-content {
        margin-left: 0;
        padding: 0 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    /* .hero-slider .thumbnail-nav {
        display: none;
    } */
    
    .hero-slider {
        height: 80vh;
        min-height: 500px;
    }
}

@media (max-width: 768px) {    
    .hero-slider {
        height: 70vh;
        min-height: 450px;
    }
    
    .hero-content {
        padding: 0 2rem;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-slider .movie-meta {
        gap: 0.8rem;
        justify-content: center;
    }
    
    .hero-slider .meta-item {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .hero-slider .btn-play {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .hero-slider .btn-secondary-action {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
}

/* Loading Animation */
.hero-slider .swiper-slide {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-slider .swiper-slide-active {
    opacity: 1;
}