/* ============================================
   HotIPTV Theme — main.css
   Dark-tech aesthetic, neon accents, premium blog
   Inspired by hotplayer.app
============================================ */

/* ===== CSS RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	font-family: 'Sora', system-ui, -apple-system, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

/* ===== DESIGN TOKENS ===== */
:root {
	--bg: #07070c;
	--bg-elev: #0f0f17;
	--bg-card: #14141f;
	--bg-glass: rgba(20, 20, 31, 0.7);
	--border: rgba(255, 255, 255, 0.08);
	--border-strong: rgba(255, 255, 255, 0.16);
	--text: #e8e8ee;
	--text-muted: #9c9caa;
	--text-dim: #6a6a78;
	--accent: #ff3d3d;
	--accent-glow: #ff5454;
	--accent-2: #ffd23d;
	--accent-3: #3dffaa;
	--success: #3dffaa;
	--gradient: linear-gradient(135deg, #ff3d3d 0%, #ff7a3d 50%, #ffd23d 100%);
	--shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
	--shadow-md: 0 8px 30px rgba(0,0,0,0.4);
	--shadow-lg: 0 20px 60px rgba(255, 61, 61, 0.15);
	--radius: 14px;
	--radius-lg: 22px;
	--container: 1240px;
	--font-display: 'Outfit', system-ui, sans-serif;
	--font-body: 'Sora', system-ui, sans-serif;
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { color: var(--text-muted); }
a { color: var(--accent); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent-glow); }
img { max-width: 100%; height: auto; display: block; }

/* ===== UTILITIES ===== */
.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}
.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px; width: 1px; overflow: hidden;
}
.skip-link {
	position: absolute;
	left: -9999px;
	top: 1em;
	background: var(--accent);
	color: #fff;
	padding: 8px 16px;
	z-index: 100;
}
.skip-link:focus { left: 1em; }

/* ===== BUTTONS ===== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 100px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all 0.25s var(--ease);
	white-space: nowrap;
	text-decoration: none;
}
.btn-primary {
	background: var(--accent);
	color: #fff;
	box-shadow: 0 8px 24px rgba(255, 61, 61, 0.3);
}
.btn-primary:hover {
	background: var(--accent-glow);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(255, 61, 61, 0.45);
}
.btn-ghost {
	background: transparent;
	color: var(--text);
	border-color: var(--border-strong);
}
.btn-ghost:hover {
	background: var(--bg-card);
	color: var(--text);
	border-color: var(--accent);
}
.btn-outline {
	background: transparent;
	color: var(--text);
	border: 1px solid var(--border-strong);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ===== HEADER ===== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(7, 7, 12, 0.85);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--border);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	height: 76px;
}
.site-logo-text {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.35rem;
	color: var(--text) !important;
	letter-spacing: -0.02em;
}
.logo-mark {
	display: inline-grid;
	place-items: center;
	width: 36px; height: 36px;
	background: var(--accent);
	color: #fff;
	border-radius: 10px;
	font-size: 1rem;
	box-shadow: 0 4px 16px rgba(255, 61, 61, 0.4);
}
.logo-name { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.custom-logo { max-height: 44px; width: auto; }

.main-navigation { flex: 1; display: flex; justify-content: center; }
.primary-menu {
	display: flex;
	gap: 6px;
	list-style: none;
	margin: 0; padding: 0;
}
.primary-menu li a {
	display: block;
	padding: 10px 18px;
	color: var(--text-muted);
	font-weight: 500;
	font-size: 0.95rem;
	border-radius: 100px;
	transition: all 0.2s var(--ease);
}
.primary-menu li a:hover,
.primary-menu li.current-menu-item a,
.primary-menu li.current_page_item a {
	color: var(--text);
	background: var(--bg-card);
}

.menu-toggle {
	display: none;
	width: 44px; height: 44px;
	background: transparent;
	border: 1px solid var(--border-strong);
	border-radius: 10px;
	cursor: pointer;
	flex-direction: column;
	gap: 5px;
	align-items: center;
	justify-content: center;
}
.menu-toggle .bar { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s var(--ease); }
.menu-toggle.is-open .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.is-open .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
	position: relative;
	padding: clamp(60px, 10vw, 140px) 0 clamp(60px, 10vw, 120px);
	overflow: hidden;
	isolation: isolate;
}
.hero-bg-glow {
	position: absolute;
	top: -200px;
	left: 50%;
	transform: translateX(-50%);
	width: 1100px; height: 700px;
	background: radial-gradient(ellipse at center, rgba(255, 61, 61, 0.25) 0%, rgba(255, 61, 61, 0.08) 30%, transparent 60%);
	z-index: -1;
	filter: blur(40px);
	pointer-events: none;
}
.hero-inner { text-align: center; max-width: 900px; margin: 0 auto; }
.hero-eyebrow {
	display: inline-block;
	padding: 8px 18px;
	margin-bottom: 28px;
	border: 1px solid var(--border-strong);
	border-radius: 100px;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	color: var(--text-muted);
	background: var(--bg-glass);
	backdrop-filter: blur(10px);
}
.hero-title {
	font-size: clamp(2.6rem, 7vw, 5.5rem);
	font-weight: 900;
	margin-bottom: 24px;
}
.hero-accent {
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.hero-subtitle {
	font-size: clamp(1rem, 1.4vw, 1.2rem);
	max-width: 640px;
	margin: 0 auto 40px;
	color: var(--text-muted);
	line-height: 1.7;
}
.hero-actions {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 64px;
}
.hero-trust {
	display: flex;
	justify-content: center;
	gap: clamp(24px, 6vw, 80px);
	padding-top: 40px;
	border-top: 1px solid var(--border);
	flex-wrap: wrap;
}
.trust-item { text-align: center; }
.trust-item strong {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	font-weight: 800;
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.trust-item span {
	font-size: 0.85rem;
	color: var(--text-dim);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* ===== SECTIONS ===== */
