.cr-carousel-container {
    width: 100%;
    position: relative;
    padding: 20px;
    margin: 0 auto;
}

.cr-carousel {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    transition: all 0.6s ease;
}

.cr-review-box {
    width: 400px;
    min-height: 400px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 3px solid transparent;
    background-clip: padding-box;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cr-review-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.cr-review-box::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    border-radius: 23px;
    z-index: -1;
    animation: crBorderGlow 3s ease-in-out infinite alternate;
}

@keyframes crBorderGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.cr-review-box:nth-child(3n+1)::before {
    background: linear-gradient(45deg, #ff6b6b, #ff8a80);
}

.cr-review-box:nth-child(3n+2)::before {
    background: linear-gradient(45deg, #4ecdc4, #80deea);
}

.cr-review-box:nth-child(3n+3)::before {
    background: linear-gradient(45deg, #45b7d1, #81c784);
}

.cr-box-header {
    text-align: center;
    margin-bottom: 20px;
}

.cr-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
    margin: 0 auto 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    animation: crAvatarFloat 3s ease-in-out infinite;
}

@keyframes crAvatarFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.cr-reviewer-name {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.cr-stars {
    font-size: 24px;
    margin-bottom: 10px;
    animation: crStarTwinkle 2s ease-in-out infinite;
}

@keyframes crStarTwinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.cr-review-date {
    color: #666;
    font-size: 14px;
    background: linear-gradient(45deg, #f0f0f0, #e8e8e8);
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
}

.cr-box-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cr-review-comment {
    color: #555;
    line-height: 1.8;
    font-size: 16px;
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    border-radius: 15px;
    border: 2px solid #e8ecff;
    position: relative;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}

.cr-review-comment::before {
    content: '"';
    font-size: 50px;
    color: #ddd;
    position: absolute;
    top: -5px;
    right: 15px;
    font-family: serif;
}

.cr-review-comment::after {
    content: '"';
    font-size: 50px;
    color: #ddd;
    position: absolute;
    bottom: -25px;
    left: 15px;
    font-family: serif;
}

.cr-rating-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cr-rating-5 { 
    background: linear-gradient(45deg, #4caf50, #45a049);
    animation: crRatingPulse 2s ease-in-out infinite;
}
.cr-rating-4 { 
    background: linear-gradient(45deg, #8bc34a, #7cb342);
    animation: crRatingPulse 2s ease-in-out infinite 0.5s;
}
.cr-rating-3 { 
    background: linear-gradient(45deg, #ffc107, #ffb300);
    animation: crRatingPulse 2s ease-in-out infinite 1s;
}
.cr-rating-2 { 
    background: linear-gradient(45deg, #ff9800, #f57c00);
    animation: crRatingPulse 2s ease-in-out infinite 1.5s;
}
.cr-rating-1 { 
    background: linear-gradient(45deg, #f44336, #d32f2f);
    animation: crRatingPulse 2s ease-in-out infinite 2s;
}

@keyframes crRatingPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.cr-header-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 32px;
    font-weight: bold;
}

.cr-no-reviews {
    text-align: center;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    color: #666;
    font-size: 18px;
}

@media (max-width: 1024px) {
    .cr-carousel {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .cr-review-box {
        width: 100%;
        max-width: 400px;
        min-height: 350px;
    }
    
    .cr-header-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .cr-carousel-container {
        padding: 10px;
    }
    
    .cr-review-box {
        width: 100%;
        max-width: 350px;
        min-height: 320px;
        padding: 20px;
    }
    
    .cr-avatar {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .cr-review-comment {
        font-size: 14px;
        padding: 20px;
    }
    
    .cr-header-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
}
