/* Ultra-Modern Reviews Section */
.tt-reviews-modern {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: 
        radial-gradient(circle at 20% 80%, rgba(34, 197, 94, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
}

.tt-reviews-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(3px) saturate(1.2);
    z-index: 0;
}

.tt-reviews-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.02) 50%, transparent 70%),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 98px,
            rgba(255,255,255,0.03) 100px
        );
    animation: shimmer 20s linear infinite;
    z-index: 1;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.tt-reviews-modern .container {
    position: relative;
    z-index: 2;
}

.tt-reviews-modern .tt-block-title {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out;
}

.tt-reviews-modern .tt-title {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 50%, #e9ecef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    position: relative;
}

.tt-reviews-modern .tt-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 2px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 10px rgba(16, 185, 129, 0.5); }
    to { box-shadow: 0 0 20px rgba(16, 185, 129, 0.8); }
}

.tt-reviews-modern .tt-description {
    color: #e9ecef;
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

/* Carrousel ultra-moderne */
.tt-reviews-carousel {
    margin-top: 60px;
    position: relative;
}

.tt-reviews-carousel .slick-slide {
    padding: 0 20px;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.7;
}

.tt-reviews-carousel .slick-slide.slick-center {
    transform: scale(1);
    opacity: 1;
}

.tt-reviews-carousel .slick-track {
    display: flex;
    align-items: center;
}

.tt-reviews-carousel .slick-slide > div {
    height: 100%;
}

/* Carte d'avis ultra-moderne */
.tt-review-card {
    background: 
        linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%),
        linear-gradient(225deg, rgba(34,197,94,0.1) 0%, rgba(16,185,129,0.1) 100%);
    border-radius: 32px;
    padding: 48px 36px;
    backdrop-filter: blur(20px) saturate(1.8);
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 
        0 32px 64px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.2),
        0 0 0 1px rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.tt-review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(34,197,94,0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(16,185,129,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
}

.tt-review-card:hover::before {
    opacity: 1;
}

.tt-review-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(34,197,94,0.3) 0%, 
        rgba(16,185,129,0.3) 25%, 
        rgba(34,197,94,0.3) 50%, 
        rgba(16,185,129,0.3) 75%, 
        rgba(34,197,94,0.3) 100%);
    border-radius: 34px;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.tt-review-card:hover::after {
    opacity: 1;
}

.tt-review-card:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: 
        0 48px 80px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.3),
        0 0 0 1px rgba(255,255,255,0.1);
}

/* Header moderne avec avatar et étoiles */
.tt-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.tt-review-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: 
        linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.8rem;
    box-shadow: 
        0 12px 24px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.tt-review-avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: avatarShine 3s linear infinite;
}

@keyframes avatarShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tt-review-avatar:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 16px 32px rgba(16, 185, 129, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Étoiles ultra-modernes */
.tt-rating-modern {
    display: flex;
    gap: 8px;
    align-items: center;
}

.tt-rating-modern .star {
    font-size: 1.8rem;
    color: rgba(255,255,255,0.2);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    position: relative;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.tt-rating-modern .star.filled {
    color: #ffd700;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.6),
        0 0 20px rgba(255, 215, 0, 0.4),
        0 0 30px rgba(255, 215, 0, 0.2);
    animation: starPulse 2s ease-in-out infinite alternate;
}

@keyframes starPulse {
    0% { 
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
    }
    100% { 
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
    }
}

.tt-rating-modern .star.filled:hover {
    transform: scale(1.2) rotate(15deg);
    color: #ffed4e;
    text-shadow: 
        0 0 15px rgba(255, 237, 78, 0.8),
        0 0 25px rgba(255, 237, 78, 0.6),
        0 0 35px rgba(255, 237, 78, 0.4);
}

/* Texte d'avis moderne */
.tt-review-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    position: relative;
    flex: 1;
    font-weight: 400;
    letter-spacing: 0.3px;
    z-index: 1;
}

.tt-review-text::before {
    content: '"';
    font-size: 5rem;
    color: rgba(255,255,255,0.1);
    position: absolute;
    top: -30px;
    left: -20px;
    font-family: 'Georgia', serif;
    line-height: 1;
    font-weight: bold;
    z-index: 0;
}

/* Auteur moderne */
.tt-review-author {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 1;
}

.tt-review-author-info h4 {
    margin: 0;
    color: rgba(255,255,255,0.95);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.tt-review-author-info .verified {
    color: #00d4aa;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-weight: 500;
}

.verified-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #00d4aa, #00b894);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 212, 170, 0.3);
    animation: verifiedPulse 2s ease-in-out infinite;
}

@keyframes verifiedPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 8px rgba(0, 212, 170, 0.3);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 6px 12px rgba(0, 212, 170, 0.5);
    }
}

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

@keyframes starFill {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Navigation ultra-moderne */
.tt-reviews-carousel .slick-prev,
.tt-reviews-carousel .slick-next {
    background: 
        linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    z-index: 10;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    color: rgba(255,255,255,0.8);
}

.tt-reviews-carousel .slick-prev:hover,
.tt-reviews-carousel .slick-next:hover {
    background: 
        linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.15) 100%);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.3);
    color: rgba(255,255,255,1);
}

.tt-reviews-carousel .slick-dots {
    bottom: -80px;
    display: flex !important;
    justify-content: center;
    gap: 12px;
}

.tt-reviews-carousel .slick-dots li {
    width: auto;
    height: auto;
    margin: 0;
}

.tt-reviews-carousel .slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: 2px solid rgba(255,255,255,0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.tt-reviews-carousel .slick-dots li button:before {
    display: none;
}

.tt-reviews-carousel .slick-dots li.slick-active button {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: rgba(255,255,255,0.3);
    transform: scale(1.3);
    box-shadow: 
        0 4px 12px rgba(16, 185, 129, 0.4),
        0 0 0 4px rgba(16, 185, 129, 0.2);
}

.tt-reviews-carousel .slick-dots li button:hover {
    transform: scale(1.2);
    background: rgba(255,255,255,0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tt-reviews-carousel .slick-slide {
        padding: 0 10px;
    }
    
    .tt-review-card {
        padding: 30px 20px;
    }
    
    .tt-reviews-modern .tt-title {
        font-size: 2rem;
    }
    
    .tt-review-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tt-reviews-modern {
        padding: 60px 0;
    }
    
    .tt-reviews-modern .tt-title {
        font-size: 1.8rem;
    }
    
    .tt-review-card {
        padding: 25px 15px;
    }
}

/* Floating elements animation */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) { left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { left: 20%; animation-delay: 1s; }
.floating-element:nth-child(3) { left: 30%; animation-delay: 2s; }
.floating-element:nth-child(4) { left: 40%; animation-delay: 3s; }
.floating-element:nth-child(5) { left: 50%; animation-delay: 4s; }
.floating-element:nth-child(6) { left: 60%; animation-delay: 5s; }

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}