.section { padding: clamp(60px, 8vw, 100px) 0; position: relative; }
.section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 48px;
	flex-wrap: wrap;
}
.section-eyebrow {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--accent);
	letter-spacing: 0.05em;
	margin-bottom: 12px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
.section-link {
	color: var(--text-muted);
	font-weight: 500;
	font-size: 0.95rem;
	transition: color 0.2s var(--ease);
}
.section-link:hover { color: var(--accent); }

/* ===== CARDS ===== */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 28px;
}
.card-grid-ebooks { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: all 0.35s var(--ease);
	display: flex;
	flex-direction: column;
}
.card:hover {
	transform: translateY(-6px);
	border-color: var(--border-strong);
	box-shadow: var(--shadow-md);
}
.card-image {
	position: relative;
	display: block;
	aspect-ratio: 16/10;
	overflow: hidden;
	background: var(--bg-elev);
}
.card-image-vertical { aspect-ratio: 3/4; }
.card-image img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}
.card:hover .card-image img { transform: scale(1.06); }
.card-image-placeholder {
	width: 100%; height: 100%;
	background: linear-gradient(135deg, var(--bg-elev), var(--bg-card));
	background-image:
		linear-gradient(45deg, rgba(255,61,61,0.05) 25%, transparent 25%),
		linear-gradient(-45deg, rgba(255,61,61,0.05) 25%, transparent 25%);
	background-size: 30px 30px;
}
.card-badge {
	position: absolute;
	top: 14px; right: 14px;
	padding: 6px 12px;
	background: var(--bg-glass);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border-strong);
	border-radius: 100px;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--accent-2);
}
.card-badge-deal {
	background: var(--accent);
	color: #fff;
	border-color: var(--accent);
}
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.8rem;
	color: var(--text-dim);
	margin-bottom: 14px;
}
.card-cat {
	color: var(--accent);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.72rem;
}
.card-title {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 12px;
	line-height: 1.3;
}
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--accent); }
.card-excerpt {
	font-size: 0.92rem;
	color: var(--text-muted);
	margin-bottom: 18px;
	line-height: 1.6;
}
.card-price {
	font-family: var(--font-display);
	font-size: 1.3rem;
	font-weight: 800;
	color: var(--accent-3);
	margin-bottom: 14px;
}
.card-link {
	margin-top: auto;
	color: var(--accent);
	font-weight: 600;
	font-size: 0.9rem;
}
.card-ebook .card-body { padding: 16px; }
.card-ebook .card-title { font-size: 1rem; min-height: 40px; }

