/*
Theme Name: Chill Phim Hay - Phim Đêm Cinema Edition
Theme URI: https://chillphimhay.org
Description: Giao diện Phim Đêm (Night Cinema) sang trọng, chuẩn điện ảnh, tối ưu font tiếng Việt cho chillphimhay.org.
Author: Chill Phim Hay
Template: Newsmag
Version: 2.3.0
Text Domain: chillphimhay
*/

@charset "UTF-8";

/* ==========================================================================
   1. DESIGN TOKENS & RESET (PHIM ĐÊM CINEMA SYSTEM)
   ========================================================================== */

:root {
	color-scheme: dark;
	--pd-bg: #090a16;
	--pd-surface: #11132a;
	--pd-surface-muted: #171a38;
	--pd-surface-subtle: #1f2347;
	--pd-border: rgba(255, 255, 255, 0.08);
	--pd-border-subtle: rgba(255, 255, 255, 0.05);
	
	--pd-ink: #eceef7;
	--pd-ink-sub: #c9cde0;
	--pd-ink-muted: #9aa0bd;
	--pd-ink-faint: #7d839f;

	--pd-accent: #f5b544;
	--pd-accent-hover: #ffc861;
	--pd-accent-subtle: rgba(245, 181, 68, 0.15);
	--pd-accent-border: rgba(245, 181, 68, 0.35);

	--pd-font-heading: 'Anton', 'Be Vietnam Pro', sans-serif;
	--pd-font-serif: 'Playfair Display', serif;
	--pd-font-body: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;

	--pd-max-width: 1440px;
}

*, *::before, *::after {
	box-sizing: border-box !important;
}

html {
	scroll-behavior: smooth;
	background: var(--pd-bg);
	overflow-x: hidden !important;
	width: 100% !important;
	max-width: 100vw !important;
}

body {
	margin: 0;
	padding: 0;
	background: var(--pd-bg);
	color: var(--pd-ink);
	font-family: var(--pd-font-body);
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden !important;
	width: 100% !important;
	max-width: 100vw !important;
	position: relative;
}

/* Wrapper Anti-Overflow Protection */
.pd-site,
.pd-header,
.pd-home-main,
.pd-main-wrap,
.pd-section,
.pd-hero-showcase,
.pd-detail-page,
.pd-detail-hero,
.pd-player-section,
.pd-catalog-page,
.pd-footer {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	overflow-x: clip;
}

/* Force Vietnamese font family across all elements and Newsmag parent classes */
html, body, p, a, span, button, input, select, textarea,
.td-header-wrap, .td-main-content-wrap, .td-footer-wrapper,
.entry-title, .td-module-title, .pd-site {
	font-family: var(--pd-font-body);
}

h1, h2, h3, h4, h5, h6,
.pd-heading, .pd-section-title, .pd-hero-title, .pd-detail-title {
	font-family: var(--pd-font-heading);
}

a {
	color: var(--pd-accent);
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover {
	color: var(--pd-accent-hover);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

button, input, select, textarea {
	font-family: inherit;
}

/* ==========================================================================
   2. STICKY BLUR HEADER & NAVIGATION
   ========================================================================== */

.pd-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(9, 10, 22, 0.85);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--pd-border);
}

.pd-header-inner {
	max-width: var(--pd-max-width);
	margin: 0 auto;
	padding: 14px clamp(16px, 4vw, 48px);
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 72px;
}

/* Brand Logo */
.pd-brand {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	text-decoration: none;
	flex-shrink: 0;
}
.pd-brand-text {
	font-family: var(--pd-font-heading);
	font-weight: 400;
	font-size: 26px;
	line-height: 1;
	letter-spacing: 0.02em;
	color: #FFFFFF;
}
.pd-brand-accent {
	font-family: var(--pd-font-serif);
	font-style: italic;
	font-weight: 900;
	font-size: 26px;
	line-height: 1;
	color: var(--pd-accent);
}

/* Desktop Navigation */
.pd-desktop-nav {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-right: auto;
}
.pd-nav-link {
	padding: 8px 14px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--pd-ink-sub);
	white-space: nowrap;
	position: relative;
	border-radius: 8px;
	transition: background 0.15s, color 0.15s;
}
.pd-nav-link:hover {
	color: #FFFFFF;
	background: rgba(255, 255, 255, 0.05);
}
.pd-nav-link.is-active {
	color: #FFFFFF;
}
.pd-nav-link.is-active::after {
	content: '';
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--pd-accent);
}

/* Header Actions */
.pd-header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	flex-shrink: 0;
}

