:root {
	--bg: #f5f5f7;
	--surface: #ffffff;
	--surface-2: #f0f0f3;
	--text: #111111;
	--muted: #666666;
	--border: #e3e3e8;
	--border-2: #d5d5dc;
	--accent: #0891b2;
	--accent-2: #0e7490;
	--star: #f5c518;
	--radius: 16px;
	--radius-sm: 12px;
	--nav-h: 64px;
}

*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
	background: var(--bg);
	color: var(--text);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	line-height: 1.55;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: inherit;
	text-decoration: none;
}

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

button {
	font: inherit;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

input {
	font: inherit;
	color: inherit;
}

main {
	flex: 1;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255,255,255,0.95);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--border);
}

.header-container {
	max-width: 1400px;
	height: var(--nav-h);
	margin: 0 auto;
	padding: 0 16px;
	display: flex;
	align-items: center;
	gap: 14px;
}

.logo {
	font-size: 1.16rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	flex-shrink: 0;
}

.nav {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 1;
}

.nav a {
	display: inline-flex;
	align-items: center;
	height: 36px;
	padding: 0 12px;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 500;
	color: #444;
	transition: 0.2s ease;
}

.nav a:hover,
.nav a.active {
	background: var(--surface-2);
	color: #111;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.search {
	width: 220px;
	height: 36px;
	padding: 0 12px;
	border-radius: 20px;
	border: 1px solid var(--border-2);
	background: #fff;
	font-size: 0.86rem;
	outline: none;
}

.search:focus {
	border-color: #b7b7c2;
}

.lang {
	height: 36px;
	padding: 0 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	border-radius: 18px;
	background: #ededf2;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.lang:hover {
	background: #e3e3ea;
}

.lang svg,
.menu-btn svg,
.movie-card-play svg,
.movie-card-rating svg,
.meta-item svg,
.player-close-btn svg,
.player-play-btn svg {
	width: 16px;
	height: 16px;
}

.menu-btn {
	display: none;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #ededf2;
}

.menu-btn:hover,
.menu-btn.active {
	background: #e3e3ea;
}

.mobile-menu {
	display: none;
	padding: 10px 16px;
	border-top: 1px solid var(--border);
	background: #fff;
}

.mobile-menu.open {
	display: grid;
	gap: 6px;
}

.mobile-menu a {
	display: block;
	padding: 10px;
	border-radius: 8px;
	font-size: 0.92rem;
	color: #444;
}

.mobile-menu a:hover,
.mobile-menu a.active {
	background: var(--surface-2);
	color: #111;
}

.hero {
	position: relative;
	height: 62vh;
	min-height: 420px;
	max-height: 760px;
	border-radius: var(--radius);
	overflow: hidden;
	margin: 16px auto 0;
	max-width: 1400px;
	border: 1px solid var(--border);
	background: #111;
}

.hero-video,
.hero-video video,
.hero-video img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.hero-video img {
	object-fit: cover;
	filter: brightness(0.5);
}

.hero-video video {
	object-fit: cover;
	border: 0;
	pointer-events: none;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(0,0,0,0.34) 0%, rgba(0,0,0,0.74) 56%, rgba(0,0,0,0.88) 100%),
		linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.18) 50%, rgba(0,0,0,0.35) 100%);
}

.hero-content {
	position: absolute;
	left: 30px;
	right: 30px;
	bottom: 28px;
	z-index: 2;
	max-width: 700px;
}

.hero-content h1 {
	font-size: clamp(2rem, 4.5vw, 3.2rem);
	font-weight: 800;
	line-height: 1.1;
	color: #fff;
	margin-bottom: 10px;
}

.hero-content p {
	font-size: 1rem;
	color: rgba(255,255,255,0.78);
	margin-bottom: 16px;
}

.hero-buttons {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
	height: 40px;
	padding: 0 16px;
	border-radius: 22px;
	font-size: 0.88rem;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	transition: 0.2s ease;
}

.btn-primary svg,
.btn-secondary svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.btn-primary {
	background: var(--accent);
	color: #fff;
}

.btn-primary:hover {
	background: var(--accent-2);
}

