.watch-hero-section {
    margin-top: -70px;
    position: relative;
    width: 100vw;
    margin-right: calc(-50vw + 50%);
    margin-left: 0;
    overflow: visible;
    z-index: 5;
    --watch-bars-stack-height: 0px;
    --watch-bars-stack-bottom: 28px;
    --watch-content-gap-to-bars: 25px;
}

@media (max-width: 768px), (max-height: 500px) {
    .video-modal,
    .fullscreen-player-container,
    .trailer-player-shell,
    #episodeVideo,
    #trailerModalVideo,
    .player-ui-overlay,
    .player-top-bar,
    .player-bottom-bar,
    .player-side-menu,
    .player-btn,
    .player-skip-action,
    .player-progress-bar,
    .season-dropdown-btn,
    .season-dropdown-menu {
        -ms-touch-action: manipulation;
        touch-action: manipulation;
    }
}

.watch-hero-slide {
    width: 100%;
    aspect-ratio: auto;
    height: 80vh;
    height: 80svh;
    min-height: 80vh;
    min-height: 80svh;
    max-height: 80vh;
    max-height: 80svh;
    position: relative;
    display: flex;
    align-items: center;
}

.watch-hero-video,
.watch-hero-bg-image,
.watch-hero-black-overlay,
.watch-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.watch-hero-video {
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
    z-index: 0;
}

.watch-hero-slide.trailer-playing .watch-hero-video {
    opacity: 1;
}

.watch-hero-bg-image {
    background-image: var(--hero-cover-image, none);
    background-size: cover;
    background-position: center;
    transition: opacity 0.2s ease;
    z-index: 0;
}

.watch-hero-slide.image-fading-out .watch-hero-bg-image,
.watch-hero-slide.trailer-playing .watch-hero-bg-image {
    opacity: 0;
}

.watch-hero-black-overlay {
    background: #141317;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.watch-hero-slide.show-black-screen .watch-hero-black-overlay {
    opacity: 1;
}

.watch-hero-overlay {
    background:
        linear-gradient(to left, rgba(20, 19, 23, 0.95) 0%, rgba(20, 19, 23, 0.7) 28%, rgba(20, 19, 23, 0.35) 48%, transparent 68%),
        linear-gradient(to top, rgba(20, 19, 23, 1) 0%, rgba(20, 19, 23, 0.9) 22%, rgba(20, 19, 23, 0.55) 38%, transparent 58%);
    z-index: 1;
    transition: background 0.5s ease;
}

.watch-hero-slide.show-gradient .watch-hero-overlay,
.watch-hero-slide.trailer-playing .watch-hero-overlay {
    background:
        linear-gradient(to left, rgba(20, 19, 23, 0.97) 0%, rgba(20, 19, 23, 0.72) 30%, rgba(20, 19, 23, 0.3) 50%, transparent 70%),
        linear-gradient(to top, rgba(20, 19, 23, 1) 0%, rgba(20, 19, 23, 0.86) 20%, rgba(20, 19, 23, 0.48) 36%, transparent 56%);
}

.watch-hero-content {
    position: relative;
    z-index: 2;
    isolation: isolate;
    padding: 60px 5%;
    padding-bottom: 180px;
    max-width: 760px;
}