/* Download App Button (Always visible on desktop & mobile) */
.pd-nav-app {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--pd-accent-subtle);
	color: var(--pd-accent) !important;
	border: 1px solid var(--pd-accent-border);
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
	transition: all 0.15s ease;
	white-space: nowrap;
}
.pd-nav-app:hover {
	background: var(--pd-accent);
	color: #1a1206 !important;
	border-color: var(--pd-accent);
	box-shadow: 0 4px 14px rgba(245, 181, 68, 0.4);
}

/* Search Pill */
.pd-search-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	padding: 0 16px;
	height: 40px;
	color: var(--pd-ink-muted);
	font-size: 13.5px;
	font-weight: 500;
	cursor: pointer;
	outline: none;
	transition: all 0.15s ease;
	min-width: 180px;
}
.pd-search-pill:hover,
.pd-search-pill:focus {
	border-color: rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.1);
	color: #FFFFFF;
}

/* Mobile Hamburger Toggle */
.pd-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--pd-border);
	color: #FFFFFF;
	cursor: pointer;
	padding: 0;
	transition: all 0.15s ease;
	flex-shrink: 0;
}
.pd-menu-toggle:hover {
	background: rgba(255, 255, 255, 0.12);
}
.pd-menu-icon {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 18px;
}
.pd-menu-icon span {
	display: block;
	height: 2px;
	width: 100%;
	background: #FFFFFF;
	border-radius: 1px;
}

/* Mobile Navigation Drawer */
.pd-drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(6px);
	z-index: 998;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}
.pd-drawer-overlay.is-open {
	opacity: 1;
	visibility: visible;
}
body.pd-drawer-locked {
	overflow: hidden;
}

.pd-mobile-drawer {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 290px;
	max-width: 85vw;
	background: #0d0f20;
	border-left: 1px solid var(--pd-border);
	z-index: 999;
	flex-direction: column;
	transform: translateX(100%);
	visibility: hidden;
	pointer-events: none;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
	box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
}
.pd-mobile-drawer.is-open {
	display: flex;
	transform: translateX(0);
	visibility: visible;
	pointer-events: auto;
}

.pd-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid var(--pd-border);
}
.pd-drawer-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--pd-border);
	color: #FFFFFF;
	cursor: pointer;
}

.pd-drawer-nav {
	flex: 1;
	overflow-y: auto;
	padding: 16px 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.pd-drawer-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 10px;
	color: var(--pd-ink-sub);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.15s ease;
}
.pd-drawer-link:hover,
.pd-drawer-link.is-active {
	background: var(--pd-surface);
	color: #FFFFFF;
}
.pd-drawer-link.is-active {
	color: var(--pd-accent);
}
.pd-drawer-icon {
	font-size: 18px;
}

.pd-drawer-footer {
	padding: 16px 16px 24px;
	border-top: 1px solid var(--pd-border);
	background: #070812;
}
.pd-drawer-app-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 12px 16px;
	border-radius: 999px;
	background: var(--pd-accent);
	color: #1a1206;
	font-weight: 800;
	font-size: 14px;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(245, 181, 68, 0.4);
	transition: background 0.15s ease;
}
.pd-drawer-app-btn:hover {
	background: var(--pd-accent-hover);
}
.pd-drawer-note {
	margin-top: 10px;
	font-size: 11px;
	color: var(--pd-ink-muted);
	text-align: center;
}

/* Mobile Fixed Bottom Tab Bar */
.pd-bottom-tabs {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	background: rgba(9, 10, 22, 0.94);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	grid-template-columns: repeat(5, 1fr);
	padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.pd-tab-btn {
	min-height: 50px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	color: var(--pd-ink-muted);
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.15s ease;
}
.pd-tab-btn:hover,
.pd-tab-btn.is-active {
	color: var(--pd-accent);
}

/* Search Modal */
.pd-search-modal {
	position: fixed;
	inset: 0;
	z-index: 999;
	background: rgba(9, 10, 22, 0.92);
	backdrop-filter: blur(12px);
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding: 80px 20px;
}
.pd-search-modal.is-open {
	display: flex;
}
.pd-search-box {
	background: var(--pd-surface);
	border: 1px solid var(--pd-border);
	border-radius: 18px;
	width: 100%;
	max-width: 640px;
	padding: 24px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}
.pd-search-input-wrap {
	display: flex;
	gap: 12px;
}
.pd-search-input {
	flex: 1;
	padding: 12px 18px;
	border: 1px solid var(--pd-border);
	border-radius: 999px;
	font-size: 16px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--pd-ink);
	outline: none;
}
.pd-search-input:focus {
	border-color: var(--pd-accent);
	background: rgba(255, 255, 255, 0.09);
}
.pd-search-close {
	padding: 0 20px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid var(--pd-border);
	color: #FFFFFF;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s;
}
.pd-search-close:hover {
	background: rgba(255, 255, 255, 0.18);
}
.pd-search-results {
	margin-top: 16px;
	max-height: 380px;
	overflow-y: auto;
}

