:root {
    --primary-color: #ff0000;
    --primary-glow: rgba(255, 0, 0, 0.5);
    --secondary-color: #121212;
    --accent-color: #e50914;
    --text-color: #ffffff;
    --bg-color: #050505;
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 80px;
    --overlay-color: rgba(0, 0, 0, 0.7);
    --glass-background: rgba(20, 20, 20, 0.8);
    --glass-border: rgba(255, 0, 0, 0.1);
    --transition-speed: 0.4s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Navbar & Logo Enhancements - FULL CONSISTENCY */
.navbar {
    width: 100% !important;
    height: 85px !important;
    background: rgba(0, 0, 0, 0.85) !important;
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 4% !important;
    z-index: 10000 !important;
    border-bottom: 2px solid rgba(255, 0, 0, 0.3) !important;
    backdrop-filter: blur(20px) !important;
}

.logo-container {
    width: 200px !important;
    height: 55px !important;
    display: flex !important;
    align-items: center !important;
}

.full-logo {
    height: 55px !important;
    width: auto !important;
    mix-blend-mode: screen;
    filter: none !important;
    box-shadow: none !important;
    image-rendering: -webkit-optimize-contrast;
    pointer-events: none;
    transition: none !important;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--primary-color);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-icon {
    font-size: 1.3rem;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
    opacity: 0.8;
    text-decoration: none;
}

.nav-icon:hover {
    opacity: 1;
    color: var(--primary-color);
}

.user-profile-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.main-content {
    margin-top: 85px;
    /* Navbar ile senkronize edildi */
    padding: 0;
    min-height: 100vh;
}

/* Sidebar / İzleme Listesi */
.ep-list-box {
    background: var(--glass-background);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Video Player Styles */

.player-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    aspect-ratio: 16/9;
}

.video-element {
    width: 100%;
    height: 100%;
    display: block;
}

.custom-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.player-container:hover .custom-controls {
    opacity: 1;
}

.progress-area {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 15px;
    position: relative;
}

.progress-filled {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    border-radius: 3px;
    box-shadow: 0 0 10px var(--primary-color);
}

.controls-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.controls-left,
.controls-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.2s;
    opacity: 0.8;
}

.control-btn:hover {
    opacity: 1;
    transform: scale(1.1);
    color: var(--primary-color);
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-slider {
    width: 0;
    transition: 0.3s;
    opacity: 0;
    cursor: pointer;
}

.volume-container:hover .volume-slider {
    width: 80px;
    opacity: 1;
}

.time-display {
    font-size: 0.85rem;
    font-family: 'Outfit';
    color: rgba(255, 255, 255, 0.8);
}

.overlay-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 5;
    transition: 0.3s;
    pointer-events: none;
}

.player-container:hover .overlay-play-btn {
    background: rgba(255, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Scrollbar and UI Consistency */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}