

.reviews-wrapper {
  max-width:80%;   
    margin: 100px auto 40px;
    border-radius: 25px;
    padding: 40px 50px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    background: var(--card-gradient);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.8s ease;
    box-shadow: 0 30px 80px rgba(79, 172, 254, 0.2);
}

.reviews-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(79, 172, 254, 0.05), transparent);
    animation: float 12s linear infinite;
    opacity: 0.3;
}

.reviews-wrapper h1 {
    margin-bottom: 40px;
    font-weight: 900;
    text-align: center;
    font-size: 3rem;
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #4facfe 50%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
}

.reviews-wrapper h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
    animation: glow 2s infinite;
}

.reviews-wrapper h1 .icon {
    font-size: 2.8rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: spin-in 0.5s ease-in-out;
    filter: drop-shadow(0 0 10px rgba(79, 172, 254, 0.4));
}

@keyframes spin-in {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-90deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(79, 172, 254, 0.3); }
    50% { box-shadow: 0 0 40px rgba(79, 172, 254, 0.6); }
}

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

#reviews-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
    z-index: 2;
}

.review-card {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 35px;
    gap: 25px;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.review-card:hover::before {
    left: 100%;
}

.review-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(79, 172, 254, 0.4);
    box-shadow: 0 25px 60px rgba(79, 172, 254, 0.3);
}

.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; }
.review-card:nth-child(5) { animation-delay: 0.5s; }

.review-emoji {
    font-size: 3.2rem;
    line-height: 1;
    user-select: none;
    margin-top: 8px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: float 4s ease-in-out infinite;
}

.review-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.review-content > div {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.review-author {
    font-weight: 700;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.05rem;
}

.review-timestamp {
    font-style: italic;
    opacity: 0.8;
    font-size: 0.9rem;
}

.review-text {
    font-size: 1.15rem;
    line-height: 1.6;
    white-space: pre-wrap;
    color: var(--text-primary);
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

#pagination button {
    border: none;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    color: var(--text-primary);
    margin: 0 5px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

#pagination button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    transition: left 0.3s ease;
    z-index: -1;
}

#pagination button:hover:not(:disabled) {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(79, 172, 254, 0.4);
    border-color: rgba(79, 172, 254, 0.6);
}

#pagination button:hover:not(:disabled)::before {
    left: 0;
}

#pagination button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

#pagination button.active {
    background: var(--accent-gradient);
    color: white;
    border-color: rgba(79, 172, 254, 0.8);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3);
}



@media (max-width: 1400px) {
    .reviews-wrapper {
        max-width: 75%;
        padding: 35px 40px;
    }
    
    .reviews-wrapper h1 {
        font-size: 2.5rem;
        margin-bottom: 35px;
    }
}

@media (max-width: 1024px) {
    .reviews-wrapper {
        max-width: 85%;
        padding: 30px 35px;
        margin: 80px auto 30px;
    }
    
    .reviews-wrapper h1 {
        font-size: 2.2rem;
        gap: 12px;
    }
    
    .review-card {
        padding: 25px 30px;
        gap: 20px;
    }
    
    .review-emoji {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .reviews-wrapper {
        max-width: 95%;
        padding: 25px;
        margin: 60px auto 20px;
    }
    
    .reviews-wrapper h1 {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .review-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        gap: 15px;
    }
    
    .review-emoji {
        font-size: 2.5rem;
        margin-top: 0;
        align-self: center;
    }
    
    .review-content > div {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .review-text {
        font-size: 1rem;
        text-align: left;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    #pagination button {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .reviews-wrapper {
        padding: 20px;
    }
    
    .reviews-wrapper h1 {
        font-size: 1.6rem;
    }
    
    .review-card {
        padding: 20px;
    }
    
    .review-text {
        font-size: 0.95rem;
    }
}
