/* ==========================================================================
   بخش ویژه و هایلایت ویدیوی محصول (Product Spotlight Video)
   ========================================================================== */

.btn-jump-to-video {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #e0f2fe;
    color: #0284c7 !important;
    border: 1px dashed #38bdf8;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    margin-top: 14px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.btn-jump-to-video:hover {
    background: #0284c7;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.play-btn-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #0284c7;
    color: #ffffff;
    border-radius: 50%;
    font-size: 11px;
    transition: 0.2s;
}

.btn-jump-to-video:hover .play-btn-mini {
    background: #ffffff;
    color: #0284c7;
}

/* کانتینر اصلی ویدیو */
.iphone-spotlight-video-wrapper {
    position: relative;
    overflow: hidden;
    margin: 40px 0;
    padding: 28px;
    background: radial-gradient(
        120% 100% at 50% 0%,
        #ffffff 0%,
        #f0f9ff 100%
    );
    border: 1.5px solid #bae6fd;
    border-radius: 24px;
    box-shadow: 0 20px 40px -15px rgba(2, 132, 199, 0.12);
}

.iphone-spotlight-video-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #38bdf8, #0284c7, #0369a1);
}

.video-header-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.pulse-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    padding: 4px 10px;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #dc2626;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    animation: livePulse 1.6s infinite cubic-bezier(0.66, 0, 1, 1);
}

@keyframes livePulse {
    to {
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
    }
}

.video-heading {
    margin: 0;
    color: #0f172a;
    font-size: 20px;
    font-weight: 900;
}

.video-specs-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.video-badge {
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
}

.video-badge.grade-badge {
    background: #e0f2fe;
    color: #0284c7;
    border: 1px solid #7dd3fc;
}

.video-badge.battery-badge {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

/* پلیر ویدیو */
.custom-video-player-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.used-product-video-tag {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-video-play-overlay {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    background: rgba(2, 132, 199, 0.85);
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-video-play-overlay:hover {
    background: #0284c7;
    transform: scale(1.15);
}

.play-icon-triangle {
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid #ffffff;
}

.custom-video-player-container.is-playing .custom-video-play-overlay {
    opacity: 0;
    pointer-events: none;
}

.video-watermark-stamp {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    background: rgba(15, 23, 42, 0.6);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    pointer-events: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* فوتر مشخصات ویدیو */
.video-footer-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e0f2fe;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
}

.meta-icon {
    font-size: 16px;
}

@media (max-width: 768px) {
    .iphone-spotlight-video-wrapper {
        padding: 20px;
        border-radius: 18px;
    }

    .video-footer-meta {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}