.btn-secondary {
	background: rgba(255,255,255,0.16);
	border: 1px solid rgba(255,255,255,0.26);
	color: #fff;
}

.btn-secondary:hover {
	background: rgba(255,255,255,0.22);
}

.page {
	max-width: 1400px;
	margin: 22px auto 0;
	padding: 0 12px;
}

.section {
	margin-bottom: 42px;
}

.teaser-guide {
	display: grid;
	grid-template-columns: 1.1fr repeat(3, 1fr);
	gap: 1px;
	margin: 0 0 42px;
	border: 1px solid var(--border);
	background: var(--border);
}

.teaser-guide h2,
.teaser-guide div {
	margin: 0;
	padding: 24px;
	background: var(--surface);
}

.teaser-guide h2 {
	font-size: 28px;
	font-weight: 900;
	text-transform: uppercase;
}

.teaser-guide b,
.teaser-guide span {
	display: block;
}

.teaser-guide b {
	margin-bottom: 8px;
	color: var(--accent);
	text-transform: uppercase;
}

.teaser-guide span {
	color: var(--muted);
	line-height: 1.6;
}

.section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.section-title {
	font-size: 1.4rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 10px;
}

.section-title::before {
	content: '';
	display: block;
	width: 4px;
	height: 22px;
	background: var(--accent);
	border-radius: 2px;
}

.view-all {
	background: var(--accent);
	color: #fff;
	padding: 7px 14px;
	border-radius: 18px;
	font-size: 0.8rem;
	font-weight: 600;
}

.view-all:hover {
	background: var(--accent-2);
}

.scroll-row {
	--card-w: 220px;
	--slot-gap: 14px;
	display: flex;
	gap: var(--slot-gap);
	overflow-x: auto;
	padding-bottom: 8px;
}

.scroll-row .movie-card,
.scroll-row .filter-card {
	width: var(--card-w);
	min-width: var(--card-w);
	flex-shrink: 0;
}

.movie-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 12px;
}

.movie-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	overflow: hidden;
	transition: 0.2s ease;
	box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.movie-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.movie-poster-wrap {
	position: relative;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	background: #ececf0;
}

.movie-poster-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.movie-card:hover .movie-poster-wrap img {
	transform: scale(1.04);
}

.movie-card-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0.18), transparent);
	opacity: 0;
	transition: 0.2s ease;
}

.movie-card:hover .movie-card-overlay {
	opacity: 1;
}

.movie-card-play {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(22,163,74,0.92);
	color: #fff;
}

.movie-card-play svg {
	fill: currentColor;
	width: 17px;
	height: 17px;
	margin-left: 2px;
}

.movie-card-rating {
	position: absolute;
	top: 8px;
	right: 8px;
	height: 22px;
	padding: 0 7px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: rgba(0,0,0,0.74);
	color: var(--star);
	font-size: 11px;
	font-weight: 700;
}

.movie-card-rating svg {
	fill: currentColor;
	width: 10px;
	height: 10px;
}

.movie-content {
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.movie-title {
	font-size: 0.86rem;
	font-weight: 600;
	line-height: 1.35;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.movie-meta {
	font-size: 0.74rem;
	color: var(--muted);
	display: flex;
	align-items: center;
	gap: 6px;
}

.movie-meta .dot {
	color: #bbb;
}

.filter-card {
	position: relative;
	display: block;
	border-radius: var(--radius-sm);
	overflow: hidden;
	border: 1px solid var(--border);
	background: #fff;
}

.filter-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 64%);
	z-index: 1;
}

.filter-card img {
	width: 100%;
	height: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
}

.filter-label {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 10px;
	z-index: 2;
	padding: 6px 8px;
	border-radius: 6px;
	background: rgba(0,0,0,0.6);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}

.zone-card {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-sm);
	overflow: hidden;
	border: 1px solid var(--border);
	flex-shrink: 0;
	background: #fff;
}

.zone-card img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.movie-grid .zone-card {
	grid-column: span 3;
	aspect-ratio: 16 / 9;
}

.scroll-row .zone-card {
	width: calc(var(--card-w) * 2 + var(--slot-gap));
	min-width: calc(var(--card-w) * 2 + var(--slot-gap));
	aspect-ratio: 16 / 9;
}

