/* FilmiBeat - OTT Releases page (desktop) */
.ott-subnav, .ott-page, .ott-ad-top {--ott-card: #1F2937;--ott-border: #374151;--ott-pink: #E84D67;--ott-text: #FFFFFF;--ott-muted: #D1D5DB;--ott-grey: #9CA3AF;}
.ott-subnav ul, .ott-page ul, .ott-page ol {list-style: none;margin: 0;padding: 0;}
.ott-page a {text-decoration: none;}
.ott-page button {font-family: inherit;cursor: pointer;}

/* sub navigation */
.ott-subnav {--ott-border: #1F2937;border-bottom: 1px solid var(--ott-border);}
.ott-subnav ul {display: flex;align-items: center;gap: 24px;height: 42px;padding: 0 8px;overflow-x: auto;scrollbar-width: none;}
.ott-subnav ul::-webkit-scrollbar {display: none;}
.ott-subnav li {flex: 0 0 auto;}
.ott-subnav a {display: block;font-size: 14px;line-height: 20px;color: #D1D5DB;white-space: nowrap;text-decoration: none;}
.ott-subnav a:hover, .ott-subnav a.active {color: #FFFFFF;}

/* ads */
.ott-ad-top {height: 150px;margin: 16px 0 0;background: #1F2937;border-radius: 4px;}
.ott-ad {background: var(--ott-card);border-radius: 4px;text-align: center;}
.ott-ad-label {padding-top: 47px;font-size: 10px;line-height: 12px;letter-spacing: .2px;color: var(--ott-muted);}
.ott-ad--side {height: 356px;margin-bottom: 32px;}
.ott-ad--content {height: 350px;}

/* layout */
.ott-page {padding: 20px 20px 72px;}
.ott-page .fb-right-wrap {padding-top: 0;}
.ott-section {margin-top: 0;}
.ott-heading {margin: 0 0 16px;font-size: 24px;line-height: 32px;font-weight: 700;color: var(--ott-text);}
.ott-heading-row {display: flex;align-items: center;justify-content: space-between;margin-bottom: 16px;}
.ott-heading-row .ott-heading {margin: 0;}
.ott-divider {height: 1px;margin: 56px 0;background: linear-gradient(90deg, rgba(55, 65, 81, 0) 0%, #374151 20%, #374151 80%, rgba(55, 65, 81, 0) 100%);}
.ott-btn-wrap {margin-top: 48px;text-align: center;}
.ott-btn {display: inline-block;height: 40px;padding: 0 24px;border-radius: 6px;background: var(--ott-pink);font-size: 14px;line-height: 40px;color: #FFFFFF;text-align: center;}
.ott-btn:hover {background: #D63D57;}
.ott-btn--block {display: block;padding: 0;}

/* What's New */
.ott-whatsnew {display: grid;grid-template-columns: repeat(3, 1fr);gap: 16px;}
.ott-whatsnew-card {display: block;overflow: hidden;background: var(--ott-card);border: 1px solid var(--ott-border);border-radius: 8px;}
.ott-whatsnew-img img {display: block;width: 100%;height: 288px;object-fit: cover;}
.ott-whatsnew-title {min-height: 72px;padding: 12px;box-sizing: border-box;font-size: 14px;line-height: 20px;font-weight: 700;color: var(--ott-text);}

/* tabs, search, chips */
.ott-tabs {display: flex;gap: 4px;margin: 6px 0 20px;padding: 2px;}
.ott-tab {flex: 1 1 0;height: 40px;border: 0;border-radius: 6px;background: transparent;font-size: 14px;color: var(--ott-muted);}
.ott-tab.active {background: var(--ott-pink);color: #FFFFFF;}
.ott-search {display: flex;align-items: center;gap: 8px;height: 40px;padding: 0 16px;margin-bottom: 18px;border: 1px solid var(--ott-border);border-radius: 6px;color: var(--ott-grey);}
.ott-search svg {flex: 0 0 auto;}
.ott-search-input {flex: 1 1 auto;height: 100%;border: 0;outline: 0;background: transparent;font-family: inherit;font-size: 14px;color: var(--ott-text);}
.ott-search-input::placeholder {color: var(--ott-grey);}
.ott-chips {display: flex;flex-wrap: wrap;gap: 12px;margin-bottom: 24px !important;}
.ott-chip {height: 40px;padding: 0 16px;border: 1px solid var(--ott-border);border-radius: 6px;background: var(--ott-card);font-size: 14px;color: var(--ott-muted);}
.ott-chip.active {border-color: var(--ott-pink);color: #FFFFFF;}

/* New Movies list */
.ott-movies {display: grid;grid-template-columns: repeat(2, 1fr);gap: 24px;}
.ott-movie {display: flex;min-height: 172px;overflow: hidden;background: var(--ott-card);border: 1px solid var(--ott-border);border-radius: 8px;}
.ott-movie.is-hidden {display: none;}
.ott-movie-img {position: relative;flex: 0 0 128px;}
.ott-movie-img img {display: block;width: 128px;height: 172px;object-fit: cover;}
.ott-badge {position: absolute;top: 8px;left: 8px;padding: 2px 8px;border-radius: 4px;background: var(--ott-pink);font-size: 11px;line-height: 14px;color: #FFFFFF;}
.ott-movie-dtls {flex: 1 1 auto;padding: 18px 16px 16px 20px;}
.ott-movie-title {display: block;margin-bottom: 14px;font-size: 20px;line-height: 23px;font-weight: 700;color: var(--ott-text);}
.ott-movie-meta {position: relative;margin-bottom: 14px;padding-left: 24px;font-size: 14px;line-height: 19px;color: var(--ott-muted);}
.ott-movie-meta::before {content: "";position: absolute;left: 0;top: 2px;width: 15px;height: 15px;background: var(--ott-muted);-webkit-mask: var(--ott-icon) center / contain no-repeat;mask: var(--ott-icon) center / contain no-repeat;}
.ott-ico-date {--ott-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");}
.ott-ico-cast {--ott-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");}
.ott-movie-meta:last-child {margin-bottom: 0;}
.ott-stars {display: flex;gap: 4px;}
.ott-star {position: relative;width: 13px;height: 13px;}
.ott-star::before, .ott-star::after {content: "";position: absolute;inset: 0;-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") center / contain no-repeat;mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") center / contain no-repeat;}
.ott-star::before {background: #4B5563;}
.ott-star::after {width: var(--fill, 0%);background: #FACC15;}
.ott-empty {display: none;padding: 32px 0;font-size: 14px;color: var(--ott-grey);text-align: center;}
.ott-empty.show {display: block;}

/* New OTT Releases */
.ott-arrows {display: flex;gap: 8px;}
.ott-arrow {width: 20px;height: 20px;padding: 0;border: 1px solid #FFFFFF;border-radius: 50%;background: transparent center / 10px no-repeat;}
.ott-arrow--prev {background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");}
.ott-arrow--next {background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");}
.ott-arrow:disabled {opacity: .4;cursor: default;}
.ott-section--ott .ott-heading-row {margin-top: 32px;}
.ott-releases-viewport {overflow: hidden;}
.ott-releases {display: flex;gap: 16px;transition: transform .3s ease;}
.ott-release {flex: 0 0 calc((100% - 48px) / 4);overflow: hidden;background: var(--ott-card);border: 1px solid var(--ott-border);border-radius: 8px;}
.ott-release-img img {display: block;width: 100%;height: 260px;object-fit: cover;}
.ott-release-dtls {padding: 10px 8px 8px;}
.ott-release-title {display: block;margin-bottom: 8px;font-size: 14px;line-height: 18px;font-weight: 700;color: var(--ott-text);}
.ott-release-meta {margin-bottom: 5px;font-size: 12px;line-height: 20px;color: var(--ott-muted);}
.ott-platform {display: block;height: 22px;border: 1px solid #9CA3AF;border-radius: 4px;font-size: 12px;line-height: 22px;color: #FFFFFF;text-align: center;}

/* Celebs In Spotlight */
.ott-celebs {display: grid;grid-template-columns: repeat(4, 1fr);gap: 16px;margin-top: 24px !important;}
.ott-celeb {display: block;overflow: hidden;background: var(--ott-card);border: 1px solid var(--ott-border);border-radius: 8px;}
.ott-celeb-img img {display: block;width: 100%;height: 228px;object-fit: cover;}
.ott-celeb-name {display: block;padding: 12px;font-size: 14px;line-height: 18px;color: var(--ott-text);}
.ott-section--ott .ott-btn-wrap {margin-top: 32px;}
.ott-section--celebs .ott-heading {margin-top: 32px;}

/* sidebar widgets */
.ott-widget {margin-bottom: 32px;overflow: hidden;background: var(--ott-card);border: 1px solid var(--ott-border);border-radius: 8px;}
.ott-widget-head {height: 56px;margin: 0;padding: 0 16px;background: #252F3F;font-size: 18px;line-height: 56px;font-weight: 700;color: var(--ott-text);}
.ott-discover li {border-top: 1px solid var(--ott-border);}
.ott-discover a {display: block;padding: 0 12px;font-size: 14px;line-height: 45px;color: var(--ott-text);}
.ott-discover a:hover {color: var(--ott-pink);}
.ott-ranklist li {border-top: 1px solid var(--ott-border);}
.ott-ranklist a {display: flex;align-items: center;gap: 12px;min-height: 48px;padding: 0 12px;box-sizing: border-box;font-size: 14px;line-height: 18px;color: var(--ott-text);}
.ott-rank {flex: 0 0 24px;height: 24px;border-radius: 50%;background: var(--ott-pink);font-size: 11px;line-height: 24px;font-weight: 700;color: #FFFFFF;text-align: center;}
.ott-rank-name b {display: block;font-size: 12px;line-height: 16px;font-weight: 700;color: var(--ott-muted);}
.ott-ranklist--boxoffice {max-height: 385px;}
.ott-ranklist--boxoffice a {min-height: 59px;}
.ott-scroll {overflow-y: auto;scrollbar-width: thin;scrollbar-color: var(--ott-pink) transparent;}
.ott-scroll::-webkit-scrollbar {width: 3px;}
.ott-scroll::-webkit-scrollbar-thumb {background: var(--ott-pink);border-radius: 3px;}
.ott-widget-foot {padding: 12px;border-top: 1px solid var(--ott-border);}