/* ==========================================================================
   3. HERO ROTATING SHOWCASE (PHIM ĐÊM BILLBOARD)
   ========================================================================== */

.pd-hero-showcase {
	position: relative;
	background: radial-gradient(ellipse 90% 70% at 75% 30%, #1c2144 0%, #090a16 70%);
	overflow: hidden;
	transition: background 0.8s ease;
}
.pd-hero-fade {
	position: absolute;
	inset: auto 0 0 0;
	height: 180px;
	background: linear-gradient(180deg, transparent, #090a16);
	pointer-events: none;
}
.pd-hero-container {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px;
	padding: clamp(32px, 7vw, 72px) clamp(16px, 4vw, 48px) clamp(28px, 6vw, 64px);
	max-width: var(--pd-max-width);
	margin: 0 auto;
}

.pd-hero-content {
	flex: 1 1 380px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}
.pd-hero-meta-top {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}
.pd-badge-hot {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #1a1206;
	background: var(--pd-accent);
	padding: 5px 10px;
	border-radius: 6px;
}
.pd-hero-meta-line {
	font-size: 13px;
	font-weight: 600;
	color: #dfe2f0;
	letter-spacing: 0.04em;
}

.pd-hero-title {
	margin: 0;
	font-family: var(--pd-font-heading);
	font-size: clamp(38px, 7.5vw, 90px);
	line-height: 0.98;
	color: #FFFFFF;
	text-shadow: 0 6px 40px rgba(0, 0, 0, 0.6);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.pd-hero-title a {
	color: #FFFFFF;
}

.pd-hero-stats {
	display: flex;
	gap: 18px;
	align-items: center;
	flex-wrap: wrap;
	font-size: 14px;
	font-weight: 600;
	color: #dfe2f0;
}
.pd-hero-stats .is-rating {
	color: var(--pd-accent);
	font-weight: 700;
}
.pd-badge-fhd {
	border: 1px solid rgba(255, 255, 255, 0.3);
	padding: 2px 7px;
	border-radius: 5px;
	font-size: 11.5px;
	font-weight: 600;
}

.pd-hero-desc {
	margin: 0;
	max-width: 580px;
	font-size: 16px;
	line-height: 1.65;
	color: #d3d6e6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.pd-hero-buttons {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 6px;
}
.pd-btn-play {
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 52px;
	padding: 0 28px;
	border-radius: 999px;
	background: var(--pd-accent);
	color: #1a1206;
	font-size: 15.5px;
	font-weight: 800;
	box-shadow: 0 12px 30px -10px rgba(245, 181, 68, 0.6);
	text-decoration: none;
	transition: background 0.15s ease, transform 0.15s ease;
}
.pd-btn-play:hover {
	background: var(--pd-accent-hover);
	transform: translateY(-2px);
	color: #1a1206;
}
.pd-btn-detail {
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 52px;
	padding: 0 26px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(8px);
	color: #FFFFFF;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.15s ease;
}
.pd-btn-detail:hover {
	background: rgba(255, 255, 255, 0.18);
	color: #FFFFFF;
}

/* Mini Thumbs Carousel in Hero */
.pd-hero-thumbs {
	display: flex;
	gap: 10px;
	margin-top: 14px;
	flex-wrap: wrap;
}
.pd-hero-thumb {
	cursor: pointer;
	width: 58px;
	height: 84px;
	border-radius: 9px;
	overflow: hidden;
	position: relative;
	border: 2px solid transparent;
	opacity: 0.55;
	transition: all 0.25s ease;
}
.pd-hero-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pd-hero-thumb:hover,
.pd-hero-thumb.is-active {
	opacity: 1;
	border-color: var(--pd-accent);
	box-shadow: 0 0 12px rgba(245, 181, 68, 0.5);
	transform: scale(1.05);
}

/* Featured Right Poster (Tilt 2.5deg) */
.pd-hero-poster-tilt {
	flex: 0 0 clamp(220px, 26vw, 300px);
	max-width: 100%;
	aspect-ratio: 2 / 3;
	border-radius: 20px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
	transform: rotate(2.5deg);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	text-decoration: none;
}
.pd-hero-poster-tilt:hover {
	transform: rotate(0deg) scale(1.03);
}
.pd-hero-poster-tilt img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pd-hero-poster-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(9, 10, 22, 0.9) 100%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 20px;
}
.pd-hero-poster-kicker {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
}
.pd-hero-poster-title {
	font-family: var(--pd-font-heading);
	font-size: clamp(22px, 2.5vw, 32px);
	line-height: 1.05;
	color: #FFFFFF;
	margin-top: 4px;
}

/* ==========================================================================
   4. MOVIECARD & SECTIONS (ROWS, TOP 10, GRID)
   ========================================================================== */

.pd-main-wrap {
	display: flex;
	flex-direction: column;
	gap: 56px;
	padding: 10px 0 80px;
	max-width: var(--pd-max-width);
	margin: 0 auto;
}

.pd-section {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.pd-section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding: 0 clamp(16px, 4vw, 48px);
	gap: 16px;
}
.pd-section-title {
	margin: 0;
	font-size: clamp(20px, 3vw, 26px);
	font-weight: 800;
	letter-spacing: -0.01em;
	color: #FFFFFF;
}
.pd-section-more {
	font-size: 14px;
	font-weight: 600;
	color: var(--pd-accent);
	white-space: nowrap;
}
.pd-section-more:hover {
	color: var(--pd-accent-hover);
}

/* Horizontal Scroll Rows */
.pd-carousel-row {
	display: flex;
	gap: clamp(12px, 2vw, 20px);
	overflow-x: auto;
	scrollbar-width: none;
	padding: 6px clamp(16px, 4vw, 48px) 14px;
}
.pd-carousel-row::-webkit-scrollbar {
	display: none;
}
.pd-carousel-item {
	flex: 0 0 clamp(140px, 36vw, 186px);
}

/* MovieCard Component */
.pd-card {
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: transform 0.25s ease;
	text-decoration: none;
	min-width: 0;
}
.pd-card:hover {
	transform: translateY(-6px);
}

.pd-card-poster {
	position: relative;
	aspect-ratio: 2 / 3;
	border-radius: clamp(10px, 1.4vw, 14px);
	overflow: hidden;
	background: var(--pd-surface);
	box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.pd-card-poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.pd-card:hover .pd-card-poster img {
	transform: scale(1.05);
}

.pd-card-gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 26%, transparent 45%, rgba(9, 10, 22, 0.9) 100%);
	pointer-events: none;
}

.pd-card-badges-top {
	position: absolute;
	top: 8px;
	left: 8px;
	right: 8px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 6px;
	z-index: 2;
}
.pd-badge-rating {
	font-size: 11px;
	font-weight: 800;
	color: #1a1206;
	background: var(--pd-accent);
	padding: 4px 7px;
	border-radius: 6px;
	line-height: 1;
}
.pd-badge-quality {
	font-size: 10.5px;
	font-weight: 600;
	color: #FFFFFF;
	background: rgba(9, 10, 22, 0.65);
	backdrop-filter: blur(6px);
	padding: 4px 7px;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1;
}

.pd-card-poster-info {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 12px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	z-index: 2;
}
.pd-card-subline {
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.8);
}
.pd-card-poster-title {
	font-family: var(--pd-font-heading);
	font-size: 16px;
	line-height: 1.1;
	color: #FFFFFF;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.pd-card-meta-below {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.pd-card-row-1 {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	min-width: 0;
}
.pd-card-main-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--pd-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.pd-card-year {
	font-size: 11px;
	font-weight: 600;
	color: var(--pd-ink-sub);
	background: rgba(255, 255, 255, 0.06);
	padding: 2px 6px;
	border-radius: 4px;
	flex-shrink: 0;
}
.pd-card-row-2 {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
}
.pd-card-genre {
	font-size: 12.5px;
	color: var(--pd-ink-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.pd-card-type-tag {
	font-size: 10.5px;
	font-weight: 700;
	color: var(--pd-accent);
	border: 1px solid rgba(245, 181, 68, 0.35);
	padding: 1px 6px;
	border-radius: 4px;
	flex-shrink: 0;
}

/* TOP 10 TODAY (Giant Outline Rank Numbers) */
.pd-top10-item {
	cursor: pointer;
	flex: 0 0 auto;
	display: flex;
	align-items: flex-end;
	transition: transform 0.25s ease;
	text-decoration: none;
}
.pd-top10-item:hover {
	transform: translateY(-6px);
}
.pd-rank-number {
	font-family: 'Anton', sans-serif;
	font-size: clamp(90px, 20vw, 140px);
	line-height: 0.8;
	color: var(--pd-bg);
	-webkit-text-stroke: 2.5px rgba(255, 255, 255, 0.28);
	margin-right: -22px;
	position: relative;
	z-index: 1;
	user-select: none;
}
.pd-top10-poster-wrap {
	position: relative;
	z-index: 2;
	width: clamp(112px, 30vw, 150px);
	aspect-ratio: 2 / 3;
	border-radius: 12px;
	overflow: hidden;
	background: var(--pd-surface);
	box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.pd-top10-poster-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ==========================================================================
   5. SINGLE MOVIE WATCH PAGE (CINEMA EDITION)
   ========================================================================== */

.pd-detail-hero {
	position: relative;
	background: radial-gradient(ellipse 90% 70% at 75% 30%, #1c2144 0%, #090a16 70%);
	overflow: hidden;
}
.pd-detail-container {
	position: relative;
	max-width: 1280px;
	margin: 0 auto;
	padding: 24px clamp(16px, 4vw, 48px) 50px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

/* Breadcrumbs */
.pd-breadcrumbs {
	display: flex;
	gap: 8px;
	align-items: center;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--pd-ink-sub);
	flex-wrap: wrap;
}
.pd-breadcrumbs a {
	color: var(--pd-ink-sub);
}
.pd-breadcrumbs a:hover {
	color: #FFFFFF;
}
.pd-breadcrumb-sep {
	opacity: 0.4;
}
.pd-breadcrumb-curr {
	color: #FFFFFF;
	font-weight: 600;
}

/* Detail Top Header */
.pd-detail-top {
	display: flex;
	gap: clamp(22px, 4vw, 44px);
	flex-wrap: wrap;
	align-items: flex-end;
}
.pd-detail-poster-col {
	flex: 0 0 clamp(150px, 34vw, 250px);
	max-width: 100%;
	aspect-ratio: 2 / 3;
	border-radius: 18px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.pd-detail-poster-col img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pd-detail-info-col {
	flex: 1 1 360px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.pd-detail-badges {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.pd-detail-title {
	margin: 0;
	font-size: clamp(32px, 5.5vw, 64px);
	line-height: 1.05;
	color: #FFFFFF;
}
.pd-detail-origin {
	font-size: 16px;
	font-weight: 500;
	color: var(--pd-ink-muted);
}
.pd-detail-chips {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.pd-chip-pill {
	font-size: 13px;
	font-weight: 600;
	color: var(--pd-ink);
	background: rgba(255, 255, 255, 0.08);
	padding: 5px 11px;
	border-radius: 8px;
}
.pd-chip-pill.is-gold {
	color: var(--pd-accent);
	border: 1px solid rgba(245, 181, 68, 0.45);
	background: transparent;
	font-weight: 700;
}
.pd-detail-desc {
	margin: 0;
	max-width: 700px;
	font-size: 15.5px;
	line-height: 1.7;
	color: #d3d6e6;
}

/* Detail Player Section */
.pd-player-section {
	max-width: 1280px;
	margin: 0 auto;
	padding: 10px clamp(16px, 4vw, 48px) 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.pd-player-wrap {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: clamp(10px, 2vw, 18px);
	overflow: hidden;
	background: #000000;
	scroll-margin-top: 90px;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.08);
	min-height: 220px;
}
.pd-player-wrap iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* Quick App VIP Banner */
.pd-player-quick-app {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 18px;
	background: rgba(245, 181, 68, 0.1);
	border: 1px solid rgba(245, 181, 68, 0.3);
	border-radius: 12px;
	font-size: 13.5px;
}
.pd-quick-app-text {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #eceef7;
	font-weight: 500;
}
.pd-quick-app-btn {
	display: inline-flex;
	align-items: center;
	padding: 7px 18px;
	background: var(--pd-accent);
	color: #1a1206;
	font-weight: 800;
	font-size: 13px;
	border-radius: 999px;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
	box-shadow: 0 2px 10px rgba(245, 181, 68, 0.35);
}
.pd-quick-app-btn:hover {
	background: var(--pd-accent-hover);
	color: #1a1206;
}

/* Episode & Translation Box */
.pd-episode-box {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: clamp(14px, 2.5vw, 22px);
	background: var(--pd-surface);
	border: 1px solid var(--pd-border);
	border-radius: 18px;
}
.pd-ep-box-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.pd-ep-heading {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
	color: #FFFFFF;
}
.pd-ep-tabs {
	display: flex;
	gap: 6px;
	padding: 4px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 999px;
}
.pd-ep-tab-item {
	cursor: pointer;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	background: transparent;
	color: var(--pd-ink-sub);
	border: none;
	transition: all 0.15s ease;
}
.pd-ep-tab-item.is-active {
	background: var(--pd-accent);
	color: #1a1206;
}

/* Episode Chips Grid */
.pd-ep-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
	gap: 8px;
	max-height: 240px;
	overflow-y: auto;
	padding-right: 4px;
}
.pd-ep-grid::-webkit-scrollbar {
	width: 5px;
}
.pd-ep-grid::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.15);
	border-radius: 3px;
}
.pd-ep-btn {
	cursor: pointer;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	font-size: 13.5px;
	font-weight: 700;
	background: rgba(255, 255, 255, 0.05);
	color: var(--pd-ink);
	border: 1px solid var(--pd-border);
	transition: all 0.15s ease;
	outline: none;
}
.pd-ep-btn:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.25);
	color: #FFFFFF;
}
.pd-ep-btn.is-active {
	background: var(--pd-accent);
	color: #1a1206;
	border-color: var(--pd-accent);
	box-shadow: 0 4px 14px rgba(245, 181, 68, 0.4);
}

/* ==========================================================================
   6. CATALOG / ARCHIVE FILTER CHIPS & GRID
   ========================================================================== */

.pd-catalog-page {
	max-width: var(--pd-max-width);
	margin: 0 auto;
	padding: 40px clamp(16px, 4vw, 48px) 80px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.pd-catalog-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	flex-wrap: wrap;
}
.pd-catalog-kicker {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--pd-accent);
}
.pd-catalog-title {
	margin: 6px 0 0;
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 900;
	letter-spacing: -0.02em;
	color: #FFFFFF;
}
.pd-catalog-count {
	font-size: 14px;
	color: var(--pd-ink-muted);
}

/* Filters Card */
.pd-filter-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: clamp(14px, 2.5vw, 20px) clamp(14px, 2.5vw, 22px);
	background: var(--pd-surface);
	border: 1px solid var(--pd-border);
	border-radius: 18px;
}
.pd-filter-row {
	display: flex;
	gap: 16px;
	align-items: center;
	flex-wrap: wrap;
}
.pd-filter-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--pd-ink-muted);
	width: 78px;
	flex-shrink: 0;
}
.pd-filter-chips {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	flex: 1 1 auto;
	min-width: 0;
}
.pd-filter-chip {
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	padding: 0 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	flex-shrink: 0;
	background: rgba(255, 255, 255, 0.05);
	color: var(--pd-ink-sub);
	border: 1px solid var(--pd-border);
	text-decoration: none;
	transition: all 0.15s ease;
}
.pd-filter-chip:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #FFFFFF;
}
.pd-filter-chip.is-active {
	background: var(--pd-accent);
	color: #1a1206;
	border-color: var(--pd-accent);
	font-weight: 700;
}
.pd-filter-divider {
	height: 1px;
	background: rgba(255, 255, 255, 0.06);
}