.page-title {
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 8px;
}

.page-subtitle {
	font-size: 0.84rem;
	color: var(--muted);
	margin-bottom: 14px;
}

.empty-state {
	text-align: center;
	padding: 80px 0;
	color: var(--muted);
}

.empty-state h2 {
	font-size: 1.5rem;
}

.detail-page {
	max-width: 1400px;
	margin: 22px auto 0;
	padding: 0 12px;
}

.breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.84rem;
	color: var(--muted);
	margin-bottom: 14px;
}

.breadcrumb .sep {
	opacity: 0.5;
}

.detail-grid {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 20px;
	margin-bottom: 18px;
}

.detail-poster img {
	width: 100%;
	border-radius: var(--radius);
	border: 1px solid var(--border);
}

.detail-info {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.detail-title {
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 800;
	line-height: 1.12;
}

.detail-sub {
	font-size: 0.95rem;
	color: var(--muted);
}

.detail-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pill {
	display: inline-flex;
	align-items: center;
	height: 28px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
}

.pill-main {
	background: rgba(22,163,74,0.1);
	border: 1px solid rgba(22,163,74,0.3);
	color: var(--accent);
}

.pill-sub {
	background: #f1f1f5;
	border: 1px solid var(--border);
	color: #4e4e56;
}

.meta-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 9px;
	border-radius: 8px;
	border: 1px solid var(--border);
	background: #f8f8fb;
	font-size: 13px;
	color: #555;
}

.meta-item strong {
	color: #111;
}

.meta-item.is-rating strong {
	color: #7f5a00;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.meta-item.is-rating svg {
	fill: var(--star);
	width: 14px;
	height: 14px;
}

.detail-desc {
	font-size: 0.95rem;
	line-height: 1.7;
	color: #4f4f56;
}

.detail-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.detail-tag {
	display: inline-flex;
	align-items: center;
	height: 30px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: #f4f4f8;
	font-size: 12px;
	color: #555;
}

.detail-tag:hover {
	background: #ececf2;
	color: #111;
}

.player-wrap {
	margin-top: 18px;
}

.player-title {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.player-title::before {
	content: '';
	display: block;
	width: 4px;
	height: 20px;
	border-radius: 2px;
	background: var(--accent);
}

.player-box {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius);
	overflow: hidden;
	background: #000;
	border: 1px solid var(--border);
}

.player-box video {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.player-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,0.35);
	cursor: pointer;
}

.player-overlay.is-hidden {
	display: none;
}

.player-play-btn {
	width: 74px;
	height: 74px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(22,163,74,0.92);
	color: #fff;
}

.player-play-btn svg {
	fill: currentColor;
	width: 28px;
	height: 28px;
	margin-left: 3px;
}

.player-close-btn {
	display: none;
	position: absolute;
	top: 12px;
	right: 12px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,0.8);
	color: #fff;
	z-index: 10001;
}

.player-close-btn:hover {
	background: rgba(0,0,0,0.96);
}

.zone-image-modal {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,0.93);
	z-index: 10000;
}

.zone-image-modal[hidden] {
	display: none;
}

.zone-image-modal img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.modal-close-btn {
	position: fixed;
	top: 16px;
	right: 16px;
}

body.zone-lock {
	overflow: hidden;
}

.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 28px 0;
	flex-wrap: wrap;
}

.page-btn,
.page-dots {
	min-width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 11px;
	border-radius: 8px;
	font-size: 13px;
}

.page-btn {
	border: 1px solid var(--border);
	background: #fff;
	color: #555;
}

.page-btn:hover {
	background: #f5f5f8;
	color: #111;
}

.page-btn.active {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
	font-weight: 700;
}

.page-dots {
	color: #aaa;
}

.site-footer {
	margin-top: 38px;
	padding: 42px 20px 26px;
	background: #000;
	color: #aaa;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	text-align: center;
}

.footer-top {
	position: relative;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.footer-brand {
	font-size: 22px;
	font-weight: 700;
	color: #fff;
}

.back-to-top {
	position: absolute;
	right: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.25);
	background: rgba(255,255,255,0.08);
	color: #fff;
	font-size: 20px;
	font-weight: 700;
}