/* ===== DEALS BANNER ===== */
.section-deals-banner { padding: 60px 0; }
.deals-banner {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: linear-gradient(135deg, #1a0a14 0%, #2a0d1a 100%);
	border: 1px solid var(--border-strong);
	padding: clamp(40px, 6vw, 70px);
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 40px;
	align-items: center;
}
.deals-banner::before {
	content: "";
	position: absolute;
	top: -50%; right: -20%;
	width: 600px; height: 600px;
	background: radial-gradient(circle, rgba(255, 61, 61, 0.2) 0%, transparent 60%);
	pointer-events: none;
}
.deals-banner-content { position: relative; z-index: 1; max-width: 600px; }
.deals-flag {
	display: inline-block;
	padding: 6px 14px;
	background: rgba(255, 61, 61, 0.15);
	border: 1px solid var(--accent);
	border-radius: 100px;
	color: var(--accent-glow);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin-bottom: 18px;
}
.deals-banner-content h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 16px; }
.deals-banner-content p { font-size: 1rem; margin-bottom: 28px; max-width: 460px; }
.deals-banner-visual {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: end;
}
.deal-tag {
	font-family: var(--font-display);
	font-weight: 900;
	padding: 16px 28px;
	border-radius: 14px;
	font-size: 1.4rem;
	letter-spacing: -0.02em;
	box-shadow: var(--shadow-md);
	animation: float 6s ease-in-out infinite;
}
.deal-tag-1 { background: var(--accent); color: #fff; }
.deal-tag-2 { background: var(--accent-2); color: #07070c; animation-delay: -2s; }
.deal-tag-3 { background: var(--accent-3); color: #07070c; animation-delay: -4s; }
@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

/* ===== NEWSLETTER ===== */
.section-newsletter { padding: 60px 0 100px; }
.newsletter-box {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: clamp(40px, 6vw, 70px);
	text-align: center;
	max-width: 720px;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}
.newsletter-box::before {
	content: "";
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 120%; height: 200%;
	background: radial-gradient(ellipse at center, rgba(255, 61, 61, 0.08) 0%, transparent 60%);
	pointer-events: none;
}
.newsletter-box > * { position: relative; }
.newsletter-box h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.newsletter-box p { margin-bottom: 28px; font-size: 0.98rem; }
.newsletter-form {
	display: flex;
	gap: 10px;
	max-width: 480px;
	margin: 0 auto;
	flex-wrap: wrap;
}
.newsletter-form input {
	flex: 1;
	min-width: 200px;
	padding: 14px 20px;
	background: var(--bg-elev);
	border: 1px solid var(--border-strong);
	border-radius: 100px;
	color: var(--text);
	font-family: inherit;
	font-size: 0.95rem;
	outline: none;
	transition: border-color 0.2s var(--ease);
}
.newsletter-form input:focus { border-color: var(--accent); }

/* ===== PAGE HEADER (archives) ===== */
.page-header-section {
	padding: clamp(50px, 8vw, 90px) 0 clamp(40px, 5vw, 60px);
	border-bottom: 1px solid var(--border);
	margin-bottom: 60px;
	position: relative;
}
.page-header-section::before {
	content: "";
	position: absolute;
	top: 0; left: 50%;
	transform: translateX(-50%);
	width: 800px; height: 100%;
	background: radial-gradient(ellipse at top, rgba(255, 61, 61, 0.1) 0%, transparent 70%);
	pointer-events: none;
}
.page-title { font-size: clamp(2rem, 5vw, 3.6rem); margin-bottom: 16px; }
.page-description { color: var(--text-muted); max-width: 700px; font-size: 1.05rem; }

/* ===== SINGLE ARTICLE ===== */
.content-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 60px;
	padding-bottom: 80px;
}
.single-article, .single-page { max-width: 800px; }
.article-cat {
	display: inline-block;
	padding: 4px 12px;
	background: rgba(255, 61, 61, 0.12);
	color: var(--accent);
	border-radius: 100px;
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 20px;
}
.article-title { font-size: clamp(1.8rem, 4.5vw, 3.2rem); margin-bottom: 24px; line-height: 1.15; }
.article-meta {
	display: flex;
	gap: 18px;
	font-size: 0.88rem;
	color: var(--text-dim);
	margin-bottom: 36px;
	flex-wrap: wrap;
}
.article-meta > * { position: relative; }
.article-meta > *:not(:first-child)::before {
	content: "•"; margin-right: 18px; color: var(--text-dim);
}
.article-hero {
	margin-bottom: 40px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 16/9;
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-content {
	font-size: 1.08rem;
	line-height: 1.8;
	color: var(--text);
}
.article-content > * { margin-bottom: 1.5em; }
.article-content h2 { font-size: 1.8rem; margin-top: 2em; margin-bottom: 0.6em; }
.article-content h3 { font-size: 1.35rem; margin-top: 1.5em; margin-bottom: 0.6em; }
.article-content p { color: var(--text); }
.article-content a { color: var(--accent); border-bottom: 1px solid rgba(255, 61, 61, 0.4); }
.article-content a:hover { border-bottom-color: var(--accent); }
.article-content blockquote {
	padding: 20px 28px;
	border-left: 3px solid var(--accent);
	background: var(--bg-card);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-style: italic;
	color: var(--text);
}
.article-content code {
	background: var(--bg-card);
	padding: 2px 8px;
	border-radius: 6px;
	font-size: 0.92em;
}
.article-content pre {
	background: var(--bg-card);
	padding: 20px;
	border-radius: var(--radius);
	overflow-x: auto;
	border: 1px solid var(--border);
}
.article-content ul, .article-content ol { padding-left: 1.5em; }
.article-content li { margin-bottom: 0.5em; color: var(--text); }
.article-content img { border-radius: var(--radius); margin: 1.5em 0; }

.article-footer {
	margin-top: 60px;
	padding-top: 40px;
	border-top: 1px solid var(--border);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
	padding: 6px 14px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 100px;
	font-size: 0.85rem;
	color: var(--text-muted);
}
.tag:hover { border-color: var(--accent); color: var(--accent); }
.article-share { display: flex; align-items: center; gap: 10px; }
.share-label { color: var(--text-dim); font-size: 0.88rem; }
.article-share a {
	display: grid;
	place-items: center;
	width: 36px; height: 36px;
	border: 1px solid var(--border-strong);
	border-radius: 50%;
	color: var(--text-muted);
	font-weight: 700;
	transition: all 0.2s var(--ease);
}
.article-share a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ===== POST NAV ===== */
.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 60px 0;
}
.post-nav-link {
	padding: 24px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition: all 0.25s var(--ease);
}
.post-nav-link:hover { border-color: var(--accent); }
.post-nav-next { text-align: right; grid-column: 2; }
.post-nav-prev { grid-column: 1; }
.post-nav-label { display: block; font-size: 0.82rem; color: var(--text-dim); margin-bottom: 6px; }
.post-nav-title { display: block; color: var(--text); font-weight: 600; }

/* ===== SIDEBAR ===== */
.sidebar { position: sticky; top: 96px; align-self: start; }
.widget {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 24px;
	margin-bottom: 24px;
}
.widget-title {
	font-size: 1rem;
	margin-bottom: 16px;
	color: var(--text);
}
.widget ul { list-style: none; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.widget li:last-child { border: 0; }
.widget a { color: var(--text-muted); }
.widget a:hover { color: var(--accent); }

/* ===== PAGINATION ===== */
.pagination-nav {
	margin-top: 60px;
	display: flex;
	justify-content: center;
}
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.nav-links .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px; height: 44px;
	padding: 0 14px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 10px;
	color: var(--text-muted);
	font-weight: 600;
	transition: all 0.2s var(--ease);
}
.nav-links .page-numbers:hover,
.nav-links .page-numbers.current {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

/* ===== 404 ===== */
.error-404 {
	display: grid;
	place-items: center;
	min-height: 70vh;
	text-align: center;
}
.error-code {
	font-family: var(--font-display);
	font-size: clamp(8rem, 25vw, 16rem);
	font-weight: 900;
	line-height: 1;
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 20px;
}
.error-title { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 16px; }
.error-text { color: var(--text-muted); margin-bottom: 32px; max-width: 500px; }
.error-actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.error-search { max-width: 500px; margin: 0 auto; }

/* ===== SEARCH FORM ===== */
.search-form { display: flex; gap: 8px; }
.search-form .search-field {
	flex: 1;
	padding: 12px 18px;
	background: var(--bg-card);
	border: 1px solid var(--border-strong);
	border-radius: 100px;
	color: var(--text);
	font-family: inherit;
	outline: none;
}
.search-form .search-field:focus { border-color: var(--accent); }
.search-form .search-submit {
	padding: 12px 22px;
	background: var(--accent);
	border: 0;
	border-radius: 100px;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
}

/* ===== FOOTER ===== */
.site-footer {
	background: var(--bg-elev);
	border-top: 1px solid var(--border);
	margin-top: 80px;
}
.footer-widgets { padding: 70px 0 40px; }
.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 50px;
}
.footer-brand .site-logo-text { margin-bottom: 16px; display: inline-flex; }
.footer-tagline { color: var(--text-muted); font-size: 0.95rem; max-width: 320px; }
.footer-col .widget {
	background: transparent;
	border: 0;
	padding: 0;
}
.footer-col .widget-title { color: var(--text); font-size: 0.95rem; }
.footer-col li { border: 0; padding: 6px 0; }
.footer-bottom {
	padding: 24px 0;
	border-top: 1px solid var(--border);
}
.footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}
.copyright { color: var(--text-dim); font-size: 0.88rem; }
.footer-menu {
	display: flex;
	gap: 24px;
	list-style: none;
	margin: 0; padding: 0;
}
.footer-menu a { color: var(--text-muted); font-size: 0.88rem; }
.footer-menu a:hover { color: var(--accent); }

/* ===== EMPTY STATES ===== */
.empty-state, .empty-state-big {
	text-align: center;
	padding: 60px 20px;
	color: var(--text-muted);
	background: var(--bg-card);
	border: 1px dashed var(--border-strong);
	border-radius: var(--radius);
	grid-column: 1 / -1;
}
.empty-state-big { padding: 100px 20px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
	.content-with-sidebar { grid-template-columns: 1fr; }
	.sidebar { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.deals-banner { grid-template-columns: 1fr; }
	.deals-banner-visual { flex-direction: row; justify-content: center; }
}

@media (max-width: 768px) {
	.menu-toggle { display: flex; }
	.main-navigation .primary-menu {
		display: none;
		position: absolute;
		top: 76px;
		left: 0; right: 0;
		flex-direction: column;
		gap: 0;
		padding: 20px 24px;
		background: var(--bg-elev);
		border-bottom: 1px solid var(--border);
	}
	.main-navigation.is-open .primary-menu { display: flex; }
	.primary-menu li a { padding: 14px 18px; }
	.header-cta { display: none; }
	.footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.footer-bottom-inner { flex-direction: column; text-align: center; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav-next, .post-nav-prev { grid-column: 1; text-align: left; }
}

/* ===== ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
	.hero-eyebrow, .hero-title, .hero-subtitle, .hero-actions, .hero-trust {
		animation: fadeUp 0.8s var(--ease) backwards;
	}
	.hero-eyebrow { animation-delay: 0s; }
	.hero-title { animation-delay: 0.1s; }
	.hero-subtitle { animation-delay: 0.2s; }
	.hero-actions { animation-delay: 0.3s; }
	.hero-trust { animation-delay: 0.4s; }
}
@keyframes fadeUp {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ===== PRINT ===== */
@media print {
	.site-header, .site-footer, .sidebar, .article-share { display: none; }
}

/* ============================================
   LANGUAGE SWITCHER
============================================ */
.header-cta {
	display: flex;
	align-items: center;
	gap: 12px;
}
.lang-switcher {
	position: relative;
}
.lang-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	background: var(--bg-card);
	border: 1px solid var(--border-strong);
	border-radius: 100px;
	color: var(--text);
	font-family: inherit;
	font-size: 0.88rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s var(--ease);
}
.lang-toggle:hover {
	border-color: var(--accent);
}
.lang-flag {
	font-size: 1.1rem;
	line-height: 1;
}
.lang-code {
	letter-spacing: 0.05em;
}
.lang-arrow {
	transition: transform 0.25s var(--ease);
	color: var(--text-muted);
}
.lang-switcher.is-open .lang-arrow {
	transform: rotate(180deg);
}
.lang-menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 220px;
	background: var(--bg-elev);
	border: 1px solid var(--border-strong);
	border-radius: 14px;
	padding: 6px;
	list-style: none;
	margin: 0;
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: all 0.25s var(--ease);
	z-index: 60;
}
.lang-switcher.is-open .lang-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.lang-menu li {
	margin: 0;
}
.lang-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-radius: 10px;
	color: var(--text-muted);
	font-size: 0.92rem;
	transition: all 0.15s var(--ease);
	text-decoration: none;
}
.lang-link:hover {
	background: var(--bg-card);
	color: var(--text);
}
.lang-link.is-current {
	background: rgba(255, 61, 61, 0.1);
	color: var(--accent);
}
.lang-link .lang-name {
	flex: 1;
	font-weight: 500;
}
.lang-check {
	color: var(--accent);
	flex-shrink: 0;
}

