/* Testimonials Section - Modern Hexagon Design */
/* Using Logo Colors: Orange (#FF9A3C), Pink (#FF4D7D), Purple (#8B5CF6), Blue (#3B82F6) */

.testimonials-modern-section {
    padding: 6rem 0;
    background: rgba(13, 17, 23, 0.8);
    position: relative;
    overflow: hidden;
}

.testimonials-modern-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 154, 60, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Header */
.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.testimonials-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FF9A3C, #FF4D7D, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.testimonials-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Scroll Rows */
.testimonials-scroll-row {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    width: max-content;
    position: relative;
}

.testimonials-scroll-left {
    animation: testimonials-scroll-left 40s linear infinite;
}

.testimonials-scroll-right {
    animation: testimonials-scroll-right 40s linear infinite;
    margin-top: 1.5rem;
}

@keyframes testimonials-scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% / 4)); }
}

@keyframes testimonials-scroll-right {
    0% { transform: translateX(calc(-100% / 4)); }
    100% { transform: translateX(0); }
}

/* Pause on hover */
.testimonials-scroll-row:hover {
    animation-play-state: paused;
}

/* Hexagon Card */
.testimonial-hex-card {
    flex: 0 0 auto;
    width: 350px;
    margin-right: 1.5rem;
}

.testimonial-hex-border {
    background: linear-gradient(135deg, rgba(255, 154, 60, 0.3), rgba(139, 92, 246, 0.3));
    padding: 2px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.testimonial-hex-card:hover .testimonial-hex-border {
    background: linear-gradient(135deg, rgba(255, 154, 60, 0.5), rgba(255, 77, 125, 0.5));
    box-shadow: 0 10px 30px rgba(255, 154, 60, 0.3);
}

.testimonial-hex-content {
    background: rgba(13, 17, 23, 0.95);
    border-radius: 18px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
}

.testimonial-hex-card:hover .testimonial-hex-content {
    background: rgba(15, 23, 42, 0.95);
    transform: translateY(-5px);
}

/* Avatar */
.testimonial-avatar-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.testimonial-avatar-hex {
    width: 80px;
    height: 80px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(135deg, #FF9A3C, #FF4D7D);
    padding: 3px;
    transition: all 0.3s ease;
}

.testimonial-hex-card:hover .testimonial-avatar-hex {
    transform: rotate(180deg) scale(1.1);
}

.testimonial-avatar-hex img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Info */
.testimonial-info {
    text-align: center;
}

.testimonial-info h5 {
    color: #FF9A3C;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.3rem 0;
}

.testimonial-game {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    display: block;
}

/* Text */
.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

/* Stars */
.testimonial-stars {
    color: #FFD700;
    font-size: 1rem;
    text-align: center;
    letter-spacing: 3px;
}

/* Gradient Blur Effect */
.testimonials-modern-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 100%;
    background: linear-gradient(to left, rgba(13, 17, 23, 1), transparent);
    z-index: 2;
    pointer-events: none;
}

.testimonials-modern-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 100%;
    background: linear-gradient(to right, rgba(13, 17, 23, 1), transparent);
    z-index: 2;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .testimonials-modern-section {
        padding: 4rem 0;
    }
    
    .testimonials-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .testimonials-title {
        font-size: 2rem;
    }
    
    .testimonials-subtitle {
        font-size: 1rem;
    }
    
    .testimonial-hex-card {
        width: 300px;
    }
    
    .testimonial-hex-content {
        padding: 1.5rem;
    }
    
    .testimonial-avatar-hex {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 576px) {
    .testimonials-modern-section {
        padding: 3rem 0;
    }
    
    .testimonials-header {
        margin-bottom: 2.5rem;
    }
    
    .testimonial-hex-card {
        width: 280px;
    }
    
    .testimonial-hex-content {
        padding: 1.2rem;
    }
    
    .testimonial-avatar-hex {
        width: 60px;
        height: 60px;
    }
    
    .testimonial-info h5 {
        font-size: 1rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
}

/* Loading Animation */
@keyframes testimonial-card-load {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.testimonial-hex-card {
    animation: testimonial-card-load 0.5s ease forwards;
}
