/* Reviews Block Styles */
.reviews-section {
    position: relative;
    padding: 4rem 0;
}

.reviews-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 3rem;
    position: relative;
}

.reviews-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #9d99c6, #6c688a);
    border-radius: 2px;
}

/* Стили для карточек отзывов */
.review-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(157, 153, 198, 0.4);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9d99c6, #6c688a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.review-info h5 {
    margin: 0;
    color: white;
    font-weight: 600;
}

.review-info .review-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.review-rating {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.star {
    color: #ffd700;
    font-size: 1.2rem;
    margin-right: 0.2rem;
}

.star.empty {
    color: rgba(255, 255, 255, 0.3);
}

.review-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.review-text::before {
    content: '"';
    font-size: 4rem;
    color: rgba(157, 153, 198, 0.3);
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    font-family: serif;
    line-height: 1;
}

.review-product {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.review-product strong {
    color: #9d99c6;
}

/* Verified badge */
.verified-badge {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 1rem;
    display: inline-flex;
    align-items: center;
}

.verified-badge i {
    margin-right: 0.3rem;
}

/* Анимация появления отзывов */
.review-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }
.review-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Кнопка "Показать больше отзывов" */
.load-more-reviews {
    text-align: center;
    margin-top: 3rem;
}

.btn-load-more {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-load-more:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .reviews-section {
        padding: 2rem 0;
    }
    
    .reviews-section h2 {
        font-size: 2rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .review-header {
        flex-direction: column;
        text-align: center;
    }
    
    .review-avatar {
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .review-rating {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .review-text {
        font-size: 0.95rem;
    }
    
    .review-text::before {
        font-size: 3rem;
        top: -0.5rem;
        left: -0.3rem;
    }
}

@media (max-width: 576px) {
    .review-card {
        padding: 1rem;
    }
    
    .review-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .review-text {
        font-size: 0.9rem;
    }
}