/* Mobile language switcher */
@media (max-width: 768px) {
	.header-cta {
		gap: 8px;
	}
	.lang-toggle {
		padding: 8px 12px;
	}
	.lang-toggle .lang-code {
		display: none;
	}
	.lang-menu {
		right: 0;
		min-width: 180px;
	}
}

/* ============================================
   AD SLOTS
============================================ */
.hotiptv-ad-slot {
	margin: 32px 0;
	padding: 16px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	text-align: center;
	min-height: 90px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.hotiptv-ad-slot::before {
	content: "Advertisement";
	position: absolute;
	font-size: 0.7rem;
	color: var(--text-dim);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-top: -70px;
}
.hotiptv-ad-slot iframe,
.hotiptv-ad-slot ins,
.hotiptv-ad-slot > div {
	max-width: 100%;
}

/* ============================================
   SEO COMPONENTS
============================================ */

/* Breadcrumbs */
.breadcrumbs {
	margin-bottom: 24px;
	font-size: 0.85rem;
	color: var(--text-dim);
}
.breadcrumbs ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 0;
	margin: 0;
}
.breadcrumbs li {
	display: inline;
}
.breadcrumbs a {
	color: var(--text-muted);
	transition: color 0.2s var(--ease);
}
.breadcrumbs a:hover {
	color: var(--accent);
}
.breadcrumbs [aria-current="page"] {
	color: var(--text);
}

