﻿/* _review-tiktok.css */

#sectiune-reviews-tiktok {
    padding: 2rem 1rem !important;
    background: #0a0a0a !important;
}

    #sectiune-reviews-tiktok h2 {
        text-align: center !important;
        font-size: 1.8rem !important;
        font-weight: 800 !important;
        margin-bottom: 2rem !important;
        color: #fff !important;
    }

.grid-tiktok-reviews {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; /* Mobile First: 2 coloane */
    gap: 1rem !important;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .grid-tiktok-reviews {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (min-width: 1024px) {
    .grid-tiktok-reviews {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

.card-tiktok-review {
    background: white !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    width: 100% !important;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* --- CONTAINERUL VIDEO --- */
.video-holder {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 9 / 16 !important;
    background: #000 !important;
    overflow: hidden !important;
    cursor: pointer !important;
    display: block !important;
}

/* Imaginea de copertă */
.video-fasada-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.3s ease;
}

.video-holder:hover .video-fasada-img {
    transform: scale(1.03);
    opacity: 0.9;
}

/* --- TRUCUL MAGIC PENTRU IFRAME (Super-Resolution) --- */
/* Facem iframe-ul dublu ca mărime (200%), apoi îl micșorăm la jumătate (0.5) */
/* Astfel, butoanele (plyr__controls) vor părea de 2x mai mici */
.video-holder iframe,
.video-iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    /* Dimensiuni duble */
    width: 200% !important;
    height: 200% !important;
    /* Scalare înapoi la dimensiunea normală */
    transform: scale(0.5) !important;
    transform-origin: top left !important;
    border: none !important;
    z-index: 10 !important;
    background: black;
    display: block !important;
    pointer-events: auto !important; /* Esențial pentru click-to-pause */
}

/* --- BUTONUL PLAY --- */
.play-icon-overlay {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 5 !important;
    pointer-events: none !important;
    width: 64px;
    height: 64px;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: transform 0.2s ease;
}

.video-holder:hover .play-icon-overlay {
    transform: translate(-50%, -50%) scale(1.1) !important;
    background: rgba(193, 2, 6, 0.8);
}

.play-icon-overlay svg {
    width: 32px !important;
    height: 32px !important;
    fill: white !important;
}

/* --- INFO JOS --- */
.review-meta {
    display: flex !important;
    align-items: center !important;
    padding: 0.8rem !important;
    gap: 0.6rem !important;
    background: #fff;
    flex-grow: 1;
    z-index: 11;
    position: relative;
}

.logo-influencer {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 1px solid #eee;
}

.reviewer-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    color: #232323;
    line-height: 1.2;
    overflow: hidden;
}

.reviewer-name {
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.review-date {
    font-size: 0.75rem;
    color: #666;
    margin-top: 2px;
}
