/* پلیر لنزتو - استایل شیشه‌ای (Glassmorphism) */

.lenzeto-player-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    aspect-ratio: 16/9;
}

.lenzeto-player-container video {
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
    object-fit: contain;
}

/* کنترل‌ها با افکت شیشه‌ای */
.lenzeto-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.3), transparent);
    padding: 20px 25px 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
    direction: ltr;
    z-index: 20;
}

.lenzeto-player-container:hover .lenzeto-controls {
    opacity: 1;
}

/* دکمه شیشه‌ای */
.glass-btn {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 10px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.glass-btn:hover {
    background: #667eea;
    transform: scale(1.05);
    border-color: transparent;
}

/* دکمه پخش بزرگ */
.play-pause-btn {
    background: linear-gradient(135deg, rgba(102,126,234,0.9), rgba(118,75,162,0.9)) !important;
    backdrop-filter: blur(12px);
    padding: 12px 24px !important;
    box-shadow: 0 8px 20px rgba(102,126,234,0.4);
}

.play-pause-btn:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 12px 30px rgba(102,126,234,0.6);
}

/* نوار پیشرفت */
.progress-container {
    position: relative;
    margin-bottom: 18px;
    cursor: pointer;
}

.progress-bg {
    height: 5px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
    transition: width 0.1s;
}

.progress-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    opacity: 0;
    cursor: pointer;
}

/* ردیف دکمه‌ها */
.controls-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* باجه‌های ۵ ثانیه */
.badge {
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
}

/* کنترل صدا */
.volume-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    padding: 5px 12px;
}

.volume-slider-container {
    width: 80px;
}

.volume-slider {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.volume-slider::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

/* نمایش زمان */
.time-display {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 50px;
    font-family: monospace;
    font-size: 15px;
    color: white;
}

.sep {
    margin: 0 4px;
    color: #aaa;
}

/* منوی سرعت */
.speed-wrap {
    position: relative;
}

.speed-menu {
    position: absolute;
    bottom: 55px;
    left: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 8px 0;
    display: none;
    flex-direction: column;
    min-width: 80px;
    border: 1px solid rgba(255,255,255,0.1);
}

.speed-menu.show {
    display: flex;
}

.speed-menu button {
    background: transparent;
    border: none;
    color: white;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
}

.speed-menu button:hover {
    background: #667eea;
}

.speed-menu button.active {
    color: #667eea;
    font-weight: bold;
}

/* نوتیفیکیشن */
.player-notification {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(16px);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    z-index: 30;
    white-space: nowrap;
}

.player-notification.show {
    opacity: 1;
}

/* موبایل */
@media (max-width: 768px) {
    .lenzeto-controls {
        padding: 12px 15px 10px;
    }
    .glass-btn {
        padding: 6px 12px;
    }
    .play-pause-btn {
        padding: 8px 16px !important;
    }
    .time-display {
        font-size: 12px;
        padding: 4px 10px;
    }
    .badge {
        display: none;
    }
    .volume-slider-container {
        width: 50px;
    }
}