/* Reviews Page Specific Styles */

/* Video Reviews Section */
.video-reviews-section {
    padding: 2rem 0;
    background: linear-gradient(165deg, #0f0f23 0%, #1a1a3a 100%);
    position: relative;
    border-top: 1px solid rgba(100, 100, 200, 0.1);
    overflow: hidden;
}

.video-reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 15% 25%, rgba(0, 204, 153, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 85% 75%, rgba(26, 31, 255, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.05) 0%, transparent 30%);
    z-index: 1;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.video-reviews-section .container {
    position: relative;
    z-index: 2;
}

.video-carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 1rem auto 0;
    overflow: hidden;
}

.video-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1rem;
    padding: 0.1rem 0;
}

.video-slide {
    min-width: calc(33.333% - 0.67rem);
    scroll-snap-align: start;
}

.video-card {
    background: linear-gradient(145deg, rgba(15, 15, 35, 0.85) 0%, rgba(25, 25, 50, 0.85) 100%);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(100, 100, 200, 0.2);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(8px);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 204, 153, 0.05) 0%, transparent 30%);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: -1;
}

.video-card:hover::before {
    opacity: 1;
}

.video-card:hover {
    transform: translateY(-3px) scale(1.002);
    border-color: rgba(100, 100, 200, 0.4);
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 177%; /* 9:16 aspect ratio (standard vertical video) */
    background: #000;
    overflow: hidden;
}

.rm-mp4 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.rm-video-el {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.rm-bigplay {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    backdrop-filter: blur(6px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    z-index: 10;
}

.rm-bigplay span {
    font-size: 0.8rem;
    margin-left: 0.1rem;
}

.rm-controls {
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 5px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 6px;
    backdrop-filter: blur(6px);
    z-index: 10;
}

.rm-ctl {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border: 0;
    cursor: pointer;
    border-radius: 4px;
    color: #fff;
    background: transparent;
    font-size: 0.65rem;
}

.rm-ctl:hover {
    background: rgba(255, 255, 255, 0.12);
}

.rm-playpause .icon-pause {
    display: none;
}

.rm-mute .icon-mute {
    display: none;
}

.rm-progress {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.25);
    outline: none;
    cursor: pointer;
}

.rm-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.rm-progress::-moz-range-thumb {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    border: none;
}

.rm-time {
    font-size: 8px;
    color: #f1f4ff;
    white-space: nowrap;
    opacity: 0.9;
}

.rm-volume {
    width: 35px;
    min-width: 25px;
    -webkit-appearance: none;
    appearance: none;
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.25);
    outline: none;
    cursor: pointer;
}

.rm-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.rm-volume::-moz-range-thumb {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    border: none;
}