/* Movie Grid */
.pd-movie-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(160px, 40vw), 1fr));
	gap: clamp(24px, 3vw, 36px) clamp(12px, 2vw, 22px);
}

/* Pagination */
.navigation.pagination {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}
.navigation.pagination .nav-links {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}
.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	background: var(--pd-surface);
	border: 1px solid var(--pd-border);
	border-radius: 9px;
	color: var(--pd-ink);
	font-weight: 600;
	font-size: 13.5px;
	text-decoration: none;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.navigation.pagination .page-numbers:hover,
.navigation.pagination .page-numbers.current {
	background: var(--pd-accent);
	color: #1a1206;
	border-color: var(--pd-accent);
	font-weight: 700;
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */

.pd-footer {
	border-top: 1px solid var(--pd-border);
	padding: 40px clamp(16px, 4vw, 48px) 48px;
	background: #06070f;
	margin-top: 60px;
}
.pd-footer-inner {
	max-width: var(--pd-max-width);
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	font-size: 13px;
	color: var(--pd-ink-muted);
}
.pd-footer-links {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}
.pd-footer-links a {
	color: var(--pd-ink-muted);
	text-decoration: none;
}
.pd-footer-links a:hover {
	color: var(--pd-accent);
}
.pd-footer-copy {
	font-size: 12.5px;
}

/* ==========================================================================
   8. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1100px) {
	.pd-desktop-nav {
		display: none !important;
	}
	.pd-menu-toggle {
		display: flex !important;
	}
	.pd-header-actions {
		gap: 8px;
		margin-left: auto;
		flex-shrink: 0;
	}
	.pd-search-pill {
		min-width: 0 !important;
		width: 38px !important;
		height: 38px !important;
		padding: 0 !important;
		justify-content: center;
		border-radius: 50% !important;
		flex-shrink: 0;
	}
	.pd-search-pill-text {
		display: none !important;
	}
}

@media (max-width: 900px) {
	.pd-hero-container {
		gap: 32px;
		padding: 32px 16px 40px;
	}
	.pd-hero-poster-tilt {
		display: none; /* Hide large tilted card on mobile/tablet to give full room to movie content */
	}
	.pd-detail-top {
		align-items: flex-start;
	}
	.pd-detail-poster-col {
		max-width: 150px;
	}
}

