.hyundai-showcase-wrapper {
    width: 100%;
    max-width: 1400px;
    position: relative;
    padding: 20px;
    margin: 0 auto;
    overflow: hidden;
}

.hyundai-showcase-heading {
    text-align: center;
    font-size: 3rem;
    background: linear-gradient(90deg, #3c4cad 0%, #2d99db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hyundai-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 600px;
    perspective: 1000px;
}

.hyundai-carousel-slide {
    position: absolute;
    width: 100%;
    max-width: 500px;
    height: 510px;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.8);
}

.hyundai-carousel-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1) rotateY(0);
    z-index: 10;
}

.hyundai-carousel-slide.prev {
    opacity: 0.6;
    transform: translateX(-55%) scale(0.85) rotateY(10deg);
    z-index: 5;
    filter: saturate(0.8) brightness(0.9);
}

.hyundai-carousel-slide.next {
    opacity: 0.6;
    transform: translateX(55%) scale(0.85) rotateY(-10deg);
    z-index: 5;
    filter: saturate(0.8) brightness(0.9);
}

.hyundai-vehicle-panel {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05), 
                0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.hyundai-carousel-slide.active .hyundai-vehicle-panel {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08),
                0 10px 20px rgba(0, 0, 0, 0.05);
}

.hyundai-vehicle-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, 
                rgba(255, 255, 255, 0.3) 0%, 
                rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.hyundai-vehicle-panel:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12),
                0 15px 25px rgba(41, 21, 212, 0.08);
    border-color: rgba(255, 255, 255, 0.9);
}

.hyundai-vehicle-panel:hover::before {
    opacity: 1;
}

.hyundai-image-wrapper {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.hyundai-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(240, 244, 248, 0.8), rgba(240, 244, 248, 0));
    z-index: 1;
    transition: opacity 0.3s ease;
}

.hyundai-vehicle-panel:hover .hyundai-image-wrapper::after {
    opacity: 0.6;
}

.hyundai-vehicle-img {
    width: 95%;
    height: 220px;
    object-fit: contain;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.hyundai-vehicle-panel:hover .hyundai-vehicle-img {
    transform: scale(1.08) translateY(-8px);
}

.hyundai-category-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #3c4cad 0%, #2d99db 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(45, 153, 219, 0.3);
    transition: all 0.3s ease;
}

.hyundai-vehicle-panel:hover .hyundai-category-tag {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(45, 153, 219, 0.4);
}

.hyundai-vehicle-info {
    padding: 1.75rem;
    position: relative;
}

.hyundai-vehicle-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.25rem;
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

.hyundai-vehicle-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #3c4cad 0%, #2d99db 100%);
    transition: width 0.4s ease;
    border-radius: 2px;
}

.hyundai-vehicle-panel:hover .hyundai-vehicle-title::after {
    width: 100%;
}

.hyundai-vehicle-type {
    color: #718096;
    font-size: 0.925rem;
    font-weight: 500;
    display: block;
    margin-bottom: 1.25rem;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.hyundai-vehicle-panel:hover .hyundai-vehicle-type {
    transform: translateY(-2px);
}

.hyundai-specs-container {
    display: flex;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    transform: translateY(0);
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.9;
}

.hyundai-vehicle-panel:hover .hyundai-specs-container {
    transform: translateY(-5px);
    opacity: 1;
}

.hyundai-spec-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.hyundai-vehicle-panel:hover .hyundai-spec-block:hover {
    transform: translateY(-5px);
}

.hyundai-spec-number {
    font-weight: 700;
    color: #1a202c;
    font-size: 1rem;
}

.hyundai-spec-descriptor {
    color: #718096;
    font-size: 0.75rem;
    margin-top: 4px;
    font-weight: 500;
}

.hyundai-vehicle-cost {
    display: none!important;
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a202c;
    margin-top: 1.25rem;
    display: inline-block;
    padding: 5px 0;
    position: relative;
    transition: transform 0.3s ease;
}

.hyundai-vehicle-cost::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(45, 153, 219, 0.1);
    left: 0;
    bottom: 0;
    z-index: -1;
    transform: scaleX(0.7) scaleY(0.4);
    transform-origin: left bottom;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 4px;
}

.hyundai-vehicle-panel:hover .hyundai-vehicle-cost {
    transform: translateY(-3px);
}

.hyundai-vehicle-panel:hover .hyundai-vehicle-cost::before {
    transform: scaleX(1) scaleY(1);
}

.hyundai-carousel-navigation {
    display: flex;
    justify-content: space-between;
    width: 90%;
    position: absolute;
    top: 50%;
    /* left: -5%; */
    transform: translateY(-50%);
    z-index: 20;
}

.hyundai-navigation-button {
    background-color: rgba(255, 255, 255, 0.9);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.hyundai-navigation-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(60, 76, 173, 0.2) 0%, rgba(60, 76, 173, 0) 70%);
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 50%;
}

.hyundai-navigation-button:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.hyundai-navigation-button:hover::after {
    transform: scale(2);
}

.hyundai-navigation-button svg {
    width: 22px;
    height: 22px;
    fill: #3c4cad;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.hyundai-navigation-button:hover svg {
    transform: scale(1.1);
}

.hyundai-carousel-indicators {
    display: none;
    justify-content: center;
    margin-top: 2.5rem;
}

.hyundai-indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e0;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.hyundai-indicator-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid #3c4cad;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.hyundai-indicator-dot:hover {
    background-color: #a0aec0;
    transform: scale(1.2);
}

.hyundai-indicator-dot.active {
    background-color: #3c4cad;
    transform: scale(1.2);
}

.hyundai-indicator-dot.active::after {
    opacity: 1;
    transform: scale(1.4);
}

@media (max-width: 768px) {
    .hyundai-carousel-slide {
        max-width: 320px;
        height: 540px;
    }
    
    .hyundai-carousel {
        height: 570px;
    }
    
    .hyundai-vehicle-img {
        height: 180px;
    }
    
    .hyundai-showcase-heading {
        font-size: 2rem;
    }
    
    .hyundai-specs-container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .hyundai-spec-block {
        flex: 1 1 30%;
    }
}