.watch-hero-content::before {
    content: '';
    position: absolute;
    top: 34px;
    left: 50%;
    right: auto;
    width: 100vw;
    bottom: 136px;
    transform: translateX(-50%);
    border-radius: 0;
    background: linear-gradient(145deg, rgba(20, 19, 23, 0.82) 0%, rgba(35, 40, 56, 0.62) 45%, rgba(140, 23, 35, 0.42) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.watch-hero-slide.trailer-playing .watch-hero-content::before {
    opacity: 0;
}

.watch-hero-slide.trailer-playing .watch-hero-content .hero-title,
.watch-hero-slide.trailer-playing .watch-hero-content .hero-classification,
.watch-hero-slide.trailer-playing .watch-hero-content .hero-description,
.watch-hero-slide.trailer-playing .watch-meta-inline,
.watch-hero-slide.trailer-playing .watch-meta-inline span,
.watch-hero-slide.trailer-playing .watch-meta-inline i,
.watch-hero-slide.trailer-playing .btn-read-more-hero,
.watch-hero-slide.trailer-playing .watch-hero-content .hero-buttons .btn-play,
.watch-hero-slide.trailer-playing .watch-hero-content .hero-buttons .btn-add-list,
.watch-hero-slide.trailer-playing .watch-hero-content .hero-buttons .btn-play i,
.watch-hero-slide.trailer-playing .watch-hero-content .hero-buttons .btn-add-list i,
.watch-hero-slide.trailer-playing .watch-hero-content .hero-buttons .btn-add-list .material-icons-round,
.watch-hero-slide.trailer-playing .watch-hero-content .hero-buttons .btn-add-list .watchlist-label {
    color: #fff !important;
}

.watch-hero-content .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    display: none;
}

.watch-hero-content .hero-classification {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.watch-meta-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 16px;
    color: #d0d3dc;
    font-size: 1.25rem;
}

.watch-meta-inline span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.watch-meta-inline i {
    color: #747d93;
}

.watch-hero-content .hero-description {
    color: #d3d6df;
    font-size: 1.2rem;
    line-height: 1.7;
    margin: 0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
    width: auto;
    max-width: 100%;
}

.hero-buttons .btn-play,
.hero-buttons .btn-add-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 170px;
    width: auto;
    min-height: 52px;
    padding: 10px 28px;
    border-radius: 999px;
    font-size: 1.16rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.hero-buttons .btn-play {
    background: rgba(140, 23, 35, 0.6);
    color: #fff;
}

.hero-buttons .btn-play:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.hero-buttons .btn-play.ghost {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.18);
}

.hero-buttons .btn-play.btn-continue-watch {
    background: #8c1723;
}

