.curved-carousel-container {
    width: 100%;
    padding: 90px 20px 70px;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.curved-carousel-header-wrapper {
    position: relative;
    z-index: 2;
}

.curved-carousel-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 35px;
    font-size: 2rem;
    line-height: 1.25;
    color: #222;
}

.about-title {
    font-size: clamp(3.8rem, 10vw, 7.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    white-space: nowrap;
    font-family: "Arial Black", "Arial Bold", Arial, sans-serif;
    background: linear-gradient(
        to bottom,
        rgb(75 42 132 / 22%) 30%,
        rgb(255 255 255 / 0%) 78%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    z-index: 1;
}

.carousel-container {
    width: min(100%, 1200px);
    height: 430px;
    position: relative;
    perspective: 1000px;
    margin: 15px auto 0;
    z-index: 2;
}

.carousel-track {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transform-style: preserve-3d;
}

.card {
    position: absolute;
    width: 280px;
    height: 380px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
    transition: transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateZ(0);
    transition: filter 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card.center {
    z-index: 10;
    transform: scale(1.08) translateZ(0);
    opacity: 1;
}

.card.center img {
    filter: none;
}

.card.left-2 {
    z-index: 1;
    transform: translateX(-400px) scale(0.78) translateZ(-300px);
    opacity: 0.55;
}

.card.left-1 {
    z-index: 5;
    transform: translateX(-205px) scale(0.9) translateZ(-100px);
    opacity: 0.85;
}

.card.right-1 {
    z-index: 5;
    transform: translateX(205px) scale(0.9) translateZ(-100px);
    opacity: 0.85;
}

.card.right-2 {
    z-index: 1;
    transform: translateX(400px) scale(0.78) translateZ(-300px);
    opacity: 0.55;
}

.card.left-1 img,
.card.left-2 img,
.card.right-1 img,
.card.right-2 img {
    filter: grayscale(100%);
}

.card.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.65) translateZ(-450px);
}

.member-info {
    text-align: center;
    margin-top: 28px;
    min-height: 95px;
    position: relative;
    z-index: 2;
}

.member-name {
    color: #4b2a84;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.member-name::before,
.member-name::after {
    content: "";
    position: absolute;
    top: 100%;
    width: 90px;
    height: 2px;
    background: #4b2a84;
}

.member-name::before {
    left: -110px;
}

.member-name::after {
    right: -110px;
}

.member-role {
    color: #737373;
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 600;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 10px 0;
    transition: opacity 0.3s ease;
}

.dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    position: relative;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background: rgba(75, 42, 132, 0.25);
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.dot.active {
    background: #4b2a84;
    transform: scale(1.25);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(75, 42, 132, 0.75);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: background 0.3s ease, transform 0.3s ease;
    font-size: 1.8rem;
    line-height: 1;
    border: none;
    outline: none;
    padding-bottom: 4px;
}

.nav-arrow:hover {
    background: rgba(35, 20, 65, 0.95);
    transform: translateY(-50%) scale(1.08);
}

.nav-arrow.left {
    left: 18px;
}

.nav-arrow.right {
    right: 18px;
}

.curved-carousel-text {
    text-align: center;
    max-width: 760px;
    margin: 28px auto 0;
    padding: 0 20px;
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

@media (max-width: 1024px) {
    .curved-carousel-container {
        padding-top: 80px;
    }

    .curved-carousel-header {
        font-size: 1.75rem;
        max-width: 720px;
    }

    .carousel-container {
        height: 390px;
    }

    .card {
        width: 240px;
        height: 335px;
    }

    .card.left-2 {
        transform: translateX(-315px) scale(0.78) translateZ(-300px);
    }

    .card.left-1 {
        transform: translateX(-160px) scale(0.9) translateZ(-100px);
    }

    .card.right-1 {
        transform: translateX(160px) scale(0.9) translateZ(-100px);
    }

    .card.right-2 {
        transform: translateX(315px) scale(0.78) translateZ(-300px);
    }
}

@media (max-width: 768px) {
    .curved-carousel-container {
        padding: 70px 15px 55px;
    }

    .curved-carousel-header {
        font-size: 1.45rem;
        margin-bottom: 25px;
    }

    .carousel-container {
        height: 325px;
        perspective: 800px;
    }

    .card {
        width: 200px;
        height: 280px;
        border-radius: 16px;
    }

    .card.left-2 {
        transform: translateX(-245px) scale(0.76) translateZ(-280px);
        opacity: 0.35;
    }

    .card.left-1 {
        transform: translateX(-115px) scale(0.88) translateZ(-100px);
    }

    .card.right-1 {
        transform: translateX(115px) scale(0.88) translateZ(-100px);
    }

    .card.right-2 {
        transform: translateX(245px) scale(0.76) translateZ(-280px);
        opacity: 0.35;
    }

    .member-name::before,
    .member-name::after {
        width: 45px;
    }

    .member-name::before {
        left: -60px;
    }

    .member-name::after {
        right: -60px;
    }

    .nav-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.55rem;
    }

    .nav-arrow.left {
        left: 4px;
    }

    .nav-arrow.right {
        right: 4px;
    }
}

@media (max-width: 480px) {
    .curved-carousel-container {
        padding-top: 60px;
    }

    .curved-carousel-header {
        font-size: 1.25rem;
    }

    .carousel-container {
        height: 285px;
    }

    .card {
        width: 170px;
        height: 240px;
    }

    .card.left-2,
    .card.right-2 {
        opacity: 0;
        pointer-events: none;
    }

    .card.left-1 {
        transform: translateX(-85px) scale(0.82) translateZ(-120px);
        opacity: 0.55;
    }

    .card.right-1 {
        transform: translateX(85px) scale(0.82) translateZ(-120px);
        opacity: 0.55;
    }

    .member-info {
        margin-top: 18px;
        min-height: 82px;
    }

    .member-name::before,
    .member-name::after {
        display: none;
    }

    .member-role {
        letter-spacing: 0.07em;
    }

    .curved-carousel-text {
        margin-top: 22px;
        padding: 0 5px;
    }
}
