.discovery-page { background: #fff; }
.discover-trending-band { background: #edf9f5; border-bottom: 1px solid #d8eae4; }
.discover-movies-band { background: #f0f3f8; border-bottom: 1px solid #dfe6ef; }
.discover-trending-band .discover-score { box-shadow: 0 0 0 3px #edf9f5; }
.discover-movies-band .discover-score { box-shadow: 0 0 0 3px #f0f3f8; }
.trending-heading { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.trending-heading .discover-filters { margin: 0; gap: 0; border: 1px solid #0c2b3e; border-radius: 24px; overflow: hidden; }
.trending-heading .discover-filters button { border: 0; padding: 9px 22px; }
.trending-caption { margin-left: auto; color: #6b7d8c; font-size: 12px; }
.trending-note { color: #6b7d8c; font-size: 12px; margin: 0 0 20px; }
.discover-trending .discover-rail { background: repeating-linear-gradient(90deg, transparent 0 8px, #67d7c21a 8px 11px, transparent 11px 17px) bottom / 100% 85px no-repeat; }
@media (max-width: 600px) {
    .trending-heading { gap: 16px; }
    .trending-caption { display: none; }
    .trending-heading .discover-filters button { padding: 9px 16px; }
}
.discovery-page header.ht-header { position: relative; top: auto; padding: 18px 0; background: #081b2b; }
.discovery-page header.ht-header.sticky { position: relative; z-index: 100; }
.discovery-page header .navbar { margin-bottom: 0; padding: 0; }
.discovery-page header .top-search { display: none; }
.discovery-page header .logo img { width: 103px; height: auto; }
.discovery { background: #fff; color: #132839; font-family: Arial, sans-serif; }
.discovery * { box-sizing: border-box; }
.discovery [hidden] { display: none !important; }
.discovery a { color: inherit; text-decoration: none; }
.discovery a:hover { color: #d90046; }
.discover-container { width: min(1240px, calc(100% - 80px)); margin: 0 auto; }
.discover-hero { position: relative; isolation: isolate; min-height: 460px; background: #092535; color: white; overflow: hidden; }
.discover-hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.discover-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,25,40,.96), rgba(5,25,40,.65) 60%, rgba(5,25,40,.3)), linear-gradient(0deg, #081d2bd9, transparent); }
.hero-content { padding-top: 58px; padding-bottom: 62px; }
.discover-kicker { display: block; font-size: 10px; font-weight: 700; line-height: 1.5; letter-spacing: 2px; color: #6b7d8c; margin-bottom: 8px; }
.hero-content .discover-kicker { color: #b9e9e1; margin-bottom: 18px; }
.discovery h1 { font: 800 clamp(38px, 4.5vw, 62px)/1.06 Arial, sans-serif; letter-spacing: -2px; margin: 0 0 20px; }
.discovery h1 span { color: #5ce0c2; }
.hero-content > p { color: #d8e3eb; font-size: 16px; margin: 0 0 28px; line-height: 1.6; }
.discover-search { display: flex; align-items: stretch; max-width: 920px; min-height: 56px; padding: 5px; background: white; border-radius: 30px; box-shadow: 0 8px 30px #0003; }
.discover-search select { width: 125px; flex: 0 0 125px; margin: 7px 0; padding: 0 15px; border: 0; border-right: 1px solid #dbe2e8; background: white; color: #263e50; font: 600 13px Arial, sans-serif; }
.discover-search input { min-width: 0; flex: 1; border: 0; border-radius: 0; padding: 8px 18px; background: white; color: #162c3c; font: 400 14px Arial, sans-serif; height: auto; }
.discover-search button { border: 0; border-radius: 25px; padding: 0 26px; background: #d90046; color: white; font-weight: 700; cursor: pointer; }
.discover-search button:hover { background: #b7003c; }
.discover-search button span { margin-left: 12px; }
.discover-quicklinks { display: flex; align-items: center; gap: 20px; margin-top: 22px; font-size: 12px; }
.discover-quicklinks > span { color: #9cb2c3; }
.discover-quicklinks a { color: #e9f2f8; border-bottom: 1px solid #ffffff3d; padding-bottom: 3px; }
.discovery .hero-credit { position: absolute; bottom: 18px; right: 40px; font-size: 8px; letter-spacing: 1.5px; color: #bad0df; text-align: right; }
.hero-credit strong { display: block; margin-top: 4px; color: white; font-size: 12px; letter-spacing: 0; }
.discover-section { padding-top: 42px; padding-bottom: 36px; scroll-margin-top: 20px; }
.discover-section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.discovery h2 { font: 700 27px/1.25 Arial, sans-serif; letter-spacing: -.7px; color: inherit; margin: 0; }
.discover-view-all { font-size: 12px; font-weight: 700; white-space: nowrap; }
.discover-view-all span { margin-left: 10px; color: #d90046; }
.discover-filters { display: flex; gap: 8px; margin: 0 0 24px; flex-wrap: wrap; }
.discover-filters button { border: 1px solid #dbe3e9; border-radius: 20px; padding: 8px 18px; background: white; color: #526574; font-size: 12px; font-weight: 600; cursor: pointer; }
.discover-filters button[aria-selected="true"], .discover-filters button:first-child:not([aria-selected]) { background: #0c2b3e; border-color: #0c2b3e; color: #6fe2c9; }
.discover-filters button:hover { border-color: #0c2b3e; }
.discover-rail { display: flex; gap: 22px; overflow-x: auto; padding: 0 0 18px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #b7c6d0 transparent; }
.discover-card { flex: 0 0 162px; min-width: 0; position: relative; scroll-snap-align: start; }
.discover-poster { display: block; position: relative; border-radius: 11px; overflow: hidden; background: #e5ebef; }
.discover-poster img { width: 100%; height: auto; aspect-ratio: 2/3; object-fit: cover; transition: transform .2s; }
.discover-poster:hover img { transform: scale(1.04); }
.discover-card-open { position: absolute; right: 10px; top: 10px; background: #092334d9; color: white; border-radius: 50%; width: 28px; height: 28px; display: grid; place-items: center; opacity: 0; }
.discover-poster:hover .discover-card-open, .discover-poster:focus-visible .discover-card-open { opacity: 1; }
.discover-score { display: flex; align-items: baseline; justify-content: center; position: relative; width: 48px; padding: 9px 0; margin: -18px 0 10px 10px; border: 3px solid #69d8ba; border-radius: 50%; background: #092333; color: white; font-size: 13px; font-weight: 700; box-shadow: 0 0 0 3px white; }
.discover-score small { font-size: 7px; margin-left: 1px; }
.discover-score.unrated { border-color: #b0bdc8; }
.discovery h3 { font: 700 14px/1.45 Arial, sans-serif; margin: 0 0 5px; color: inherit; }
.discover-card p { color: #71818e; font-size: 12px; margin: 0; line-height: 1.5; }
.discover-trailers { padding: 36px 0 28px; background: radial-gradient(ellipse at 85% 0, #164c58, #0b2639 70%); color: white; }
.discover-trailers .discover-kicker { color: #77d8c4; }
.trailer-section-note { font-size: 12px; color: #9dbcc9; }
.trailer-rail { scrollbar-color: #3a6876 transparent; }
.discover-trailer-card { flex: 0 0 310px; scroll-snap-align: start; }
.discover-trailer-trigger { display: block; position: relative; padding: 0; width: 100%; border: 1px solid #ffffff24; border-radius: 12px; overflow: hidden; background: #081b2b; cursor: pointer; margin-bottom: 15px; }
.discover-trailer-trigger img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; opacity: .8; transition: opacity .2s; }
.discover-trailer-trigger:hover img { opacity: 1; }
.discover-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid #ffffffa3; background: #071d32b3; color: white; font-size: 20px; padding-left: 3px; }
.discover-trailer-trigger:hover .discover-play { background: #d90046; border-color: #d90046; }
.discover-trailer-label { position: absolute; bottom: 10px; left: 12px; color: white; font-size: 9px; letter-spacing: 1px; text-transform: uppercase; background: #081b2bcc; border-radius: 4px; padding: 4px 7px; }
.discover-trailer-card p { color: #a4bdc9; font-size: 12px; margin: 5px 0 0; }
.discover-ad { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 0 32px; }
.discover-ad span { color: #8c99a2; font-size: 9px; letter-spacing: 2px; }
.discover-ad img { max-width: 100%; height: auto; }
.discover-news { background: #f3f6f8; border-top: 1px solid #e8edf1; padding: 42px 0 52px; }
.discover-news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.discover-news-card { background: white; border: 1px solid #e2e9ee; border-radius: 12px; overflow: hidden; }
.news-image-link { display: block; }
.news-image-link img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.news-card-copy { padding: 19px; }
.news-date { display: block; font-size: 9px; font-weight: 700; letter-spacing: .8px; color: #6d7f8c; margin-bottom: 12px; }
.news-date span { margin: 0 5px; color: #d90046; }
.news-card-copy p { color: #71818e; font-size: 12px; line-height: 1.7; margin: 10px 0 16px; }
.news-read { font-size: 11px; font-weight: 700; }
.news-read span { color: #d90046; margin-left: 7px; }
.discovery :focus-visible { outline: 3px solid #009c90; outline-offset: 4px; }
@media (min-width: 1440px) { .discover-card { flex-basis: 175px; } }
@media (max-width: 900px) {
    .discover-container { width: calc(100% - 40px); }
    .discover-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trailer-section-note { display: none; }
    .discover-card { flex-basis: 150px; }
}
@media (max-width: 600px) {
    .discovery-page header.ht-header { padding: 10px 0; }
    .discover-container { width: calc(100% - 32px); }
    .hero-content { padding: 36px 0 65px; }
    .discover-hero { min-height: 0; }
    .discovery h1 { font-size: 40px; }
    .hero-content > p { font-size: 14px; max-width: 290px; }
    .discover-search { flex-wrap: wrap; border-radius: 16px; padding: 6px; }
    .discover-search select { flex-basis: 95px; width: 95px; padding: 0 8px; }
    .discover-search input { width: calc(100% - 95px); padding: 10px; font-size: 12px; }
    .discover-search button { flex-basis: 100%; padding: 12px; margin-top: 5px; border-radius: 10px; }
    .discover-quicklinks { gap: 15px; font-size: 11px; }
    .hero-credit { right: 16px !important; max-width: 90%; }
    .discover-section { padding-top: 30px; padding-bottom: 24px; }
    .discovery h2 { font-size: 22px; }
    .discover-kicker { font-size: 8px; letter-spacing: 1.5px; }
    .discover-view-all { font-size: 10px; }
    .discover-section-head { gap: 12px; }
    .discover-filters { gap: 6px; }
    .discover-filters button { padding: 7px 11px; font-size: 11px; }
    .discover-rail { gap: 16px; }
    .discover-card { flex-basis: 135px; }
    .discover-trailer-card { flex-basis: 270px; }
    .discover-news-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .discovery * { transition: none !important; scroll-behavior: auto !important; } }
