* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    background: #fff;
    user-select: none;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    margin: 20px 0;
}

.carousel-container .slide .item {
    width: 180px;
    height: 260px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-block;
    transition: 0.5s;
}

.slide .item:nth-child(1),
.slide .item:nth-child(2) {
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
    box-shadow: none;
}

.slide .item:nth-child(2).content {
    display: block;
}

.slide .item:nth-child(3) {
    left: calc(50% + 120px);
}

.slide .item:nth-child(4) {
    left: calc(50% + 320px);
}

.slide .item:nth-child(5) {
    left: calc(50% + 520px);
}

.slide .item:nth-child(n + 6) {
    left: calc(50% + 520px);
    overflow: hidden;
}

.item .content {
    position: absolute;
    top: 50%;
    left: calc(15% + 100px);
    width: 300px;
    text-align: left;
    color: #eee;
    transform: translate(0, -50%);
    font-family: system-ui;
    display: none;
}

.content .name {
    font-size: 48px;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
}

.content .description {
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
    background-color: #c7000b;
    color: white;
}

@keyframes animate {
    from {
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }
    to {
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

.carousel-button {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 20px;
    z-index: 100;
}

.carousel-button button {
    width: 40px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: 0.3s;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    outline: none;
}

.carousel-button button:focus {
    outline: none;
}

.carousel-button button.active {
    background: #c7000b;
    border-color: #c7000b;
    transform: scale(1.1);
}

.carousel-button button:hover {
    background: #c7000b;
    color: #fff;
    border-color: #c7000b;
    transform: scale(1.1);
} 