.hero-buttons .btn-add-list {
    background: rgba(60, 60, 60, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.hero-buttons .btn-add-list,
.hero-buttons .btn-add-list:hover,
.hero-buttons .btn-add-list:focus,
.hero-buttons .btn-add-list:active,
.hero-buttons .btn-add-list .watchlist-label {
    text-decoration: none !important;
}

.hero-buttons .btn-add-list .watchlist-label,
.hero-buttons .btn-add-list .watchlist-label:hover,
.hero-buttons .btn-add-list .watchlist-label:focus,
.hero-buttons .btn-add-list .watchlist-label:active {
    text-decoration: none !important;
}

.hero-buttons .btn-add-list .material-icons-round {
    font-size: 1.45rem;
    line-height: 1;
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.hero-buttons .btn-add-list[data-in-list="1"] .material-icons-round {
    color: #ff6f80;
    border-color: rgba(255, 111, 128, 0.9);
    background: rgba(140, 23, 35, 0.34);
}

.hero-buttons .btn-add-list[data-in-list="0"] .material-icons-round,
.hero-buttons .btn-add-list:not([data-in-list="1"]) .material-icons-round {
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.9);
    background: rgba(34, 197, 94, 0.16);
}

.hero-buttons .btn-add-list .watchlist-label {
    font-weight: 700;
}

.hero-buttons .btn-add-list:hover {
    background: rgba(90, 90, 90, 0.95);
    transform: translateY(-1px);
}

.btn-sound-toggle {
    position: absolute;
    top: 100px;
    left: 5%;
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    opacity: 0;
    visibility: hidden;
}

.watch-hero-slide.trailer-playing .btn-sound-toggle {
    opacity: 1;
    visibility: visible;
}

.btn-sound-toggle.unmuted {
    background: #8c1723;
    border-color: #8c1723;
}

.watch-bars-stack {
    position: absolute;
    bottom: var(--watch-bars-stack-bottom);
    left: 5%;
    right: 5%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 1025px) {
    .watch-hero-slide {
        align-items: flex-end;
    }

    .watch-hero-content {
        padding-bottom: calc(var(--watch-bars-stack-height) + var(--watch-bars-stack-bottom) + var(--watch-content-gap-to-bars));
    }
}

.watch-seasons-bar {
    position: relative;
    background: rgba(40, 43, 51, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 12px 34px;
    z-index: 20;
}

.watch-seasons-bar .seasons-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.watch-seasons-bar .seasons-info {
    display: flex;
    gap: 30px;
    color: #fff;
    font-size: 20px;
}

.watch-seasons-bar .seasons-info span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.watch-seasons-bar .seasons-info i {
    color: #7a8398;
}

.season-selector {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.season-selector label {
    color: rgba(255, 255, 255, 0.95);
    font-size: 20px;
}

.custom-season-dropdown {
    position: relative;
    min-width: 210px;
    z-index: 25;
}

.watch-continue-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: fit-content;
    max-width: 100%;
    align-self: flex-start;
    min-height: 56px;
    padding: 12px 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(140, 23, 35, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    text-decoration: none;
    font-family: inherit;
    transition: filter 0.2s ease, transform 0.2s ease;
    position: relative;
    z-index: 10;
}

.watch-continue-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.watch-continue-icon {
    color: #fff;
    font-size: 1.3rem;
    line-height: 1;
}

.watch-continue-bar:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.watch-continue-text,
.watch-continue-meta {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.15;
}

.watch-continue-meta {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.season-dropdown-btn {
    width: 100%;
    background: rgba(101, 109, 127, 0.32);
    border: 1px solid #656d7f;
    border-radius: 999px;
    color: #fff;
    padding: 11px 22px;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.season-dropdown-btn.active i {
    transform: rotate(180deg);
}

.season-dropdown-btn i {
    transition: transform 0.25s ease;
}

.season-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: rgba(40, 43, 51, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 40;
}

.season-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.season-dropdown-item {
    color: rgba(255, 255, 255, 0.86);
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
}

.season-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.season-dropdown-item.active {
    background: #8c1723;
    color: #fff;
}

.watch-episodes-section {
    padding: 60px 5% 40px;
    background: transparent;
    margin-top: -38px;
    position: relative;
    z-index: 2;
}

.watch-episodes-section .season-block {
    margin-bottom: 40px;
}

.watch-episodes-section .season-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 2px solid #8c1723;
}

.watch-episodes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 65px 15px;
    direction: rtl;
}

.watch-episode-card {
    position: relative;
    z-index: 5;
    cursor: pointer;
    transition: transform 0.25s ease, z-index 0.25s ease;
}

.watch-episode-card:hover {
    transform: scale(1.3);
    z-index: 50;
    background: #282b33;
    border-radius: 6px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
}

.watch-episode-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
}

.watch-episode-card:hover .watch-episode-image {
    border-radius: 6px 6px 0 0;
}

.watch-episode-card.no-description:hover .watch-episode-image {
    border-radius: 6px;
}

.watch-episode-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.watch-episode-image::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 35%;
    background: linear-gradient(to top, rgba(40, 43, 51, 0.9) 0%, rgba(40, 43, 51, 0) 100%);
}

.watch-episode-number {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 2;
}

.watch-image-meta-left {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.watch-play-mini {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.25s ease;
}

.watch-episode-card:hover .watch-play-mini {
    opacity: 1;
    transform: scale(1);
}

.watch-episode-duration {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}

.watch-episode-info {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    padding: 12px;
    background: rgba(40, 43, 51, 0.88);
    backdrop-filter: blur(14px);
    border-radius: 0 0 6px 6px;
    opacity: 1;
    visibility: visible;
    max-height: none;
    overflow: visible;
    transition: all 0.25s ease;
}

.watch-episode-card.no-description .watch-episode-info {
    display: none;
}

.watch-episode-title {
    display: block;
    margin: 0 0 7px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.watch-episode-meta {
    margin: 0;
    color: #f1f1f1;
    line-height: 1.5;
    font-size: 0.95rem;
}

.watch-episode-card:not(.no-description) .watch-episode-image {
    border-radius: 6px 6px 0 0;
}

.btn-read-more,
.btn-read-more-hero {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    display: inline-block;
}

.btn-read-more {
    margin-right: 6px;
    padding: 2px 10px;
    font-size: 12px;
}

.btn-read-more-hero {
    margin-right: 8px;
    padding: 3px 12px;
    font-size: 13px;
}

.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
}

.fullscreen-player-container {
    position: fixed;
    inset: 0;
    background: #000;
    overflow: hidden;
}

.video-modal.mobile-rotate-fullscreen {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    height: 100svh !important;
    min-height: 100dvh !important;
    min-height: 100svh !important;
    max-height: 100dvh !important;
    max-height: 100svh !important;
    background: #000 !important;
    z-index: 2147483600 !important;
}

.video-modal.mobile-rotate-fullscreen .fullscreen-player-container,
.fullscreen-player-container.mobile-rotate-fullscreen,
.trailer-player-shell.mobile-rotate-fullscreen {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    height: 100svh !important;
    min-height: 100dvh !important;
    min-height: 100svh !important;
    max-width: 100vw !important;
    max-height: 100dvh !important;
    max-height: 100svh !important;
    z-index: 2147483601 !important;
    background: #000 !important;
}

#episodeVideo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.player-loading-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.46) 0%, rgba(0, 0, 0, 0.65) 65%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 140;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.player-loading-spinner {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.28);
    border-top-color: #8c1723;
    animation: player-loader-spin 0.8s linear infinite;
}

@keyframes player-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

.trailer-modal {
    z-index: 10120;
    background: rgba(0, 0, 0, 0.98);
}

.trailer-player-shell {
    position: fixed;
    inset: 0;
    background: #000;
}

#trailerModalVideo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.trailer-player-actions {
    position: absolute;
    top: 24px;
    left: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    pointer-events: none;
    z-index: 12;
}

.trailer-player-actions .player-btn,
.trailer-player-actions .btn-play {
    pointer-events: auto;
}

.trailer-open-episodes-btn {
    min-width: 170px;
    min-height: 48px;
    padding: 10px 20px;
    background: #8c1723 !important;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.trailer-open-episodes-btn:hover {
    filter: brightness(1.08);
}

.player-ui-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, transparent 24%, transparent 76%, rgba(0, 0, 0, 0.85) 100%);
    transition: opacity 0.22s ease;
}

