/* ============================================================
   0e. REVIEWS PAGE
   ============================================================ */

/* ==========================================================================
   REVIEWS PAGE — PREMIUM CSS (SAFE INTEGRATION)
   ========================================================================== */

/* ── HERO ── */
.rv-hero {
    background: #0b0f17;
    padding: 160px 24px 72px;
    position: relative;
    overflow: hidden;
}
.rv-hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 20% 50%, rgba(245,166,35,.09) 0%, transparent 65%),
        radial-gradient(ellipse 50% 60% at 80% 20%, rgba(14,165,233,.12) 0%, transparent 60%);
    pointer-events: none;
}
.rv-hero::after {
    content: '"';
    position: absolute;
    right: 6%;
    top: -30px;
    font-size: 280px;
    font-family: Georgia, serif;
    color: rgba(255,255,255,.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.rv-hero-inner {
    max-width: 1450px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.rv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: wheat;
    background: rgba(245,166,35,.1);
    border: 1px solid rgba(245,166,35,.25);
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}
.rv-hero h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 18px;
}
.rv-hero h1 .accent { 
    background: linear-gradient(90deg,#00d4ff,#b38bff,#ff9bd7); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}
.rv-hero p {
    font-size: 17px;
    color: rgba(255,255,255,.55);
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: 40px;
}

/* ── STATS BAR (hero) ── */
.rv-stats-row {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.rv-big-score {
    font-family: 'Sora', sans-serif;
    font-size: 62px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}
.rv-stars { color: greenyellow; font-size: 20px; letter-spacing: 2px; margin-bottom: 5px; }
.rv-total { font-size: 13px; color: rgba(255,255,255,.45); font-weight: 600; }
.rv-bars { display: flex; flex-direction: column; gap: 6px; min-width: 200px; }
.rv-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: rgba(255,255,255,.5);
    font-weight: 600;
}
.rv-bar-track {
    flex: 1;
    height: 5px;
    background: rgba(255,255,255,.1);
    border-radius: 3px;
    overflow: hidden;
}
.rv-bar-fill {
    height: 100%;
    background: linear-gradient(90deg,#00d4ff,#b38bff,#ff9bd7);
    border-radius: 3px;
    transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.rv-bar-count { min-width: 20px; text-align: right; }
.rv-trust-row { display: flex; gap: 20px; flex-wrap: wrap; margin-left: auto; }
.rv-trust-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.6);
}
.rv-trust-pill .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: greenyellow;
    flex-shrink: 0;
}

/* ── FILTER BAR ── */
.rv-filter-bar {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 8px rgba(11,15,23,.06);
}
.rv-filter-inner {
    max-width: 1450px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.rv-filter-inner::-webkit-scrollbar { display: none; }
.rv-filter-btn {
    padding: 16px 20px;
    font-size: 13px;
    font-weight: 700;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #475569;
}
.rv-filter-btn.active { color: #03a4ed; border-bottom-color: #03a4ed; }
.rv-filter-btn .fcount {
    font-size: 11px;
    padding: 1px 7px;
    border-radius: 10px;
    color: #64748b;
}
.rv-filter-btn.active .fcount { background: #fff8ec; color: #f59e0b; }

/* ── MAIN LAYOUT ── */
.rv-main {
    max-width: 1450px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}
.reviews-feed {
    columns: 2;
    column-gap: 24px;
}

/* ── REVIEW CARD ── */
.review-card-pro {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
    break-inside: avoid;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: transform .22s, box-shadow .22s;
    position: relative;
    overflow: hidden;
}
.review-card-pro:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.review-card-pro::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #f59e0b, rgba(245,166,35,0));
    border-radius: 3px 0 0 3px;
}

.rc-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}
.rc-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(11,15,23,.08);
}
.rc-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-meta { flex: 1; min-width: 0; }
.rc-name {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.verified-icon { color: #03a4ed; font-size: 13px; }
.rc-sub {
    font-size: 12px;
    color: #64748b;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.rc-stars { 
    background: linear-gradient(90deg,#00d4ff,#b38bff,#ff9bd7); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    font-size: 13px; 
    letter-spacing: 1px; 
    margin-top: 5px; 
}
.rc-date {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 2px;
}
.rc-body {
    font-size: 15px;
    line-height: 1.75;
    color: #374151;
    margin-bottom: 18px;
    position: relative;
}
.rc-body::before {
    content: '"';
    font-size: 60px;
    font-family: Georgia, serif;
    color: #fff8ec;
    position: absolute;
    top: -14px;
    left: -8px;
    line-height: 1;
    pointer-events: none;
    z-index: -1;
}
.rc-gallery {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.rc-thumb {
    width: 72px; height: 72px;
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
    border: 1.5px solid #e2e8f0;
    transition: opacity .18s, transform .18s;
}
.rc-thumb:hover { opacity: .85; transform: scale(1.04); }

/* ── Admin Reply ── */
.admin-bubble {
    background: #f1f5f9;
    border-radius: 12px;
    border-top-left-radius: 4px;
    padding: 14px 18px;
    margin-top: 12px;
}
.admin-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #03a4ed;
    margin-bottom: 8px;
}
.admin-header::before { content: '✦'; font-size: 9px; }
.admin-text { font-size: 14px; color: #374151; line-height: 1.65; }

.reply-zone {
    margin-top: 12px;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    padding: 14px;
}
.reply-input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    resize: none;
    outline: none;
    font-family: inherit;
    color: #111827;
    background: #ffffff;
    transition: border .2s;
}
.reply-input:focus { border-color: #03a4ed; }
.reply-btn {
    margin-top: 8px;
    background: #111827;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}
.reply-btn:hover { background: #03a4ed; }

/* ── CTA ── */
.rv-cta {
    background: #0b0f17;
    border-radius: 20px;
    padding: 52px 48px;
    text-align: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}
.rv-cta::before {
    content: '★';
    position: absolute;
    font-size: 240px;
    color: rgba(255,255,255,.025);
    right: -20px; top: -40px;
    pointer-events: none;
    user-select: none;
}
.rv-cta h2 {
    font-family: 'Sora', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.rv-cta p { font-size: 15px; color: rgba(255,255,255,.55); line-height: 1.7; max-width: 480px; margin: 0 auto 28px; }
.rv-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg,#00d4ff,#b38bff,#ff9bd7);
    color: white;
    font-size: 14px;
    font-weight: 800;
    padding: 14px 32px;
    border-radius: 100px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(245,166,35,.35);
}
.rv-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,166,35,.45); color: #fff; }

.rv-empty {
    text-align: center;
    padding: 80px 20px;
    color: #64748b;
    font-size: 15px;
    grid-column: span 2;
}

/* ── LIGHTBOX ── */
#previewOverlay {
    display: none;
    position: fixed; inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    justify-content: center;
    align-items: center;
}
#previewOverlay.show { display: flex; }
.lb-close {
    position: fixed;
    top: 22px; right: 26px;
    width: 46px; height: 46px;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 22px;
    z-index: 999999;
    border: 1px solid rgba(255,255,255,.2);
    transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,.22); }
.lb-arrow {
    position: fixed;
    top: 50%; transform: translateY(-50%);
    width: 50px; height: 50px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 20px;
    z-index: 999999;
    border: 1px solid rgba(255,255,255,.15);
    transition: background .2s;
}
.lb-arrow:hover { background: rgba(255,255,255,.2); }
.lb-arrow.prev { left: 20px; }
.lb-arrow.next { right: 20px; }
#imgContainer {
    width: 100%; height: 100%;
    display: flex; justify-content: center; align-items: center;
}
#previewImg {
    max-width: 90vw; max-height: 85vh;
    width: auto; height: auto;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0,0,0,.6);
    display: block;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .reviews-feed { columns: 1; }
    .rv-stats-row { gap: 20px; }
    .rv-trust-row { margin-left: 0; }
}
@media (max-width: 680px) {
    .rv-hero { padding: 100px 18px 52px; }
    .rv-main { padding: 32px 16px 60px; }
    .rv-cta { padding: 36px 20px; }
    .rv-big-score { font-size: 48px; }
    .rv-bars { display: none; }
}


