﻿@media (max-width: 767px) {
    .pricing-drum__viewport {
        position: relative;
        height: 34rem;
        perspective: 1200px;
        transform-style: preserve-3d;
        overflow: visible;
    }

    .pricing-drum__card {
        position: absolute;
        top: 0;
        left: 50%;
        width: min(84vw, 320px);
        min-height: 34rem;
        transform-origin: center center;
        transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 420ms ease, filter 420ms ease, box-shadow 420ms ease;
        will-change: transform, opacity, filter;
        backface-visibility: hidden;
    }

    .pricing-card {
        border-radius: 1.6rem;
        padding: 1.4rem 1.2rem 1.2rem;
        display: flex;
        flex-direction: column;
        box-shadow: 0 18px 40px rgba(0,0,0,0.14);
        border: 1px solid rgba(0,0,0,0.08);
    }

    .pricing-card--light {
        background: #fff;
        color: #111827;
    }

    .pricing-card--accent {
        background: linear-gradient(to bottom, #000 0%, #7f1d1d 50%, #000 100%);
        color: #fff;
        position: relative;
    }

    .pricing-card__badge {
        position: absolute;
        top: 0.9rem;
        right: 1rem;
        font-size: 0.72rem;
        text-transform: uppercase;
        font-weight: 700;
        opacity: 0.92;
    }

    .pricing-card__title {
        font-size: 1.2rem;
        font-weight: 800;
        line-height: 1.3;
        text-align: center;
    }

    .pricing-card__list {
        margin-top: 1rem;
        padding-left: 1rem;
        list-style: disc;
        color: #4b5563;
        font-size: 0.96rem;
        line-height: 1.65;
    }

    .pricing-card__list--dark {
        color: rgba(255,255,255,0.82);
    }

    .pricing-card__list li + li {
        margin-top: 0.55rem;
    }

    .pricing-card__price {
        margin-top: auto;
        padding-top: 1rem;
        text-align: center;
        font-size: 1.15rem;
        font-weight: 800;
    }

    .pricing-card__btn {
        margin-top: 1rem;
        width: 100%;
        border-radius: 0.9rem;
        padding: 0.9rem 1rem;
        font-weight: 700;
        color: #fff;
        background: linear-gradient(to right, rgba(132,22,22,1) 0%, rgba(0,0,0,0.85) 30%, black 100%);
    }

    .pricing-card__btn--light {
        background: #fff;
        color: #111827;
    }

    .pricing-nav {
        width: 2.6rem;
        height: 2.6rem;
        border-radius: 9999px;
        background: #111827;
        color: #fff;
        font-size: 1.4rem;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pricing-dot {
        width: 0.55rem;
        height: 0.55rem;
        border-radius: 9999px;
        background: rgba(17,24,39,0.22);
        transition: transform 220ms ease, background-color 220ms ease;
    }

        .pricing-dot.is-active {
            background: #111827;
            transform: scale(1.25);
        }

    .is-center {
        z-index: 3;
        opacity: 1;
        filter: brightness(1);
        transform: translateX(-50%) translateZ(0) rotateY(0deg) scale(1);
    }

    .is-left {
        z-index: 2;
        opacity: 0.88;
        filter: brightness(0.86);
        transform: translateX(calc(-50% - 7.9rem)) translateZ(-120px) rotateY(30deg) scale(0.88);
    }

    .is-right {
        z-index: 2;
        opacity: 0.88;
        filter: brightness(0.86);
        transform: translateX(calc(-50% + 7.9rem)) translateZ(-120px) rotateY(-30deg) scale(0.88);
    }

    .is-hidden-left {
        z-index: 1;
        opacity: 0;
        filter: brightness(0.7);
        transform: translateX(calc(-50% - 13rem)) translateZ(-220px) rotateY(42deg) scale(0.72);
        pointer-events: none;
    }

    .is-hidden-right {
        z-index: 1;
        opacity: 0;
        filter: brightness(0.7);
        transform: translateX(calc(-50% + 13rem)) translateZ(-220px) rotateY(-42deg) scale(0.72);
        pointer-events: none;
    }