@media (max-width: 640px) {
	body {
		padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)) !important; /* Space for fixed bottom tabs */
	}
	.pd-bottom-tabs {
		display: grid !important;
	}
	.pd-header {
		width: 100% !important;
		max-width: 100vw !important;
		overflow-x: clip;
	}
	.pd-header-inner {
		padding: 10px 12px;
		min-height: 56px;
		gap: 6px;
		justify-content: space-between;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	.pd-brand {
		gap: 3px;
		flex-shrink: 0;
	}
	.pd-brand-text, .pd-brand-accent {
		font-size: 18px;
	}
	.pd-header-actions {
		gap: 5px;
		margin-left: auto;
		flex-shrink: 0;
	}
	.pd-nav-app {
		padding: 5px 8px;
		font-size: 11px;
		gap: 4px;
		white-space: nowrap;
	}
	.pd-nav-app svg {
		width: 12px;
		height: 12px;
		margin-right: 2px !important;
	}
	.pd-search-pill {
		min-width: 0 !important;
		width: 32px !important;
		height: 32px !important;
		padding: 0 !important;
		justify-content: center;
		border-radius: 50% !important;
		flex-shrink: 0;
	}
	.pd-search-pill svg {
		width: 14px;
		height: 14px;
	}
	.pd-search-pill-text {
		display: none !important;
	}
	.pd-menu-toggle {
		width: 32px !important;
		height: 32px !important;
		padding: 0 !important;
		flex-shrink: 0;
		border-radius: 8px;
	}
	.pd-menu-icon {
		width: 15px;
		gap: 4px;
	}
	.pd-menu-icon span {
		height: 2px;
	}

	/* Hero Billboard */
	.pd-hero-container {
		padding: 24px 12px 32px;
		gap: 18px;
	}
	.pd-hero-title {
		font-size: clamp(24px, 7vw, 36px);
		line-height: 1.1;
		word-break: break-word;
	}
	.pd-hero-desc {
		display: none;
	}
	.pd-hero-stats {
		gap: 6px 10px;
		font-size: 12px;
	}
	.pd-hero-thumbs {
		gap: 6px;
	}
	.pd-hero-thumb {
		width: 44px;
		height: 64px;
		border-radius: 6px;
	}
	.pd-btn-play, .pd-btn-detail {
		height: 40px;
		padding: 0 16px;
		font-size: 13px;
	}

	/* Main Rows & Carousels */
	.pd-main-wrap {
		padding: 8px 0 60px;
		gap: 32px;
		width: 100%;
		max-width: 100%;
		overflow-x: clip;
	}
	.pd-section {
		width: 100%;
		max-width: 100%;
		overflow-x: clip;
		gap: 14px;
	}
	.pd-section-head {
		padding: 0 12px;
		gap: 8px;
	}
	.pd-section-title {
		font-size: 18px;
	}
	.pd-section-more {
		font-size: 12.5px;
	}
	.pd-carousel-row {
		padding: 4px 12px 10px;
		gap: 10px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		overflow-x: auto;
		overflow-y: hidden;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.pd-carousel-item {
		flex: 0 0 clamp(116px, 32vw, 138px);
	}

	/* Top 10 items on mobile */
	.pd-top10-item {
		flex: 0 0 auto;
	}
	.pd-rank-number {
		font-size: clamp(68px, 17vw, 100px);
		margin-right: -14px;
	}
	.pd-top10-poster-wrap {
		width: clamp(92px, 25vw, 115px);
	}

	/* Detail Page */
	.pd-detail-page {
		width: 100%;
		max-width: 100%;
		overflow-x: clip;
	}
	.pd-detail-container {
		padding: 12px 12px 24px;
		gap: 16px;
	}
	.pd-breadcrumbs {
		font-size: 12px;
		gap: 6px;
		overflow-x: auto;
		white-space: nowrap;
		scrollbar-width: none;
	}
	.pd-detail-top {
		gap: 14px;
		align-items: flex-start;
		flex-wrap: nowrap;
	}
	.pd-detail-poster-col {
		flex: 0 0 95px;
		max-width: 95px;
	}
	.pd-detail-poster-col img {
		border-radius: 10px;
		width: 95px;
		height: 142px;
		object-fit: cover;
	}
	.pd-detail-info-col {
		flex: 1 1 0;
		min-width: 0;
		gap: 12px;
	}
	.pd-detail-title {
		font-size: 20px;
		line-height: 1.15;
		word-break: break-word;
	}
	.pd-detail-origin {
		font-size: 13px;
	}
	.pd-detail-chips {
		gap: 6px;
	}
	.pd-chip-pill {
		padding: 4px 8px;
		font-size: 11.5px;
	}
	.pd-detail-desc {
		font-size: 13.5px;
		line-height: 1.55;
	}
	.pd-player-section {
		padding: 0 12px;
		gap: 14px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	.pd-player-wrap {
		border-radius: 10px;
		min-height: 180px;
	}
	.pd-player-quick-app {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		padding: 10px 12px;
	}
	.pd-quick-app-btn {
		justify-content: center;
		text-align: center;
	}
	.pd-episode-box {
		padding: 12px 10px;
		border-radius: 12px;
		gap: 12px;
	}
	.pd-ep-box-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	.pd-ep-heading {
		font-size: 17px;
	}
	.pd-server-tabs {
		width: 100%;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.pd-ep-grid {
		grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
		gap: 6px;
	}
	.pd-ep-btn {
		height: 36px;
		font-size: 12px;
	}

	/* Catalog / Filter */
	.pd-catalog-page {
		padding: 16px 12px 60px;
		gap: 16px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		overflow-x: clip;
	}
	.pd-catalog-head {
		gap: 8px;
	}
	.pd-catalog-title {
		font-size: 22px;
	}
	.pd-catalog-count {
		font-size: 12.5px;
	}
	.pd-filter-card {
		padding: 12px 10px;
		border-radius: 12px;
		gap: 10px;
	}
	.pd-filter-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}
	.pd-filter-label {
		width: 100%;
		font-size: 12px;
		margin-bottom: 0;
	}
	.pd-filter-chips {
		display: flex;
		align-items: center;
		overflow-x: auto;
		flex-wrap: nowrap;
		scrollbar-width: none;
		padding: 4px 0;
		width: 100%;
		flex: none;
		height: auto;
	}
	.pd-filter-chip {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		height: 32px;
		padding: 0 12px;
		font-size: 12.5px;
		flex-shrink: 0;
	}
	.pd-movie-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 8px;
	}

	/* Footer */
	.pd-footer {
		padding: 24px 12px 36px;
		margin-top: 36px;
	}
	.pd-footer-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}
	.pd-footer-links {
		gap: 14px;
	}
}

