/* استایل اختصاصی پلیر */
body {
    margin: 0;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: sans-serif;
}

.player-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.player-video {
    width: 100%;
    display: block;
    cursor: pointer;
}

/* مخفی کردن کنترل‌های پیش‌فرض */
.player-video::-webkit-media-controls {
    display: none !important;
}

.player-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 10px 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.player-container:hover .player-controls {
    opacity: 1;
}

/* نوار پیشرفت */
.progress-container {
    width: 100%;
    height: 5px;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    margin-bottom: 10px;
}

.progress-filled {
    width: 0%;
    height: 100%;
    background: #e50914; /* قرمز نتفلیکس */
    position: relative;
}

.progress-filled::after {
    content: '';
    position: absolute;
    right: -5px;
    top: -2px;
    width: 9px;
    height: 9px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
}

.progress-container:hover .progress-filled::after {
    opacity: 1;
}

/* دکمه‌ها */
.controls-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.ctrl-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0 10px;
}

.ctrl-select {
    background: rgba(0,0,0,0.7);
    color: white;
    border: 1px solid #333;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
}

input[type="range"] {
    width: 80px;
    cursor: pointer;
}