:root {
  --bg: #141414;
  --header: #080808;
  --card: #181818;
  --card-2: #242424;
  --line: #303030;
  --text: #ffffff;
  --muted: #b3b3b3;
  --dim: #808080;
  --red: #e50914;
  --red-hover: #f6121d;
  --header-height: 66px;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
button, input { font: inherit; }
button, a { color: inherit; }
button { cursor: pointer; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }
button:focus, a:focus { outline: none; }
button:focus-visible, a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
input:focus-visible { outline: none; }

.topbar {
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: clamp(26px, 6vw, 96px);
  padding: 0 16px;
  background: rgba(8, 8, 8, .97);
  border-bottom: 1px solid #1d1d1d;
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 1px; flex-shrink: 0; color: var(--red); font-size: 22px; font-weight: 950; letter-spacing: -1.2px; }
.brand-icon {
  position: relative;
  width: 28px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: transparent;
}
.brand-icon b { position: relative; z-index: 1; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: 35px; font-style: normal; line-height: 1; transform: scaleX(.72); }
.desktop-nav { height: 100%; display: flex; align-items: center; gap: clamp(40px, 6vw, 78px); }
.desktop-nav a, .about-button { height: 100%; position: relative; display: flex; align-items: center; border: 0; background: transparent; color: #ededee; font-size: 16px; }
.desktop-nav a::after, .about-button::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 3px; background: var(--red); transition: .2s ease; }
.desktop-nav a:hover, .desktop-nav a.active, .about-button:hover, .about-button.active { color: #fff; }
.desktop-nav a.active::after, .about-button.active::after { left: 0; right: 0; }
.about-button { gap: 7px; padding: 0; }
.about-button:focus-visible { outline: none; }
.about-button:focus-visible > span:first-child { outline: 1px solid #777; outline-offset: 5px; border-radius: 2px; }
.nav-chevron { width: 7px; height: 7px; flex: 0 0 auto; margin: 0 1px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transform-origin: center; opacity: .82; transition: transform .18s ease; }
.about-button[aria-expanded="true"] .nav-chevron, .language-button[aria-expanded="true"] .nav-chevron { transform: rotate(225deg); }
.topbar-tools { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.search-trigger { width: min(28vw, 348px); height: 42px; display: flex; align-items: center; gap: 12px; color: #77787b; background: #1d1e20; border: 1px solid #57585c; border-radius: 9px; padding: 0 13px; text-align: left; }
.search-trigger svg, .language-button svg, .search-input-wrap svg { width: 23px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; }
.search-trigger span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.language-button { display: flex; align-items: center; gap: 9px; padding: 0; border: 0; background: transparent; font-size: 15px; white-space: nowrap; }
.language-button svg { width: 22px; }
.account-button { min-width: 78px; height: 36px; padding: 0 15px; border: 0; border-radius: 4px; color: #fff; background: var(--red); font-size: 14px; font-weight: 700; white-space: nowrap; }
.account-button:hover { background: var(--red-hover); }
.menu-button { display: none; width: 40px; height: 40px; border: 0; background: transparent; padding: 8px; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: #fff; }
.about-menu { position: absolute; top: var(--header-height); width: 198px; padding: 8px; background: #181818; border: 1px solid #333; border-radius: 0 0 6px 6px; box-shadow: 0 18px 40px rgba(0,0,0,.55); }
.about-menu[hidden], .language-menu[hidden] { display: none; }
.about-menu a { display: block; padding: 11px 12px; border-radius: 6px; color: #cfcfd2; font-size: 13px; }
.about-menu a:hover { background: #2a2a2a; color: #fff; }
.language-menu { position: absolute; top: var(--header-height); right: 16px; width: 152px; padding: 7px; background: #181818; border: 1px solid #333; border-radius: 0 0 6px 6px; box-shadow: 0 18px 40px rgba(0,0,0,.55); }
.language-menu button { width: 100%; padding: 10px 12px; border: 0; border-radius: 3px; color: #d7d7d7; background: transparent; text-align: left; }
.language-menu button:hover, .language-menu button.active { color: #fff; background: #2a2a2a; }
.language-menu button.active::before { content: "✓"; margin-right: 8px; color: var(--red); }

#app { min-height: calc(100vh - var(--header-height)); }
.home-page { overflow: hidden; }
.feature-stage { position: relative; display: grid; grid-template-columns: minmax(130px, 1fr) minmax(680px, 800px) minmax(130px, 1fr); gap: clamp(42px, 6.3vw, 82px); height: 402px; margin: 28px 16px 38px; }
.feature-preview, .feature-main { border-radius: 9px; overflow: hidden; background-color: #191a1c; }
.feature-preview { position: relative; cursor: pointer; background-image: var(--poster-image), url('/assets/drama-posters.jpg'); background-size: cover, 600% 100%; background-position: center, center; }
.feature-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,18,20,.35), rgba(17,18,20,.02)); }
.feature-preview.left { transform: translateX(-32%); }
.feature-preview.right { transform: translateX(32%); }
.feature-main { display: grid; grid-template-columns: 308px 1fr; background: #1a1b1d; animation: featureIn .36s ease; }
.feature-poster { position: relative; background-image: var(--poster-image), url('/assets/drama-posters.jpg'); background-size: cover, 600% 100%; background-position: center, center; }
.poster-title-art { position: absolute; left: 18px; right: 18px; bottom: 22px; color: #fff; text-align: center; font-family: Georgia, serif; font-size: 28px; font-style: italic; line-height: .92; text-shadow: 0 3px 15px #000; }
.feature-content { min-width: 0; padding: 32px 24px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.feature-content h1 { max-width: 470px; margin: 0 0 13px; font-size: clamp(28px, 2.5vw, 40px); line-height: 1.25; letter-spacing: -.8px; }
.episode-total { color: #f0f0f1; font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 18px; }
.tag { padding: 4px 7px; border-radius: 4px; background: #404145; color: #d0d0d2; font-size: 13px; line-height: 1.1; }
.feature-description { max-width: 520px; margin: 0; color: #a8a8aa; font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.play-button { min-width: 148px; height: 56px; margin-top: 34px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 5px; color: #fff; background: var(--red); font-size: 22px; font-weight: 700; line-height: 1; box-shadow: 0 8px 24px rgba(229,9,20,.22); }
.play-button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.play-label { display: block; line-height: 1; }
.play-circle { width: 20px; height: 20px; flex: 0 0 20px; display: grid; place-items: center; border-radius: 50%; background: #fff; }
.play-circle::before { content: ""; width: 0; height: 0; margin-left: 2px; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid var(--red); }
.feature-arrow { position: absolute; z-index: 3; top: 50%; width: 42px; height: 62px; transform: translateY(-50%); display: grid; place-items: center; opacity: 0; border: 0; border-radius: 5px; background: rgba(0,0,0,.48); font-size: 26px; transition: opacity .2s ease; }
.feature-stage:hover .feature-arrow { opacity: 1; }
.feature-arrow.prev { left: calc(50% - min(32vw, 400px) - 20px); }
.feature-arrow.next { right: calc(50% - min(32vw, 400px) - 20px); }

.content-section { padding: 0 16px 38px; }
.section-title-row { min-height: 53px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.section-title-row h2 { margin: 0; font-size: 29px; letter-spacing: -.6px; }
.more-button { border: 0; background: transparent; color: #818287; font-size: 15px; padding: 7px 0; }
.more-button:hover { color: #fff; }
.poster-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.poster-card { min-width: 0; cursor: pointer; }
.poster-image { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 7px; background-image: var(--poster-image), url('/assets/drama-posters.jpg'); background-size: cover, 600% 100%; background-position: center, center; transition: transform .22s ease, box-shadow .22s ease; }
.poster-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.78), transparent 43%); }
.poster-image .poster-title-art { z-index: 1; bottom: 15px; font-size: clamp(17px, 2.1vw, 28px); }
.poster-play { position: absolute; z-index: 2; left: 12px; bottom: 12px; width: 38px; height: 38px; display: grid; place-items: center; opacity: 0; transform: translateY(7px); border: 0; border-radius: 50%; color: #fff; background: var(--red); transition: .2s ease; }
.poster-card:hover .poster-image { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(0,0,0,.35); }
.poster-card:hover .poster-play { opacity: 1; transform: translateY(0); }
.poster-card h3 { margin: 10px 0 0; min-height: 46px; color: #efeff0; font-size: 17px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.star-section { padding-top: 18px; }
.star-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.star-card { min-width: 0; height: 250px; display: grid; grid-template-columns: 164px 1fr; gap: 20px; padding: 20px; overflow: hidden; border-radius: 9px; background: #1a1b1d; cursor: pointer; transition: background .2s ease; }
.star-card:hover { background: #202123; }
.star-thumb { border-radius: 7px; background-image: var(--poster-image), url('/assets/drama-posters.jpg'); background-size: cover, 600% 100%; background-position: center, center; }
.star-info { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.star-info h3 { margin: 0 0 14px; font-size: 22px; line-height: 1.3; }
.star-info .tags { margin: 12px 0 10px; }
.star-info p { margin: 0; color: #a0a0a4; font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.landscape-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.landscape-card { min-width: 0; cursor: pointer; }
.landscape-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 7px; background-image: var(--poster-image), url('/assets/drama-posters.jpg'); background-size: cover, 600% 170%; background-position: center, center; }
.landscape-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.78), transparent 50%); }
.landscape-image .poster-title-art { z-index: 1; bottom: 14px; font-size: 21px; }
.landscape-card h3 { margin: 9px 0 0; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; color: #909095; font-size: 14px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb strong { color: #dededf; font-weight: 500; }
.detail-page { padding: 22px 29px 50px; }
.detail-hero { display: grid; grid-template-columns: 198px 1fr; gap: 17px; align-items: start; }
.detail-poster { aspect-ratio: 3 / 4; border-radius: 6px; background-image: var(--poster-image), url('/assets/drama-posters.jpg'); background-size: cover, 600% 100%; background-position: center, center; }
.detail-copy { padding-top: 4px; max-width: 980px; }
.detail-copy h1 { margin: 0 0 12px; font-size: 26px; }
.detail-copy .tags { margin: 11px 0 17px; }
.detail-copy p { max-width: 1000px; margin: 0; color: #a8a8ab; font-size: 14px; line-height: 1.58; }
.detail-copy .play-button { height: 47px; min-width: 179px; margin-top: 25px; font-size: 18px; }
.episode-section { margin-top: 30px; }
.episode-head { display: flex; justify-content: space-between; align-items: center; }
.episode-head h2, .recommend-section h2, .plot-section h2 { margin: 0; font-size: 21px; }
.episode-head span { color: #88898e; }
.episode-grid { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 10px; margin-top: 17px; }
.episode-button { position: relative; height: 41px; display: grid; place-items: center; border: 0; border-radius: 4px; color: #dedee0; background: #242529; font-size: 14px; }
.episode-button:hover, .episode-button.active { color: #fff; background: var(--red); }
.episode-button.locked::before { content: ""; position: absolute; left: 8px; top: 9px; width: 8px; height: 7px; border-radius: 1px; background: #888b91; }
.episode-button.locked::after { content: ""; position: absolute; left: 10px; top: 5px; width: 4px; height: 6px; border: 1.5px solid #888b91; border-bottom: 0; border-radius: 5px 5px 0 0; }
.episode-button.locked:hover::before, .episode-button.locked.active::before { background: #fff; }
.episode-button.locked:hover::after, .episode-button.locked.active::after { border-color: #fff; }
.recommend-section { margin-top: 30px; }
.recommend-section .poster-grid { margin-top: 17px; grid-template-columns: repeat(6, minmax(0, 1fr)); }

.watch-page { height: calc(100vh - var(--header-height)); min-height: 610px; display: grid; grid-template-columns: minmax(540px, 64%) minmax(380px, 36%); overflow: hidden; background: #090909; }
.video-side { position: relative; display: grid; place-items: center; min-height: 0; background: #000; }
.watch-close { position: absolute; z-index: 5; left: 20px; top: 20px; width: 31px; height: 31px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: #55565a; font-size: 23px; }
.video-shell { position: relative; height: min(80vh, 650px); aspect-ratio: 9 / 16; overflow: hidden; background: #050505; box-shadow: 0 0 60px rgba(255,255,255,.04); }
.video-player { width: 100%; height: 100%; object-fit: cover; background: #050505; }
.big-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; color: #fff; background: rgba(0,0,0,.34); backdrop-filter: blur(6px); font-size: 27px; transition: opacity .2s ease; }
.video-shell.playing .big-play { opacity: 0; pointer-events: none; }
.video-loading { position: absolute; left: 50%; bottom: 72px; transform: translateX(-50%); color: rgba(255,255,255,.68); font-size: 12px; pointer-events: none; }
.watch-info { min-height: 0; overflow-y: auto; padding: 21px 18px 45px; background: #151618; border-left: 1px solid #27282b; scrollbar-color: #3c3d40 #151618; }
.watch-info .breadcrumb { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #2d2e31; }
.watch-title { margin: 0 0 13px; font-size: 26px; line-height: 1.25; }
.share-panel { display: flex; align-items: center; gap: 12px; margin: 18px 0 22px; padding: 12px 18px; border-radius: 7px; background: #292a2d; }
.share-panel button { width: 31px; height: 31px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #347ee7; font-weight: 800; }
.share-panel button:last-child { background: #595a5f; }
.plot-section p { color: #a7a7aa; font-size: 14px; line-height: 1.45; }
.watch-episode-head { margin-top: 23px; }
.watch-tabs { display: flex; gap: 26px; margin: 16px 0; color: #99999d; }
.watch-tabs button { padding: 0 0 8px; border: 0; border-bottom: 2px solid transparent; color: inherit; background: transparent; }
.watch-tabs button.active { color: #fff; border-color: var(--red); }
.watch-episode-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.watch-episode-grid .episode-button { height: 50px; }
.now-playing-bars { display: flex; align-items: end; gap: 2px; height: 20px; }
.now-playing-bars i { width: 3px; height: 45%; background: #2a2b2e; animation: equalize .6s ease-in-out infinite alternate; }
.now-playing-bars i:nth-child(2) { height: 90%; animation-delay: -.2s; }.now-playing-bars i:nth-child(3) { height: 65%; animation-delay: -.35s; }
.episode-button.active .now-playing-bars i { background: #2a2b2e; }

.browse-page, .simple-page { padding: 34px 22px 70px; }
.browse-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.browse-head h1, .simple-page h1 { margin: 0; font-size: 36px; }
.browse-head p, .simple-page p { color: var(--muted); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 27px; }
.filter-button { padding: 8px 16px; border: 1px solid #3a3b3e; border-radius: 18px; color: #c7c7c9; background: #1b1c1e; }
.filter-button.active { color: #fff; border-color: var(--red); background: var(--red); }
.app-promo { min-height: 560px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; max-width: 1050px; margin: 0 auto; }
.phone-mockup { position: relative; width: 280px; aspect-ratio: 9 / 18; justify-self: center; overflow: hidden; border: 8px solid #343539; border-radius: 40px; padding: 15px; background: #0d0e10; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.phone-speaker { position: absolute; z-index: 3; left: 50%; top: 8px; width: 54px; height: 5px; transform: translateX(-50%); border-radius: 5px; background: #17181a; }
.phone-poster { position: relative; height: 68%; overflow: hidden; border-radius: 22px 22px 12px 12px; background-image: var(--poster-image), url('/assets/drama-posters.jpg'); background-size: cover, 600% 100%; background-position: center, center; }
.phone-poster::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.phone-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); display: grid; place-items: center; padding-left: 3px; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; background: rgba(0,0,0,.38); font-size: 15px; }
.phone-details { height: 32%; padding: 13px 4px 0; display: flex; flex-direction: column; align-items: flex-start; }
.phone-details > span { color: #ec4a52; font-size: 9px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.phone-details strong { width: 100%; margin-top: 6px; overflow: hidden; color: #eee; font-size: 13px; line-height: 1.25; white-space: nowrap; text-overflow: ellipsis; }
.phone-details small { margin-top: 5px; color: #777; font-size: 9px; }
.phone-progress { width: 100%; height: 3px; margin-top: 11px; overflow: hidden; border-radius: 3px; background: #292a2d; }
.phone-progress i { display: block; width: 38%; height: 100%; background: var(--red); }
.phone-details button { width: 100%; min-height: 31px; margin-top: auto; margin-bottom: 6px; border: 0; border-radius: 4px; color: #fff; background: var(--red); font-size: 11px; font-weight: 750; }
.download-buttons { display: flex; gap: 12px; margin-top: 25px; }
.store-button { padding: 12px 20px; border: 1px solid #4b4c50; border-radius: 8px; background: #242529; }

.info-page { min-height: calc(100vh - var(--header-height)); padding: 0 22px 82px; overflow: hidden; background: radial-gradient(circle at 78% 4%, rgba(229,9,20,.11), transparent 28%), var(--bg); }
.info-tabs { max-width: 1200px; min-height: 58px; margin: 0 auto; display: flex; align-items: stretch; gap: 34px; border-bottom: 1px solid #2e2e2e; }
.info-tabs a { position: relative; display: flex; align-items: center; color: #969696; font-size: 13px; font-weight: 650; }
.info-tabs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; transform: scaleX(0); background: var(--red); transition: transform .2s ease; }
.info-tabs a:hover, .info-tabs a.active { color: #fff; }
.info-tabs a.active::after { transform: scaleX(1); }
.info-hero { max-width: 1050px; margin: 0 auto; padding: 74px 0 65px; text-align: center; }
.info-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #ff4d55; font-size: 12px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.info-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.info-hero h1 { max-width: 900px; margin: 17px auto 21px; font-size: clamp(44px, 6vw, 72px); line-height: 1.02; letter-spacing: -2.7px; }
.info-hero p { max-width: 780px; margin: 0 auto; color: #b9b9b9; font-size: clamp(17px, 1.65vw, 21px); line-height: 1.65; }
.info-hero time { display: block; margin-top: 23px; color: #777; font-size: 12px; }
.info-highlights { max-width: 1200px; margin: 0 auto 70px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #303030; border-radius: 10px; overflow: hidden; background: #181818; }
.info-highlights article { min-height: 225px; padding: 30px; border-right: 1px solid #303030; }
.info-highlights article:last-child { border-right: 0; }
.info-highlights span { color: #e54a52; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; }
.info-highlights h2 { margin: 38px 0 12px; font-size: 20px; letter-spacing: -.3px; }
.info-highlights p { margin: 0; color: #979797; font-size: 14px; line-height: 1.65; }
.info-content { max-width: 1050px; margin: 0 auto; border-top: 1px solid #323232; }
.info-section { display: grid; grid-template-columns: minmax(190px, 30%) 1fr; column-gap: 56px; padding: 42px 0; border-bottom: 1px solid #323232; }
.info-section h2 { grid-row: 1 / span 2; margin: 0; font-size: 21px; line-height: 1.35; }
.info-section p { grid-column: 2; margin: 0; color: #aaa; font-size: 15px; line-height: 1.78; }
.info-section ul { grid-column: 2; margin: 20px 0 0; padding: 0; list-style: none; color: #c1c1c1; font-size: 14px; line-height: 1.65; }
.info-section li { position: relative; padding: 9px 0 9px 23px; border-top: 1px solid #292929; }
.info-section li::before { content: ""; position: absolute; left: 1px; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.info-cta { max-width: 1200px; min-height: 170px; margin: 70px auto 0; padding: 34px 40px; display: flex; align-items: center; justify-content: space-between; gap: 35px; border: 1px solid rgba(229,9,20,.35); border-radius: 10px; background: linear-gradient(110deg, #251516, #1a1a1a 65%); }
.info-cta h2 { margin: 0 0 8px; font-size: 25px; }
.info-cta p { margin: 0; color: #aaa; font-size: 14px; line-height: 1.55; }
.info-cta a { min-width: 172px; min-height: 46px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; border-radius: 4px; background: var(--red); font-size: 13px; font-weight: 750; }
.info-cta a:hover { background: var(--red-hover); }
.info-cta a span { font-size: 20px; line-height: 1; }
.info-page-privacy .info-content { max-width: 960px; }
.info-page-privacy .info-section { grid-template-columns: minmax(220px, 34%) 1fr; }

footer { padding: 38px 28px 20px; border-top: 1px solid #292a2d; background: #191a1c; }
.footer-main { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; max-width: 1200px; margin: 0 auto 35px; }
.footer-column { display: flex; flex-direction: column; gap: 10px; color: #929398; font-size: 13px; }
.footer-column strong { color: #eee; font-size: 14px; margin-bottom: 4px; }
.footer-column a:hover { color: #fff; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #2c2d30; color: #707176; font-size: 12px; }

.search-layer { position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; padding-top: 11vh; background: rgba(0,0,0,.72); backdrop-filter: blur(8px); }
.search-layer[hidden], .mobile-drawer[hidden], .auth-layer[hidden], #authFormView[hidden], #accountView[hidden] { display: none; }
.search-dialog { width: min(720px, calc(100% - 32px)); max-height: 76vh; overflow-y: auto; padding: 24px; border: 1px solid #3a3b3e; border-radius: 13px; background: #1c1d1f; box-shadow: 0 28px 80px rgba(0,0,0,.55); }
.search-dialog-head { display: flex; justify-content: space-between; align-items: center; }
.search-dialog-head h2 { margin: 0; }
.search-dialog-head button, .drawer-head button { border: 0; color: #aaa; background: transparent; font-size: 27px; }
.search-input-wrap { height: 52px; display: flex; align-items: center; gap: 12px; margin: 22px 0 18px; padding: 0 14px; border: 1px solid #55565a; border-radius: 8px; background: #121315; }
.search-input-wrap svg { width: 21px; }
.search-input-wrap input { flex: 1; min-width: 0; border: 0; outline: 0; color: #fff; background: transparent; }
.search-label { color: #8a8b90; font-size: 12px; }
.search-suggestions { display: flex; flex-wrap: wrap; gap: 8px; }
.search-suggestions button { padding: 7px 11px; border: 0; border-radius: 5px; color: #c6c6c8; background: #343539; }
.search-results { display: grid; gap: 8px; margin-top: 20px; }
.search-result { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px; border: 0; border-radius: 7px; color: #e7e7e8; background: #242529; text-align: left; }
.search-result:hover { background: #303134; }
.search-result span { color: #88898e; font-size: 12px; }
.auth-layer { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.82); backdrop-filter: blur(8px); }
.auth-dialog { position: relative; width: min(460px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 42px 42px 36px; border: 1px solid #353535; border-radius: 8px; background: #181818; box-shadow: 0 28px 90px rgba(0,0,0,.72); }
.auth-close { position: absolute; right: 15px; top: 12px; width: 36px; height: 36px; border: 0; color: #aaa; background: transparent; font-size: 29px; line-height: 1; }
.auth-close:hover { color: #fff; }
.auth-kicker { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; }
.auth-dialog h2 { margin: 10px 0 9px; font-size: 30px; letter-spacing: -.6px; }
.auth-lead { margin: 0 0 25px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.auth-field { display: grid; gap: 8px; margin-top: 16px; color: #e2e2e2; font-size: 13px; font-weight: 600; }
.auth-field input { width: 100%; height: 49px; padding: 0 13px; border: 1px solid #555; border-radius: 4px; outline: 0; color: #fff; background: #242424; }
.auth-field input:focus { border-color: #fff; box-shadow: 0 0 0 1px #fff; }
.auth-field input[aria-invalid="true"] { border-color: var(--red); }
.auth-hint { margin: 7px 0 0; color: #929292; font-size: 12px; }
.auth-hint[hidden], .auth-terms[hidden] { display: none; }
.auth-terms { display: flex; align-items: flex-start; gap: 9px; margin: 18px 0 0; color: #b8b8b8; font-size: 12px; line-height: 1.45; }
.auth-terms input { margin: 2px 0 0; accent-color: var(--red); }
.auth-error { min-height: 20px; margin: 12px 0 5px; color: #ff8a8f; font-size: 13px; line-height: 1.4; }
.auth-submit { width: 100%; height: 49px; border: 0; border-radius: 4px; color: #fff; background: var(--red); font-weight: 750; }
.auth-submit:hover { background: var(--red-hover); }
.auth-submit:disabled { opacity: .65; cursor: wait; }
.auth-submit.secondary { margin-top: 22px; background: #333; }
.auth-submit.secondary:hover { background: #444; }
.auth-switch { width: 100%; margin-top: 18px; padding: 5px; border: 0; color: #bdbdbd; background: transparent; font-size: 13px; }
.auth-switch:hover { color: #fff; text-decoration: underline; }
.account-view #accountEmail { margin: 18px 0 12px; color: #fff; font-size: 17px; word-break: break-word; }
.plan-badge { display: inline-flex; padding: 5px 10px; border: 1px solid #555; border-radius: 3px; color: #d8d8d8; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.account-view .auth-lead { margin-top: 22px; }
.toast { position: fixed; z-index: 130; left: 50%; bottom: 28px; transform: translate(-50%, 18px); opacity: 0; max-width: calc(100% - 30px); padding: 11px 18px; border-radius: 4px; color: #fff; background: var(--red); box-shadow: 0 15px 40px rgba(0,0,0,.5); font-size: 13px; pointer-events: none; transition: .25s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.mobile-drawer { position: fixed; inset: 0 0 0 auto; z-index: 110; width: min(320px, 88vw); padding: 18px; background: #1b1c1e; box-shadow: -20px 0 50px rgba(0,0,0,.45); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-weight: 700; }
.mobile-drawer > a { display: block; padding: 14px 8px; border-bottom: 1px solid #303134; }

@keyframes featureIn { from { opacity: .6; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
@keyframes equalize { to { height: 100%; } }

@media (max-width: 1050px) {
  .topbar { gap: 24px; }
  .desktop-nav { gap: 28px; }
  .topbar-tools { gap: 14px; }
  .language-button { display: flex; }
  .feature-stage { grid-template-columns: 70px minmax(620px, 760px) 70px; gap: 28px; }
  .poster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .landscape-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .episode-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .watch-page { grid-template-columns: minmax(460px, 58%) minmax(370px, 42%); }
  .info-highlights article { min-height: 245px; padding: 25px; }
  .info-section { column-gap: 34px; }
}

@media (max-width: 960px) {
  :root { --header-height: 58px; }
  .topbar { gap: 4px; padding: 0 10px; }
  .brand { font-size: 18px; }
  .brand-icon { width: 27px; height: 31px; }
  .desktop-nav, .search-trigger span { display: none; }
  .topbar-tools { gap: 2px; }
  .language-button #languageCurrent { display: none; }
  .language-button { width: 34px; justify-content: center; }
  .language-button > span:last-child { display: none; }
  .language-button svg { width: 20px; }
  .search-trigger { width: 34px; height: 38px; padding: 0; justify-content: center; border-color: transparent; background: transparent; }
  .account-button { min-width: 60px; height: 34px; padding: 0 8px; font-size: 12px; }
  .menu-button { display: block; width: 34px; padding: 6px; }
}

@media (max-width: 760px) {
  .feature-stage { grid-template-columns: 1fr; height: 315px; margin: 16px 12px 27px; }
  .feature-preview { display: none; }
  .feature-main { grid-template-columns: 42% 1fr; }
  .feature-content { padding: 19px 15px; }
  .feature-content h1 { margin-bottom: 8px; font-size: clamp(20px, 5.5vw, 27px); -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .feature-description { -webkit-line-clamp: 3; font-size: 11px; }
  .feature-content .tags { margin: 8px 0; }
  .feature-content .tag { font-size: 10px; }
  .episode-total { font-size: 11px; }
  .play-button { min-width: 108px; height: 41px; margin-top: 13px; font-size: 16px; }
  .feature-arrow { opacity: 1; width: 30px; height: 48px; }
  .feature-arrow.prev { left: 0; }.feature-arrow.next { right: 0; }
  .content-section { padding: 0 12px 30px; }
  .section-title-row h2 { font-size: 22px; }
  .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .poster-card h3 { font-size: 14px; min-height: 38px; }
  .poster-play { opacity: 1; transform: none; }
  .star-grid { grid-template-columns: 1fr; gap: 12px; }
  .star-card { height: 190px; grid-template-columns: 110px 1fr; gap: 14px; padding: 13px; }
  .star-info h3 { margin-bottom: 6px; font-size: 17px; }
  .star-info p { font-size: 11px; }
  .landscape-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .detail-page { padding: 16px 14px 40px; }
  .breadcrumb { margin-bottom: 17px; font-size: 12px; }
  .detail-hero { grid-template-columns: 125px 1fr; gap: 13px; }
  .detail-copy h1 { font-size: 21px; }
  .detail-copy p { font-size: 11px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .detail-copy .tag { font-size: 10px; }
  .detail-copy .play-button { min-width: 130px; height: 40px; margin-top: 13px; font-size: 15px; }
  .episode-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .recommend-section .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .watch-page { height: auto; min-height: calc(100vh - var(--header-height)); display: block; overflow: visible; }
  .video-side { height: 58vh; min-height: 390px; }
  .video-shell { height: 100%; max-width: 100%; }
  .watch-info { overflow: visible; padding: 17px 14px 40px; border-left: 0; border-top: 1px solid #27282b; }
  .watch-title { font-size: 22px; }
  .watch-episode-grid { grid-template-columns: repeat(5, 1fr); }
  .browse-page, .simple-page { padding: 25px 13px 50px; }
  .info-page { padding: 0 13px 55px; }
  .info-tabs { min-height: 52px; gap: 22px; overflow-x: auto; }
  .info-tabs { scrollbar-width: none; }
  .info-tabs::-webkit-scrollbar { display: none; }
  .info-tabs a { flex: 0 0 auto; font-size: 12px; }
  .info-hero { padding: 51px 5px 46px; text-align: left; }
  .info-hero h1 { margin: 15px 0 18px; font-size: clamp(39px, 12vw, 55px); letter-spacing: -2px; }
  .info-hero p { font-size: 16px; line-height: 1.6; }
  .info-hero time { margin-top: 18px; }
  .info-highlights { grid-template-columns: 1fr; margin-bottom: 50px; }
  .info-highlights article { min-height: auto; padding: 25px 23px 27px; border-right: 0; border-bottom: 1px solid #303030; }
  .info-highlights article:last-child { border-bottom: 0; }
  .info-highlights h2 { margin-top: 19px; }
  .info-section, .info-page-privacy .info-section { grid-template-columns: 1fr; padding: 30px 0; }
  .info-section h2 { grid-row: auto; margin-bottom: 15px; }
  .info-section p, .info-section ul { grid-column: 1; }
  .info-cta { margin-top: 46px; padding: 27px 23px; flex-direction: column; align-items: stretch; }
  .info-cta a { width: 100%; }
  .browse-head { align-items: start; flex-direction: column; }
  .app-promo { grid-template-columns: 1fr; padding-block: 20px; }
  .phone-mockup { width: 230px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-column:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .auth-dialog { padding: 38px 22px 28px; }
  .auth-dialog h2 { font-size: 26px; }
}

@media (max-width: 360px) {
  .brand > span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