.player-ui-overlay.controls-hidden {
    opacity: 0;
    pointer-events: none;
}

.player-top-bar {
    position: absolute;
    top: 24px;
    left: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 200;
    background: transparent !important;
    border-bottom: none !important;
}

.player-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.player-btn,
.player-skip-action,
.player-ui-overlay,
.interaction-overlay {
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}

.player-btn:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: scale(1.05);
}

.player-btn.active-pip {
    background: #8c1723;
    border-color: #8c1723;
}

.player-title-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: 1.2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    pointer-events: none;
}

.player-title-info .series-name {
    color: #ffd36c;
}

.player-side-menu {
    position: absolute;
    top: 0;
    right: -500px;
    width: 460px;
    max-width: 86vw;
    height: 100%;
    background: rgba(40, 43, 51, 0.9);
    backdrop-filter: blur(25px);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 450;
    padding: 86px 18px 18px;
    transition: right 0.32s ease;
    display: flex;
    flex-direction: column;
}

.player-side-menu.active {
    right: 0;
}

#toggleSideMenu.hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.side-menu-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
}

.menu-header h3 {
    color: #fff;
    margin: 0 0 12px;
    font-size: 1.4rem;
    padding-right: 8px;
}

.player-season-select-container {
    position: relative;
    margin: 0 6px 12px;
}

.player-season-btn {
    width: 100%;
    background: rgba(101, 109, 127, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    cursor: pointer;
}

.player-season-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(40, 43, 51, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 6px;
    display: none;
    z-index: 10;
}

.player-season-options.show {
    display: block;
}

.player-season-opt {
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
}

.player-season-opt:hover {
    background: rgba(255, 255, 255, 0.1);
}

.player-season-opt.selected {
    background: #8c1723;
    color: #fff;
}

.menu-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 6px 0 8px;
}

