/* --- MODERN VİDEO PLAYER STİLLERİ --- */
.mp-video-player-wrapper {
    position: relative;
    width: 100%;
    max-height: 550px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    user-select: none;
}

.mp-video-element {
    width: 100%;
    max-height: 550px;
    display: block;
    object-fit: contain;
}

/* Overlay & Büyük Play/Stop Butonu Kontrolü */
.mp-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: opacity 0.25s ease;
    z-index: 2;
}

.mp-big-play-btn {
    width: 64px;
    height: 64px;
    background: rgba(244, 63, 94, 0.9);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(244, 63, 94, 0.5);
    transition: transform 0.2s ease, background 0.2s ease;
    padding-left: 3px;
}

/* Video Durdurulduğunda (Paused) Buton Kesinlikle Görünür Olur */
.mp-video-player-wrapper.paused .mp-video-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* Video Oynarken (Playing) Buton Gizlenir, Üzerine Gelince Belirir */
.mp-video-player-wrapper.playing .mp-video-overlay {
    opacity: 0;
    pointer-events: none;
}

.mp-video-player-wrapper.playing:hover .mp-video-overlay {
    opacity: 1;
    pointer-events: auto;
}

.mp-big-play-btn:hover {
    transform: scale(1.1);
    background: #f43f5e;
}

/* Kontrol Paneli */
.mp-video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 70%, transparent 100%);
    padding: 12px 16px 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mp-video-player-wrapper:hover .mp-video-controls,
.mp-video-player-wrapper.paused .mp-video-controls {
    opacity: 1;
    transform: translateY(0);
}

.mp-control-row {
    display: flex;
    align-items: center;
    width: 100%;
}

/* İlerleme Çubuğu (Scrubber) */
.mp-seek-container {
    position: relative;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
}

.mp-seek-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: #f43f5e;
    border-radius: 3px;
    pointer-events: none;
}

.mp-seek-range {
    position: absolute;
    left: 0;
    top: -5px;
    width: 100%;
    height: 16px;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

/* Alt Buton Satırı */
.mp-main-row {
    justify-content: space-between;
    gap: 12px;
}

.mp-left-controls, .mp-right-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mp-ctrl-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.mp-ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #f43f5e;
}

.mp-volume-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mp-volume-range {
    width: 70px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
    accent-color: #f43f5e;
    cursor: pointer;
    outline: none;
    appearance: none;
}

.mp-time-display {
    font-size: 11.5px;
    font-weight: 600;
    color: #cbd5e1;
    letter-spacing: 0.5px;
}

.mp-speed-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 6px;
    outline: none;
    cursor: pointer;
}

.mp-speed-select option {
    background: #0f172a;
    color: #fff;
}

/* Mobil Uyumluluk */
@media (max-width: 540px) {
    .mp-volume-group { display: none; }
    .mp-time-display { font-size: 10.5px; }
}