.video-info {
    padding: 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-info h3 {
    font-family: 'Clash Display', 'Unica One', 'Helvetica Neue', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #f0f0f0;
    margin-bottom: 0.3rem;
    letter-spacing: -0.02em;
}

.video-info p {
    color: #b8b8d0;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-size: 0.75rem;
    flex: 1;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    color: #9090b0;
}

.video-date, .video-views {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.video-date::before, .video-views::before {
    content: '•';
    color: #00cc99;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 31, 255, 0.7);
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    background: rgba(26, 31, 255, 0.9);
    transform: translateY(-50%) scale(1.05);
}

.prev-btn {
    left: 0.25rem;
}

.next-btn {
    right: 0.25rem;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.indicator.active {
    background: #00cc99;
    transform: scale(1.1);
}

/* Existing styles */
.reviews-hero {
    padding: 80px 0 50px;
    background: linear-gradient(135deg, #0a0b1a 0%, #1a1fff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.reviews-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 204, 153, 0.15) 0%, transparent 40%);
    z-index: 1;
    animation: gradientShift 15s ease infinite;
}

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

.reviews-hero h1 {
    font-family: 'Clash Display', 'Unica One', 'Helvetica Neue', sans-serif;
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    margin-bottom: 0.75rem;
    background: linear-gradient(90deg, #ffffff 0%, #a0a0ff 50%, #00ffaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    text-shadow: 0 0 30px rgba(0, 204, 153, 0.2);
}

.reviews-hero p {
    font-size: clamp(0.8rem, 2vw, 1rem);
    max-width: 700px;
    margin: 0 auto 1rem;
    color: #b0b0c0;
}

.reviews-content {
    padding: 50px 0;
    background: linear-gradient(165deg, #0f0f23 0%, #1a1a3a 100%);
    position: relative;
    border-top: 1px solid rgba(100, 100, 200, 0.1);
}

.reviews-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 15% 25%, rgba(0, 204, 153, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 85% 75%, rgba(26, 31, 255, 0.12) 0%, transparent 40%);
    z-index: 1;
}

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

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.review-card {
    background: linear-gradient(145deg, rgba(15, 15, 35, 0.7) 0%, rgba(25, 25, 50, 0.7) 100%);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(100, 100, 200, 0.15);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(8px);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.review-card:hover {
    transform: translateY(-3px) scale(1.002);
    border-color: rgba(100, 100, 200, 0.3);
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.reviewer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 0.5rem;
    background: linear-gradient(135deg, #1a1fff 0%, #2d0a5a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    color: white;
    box-shadow: 0 2px 6px rgba(26, 31, 255, 0.3);
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 0.1rem;
    color: #f0f0f0;
}

.reviewer-location {
    font-size: 0.7rem;
    color: #9090b0;
    margin-bottom: 0.1rem;
}

.review-date {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
}

.review-rating .stars {
    color: #ffd700;
    font-size: 0.8rem;
}

.review-content p {
    color: #b8b8d0;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
}

.review-stats {
    display: flex;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 0.75rem;
    border: 1px solid rgba(100, 100, 200, 0.1);
}

.stat {
    text-align: center;
}

.stat-value {
    font-family: 'Space Grotesk', 'Fira Code', 'Monaco', monospace;
    font-weight: 700;
    font-size: 0.9rem;
    color: #00cc99;
    margin-bottom: 0.25rem;
    text-shadow: 0 0 10px rgba(0, 204, 153, 0.3);
}

.stat-label {
    font-size: 0.6rem;
    color: #9090b0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trustpilot-widget {
    background: linear-gradient(145deg, rgba(15, 15, 35, 0.85) 0%, rgba(25, 25, 50, 0.85) 100%);
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid rgba(100, 100, 200, 0.2);
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(12px);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.trustpilot-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 204, 153, 0.05) 0%, transparent 30%);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: -1;
}

.trustpilot-widget:hover::before {
    opacity: 1;
}

.trustpilot-widget h2 {
    font-family: 'Clash Display', 'Unica One', 'Helvetica Neue', sans-serif;
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
    color: #f0f0f0;
}

.trustpilot-score {
    margin-bottom: 1rem;
}

.score-value {
    font-family: 'Space Grotesk', 'Fira Code', 'Monaco', monospace;
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffd700;
    line-height: 1;
    margin-bottom: 0.4rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.score-label {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    color: #b0b0c0;
}

.score-reviews {
    color: #9090b0;
}

.submit-review {
    padding: 50px 0;
    background: linear-gradient(135deg, #0a0b1a 0%, #1a1fff 100%);
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(100, 100, 200, 0.1);
}

.submit-review::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 204, 153, 0.15) 0%, transparent 40%);
    z-index: 1;
    animation: gradientShift 15s ease infinite;
}

.submit-review .container {
    position: relative;
    z-index: 2;
}

.submit-review h2 {
    font-family: 'Clash Display', 'Unica One', 'Helvetica Neue', sans-serif;
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    margin-bottom: 0.75rem;
    background: linear-gradient(90deg, #ffffff 0%, #a0a0ff 50%, #00ffaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.submit-review p {
    font-size: clamp(0.8rem, 2vw, 1rem);
    max-width: 700px;
    margin: 0 auto 1rem;
    color: #b0b0c0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .reviews-hero {
        padding: 60px 0 40px;
    }
    
    .reviews-hero h1 {
        font-size: 1.75rem;
    }
    
    .reviews-content {
        padding: 40px 0;
    }
    
    .reviews-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 0.75rem;
    }
    
    .trustpilot-widget {
        padding: 1rem;
    }
    
    .score-value {
        font-size: 1.5rem;
    }
    
    .carousel-nav {
        width: 22px;
        height: 22px;
        font-size: 0.9rem;
    }
    
    .video-carousel-container {
        max-width: 90%;
    }
    
    .video-slide {
        min-width: calc(50% - 0.5rem);
    }
}

@media (max-width: 768px) {
    .reviews-hero {
        padding: 50px 0 30px;
    }
    
    .reviews-hero h1 {
        font-size: 1.5rem;
    }
    
    .video-reviews-section {
        padding: 1.5rem 0;
    }
    
    .video-wrapper {
        padding-top: 177%; /* Maintain 9:16 aspect ratio */
    }
    
    .reviews-content {
        padding: 30px 0;
    }
    
    .review-header {
        flex-direction: column;
        text-align: center;
    }
    
    .reviewer-avatar {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .review-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .trustpilot-widget {
        padding: 0.85rem;
    }
    
    .video-info {
        padding: 0.6rem;
    }
    
    .video-info h3 {
        font-size: 0.8rem;
    }
    
    .carousel-nav {
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
    }
    
    .rm-time {
        display: none;
    }
    
    .rm-volume {
        width: 30px;
    }
    
    .video-slide {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .reviews-hero {
        padding: 40px 0 20px;
    }
    
    .reviews-hero h1 {
        font-size: 1.25rem;
    }
    
    .video-reviews-section {
        padding: 1.25rem 0;
    }
    
    .video-info {
        padding: 0.5rem;
    }
    
    .video-info h3 {
        font-size: 0.75rem;
    }
    
    .trustpilot-widget {
        padding: 0.75rem;
    }
    
    .score-value {
        font-size: 1.5rem;
    }
    
    .carousel-nav {
        display: none;
    }
    
    .video-carousel-container {
        max-width: 95%;
    }
}