.menu-list::-webkit-scrollbar {
    width: 8px;
}

.menu-list::-webkit-scrollbar-track {
    background: transparent;
}

.menu-list::-webkit-scrollbar-thumb {
    background: #656d7f;
    border-radius: 4px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-item.active {
    background: #656d7f;
}

.menu-item-thumb {
    width: 120px;
    height: 68px;
    object-fit: cover;
    border-radius: 8px;
    background: #111;
    flex-shrink: 0;
}

.menu-item-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
}

.menu-item-duration {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
}

.menu-play-icon {
    display: none;
}

.player-bottom-bar {
    position: absolute;
    right: 24px;
    left: 24px;
    bottom: 24px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.player-progress-container {
    width: 100%;
    padding-top: 44px;
    padding-bottom: 8px;
    position: relative;
}

.player-progress-track-row {
    width: 100%;
}

.player-progress-skip-row {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 42px;
    z-index: 6;
    pointer-events: none;
}

.player-skip-slot {
    position: absolute;
    top: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.skip-intro-slot {
    right: 0;
}

.skip-cast-slot {
    left: 0;
}

.player-progress-bar {
    width: 100%;
    height: 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.24);
    position: relative;
    cursor: pointer;
    -ms-touch-action: none;
    touch-action: none;
}

.progress-buffered,
.progress-played {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    border-radius: 6px;
}

.progress-buffered {
    background: rgba(255, 255, 255, 0.35);
    width: 0;
}

.progress-played {
    background: #8c1723;
    width: 0;
}

.progress-thumb {
    position: absolute;
    top: 50%;
    transform: translate(50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    right: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.player-progress-bar:hover .progress-thumb {
    opacity: 1;
}

.player-progress-bar.is-scrubbing .progress-thumb {
    opacity: 1;
}

.timeline-preview {
    position: absolute;
    bottom: 18px;
    width: 220px;
    height: 124px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.26);
    overflow: hidden;
    display: none;
    transform: translateX(-50%);
    background: #000;
    pointer-events: none;
    z-index: 8;
}

.timeline-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-preview .time-text {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    text-align: center;
    color: #fff;
    font-size: 0.95rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 10px 0 5px;
}

.player-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.player-controls-left,
.player-controls-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.time-display {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.04rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    direction: ltr;
    white-space: nowrap;
    min-width: 56px;
    text-align: center;
}

.current-time-side {
    text-align: right;
}

.total-time-side {
    text-align: left;
}

.player-progress-skip-row .time-display {
    min-width: 64px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    line-height: 1;
}

.player-skip-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: #8c1723;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.player-skip-slot .player-skip-action {
    pointer-events: auto;
}

.player-skip-action:hover {
    filter: brightness(1.08);
}

.player-skip-action:active {
    transform: scale(0.97);
}

.player-skip-action i {
    font-size: 0.8rem;
}

.btn-icon-stack {
    position: relative;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-stack .inner-num {
    position: absolute;
    font-size: 8px;
    font-weight: 900;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.volume-container {
    display: inline-flex;
    align-items: center;
    direction: ltr;
}

.volume-slider-wrapper {
    width: 0;
    overflow: hidden;
    transition: width 0.25s ease;
}

.volume-container:hover .volume-slider-wrapper {
    width: 110px;
    margin-left: 10px;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 28px;
    border-radius: 4px;
    background: linear-gradient(to right, #8c1723 0%, #8c1723 var(--volume-percent, 100%), rgba(255, 255, 255, 0.25) var(--volume-percent, 100%), rgba(255, 255, 255, 0.25) 100%);
    background-size: 100% 6px;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    margin-top: 0;
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: none;
    background: #fff;
}

.volume-slider::-moz-range-track {
    background: transparent;
}

.play-pause-btn {
    width: 54px;
    height: 54px;
}

.share-btn-container {
    position: relative;
}

.share-popup {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 6px;
    min-width: 160px;
    z-index: 20;
}

.share-popup.show {
    display: flex;
}

.share-option {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    padding: 10px;
}

.share-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.interaction-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 160;
}

body.video-playing {
    overflow: hidden;
}

@media (max-width: 1400px) {
    .watch-episodes-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .watch-hero-slide.trailer-playing .watch-hero-content::before {
        opacity: 0.5;
    }

    .watch-episodes-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .watch-seasons-bar {
        border-radius: 26px;
        padding: 10px 22px;
    }
}

@media (max-width: 768px) {
    .watch-hero-section {
        margin-top: -84px;
        min-height: auto;
        display: flex;
        flex-direction: column;
    }

    .watch-hero-slide {
        aspect-ratio: auto;
        height: 80vh;
        height: 80svh;
        min-height: 80vh;
        min-height: 80svh;
        max-height: 80vh;
        max-height: 80svh;
    }

    .watch-hero-overlay,
    .watch-hero-slide.show-gradient .watch-hero-overlay,
    .watch-hero-slide.trailer-playing .watch-hero-overlay {
        background: transparent !important;
    }

    .watch-hero-bg-image {
        background-image: var(--hero-mobile-image, var(--hero-cover-image, none));
    }

    .watch-hero-content {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 20px;
        padding: 0 5%;
        text-align: center;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .watch-hero-content::before {
        top: -10px;
        right: auto;
        left: 50%;
        width: 100vw;
        bottom: -14px;
        transform: translateX(-50%);
        border-radius: 0;
        background: linear-gradient(150deg, rgba(20, 19, 23, 0.76) 0%, rgba(35, 40, 56, 0.52) 50%, rgba(140, 23, 35, 0.35) 100%);
    }

    .watch-hero-content .hero-title {
        display: none;
    }

    .watch-hero-content .hero-classification {
        font-size: 1.15rem;
    }

    .watch-meta-inline {
        justify-content: center;
        gap: 12px;
        font-size: 1rem;
    }

    .watch-hero-content .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 10px;
    }

    .hero-buttons .btn-play,
    .hero-buttons .btn-add-list {
        width: 170px;
        min-width: 170px;
        min-height: 48px;
        font-size: 0.95rem;
        padding: 10px 18px;
    }

    .btn-sound-toggle {
        top: auto;
        bottom: 78px;
        left: 15px;
    }

    .watch-seasons-bar {
        border-radius: 24px;
        padding: 10px 14px;
    }

    .watch-bars-stack {
        position: relative;
        left: auto;
        right: auto;
        width: 96%;
        bottom: auto;
        gap: 8px;
        margin: 10px auto 0;
    }

    .watch-seasons-bar .seasons-info {
        gap: 12px;
        font-size: 15px;
    }

    .season-selector label,
    .season-dropdown-btn,
    .season-dropdown-item {
        font-size: 15px;
    }

    .season-selector {
        width: 100%;
        justify-content: space-between;
    }

    .watch-continue-bar {
        min-height: 48px;
        padding: 10px 14px;
        border-radius: 24px;
    }

    .watch-continue-text,
    .watch-continue-meta {
        font-size: 20px;
    }

    .watch-episodes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .watch-episodes-section.has-episode-descriptions .watch-episodes-grid {
        grid-template-columns: 1fr;
    }

    .watch-episode-card:hover {
        transform: none;
        z-index: 5;
        background: transparent;
        box-shadow: none;
    }

    .watch-play-mini {
        display: none !important;
    }

    .watch-episode-info {
        display: none !important;
    }

    .watch-episodes-section.has-episode-descriptions .watch-episode-card:not(.no-description) .watch-episode-info {
        display: block !important;
        position: static;
        top: auto;
        left: auto;
        right: auto;
        opacity: 1;
        visibility: visible;
        max-height: none;
        overflow: visible;
        margin-top: 8px;
        padding: 0;
        background: transparent;
        border-radius: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .watch-episodes-section.has-episode-descriptions .watch-episode-card:not(.no-description) .watch-episode-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .watch-episodes-section.has-episode-descriptions .watch-episode-card:not(.no-description) .watch-episode-meta {
        font-size: 0.92rem;
        line-height: 1.45;
        color: rgba(255, 255, 255, 0.92);
    }

    .watch-episode-image::after {
        height: 24%;
    }

    .player-side-menu {
        width: 100%;
        right: -100%;
        max-width: 100%;
    }

    .player-top-bar {
        top: 14px;
        right: 14px;
        left: 14px;
    }

    .player-bottom-bar {
        right: 10px;
        left: 10px;
        bottom: 14px;
    }

    .player-title-info {
        font-size: clamp(18px, 4.4vw, 22px);
    }

    .player-btn {
        width: 42px;
        height: 42px;
    }

    .play-pause-btn {
        width: 46px;
        height: 46px;
    }

    .player-controls-row {
        gap: 10px;
    }

    .player-controls-left,
    .player-controls-right {
        gap: 10px;
    }

    .player-skip-action {
        min-height: 36px;
        padding: 0 10px;
        font-size: 0.78rem;
        gap: 4px;
    }

    .player-progress-container {
        padding-top: 38px;
    }

    .player-progress-track-row {
        width: 100%;
    }

    .time-display {
        min-width: 48px;
        font-size: 0.92rem;
    }

    .player-skip-slot {
        gap: 6px;
    }

    .timeline-preview {
        display: none !important;
    }

    .trailer-player-actions {
        top: 14px;
        left: 14px;
        right: 14px;
    }

    .trailer-open-episodes-btn {
        min-width: 138px;
        min-height: 40px;
        padding: 8px 14px;
        font-size: 0.88rem;
    }
}

@media (max-width: 768px) and (orientation: portrait) {
    .watch-hero-section {
        min-height: 95vh !important;
        min-height: 95dvh !important;
    }

    .watch-hero-slide {
        height: 95vh !important;
        height: 95dvh !important;
        min-height: 95vh !important;
        min-height: 95dvh !important;
        max-height: 95vh !important;
        max-height: 95dvh !important;
    }

    .watch-hero-content {
        bottom: 8px;
    }

    .watch-hero-content .hero-title {
        display: block;
        font-size: 1.7rem;
        margin-bottom: 6px;
    }

    .hero-buttons {
        margin-top: 10px;
    }
}

@media (max-width: 1024px) and (max-height: 600px) and (orientation: landscape) {
    .watch-hero-section {
        margin-top: -70px;
        min-height: auto;
        display: block;
    }

    .watch-hero-slide {
        align-items: flex-end;
        height: 80vh;
        height: 80svh;
        min-height: 80vh;
        min-height: 80svh;
        max-height: 80vh;
        max-height: 80svh;
    }

    .watch-hero-bg-image {
        background-image: var(--hero-cover-image, none) !important;
        background-position: center center;
    }

    .watch-hero-overlay,
    .watch-hero-slide.show-gradient .watch-hero-overlay,
    .watch-hero-slide.trailer-playing .watch-hero-overlay {
        background: transparent !important;
    }

    .watch-hero-content {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 18px;
        padding: 0 5%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        text-align: right;
        align-items: flex-start;
    }

    .watch-hero-content::before {
        top: -12px;
        right: auto;
        left: 50%;
        width: 100vw;
        bottom: -12px;
        transform: translateX(-50%);
        border-radius: 0;
    }

    .watch-hero-content .hero-title {
        display: none;
    }

    .watch-hero-content .hero-classification {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .watch-meta-inline {
        gap: 10px 16px;
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .watch-hero-content .hero-description {
        display: none;
    }

    .hero-buttons {
        margin-top: 10px;
        width: auto;
        max-width: 100%;
        justify-content: flex-start;
        gap: 8px;
    }

    .hero-buttons .btn-play,
    .hero-buttons .btn-add-list {
        width: auto;
        min-width: 150px;
        min-height: 42px;
        padding: 8px 16px;
        font-size: 0.88rem;
    }

    .btn-sound-toggle {
        top: auto;
        bottom: 16px;
        left: 14px;
    }

    .watch-bars-stack {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 96%;
        margin: 10px auto 0;
        gap: 8px;
    }

    .watch-seasons-bar {
        border-radius: 20px;
        padding: 8px 14px;
    }

    .watch-seasons-bar .seasons-bar-content {
        gap: 10px;
    }

    .watch-seasons-bar .seasons-info {
        font-size: 14px;
        gap: 12px;
    }

    .season-selector {
        width: 100%;
        justify-content: space-between;
    }

    .season-selector label,
    .season-dropdown-btn,
    .season-dropdown-item {
        font-size: 14px;
    }

    .watch-continue-bar {
        width: 100%;
        max-width: 100%;
        min-height: 44px;
        padding: 8px 14px;
        border-radius: 20px;
    }

    .watch-continue-text,
    .watch-continue-meta {
        font-size: 15px;
    }

    .watch-continue-meta {
        white-space: normal;
    }

    .video-modal.mobile-rotate-fullscreen .player-top-bar,
    .fullscreen-player-container.mobile-rotate-fullscreen .player-top-bar {
        position: fixed;
        top: max(8px, env(safe-area-inset-top));
        left: max(10px, env(safe-area-inset-left));
        right: max(10px, env(safe-area-inset-right));
    }

    .video-modal.mobile-rotate-fullscreen .player-bottom-bar,
    .fullscreen-player-container.mobile-rotate-fullscreen .player-bottom-bar {
        position: fixed;
        left: max(10px, env(safe-area-inset-left));
        right: max(10px, env(safe-area-inset-right));
        bottom: max(6px, env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
        gap: 8px;
    }

    .video-modal.mobile-rotate-fullscreen .player-progress-container,
    .fullscreen-player-container.mobile-rotate-fullscreen .player-progress-container {
        padding-top: 34px;
        padding-bottom: 4px;
    }

    .video-modal.mobile-rotate-fullscreen .player-progress-skip-row,
    .fullscreen-player-container.mobile-rotate-fullscreen .player-progress-skip-row {
        height: 34px;
    }

    .video-modal.mobile-rotate-fullscreen .player-progress-skip-row .time-display,
    .fullscreen-player-container.mobile-rotate-fullscreen .player-progress-skip-row .time-display {
        min-width: 56px;
        font-size: 0.82rem;
    }

    .video-modal.mobile-rotate-fullscreen .player-skip-slot,
    .fullscreen-player-container.mobile-rotate-fullscreen .player-skip-slot {
        gap: 6px;
    }

    .video-modal.mobile-rotate-fullscreen .player-skip-action,
    .fullscreen-player-container.mobile-rotate-fullscreen .player-skip-action {
        min-height: 32px;
        padding: 0 8px;
        font-size: 0.72rem;
        gap: 4px;
    }

    .video-modal.mobile-rotate-fullscreen .player-controls-row,
    .fullscreen-player-container.mobile-rotate-fullscreen .player-controls-row {
        gap: 8px;
    }

    .video-modal.mobile-rotate-fullscreen .player-controls-left,
    .video-modal.mobile-rotate-fullscreen .player-controls-right,
    .fullscreen-player-container.mobile-rotate-fullscreen .player-controls-left,
    .fullscreen-player-container.mobile-rotate-fullscreen .player-controls-right {
        gap: 8px;
    }

    .video-modal.mobile-rotate-fullscreen .player-btn,
    .fullscreen-player-container.mobile-rotate-fullscreen .player-btn {
        width: 40px;
        height: 40px;
    }

    .video-modal.mobile-rotate-fullscreen .play-pause-btn,
    .fullscreen-player-container.mobile-rotate-fullscreen .play-pause-btn {
        width: 44px;
        height: 44px;
    }

    .video-modal.mobile-rotate-fullscreen .player-title-info,
    .fullscreen-player-container.mobile-rotate-fullscreen .player-title-info {
        font-size: clamp(18px, 3.8vw, 20px);
        max-width: calc(100% - 124px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .video-modal.mobile-rotate-fullscreen .volume-container:hover .volume-slider-wrapper,
    .fullscreen-player-container.mobile-rotate-fullscreen .volume-container:hover .volume-slider-wrapper {
        width: 84px;
        margin-left: 8px;
    }
}