.back-to-top:hover {
	background: var(--accent);
	border-color: var(--accent);
}

.footer-links {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	justify-content: center;
	font-size: 14px;
}

.footer-links a:hover {
	color: #fff;
}

.copyright {
	font-size: 13px;
	opacity: 0.6;
}

.policy-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0,0,0,0.66);
	z-index: 1200;
}

.policy-modal.open {
	display: flex;
}

.policy-modal.uk-open {
	display: flex;
}

.policy-modal-card {
	position: relative;
	width: min(760px, 100%);
	max-height: 86vh;
	overflow: auto;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 18px 20px;
}

.policy-modal-card h3 {
	margin-bottom: 10px;
	font-size: 20px;
}

.policy-modal-card p {
	color: #4e4e56;
	line-height: 1.7;
}

.policy-close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-size: 22px;
	line-height: 1;
	color: #666;
}

.policy-close:hover {
	color: #111;
}

.scroll-top {
	position: fixed;
	right: 18px;
	bottom: 18px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 700;
	background: var(--accent);
	color: #fff;
	box-shadow: 0 8px 18px rgba(0,0,0,0.22);
	opacity: 0;
	transform: translateY(10px);
	transition: 0.24s ease;
	z-index: 200;
}

.scroll-top.show {
	opacity: 1;
	transform: none;
}

@media (max-width: 1024px) {
	.scroll-row {
		--card-w: 200px;
	}

	.detail-grid {
		grid-template-columns: 220px 1fr;
	}
}

@media (max-width: 768px) {
	.nav,
	.search {
		display: none;
	}

	.menu-btn {
		display: inline-flex;
	}

	.hero {
		height: 58vh;
		min-height: 340px;
	}

	.hero-content {
		left: 16px;
		right: 16px;
		bottom: 20px;
	}

	.page {
		padding: 0 10px;
	}

	.movie-grid {
		grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
	}

	.scroll-row {
		--card-w: 176px;
		--slot-gap: 12px;
	}

	.detail-grid {
		grid-template-columns: 1fr;
	}

	.detail-poster {
		max-width: 220px;
		margin: 0 auto;
	}

	.footer-links {
		gap: 12px;
	}
}

@media (max-width: 480px) {
	.header-container {
		padding: 0 12px;
	}

	.hero-content h1 {
		font-size: 1.68rem;
	}

	.hero-content p {
		font-size: 0.88rem;
	}

	.hero-buttons {
		width: 100%;
	}

	.teaser-guide {
		grid-template-columns: 1fr;
	}

	.btn-primary,
	.btn-secondary {
		flex: 1;
	}

	.movie-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.scroll-row {
		--card-w: 156px;
	}

	.movie-content {
		padding: 9px;
	}

	.movie-title {
		font-size: 0.82rem;
	}
}

@media (max-width: 639px) {
	.detail-page .movie-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.detail-page .movie-grid .zone-card {
		grid-column: 1 / -1;
	}
}

.scroll-row.uk-slider-items {
	gap: 0;
	overflow: visible;
	list-style: none;
}

@media (min-width: 960px) {
	.scroll-row.uk-child-width-1-7\@m > * {
		flex-basis: calc(100% / 7);
		max-width: calc(100% / 7);
		width: calc(100% / 7);
	}

	.scroll-row.uk-slider-items > .uk-width-2-7\@m {
		flex-basis: calc(100% / 7 * 2);
		max-width: calc(100% / 7 * 2);
		width: calc(100% / 7 * 2);
	}
}

.scroll-row.uk-slider-items > li {
	padding-right: var(--slot-gap);
	box-sizing: border-box;
	list-style: none;
}

@media (min-width: 960px) {
	.detail-page .movie-grid {
		grid-template-columns: repeat(7, minmax(0, 1fr));
	}
}

.scroll-row.uk-slider-items > .tm-slide > .movie-card,
.scroll-row.uk-slider-items > .tm-slide > .filter-card,
.scroll-row.uk-slider-items .zone-card {
	width: 100%;
	min-width: 0;
}