/* FAQ block (use [hotiptv_faq] shortcode) */
.hotiptv-faq {
	margin: 40px 0;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}
.hotiptv-faq .faq-item {
	padding: 20px 24px;
	border-bottom: 1px solid var(--border);
}
.hotiptv-faq .faq-item:last-child {
	border-bottom: 0;
}
.hotiptv-faq .faq-q {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 10px;
	color: var(--text);
	display: flex;
	align-items: start;
	gap: 12px;
}
.hotiptv-faq .faq-q::before {
	content: "Q.";
	color: var(--accent);
	font-weight: 800;
	flex-shrink: 0;
}
.hotiptv-faq .faq-a {
	color: var(--text-muted);
	padding-left: 28px;
	font-size: 1rem;
	line-height: 1.7;
}

/* HowTo block (use [hotiptv_howto] shortcode) */
.hotiptv-howto {
	margin: 40px 0;
}
.howto-step {
	display: flex;
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid var(--border);
}
.howto-step:last-child {
	border-bottom: 0;
}
.howto-step-num {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	background: var(--accent);
	color: #fff;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.1rem;
}
.howto-step-body h4 {
	margin-bottom: 8px;
	color: var(--text);
}
.howto-step-body p {
	color: var(--text-muted);
	margin: 0;
}

/* Related posts */
.related-posts {
	margin: 60px 0 40px;
	padding-top: 40px;
	border-top: 1px solid var(--border);
}
.related-posts h3 {
	font-size: 1.4rem;
	margin-bottom: 24px;
}
.related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}
.related-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 14px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition: all 0.25s var(--ease);
	color: var(--text);
}
.related-card:hover {
	border-color: var(--accent);
	transform: translateY(-3px);
}
.related-thumb {
	aspect-ratio: 4/3;
	border-radius: 8px;
	overflow: hidden;
	background: var(--bg-elev);
}
.related-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.related-title {
	font-weight: 600;
	font-size: 0.92rem;
	line-height: 1.4;
	color: var(--text);
}
