/* ═══════════════════════════════════ */
/*   REVIEWS CARD — CAROUSEL + FLIP  */
/* ═══════════════════════════════════ */

.card-reviews {
    background: rgba(253, 242, 248, 0.85) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(232, 135, 154, 0.25) !important;
    box-shadow: 0 4px 24px rgba(232, 135, 154, 0.08) !important;
    padding: 14px !important;
    overflow: hidden;
}

.card-reviews:hover {
    border-color: rgba(232, 135, 154, 0.35) !important;
    box-shadow: 0 8px 32px rgba(232, 135, 154, 0.12) !important;
}

.card-reviews .card-preview {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 0;
}

.card-reviews .card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.card-reviews .card-head h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.badge-award {
    background: linear-gradient(135deg, rgba(212,162,76,0.12), rgba(212,162,76,0.22));
    color: #b8860b;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(212,162,76,0.15);
}

/* ═══ CAROUSEL ═══ */
.reviews-carousel {
    flex: 1;
    position: relative;
    min-height: 0;
}

.rc-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.rc-slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* ═══ FLIP ═══ */
.rc-flip {
    width: 100%;
    height: 100%;
    perspective: 600px;
    cursor: pointer;
}

.rc-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(.4,0,.2,1);
    transform-style: preserve-3d;
    will-change: transform;
}

.rc-slide:hover .rc-flip-inner {
    transform: rotateY(180deg);
}

.rc-front, .rc-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    overflow: hidden;
}

/* ═══ FRONT ═══ */
.rc-front {
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(232,135,154,0.15);
}

.rc-platform-name {
    font-size: 11px;
    font-weight: 600;
    color: #666;
}

.rc-score-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.rc-score {
    font-size: 28px;
    font-weight: 800;
    color: #2d2d2d;
    line-height: 1;
}

.rc-stars {
    font-size: 12px;
    letter-spacing: 2px;
    color: #f5a623;
}

/* ═══ BACKS ═══ */
.rc-back {
    transform: rotateY(180deg);
}

/* Yandex */
.rc-back-yandex {
    background: #f5f5f5;
    border: 1px solid #eee;
}

.rc-back-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14px;
    padding: 6px;
}

/* Dikidi */
.rc-back-dikidi {
    background: linear-gradient(160deg, #0c1a33, #152847);
    border: 1px solid rgba(212,162,76,0.2);
}

.rc-dikidi-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.rc-dk-top {
    font-size: 7px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.rc-dk-title {
    font-size: 13px;
    font-weight: 900;
    color: #D4A24C;
    text-align: center;
    letter-spacing: 0.5px;
}

.rc-dk-year {
    font-size: 20px;
    font-weight: 900;
    color: #D4A24C;
    letter-spacing: 3px;
    text-shadow: 0 1px 6px rgba(212,162,76,0.3);
}

/* Avito */
.rc-back-avito {
    background: linear-gradient(160deg, #e8f7ff, #fff);
    border: 1px solid rgba(0,170,255,0.15);
}

.rc-avito-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.rc-av-title {
    font-size: 11px;
    font-weight: 800;
    color: #00638f;
    text-align: center;
    text-transform: uppercase;
}

/* ═══ DOTS ═══ */
.rc-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 6px 0 4px;
    flex-shrink: 0;
}

.rc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(232,135,154,0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.rc-dot.active {
    background: #e8879a;
    width: 18px;
    border-radius: 3px;
}

/* ═══ BOTTOM ═══ */
.reviews-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    padding-top: 4px;
    border-top: 1px solid rgba(232,135,154,0.1);
}

.reviews-count {
    font-size: 11px;
    font-weight: 600;
    color: #2d2d2d;
}

.reviews-cta {
    font-size: 11px;
    color: #aaa;
    font-weight: 500;
    transition: color 0.2s;
}

.card-reviews:hover .reviews-cta {
    color: #e8879a;
}
