/* =========================================================
   NARBADA AYURVEDA — MODERN ANIMATED CUSTOMER VIDEO REVIEWS
   Theme: Luxury Olive + Dark Charcoal + Glassmorphism
========================================================= */

.cvr-section {
    position: relative;
    padding: 60px 0;
    background: radial-gradient(circle at 10% 20%, rgba(122, 139, 90, 0.12), transparent 30%),
                radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.1), transparent 35%),
                linear-gradient(135deg, #11150F 0%, #181E15 50%, #0E120D 100%);
    color: #FFFFFF;
    overflow: hidden;
    isolation: isolate;
}

/* Background Atmosphere */
.cvr-bg-grid {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.cvr-bg-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

.cvr-bg-orb-1 {
    top: -100px;
    left: -100px;
    background: rgba(122, 139, 90, 0.25);
}

.cvr-bg-orb-2 {
    bottom: -100px;
    right: -100px;
    background: rgba(212, 175, 55, 0.18);
}

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

/* Section Header */
.cvr-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 35px;
}

.cvr-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #AAB892;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    backdrop-filter: blur(12px);
}

.cvr-kicker i {
    color: #D4AF37;
}

.cvr-title {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    line-height: 1.18;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.cvr-title span {
    background: linear-gradient(135deg, #D4AF37 0%, #F5E096 50%, #AAB892 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cvr-subtitle {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

/* Swiper Container */
.cvr-swiper {
    padding: 15px 5px 45px !important;
    overflow: visible !important;
}

/* Video Card Item */
.cvr-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.cvr-card:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(122, 139, 90, 0.3);
}

/* Video Media Wrapper */
.cvr-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cvr-poster,
.cvr-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    pointer-events: none;
}

.cvr-card:hover .cvr-poster,
.cvr-card:hover .cvr-bg-video {
    transform: scale(1.08);
}

/* Dark Gradient Overlay for Readability */
.cvr-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(15, 20, 14, 0.45) 0%,
        rgba(15, 20, 14, 0.15) 40%,
        rgba(15, 20, 14, 0.92) 100%
    );
    transition: opacity 0.35s ease;
}

/* Top Badges */
.cvr-card-top {
    position: relative;
    z-index: 3;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cvr-product-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(18, 24, 16, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-size: 11.5px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.cvr-product-tag i {
    color: #7A8B5A;
}

.cvr-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(122, 139, 90, 0.25);
    border: 1px solid rgba(122, 139, 90, 0.4);
    color: #AAB892;
    font-size: 10.5px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.cvr-verified i {
    color: #4CAF50;
}

/* Center Play Button */
.cvr-play-trigger {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.9), rgba(122, 139, 90, 0.9));
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.cvr-play-trigger i {
    font-size: 18px;
    margin-left: 3px;
    transition: transform 0.3s ease;
}

/* Pulse animation on Play Button */
.cvr-play-trigger::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.5);
    animation: cvrPulseRing 2s infinite ease-out;
}

.cvr-card:hover .cvr-play-trigger {
    transform: translate(-50%, -50%) scale(1.12);
    background: linear-gradient(135deg, #D4AF37, #7A8B5A);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
}

.cvr-card:hover .cvr-play-trigger i {
    transform: scale(1.15);
}

/* Bottom Customer Content */
.cvr-card-bottom {
    position: relative;
    z-index: 3;
    padding: 18px;
}

.cvr-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #FFC107;
    font-size: 13px;
    margin-bottom: 6px;
}

.cvr-quote {
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.45;
    color: #FFFFFF;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cvr-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cvr-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(212, 175, 55, 0.5);
}

.cvr-user-meta strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #FFFFFF;
}

.cvr-user-meta small {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.65);
}

/* Swiper Controls */
.cvr-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
    z-index: 10;
    position: relative;
}

.cvr-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(14px);
    transition: all 0.35s ease;
    z-index: 10;
    font-size: 14px;
}

.cvr-nav-btn::after {
    display: none;
}

.cvr-nav-btn:hover {
    background: #D4AF37;
    border-color: #D4AF37;
    color: #11150F;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.cvr-pagination {
    position: static !important;
    width: auto !important;
    display: flex;
    align-items: center;
}

.cvr-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: rgba(255, 255, 255, 0.35);
    opacity: 1;
    border-radius: 99px;
    transition: all 0.35s ease;
    margin: 0 4px !important;
    cursor: pointer;
}

.cvr-pagination .swiper-pagination-bullet-active {
    width: 28px;
    background: #D4AF37;
    border-radius: 99px;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.7);
}

/* Video Modal Player */
.cvr-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(10, 14, 9, 0.92);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.cvr-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.cvr-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 840px;
    background: #000000;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cvr-modal.is-open .cvr-modal-dialog {
    transform: scale(1);
}

.cvr-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cvr-modal-close:hover {
    background: #D4AF37;
    color: #000000;
    transform: rotate(90deg);
}

.cvr-modal-video-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000000;
}

.cvr-modal-video-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Animations */
@keyframes cvrPulseRing {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .cvr-section {
        padding: 50px 0;
    }
    .cvr-card {
        height: 340px;
    }
}

@media (max-width: 575.98px) {
    .cvr-section {
        padding: 35px 0;
    }
    .cvr-card {
        height: 320px;
    }
    .cvr-play-trigger {
        width: 46px;
        height: 46px;
    }
    .cvr-play-trigger i {
        font-size: 15px;
    }
}