/* Navigation Dropdown: Thể loại */
.pd-nav-item-dropdown {
	position: relative;
	display: inline-flex;
	align-items: center;
}
.pd-nav-dropdown-toggle {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
}
.pd-nav-dropdown-toggle svg {
	transition: transform 0.2s ease;
}
.pd-nav-item-dropdown:hover .pd-nav-dropdown-toggle svg {
	transform: rotate(180deg);
}
.pd-dropdown-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(10px);
	z-index: 1000;
	width: 440px;
	padding: 16px;
	background: #0d1117;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	pointer-events: none;
}
.pd-nav-item-dropdown:hover .pd-dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(2px);
	pointer-events: auto;
}
.pd-dropdown-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px 8px;
}
.pd-dropdown-grid a {
	padding: 7px 10px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
	color: #c4cdd9;
	text-decoration: none;
	transition: all 0.15s ease;
	white-space: nowrap;
	text-align: left;
}
.pd-dropdown-grid a:hover {
	color: #e50914;
	background: rgba(229, 9, 20, 0.12);
}

/* Mobile Drawer Thể loại Accordion */
.pd-drawer-accordion {
	width: 100%;
}
.pd-drawer-acc-btn {
	width: 100%;
	border: none;
	background: none;
	cursor: pointer;
	text-align: left;
	display: flex;
	align-items: center;
	font-family: inherit;
}
.pd-drawer-chevron {
	margin-left: auto;
	transition: transform 0.25s ease;
}
.pd-drawer-acc-btn.is-active .pd-drawer-chevron {
	transform: rotate(180deg);
}
.pd-drawer-subnav {
	display: none;
	grid-template-columns: repeat(2, 1fr);
	gap: 4px 6px;
	padding: 8px 10px 12px 36px;
	background: rgba(0, 0, 0, 0.25);
	border-radius: 6px;
	margin-top: 3px;
}
.pd-drawer-subnav.is-open {
	display: grid;
}
.pd-drawer-sublink {
	padding: 6px 8px;
	font-size: 12.5px;
	font-weight: 600;
	color: #94a3b8;
	text-decoration: none;
	border-radius: 4px;
	transition: color 0.15s ease, background 0.15s ease;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.pd-drawer-sublink:hover {
	color: #e50914;
	background: rgba(229, 9, 20, 0.12);
}

/* Brand Logo Styling */
.pd-brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}
.pd-brand-logo {
	height: 38px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
	display: block;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.pd-brand:hover .pd-brand-logo {
	transform: scale(1.02);
	opacity: 0.96;
}
@media (max-width: 900px) {
	.pd-brand-logo {
		height: 32px;
		max-width: 175px;
	}
}
@media (max-width: 480px) {
	.pd-brand-logo {
		height: 28px;
		max-width: 155px;
	}
}

/* Tab App highlight */
.pd-tab-app {
	color: #ff334b !important;
}
.pd-tab-app:hover {
	color: #ff5266 !important;
}
