/* ==========================================================================
   TVStoreLive – main stylesheet
   Streaming-style dark UI built on the logo red (#f20222), black and white.
   ========================================================================== */

/* Fonts (v1.5.0): Poppins 400/600/800, self-hosted, SIL Open Font License (assets/fonts/OFL.txt).
   No preload (it slowed mobile LCP); Latin-Extended only downloads when a page uses those characters. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/poppins-800-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/poppins-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Metric-matched fallback (measured in Chrome against Arial) so text keeps its size while Poppins loads.
   @font-face descriptors cannot use var(): weights here must stay literal numbers. */
@font-face { font-family: "Poppins Fallback"; font-weight: 400; src: local("Arial"), local("ArialMT"); size-adjust: 110.85%; ascent-override: 94.72%; descent-override: 31.57%; line-gap-override: 9.02%; }
@font-face { font-family: "Poppins Fallback"; font-weight: 600 800; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 105%; /* tuned on real headings: hero keeps its line breaks at 1180–1920px */ ascent-override: 97.66%; descent-override: 32.55%; line-gap-override: 9.30%; }

:root {
	--bg: #070708;
	--bg-2: #0e0e11;
	--surface: #15151a;
	--surface-2: #1d1d24;
	--line: rgba(255, 255, 255, .09);
	--text: #f2f2f4;
	--muted: #a3a3ad;
	--brand: #f20222;
	--brand-2: #b0001a;
	--brand-glow: rgba(242, 2, 34, .45);
	--accent: #ff4d5e;
	--wa: #25d366;
	--tp: #00b67a;
	--warn: #ffb020;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
	--container: 1180px;
	--font: "Poppins", "Poppins Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	/* ---- v1.5.0 design foundations ("Cinema at night, in red") ----------- */
	/* Surface levels: page < level 1 (alternate bands) < level 2 (cards) < level 3 (raised). */
	--s0: var(--bg);
	--s1: var(--bg-2);
	--s2: var(--surface);
	--s3: var(--surface-2);
	/* Colour roles: solid brand red = primary action/active only; neon = glow on 1–2 focal points per page. */
	--neon: #ff2438;
	--link: var(--accent);
	--link-hover: #ff8a95;
	--text-strong: #fff;
	--text-2: #d4d4da;
	--glow-red: 0 10px 30px -10px var(--brand-glow);
	--glow-red-hover: 0 14px 34px -8px var(--brand-glow);
	--glow-neon: 0 0 40px rgba(255, 36, 56, .45);
	/* Type: three weights only (400 / 600 / 800). */
	--fw-regular: 400;
	--fw-semibold: 600;
	--fw-bold: 800;
	--fs-xs: .75rem;
	--fs-sm: .875rem;
	--fs-base: 1rem;
	--fs-md: 1.0625rem;
	--fs-lg: 1.25rem;
	--fs-h1: clamp(2rem, 4.6vw, 3.4rem);
	--fs-h2: clamp(1.6rem, 3.2vw, 2.4rem);
	--fs-h3: 1.15rem;
	--lh-tight: 1.2;
	--lh-body: 1.65;
	/* Spacing and radius scales. */
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 48px;
	--space-8: 64px;
	--radius-xs: 6px;
	--radius-lg: 20px;
	--radius-xl: 24px;
	--radius-pill: 999px;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: var(--fs-base);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
h1, h2, h3, h4 { line-height: var(--lh-tight); margin: 0 0 .6em; font-weight: var(--fw-semibold); letter-spacing: -.01em; color: var(--text-strong); }
h1 { font-size: var(--fs-h1); font-weight: var(--fw-bold); }
h2 { font-size: var(--fs-h2); font-weight: var(--fw-bold); }
h3, .h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.center { text-align: center; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 860px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
	font-weight: var(--fw-semibold); font-size: .95rem; line-height: 1.2; white-space: nowrap;
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 10px 30px -10px var(--brand-glow); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 34px -8px var(--brand-glow); }
.btn-outline { border-color: var(--line); color: #fff; background: rgba(255, 255, 255, .03); }
.btn-outline:hover { border-color: var(--brand); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .12); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.btn-whatsapp { background: var(--wa); color: #052e14; }
.btn-whatsapp:hover { color: #052e14; box-shadow: 0 12px 30px -10px rgba(37, 211, 102, .6); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: var(--fw-semibold); }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Topbar ----------------------------------------------------------------- */
.topbar { background: #040405; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 6px; }
.topbar p .icon { color: var(--warn); }
.topbar-tp { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.topbar-tp:hover { color: #fff; }
.tp-stars { display: inline-flex; color: var(--tp); }

/* Header ----------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(7, 7, 8, .85);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: var(--fw-bold); font-size: 1.35rem; letter-spacing: -.02em; }
.brand:hover { color: #fff; }
.brand-name b { color: var(--brand); font-weight: var(--fw-bold); }
.custom-logo { max-height: 48px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav .menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav .menu a { display: block; padding: 8px 12px; border-radius: 8px; color: #d9d9de; font-weight: var(--fw-regular); font-size: .95rem; }
.main-nav .menu a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: #fff; background: rgba(255, 255, 255, .06); }
.main-nav .sub-menu { display: none; }
.lang-switch { font-size: .9rem; }
.lang-switch .trp-language-switcher { width: auto; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; }
.nav-toggle-close { display: none; }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; padding: 72px 0 48px; overflow: hidden; }
.hero-glow, .page-hero .hero-glow {
	position: absolute; inset: -20% -10% auto; height: 640px; pointer-events: none; z-index: 0;
	background:
		radial-gradient(600px 300px at 20% 30%, rgba(242, 2, 34, .28), transparent 70%),
		radial-gradient(500px 280px at 85% 20%, rgba(255, 77, 94, .18), transparent 70%);
}
.hero .container, .page-hero .container { position: relative; z-index: 1; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: .8rem; font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: .12em;
	color: var(--accent); margin-bottom: 14px;
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }
.hero h1 { margin-bottom: 18px; }
.hero-text { font-size: 1.12rem; color: #c6c6cd; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-actions-center { justify-content: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; color: var(--muted); font-size: .92rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .icon { color: var(--wa); }

.hero-visual { position: relative; }
.screen {
	position: relative; border-radius: 22px; padding: 14px;
	background: linear-gradient(160deg, #1c1c22, #0b0b0e);
	border: 1px solid rgba(255, 255, 255, .14);
	box-shadow: 0 40px 80px -30px rgba(242, 2, 34, .45), var(--shadow);
	transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
}
.screen-bar { display: flex; align-items: center; gap: 6px; padding: 2px 4px 12px; }
.screen-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.screen-bar em { margin-left: auto; font-style: normal; font-size: .7rem; font-weight: var(--fw-bold); color: #fff; background: #ef4444; padding: 2px 8px; border-radius: 6px; letter-spacing: .08em; }
.screen-player {
	aspect-ratio: 16 / 9; border-radius: 14px; display: grid; place-items: center;
	background:
		radial-gradient(circle at 30% 30%, rgba(255, 77, 94, .35), transparent 50%),
		radial-gradient(circle at 75% 70%, rgba(242, 2, 34, .45), transparent 55%),
		linear-gradient(135deg, #1a0a0d, #09090b);
}
.screen-player .brand-mark { filter: drop-shadow(0 10px 30px rgba(242, 2, 34, .7)); }
.screen-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.screen-grid i { aspect-ratio: 3 / 4; border-radius: 8px; background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); }
.screen-grid i:nth-child(2n) { background: linear-gradient(160deg, rgba(242, 2, 34, .4), rgba(242, 2, 34, .08)); }
.float-card {
	position: absolute; display: flex; align-items: center; gap: 10px;
	padding: 10px 14px; border-radius: 14px; font-size: .8rem; line-height: 1.25;
	background: rgba(21, 21, 26, .92); border: 1px solid var(--line); box-shadow: var(--shadow);
	backdrop-filter: blur(8px);
}
.float-card strong { display: block; color: #fff; font-size: .95rem; }
.float-card span { color: var(--muted); }
.float-card .icon { color: var(--accent); }
.float-card-a { left: -24px; bottom: 28%; animation: float 5s ease-in-out infinite; }
.float-card-b { right: -12px; top: -18px; animation: float 6s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translateY(-8px); } }

.stats {
	list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
	margin-top: 64px; border-radius: var(--radius); overflow: hidden;
	background: var(--line); border: 1px solid var(--line);
}
.stats li { background: var(--bg-2); padding: 22px 16px; text-align: center; }
.stats strong { display: block; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: var(--fw-bold); color: #fff; }
.stats span { color: var(--muted); font-size: .9rem; }

/* Page hero -------------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding: 48px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 860px; }
.page-intro { color: #c6c6cd; font-size: 1.08rem; max-width: 720px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: #fff; }

/* Sections --------------------------------------------------------------- */
.section { padding: 84px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-more { text-align: center; margin-top: 32px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
	background: linear-gradient(180deg, var(--surface), var(--bg-2));
	border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
	transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(242, 2, 34, .5); transform: translateY(-3px); }
.card p { color: var(--muted); margin: 0; }
.card-icon {
	display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px;
	background: rgba(242, 2, 34, .14); color: var(--accent); border: 1px solid rgba(242, 2, 34, .3);
}
.card-icon-wa { background: rgba(37, 211, 102, .14); color: var(--wa); border-color: rgba(37, 211, 102, .3); }
.card-icon-ig { background: rgba(236, 72, 153, .14); color: #f472b6; border-color: rgba(236, 72, 153, .3); }
.card-grid-tight .card { padding: 22px; }
.card-row { display: flex; gap: 16px; align-items: flex-start; }
.card-row .card-icon { flex: none; margin: 0; width: 46px; height: 46px; }
.card-row h3 { margin-bottom: .3em; }
.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }
.card-link .link-arrow { margin-top: 14px; color: var(--accent); word-break: break-all; }

/* Devices ---------------------------------------------------------------- */
.device-list { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.device-list li {
	display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
	padding: 24px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
	font-weight: var(--fw-semibold); font-size: .92rem;
}
.device-list span { color: var(--accent); }

/* Pricing ---------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
	position: relative; display: flex; flex-direction: column;
	padding: 30px 24px; border-radius: 20px;
	background: linear-gradient(180deg, var(--surface), var(--bg-2));
	border: 1px solid var(--line);
}
.plan-featured {
	border: 2px solid var(--brand);
	background: linear-gradient(180deg, #2a0a10, var(--bg-2));
	box-shadow: 0 30px 60px -30px var(--brand-glow);
	transform: translateY(-8px);
}
.plan-badge {
	position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
	background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
	font-size: .75rem; font-weight: var(--fw-bold); padding: 5px 14px; border-radius: 999px; white-space: nowrap; text-transform: uppercase; letter-spacing: .06em;
}
.plan:not(.plan-featured) .plan-badge { background: var(--surface-2); border: 1px solid var(--line); }
.plan-name { font-size: 1.05rem; color: var(--muted); font-weight: var(--fw-semibold); margin-bottom: 10px; }
.plan-name span { display: block; color: #fff; font-size: 1.35rem; font-weight: var(--fw-bold); }
.plan-price { margin: 0 0 4px; }
.plan-price strong { display: block; font-size: 2.8rem; font-weight: var(--fw-bold); color: #fff; line-height: 1.05; }
.plan-per { color: var(--muted); font-size: .9rem; }
.plan-save { display: inline-block; align-self: flex-start; font-size: .78rem; font-weight: var(--fw-bold); color: var(--wa); background: rgba(37, 211, 102, .12); padding: 3px 10px; border-radius: 999px; margin: 6px 0 0; }
.plan-features { list-style: none; margin: 22px 0 26px; display: grid; gap: 10px; font-size: .92rem; color: #cacad1; flex: 1; }
.plan-features li { display: flex; gap: 8px; align-items: flex-start; }
.plan-features .icon { flex: none; color: var(--wa); margin-top: 3px; }
.pricing-notes { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 40px; color: var(--muted); font-size: .92rem; }
.pricing-notes li, .pricing-notes a { display: inline-flex; align-items: center; gap: 8px; }
.pricing-notes .icon { color: var(--accent); }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--surface); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table tbody th { color: #fff; }

/* Steps ------------------------------------------------------------------ */
.step-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.step { position: relative; text-align: center; padding: 36px 24px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step-num { position: absolute; top: 14px; left: 18px; font-size: 2.6rem; font-weight: var(--fw-bold); color: rgba(255, 255, 255, .06); line-height: 1; }
.step-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; margin-bottom: 16px; box-shadow: 0 10px 30px -10px var(--brand-glow); }
.step p { color: var(--muted); margin: 0; }

/* Reviews ---------------------------------------------------------------- */
.reviews { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tp-summary { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: #e4e4e9; font-size: .92rem; }
.tp-summary:hover { color: #fff; border-color: var(--tp); }
.tp-logo { display: inline-flex; align-items: center; gap: 4px; font-weight: var(--fw-bold); color: #fff; }
.tp-logo .icon { color: var(--tp); }
.tp-boxes { display: inline-flex; gap: 2px; }
.tp-boxes i { display: inline-grid; place-items: center; width: 22px; height: 22px; background: var(--tp); color: #fff; }
.float-card .tp-boxes i { width: 16px; height: 16px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.review .tp-boxes i { width: 20px; height: 20px; }
.review-title { margin: 4px 0 0; font-weight: var(--fw-bold); color: #fff; }
.review blockquote { margin: 0; color: #cacad1; flex: 1; }
.review blockquote p { margin: 0; }
.review figcaption { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); }
.review figcaption strong { color: #fff; }
.avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: var(--fw-bold); color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }

/* FAQ -------------------------------------------------------------------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.faq-item[open] { border-color: rgba(242, 2, 34, .45); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.02rem; font-weight: var(--fw-semibold); }
.faq-item summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 18px; color: #c6c6cd; }
.faq-answer p { margin: 0; }

/* CTA band --------------------------------------------------------------- */
.cta-band { padding: 72px 0; }
.cta-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 32px;
	padding: 48px; border-radius: 24px;
	background:
		radial-gradient(500px 200px at 10% 0%, rgba(255, 77, 94, .3), transparent 70%),
		linear-gradient(135deg, #5a0712, #1a0508);
	border: 1px solid rgba(255, 77, 94, .3);
}
.cta-inner h2 { margin-bottom: .3em; }
.cta-inner p { margin: 0; color: #f1d6d9; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* Installation guide ----------------------------------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.tab {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px;
	background: var(--surface); border: 1px solid var(--line); color: #d9d9de; font-weight: var(--fw-semibold); font-size: .9rem;
}
.tab[aria-selected="true"] { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-color: transparent; color: #fff; }
.guide { max-width: 860px; margin: 0 auto; padding: 36px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.js .guide[data-hidden] { display: none; }
.guide + .guide { margin-top: 24px; }
.js .guide + .guide { margin-top: 0; }
.guide h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.guide-app { color: var(--muted); }
.guide-steps { list-style: none; counter-reset: step; display: grid; gap: 14px; margin: 24px 0; }
.guide-steps li { counter-increment: step; position: relative; padding: 14px 16px 14px 60px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.guide-steps li::before {
	content: counter(step); position: absolute; left: 14px; top: 12px;
	width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
	background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: var(--fw-bold); font-size: .9rem;
}
.guide-steps strong { color: #fff; }
.guide-help { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); }
.guide-help p { margin: 0; color: var(--muted); }

/* Blog ------------------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s, transform .2s; }
.post-card:hover { border-color: rgba(242, 2, 34, .5); transform: translateY(-3px); }
.post-card-media img, .post-card-placeholder { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.post-card-placeholder { display: grid; place-items: center; background: linear-gradient(135deg, #1d0b0f, #0b0b0e); }
.post-card-body { padding: 20px 22px 24px; }
.post-card-title { font-size: 1.12rem; margin-bottom: .4em; }
.post-card-title a { color: #fff; }
.post-card-title a:hover { color: var(--accent); }
.post-card-body p:last-child { color: var(--muted); margin: 0; font-size: .94rem; }
.post-meta { color: var(--muted); font-size: .85rem; margin-bottom: 8px; }
.post-hero-img { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }
.post-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 48px 0; padding: 24px; border-radius: var(--radius); background: linear-gradient(135deg, #5a0712, #1a0508); border: 1px solid rgba(255, 77, 94, .3); }
.post-cta p { margin: 0; }
.related { margin-top: 56px; }
.related .post-grid { grid-template-columns: repeat(3, 1fr); }
.related .post-card-title { font-size: 1rem; }
.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: #fff; }
.page-numbers.current { background: var(--brand); border-color: var(--brand); }
.empty { text-align: center; color: var(--muted); }

/* Entry content (editor output) ----------------------------------------- */
.entry-content { color: #cfcfd6; font-size: 1.04rem; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.entry-content h3 { margin-top: 1.5em; font-size: 1.25rem; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .4em; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--brand); color: #fff; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--line); }
.entry-content code { background: var(--surface); padding: 2px 6px; border-radius: 6px; }

/* Forms ------------------------------------------------------------------ */
.search-form { display: flex; gap: 8px; max-width: 460px; margin: 24px auto 0; }
.search-form label { flex: 1; }
.search-field, input[type="text"], input[type="email"], input[type="url"], textarea {
	width: 100%; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line);
	background: var(--surface); color: #fff; font: inherit;
}
.search-submit, input[type="submit"] { padding: 12px 20px; border-radius: 12px; border: 0; background: var(--brand); color: #fff; font-weight: var(--fw-semibold); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: #040405; border-top: 1px solid var(--line); padding: 64px 0 24px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { color: var(--muted); margin: 16px 0 20px; max-width: 360px; }
.footer-title { font-weight: var(--fw-bold); color: #fff; margin-bottom: 14px; }
.site-footer .menu { list-style: none; display: grid; gap: 8px; }
.site-footer .menu a { color: var(--muted); }
.site-footer .menu a:hover { color: #fff; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: #fff; }
.social a:hover { border-color: var(--brand); color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.footer-bottom p { margin: 0; }

.wa-float {
	position: fixed; right: 18px; bottom: 18px; z-index: 90;
	width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
	background: var(--wa); color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7);
	transition: transform .2s;
}
.wa-float:hover { color: #fff; transform: scale(1.08); }

/* Language suggestion bar ------------------------------------------------ */
.lang-bar {
	position: fixed; left: 50%; bottom: 18px; z-index: 95; transform: translateX(-50%);
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
	width: max-content; max-width: calc(100% - 110px);
	padding: 10px 12px 10px 18px; border-radius: 14px;
	background: var(--surface-2); border: 1px solid rgba(255, 77, 94, .35); box-shadow: var(--shadow);
	font-size: .92rem;
}
.lang-bar .btn { padding: 8px 16px; font-size: .88rem; }
.lang-bar-close { background: none; border: 0; color: var(--muted); padding: 6px; }
.lang-bar-close:hover { color: #fff; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
	.plans { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
	.plan-featured { transform: none; }
	.device-list { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.main-nav {
		position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 20px; background: var(--bg); border-bottom: 1px solid var(--line);
		max-height: calc(100vh - 72px); overflow-y: auto;
		transform: translateY(-12px); opacity: 0; visibility: hidden;
		transition: opacity .2s, transform .2s, visibility .2s;
	}
	.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
	.nav-open .nav-toggle-open { display: none; }
	.nav-open .nav-toggle-close { display: inline; }
	.main-nav .menu { flex-direction: column; align-items: stretch; }
	.main-nav .menu a { padding: 12px 14px; font-size: 1.05rem; }
	.hero-inner { grid-template-columns: 1fr; gap: 48px; }
	.hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
	.screen { transform: none; }
	.card-grid, .review-grid, .post-grid, .related .post-grid { grid-template-columns: repeat(2, 1fr); }
	.step-list { grid-template-columns: 1fr; }
	.cta-inner { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
}

@media (max-width: 640px) {
	body { font-size: var(--fs-base); } /* v1.5.0: 16px minimum on phones (was 15.5px). */
	.container { padding: 0 16px; }
	.topbar p span { display: none; }
	.topbar-inner { justify-content: center; }
	.hero { padding: 44px 0 32px; }
	.hero-actions .btn { width: 100%; }
	.float-card-a { left: 8px; bottom: -18px; }
	.float-card-b { right: 8px; }
	.stats { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
	.section { padding: 60px 0; }
	.section-head { margin-bottom: 32px; }
	.card-grid, .review-grid, .post-grid, .related .post-grid, .plans { grid-template-columns: 1fr; }
	.device-list { grid-template-columns: repeat(2, 1fr); }
	.guide { padding: 22px 18px; }
	.guide-steps li { padding-left: 54px; }
	.cta-actions, .cta-actions .btn { width: 100%; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.lang-bar { left: 16px; right: 84px; transform: none; max-width: none; width: auto; justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   v1.1 – red brand, latest titles, VPN, channel management
   ========================================================================== */

.brand-mark { flex: none; filter: drop-shadow(0 0 6px rgba(242, 2, 34, .55)); }
.brand-name b { color: var(--brand); }
.screen-player .brand-mark { filter: drop-shadow(0 0 22px rgba(242, 2, 34, .8)); }
.screen-grid i { overflow: hidden; }
.screen-grid i img { width: 100%; height: 100%; object-fit: cover; }
.admin-hint { padding: 14px 18px; border: 1px dashed var(--accent); border-radius: 12px; color: var(--muted); text-align: center; }

.check-list { list-style: none; display: grid; gap: 10px; margin: 0 0 26px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: #dcdce2; }
.check-list .icon { flex: none; color: var(--brand); margin-top: 3px; }

/* Latest titles rail ----------------------------------------------------- */
.titles { padding-top: 56px; }
.titles-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.titles-head h2 { margin: 0; }
.titles-head .eyebrow { margin-bottom: 8px; }
.titles-tools { display: flex; align-items: center; gap: 14px; }
.chips { display: inline-flex; gap: 6px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.chip { border: 0; background: transparent; color: var(--muted); padding: 7px 16px; border-radius: 999px; font-weight: var(--fw-semibold); font-size: .88rem; }
.chip[aria-pressed="true"] { background: var(--brand); color: #fff; }
.rail-arrows { display: inline-flex; gap: 6px; }
.rail-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: #fff; font-size: 1.5rem; line-height: 1; display: grid; place-items: center; }
.rail-btn:hover { border-color: var(--brand); color: var(--brand); }
.rail {
	list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 16px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding: 6px 2px 18px; margin: 0 -2px; scrollbar-width: thin; scrollbar-color: #2a2a33 transparent;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: #2a2a33; border-radius: 6px; }
.poster-card { scroll-snap-align: start; }
.poster-card[hidden] { display: none; }
.poster-card figure { margin: 0; }
.poster-img {
	position: relative; aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden;
	background: var(--surface); border: 1px solid var(--line);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.poster-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.poster-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .65)); opacity: 0; transition: opacity .25s; }
.poster-card:hover .poster-img { transform: translateY(-4px); border-color: rgba(242, 2, 34, .6); box-shadow: 0 18px 40px -18px rgba(242, 2, 34, .6); }
.poster-card:hover .poster-img img { transform: scale(1.05); }
.poster-card:hover .poster-img::after { opacity: 1; }
.poster-badge { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--brand); color: #fff; font-size: .7rem; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 6px; }
.poster-card figcaption { padding: 10px 2px 0; }
.poster-title { display: block; color: #fff; font-weight: var(--fw-semibold); font-size: .95rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poster-meta { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* VPN banner ------------------------------------------------------------- */
.vpn { padding-top: 24px; }
.vpn-card {
	display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center;
	padding: 48px; border-radius: 24px; position: relative; overflow: hidden;
	background:
		radial-gradient(420px 260px at 0% 50%, rgba(242, 2, 34, .22), transparent 70%),
		linear-gradient(135deg, #17171c, #0c0c0f);
	border: 1px solid rgba(242, 2, 34, .3);
}
.vpn-visual { position: relative; width: 220px; height: 220px; margin: 0 auto; display: grid; place-items: center; }
.vpn-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(242, 2, 34, .55); box-shadow: 0 0 30px rgba(242, 2, 34, .35), inset 0 0 30px rgba(242, 2, 34, .2); animation: ring 3.2s ease-in-out infinite; }
.vpn-ring-2 { inset: 28px; border-color: rgba(255, 255, 255, .15); box-shadow: none; animation-delay: -1.6s; }
@keyframes ring { 50% { transform: scale(1.05); opacity: .7; } }
.vpn-shield { width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 35% 30%, #ff3b4f, #a30017); box-shadow: 0 0 40px rgba(242, 2, 34, .6); }
.vpn-copy h2 { margin-bottom: 12px; }
.vpn-lead { font-size: 1.1rem; color: #dcdce2; }

/* Channel management ----------------------------------------------------- */
.channels-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.channels-lead { font-size: 1.08rem; color: #dcdce2; }
.channels-note { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.channels-note .icon { color: var(--brand); flex: none; }
.cm-panel { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.cm-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #1b1b21; border-bottom: 1px solid var(--line); }
.cm-dots { display: inline-flex; gap: 6px; }
.cm-dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a44; }
.cm-dots i:first-child { background: var(--brand); }
.cm-url { flex: 1; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 8px; background: #0e0e11; color: var(--muted); font-size: .8rem; }
.cm-body { padding: 22px; }
.cm-label { font-size: .75rem; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 10px; }
.cm-toggles { list-style: none; display: grid; gap: 8px; margin-bottom: 22px; }
.cm-toggles li { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: .92rem; }
.cm-toggles i { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #34343d; transition: background .2s; }
.cm-toggles i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.cm-toggles li.on i { background: var(--brand); }
.cm-toggles li.on i::after { transform: translateX(16px); }
.cm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.cm-chips span { padding: 6px 14px; border-radius: 999px; font-size: .85rem; border: 1px solid var(--line); color: var(--muted); }
.cm-chips span.on { background: rgba(242, 2, 34, .15); border-color: rgba(242, 2, 34, .55); color: #fff; }
.cm-save { display: block; text-align: center; padding: 11px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: var(--fw-semibold); font-size: .92rem; }

@media (max-width: 960px) {
	.vpn-card { grid-template-columns: 1fr; padding: 36px 28px; gap: 24px; text-align: left; }
	.vpn-visual { width: 170px; height: 170px; }
	.vpn-shield { width: 88px; height: 88px; }
	.channels-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
	.rail { grid-auto-columns: 42vw; gap: 12px; }
	.rail-arrows { display: none; }
	.titles-tools { width: 100%; }
	.vpn-card { padding: 28px 20px; }
}

.vpn-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) { .vpn-actions .btn { width: 100%; } }

.plans-3 { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin: 0 auto; }
.guide-steps code { word-break: break-all; font-size: .85em; background: rgba(255, 255, 255, .06); padding: 2px 6px; border-radius: 6px; color: #fff; }
@media (max-width: 1080px) { .plans-3 { grid-template-columns: 1fr; max-width: 420px; } }

/* ==========================================================================
   v1.2 – Featured slider, movie/series rails, genres, catalogue
   ========================================================================== */
.section-tight { padding: 44px 0; }
.titles + .titles, .titles + .featured, .featured + .titles { padding-top: 12px; }
.titles-tools .link-arrow { font-size: .95rem; white-space: nowrap; }

/* Poster hover: genre label slides up */
.poster-hover {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 28px 10px 10px;
	font-size: .75rem; font-weight: var(--fw-semibold); color: #fff; text-align: center;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .85));
	transform: translateY(100%); transition: transform .25s ease;
}
.poster-card:hover .poster-hover, .poster-card:focus-within .poster-hover { transform: none; }
.poster-img::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .25s; pointer-events: none; }
.poster-card:hover .poster-img::before { box-shadow: inset 0 0 0 2px var(--brand); }

/* Featured slider */
.featured { padding: 20px 0 44px; }
.featured-stage { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 21 / 9; min-height: 380px; background: #000; border: 1px solid var(--line); }
.featured-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.featured-slide.is-active { opacity: 1; visibility: visible; }
.featured-bg, .featured-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-bg img { transform: scale(1.06); transition: transform 8s ease-out; }
.featured-slide.is-active .featured-bg img { transform: scale(1); }
.featured-bg.is-poster img { object-position: center 25%; filter: blur(2px) brightness(.8); }
.featured-bg::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(5, 5, 6, .95) 0%, rgba(5, 5, 6, .75) 35%, rgba(5, 5, 6, .1) 70%),
		linear-gradient(0deg, rgba(5, 5, 6, .9) 0%, transparent 45%);
}
.featured-content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 48px; max-width: 620px; }
.featured-title { font-size: clamp(1.8rem, 4.2vw, 3.2rem); font-weight: var(--fw-bold); margin-bottom: 10px; text-shadow: 0 4px 24px rgba(0, 0, 0, .6); }
.featured-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.featured-meta span { font-size: .8rem; font-weight: var(--fw-semibold); padding: 4px 10px; border-radius: 6px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); color: #fff; }
.featured-meta span:first-child { background: var(--brand); border-color: var(--brand); }
.featured-overview { color: #dcdce2; font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.featured-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.featured-dots { position: absolute; right: 24px; bottom: 24px; z-index: 2; display: flex; gap: 8px; }
.featured-dot { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .35); transition: width .3s, background .3s; }
.featured-dot[aria-selected="true"] { width: 30px; background: var(--brand); }

/* Genre cards */
.genre-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.genre-card {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end;
	height: 170px; padding: 18px; border-radius: 16px; overflow: hidden; color: #fff;
	background: linear-gradient(135deg, #1d0b0f, #0e0e11); border: 1px solid var(--line);
	transition: transform .25s, border-color .25s, box-shadow .25s;
}
.genre-card:hover { color: #fff; transform: translateY(-4px); border-color: rgba(242, 2, 34, .6); box-shadow: 0 18px 40px -20px rgba(242, 2, 34, .7); }
.genre-art { position: absolute; top: 0; right: -10px; bottom: 0; display: flex; align-items: center; gap: 0; pointer-events: none; }
.genre-art img { width: 84px; height: 126px; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 24px rgba(0, 0, 0, .6); transition: transform .35s ease; }
.genre-art img:nth-child(1) { transform: rotate(-10deg) translate(30px, 8px); opacity: .55; }
.genre-art img:nth-child(2) { transform: rotate(-3deg) translate(10px, 0); opacity: .75; }
.genre-art img:nth-child(3) { transform: rotate(5deg) translate(-12px, -4px); }
.genre-card:hover .genre-art img:nth-child(1) { transform: rotate(-14deg) translate(18px, 6px); }
.genre-card:hover .genre-art img:nth-child(3) { transform: rotate(8deg) translate(-4px, -8px); }
.genre-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 14, 17, .95) 30%, rgba(14, 14, 17, .2)); pointer-events: none; }
.genre-name, .genre-count { position: relative; z-index: 1; }
.genre-name { font-size: 1.2rem; font-weight: var(--fw-bold); }
.genre-count { font-size: .82rem; color: var(--muted); }

/* Catalogue page */
.catalogue-nav { display: grid; gap: 14px; margin-bottom: 28px; }
.genre-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.genre-chips .chip { border: 1px solid var(--line); background: var(--surface); }
a.chip { display: inline-block; color: var(--muted); }
a.chip:hover { color: #fff; }
.chip[aria-current="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.catalogue-nav > .chips { justify-self: start; }
.poster-grid { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px 16px; }

@media (max-width: 1080px) {
	.genre-grid { grid-template-columns: repeat(2, 1fr); }
	.poster-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
	.featured-stage { aspect-ratio: auto; height: 460px; }
	.featured-content { padding: 32px; }
	.featured-bg::after { background: linear-gradient(0deg, rgba(5, 5, 6, .97) 15%, rgba(5, 5, 6, .55) 55%, rgba(5, 5, 6, .15)); }
}
@media (max-width: 640px) {
	.section-tight { padding: 32px 0; }
	.featured-stage { height: 520px; border-radius: 18px; }
	.featured-content { padding: 22px 20px 54px; }
	.featured-actions .btn { flex: 1; }
	.featured-dots { left: 20px; right: auto; bottom: 20px; }
	.genre-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.genre-card { height: 130px; padding: 14px; }
	.genre-art img { width: 62px; height: 93px; }
	.genre-name { font-size: 1rem; }
	.poster-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
	.titles-tools .link-arrow { font-size: .88rem; }
}

/* v1.3 – accuracy notes, TMDB credit */
.featured-note { margin: 12px 0 0; font-size: .8rem; color: #b9b9c2; }
.catalogue-note { margin: 32px 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
.tmdb-credit { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tmdb-credit img { display: inline-block; height: 12px; width: auto; }

/* ==========================================================================
   v1.4 – Home page / catalogue while no titles are published
   ========================================================================== */
.admin-hint-wrap { padding-bottom: 0; }
.teaser { padding-top: 56px; }
.teaser-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.teaser-tile {
	--tone: 242, 2, 34;
	position: relative; display: flex; flex-direction: column; justify-content: flex-end;
	min-height: 300px; padding: 22px; border-radius: 18px; overflow: hidden; isolation: isolate;
	background:
		radial-gradient(260px 200px at 100% 0%, rgba(var(--tone), .32), transparent 70%),
		linear-gradient(180deg, var(--surface), var(--bg-2));
	border: 1px solid var(--line);
	transition: transform .25s, border-color .25s, box-shadow .25s;
}
.teaser-tile.tone-violet { --tone: 139, 92, 246; }
.teaser-tile.tone-amber  { --tone: 255, 176, 32; }
.teaser-tile.tone-blue   { --tone: 56, 132, 255; }
.teaser-tile:hover { transform: translateY(-4px); border-color: rgba(var(--tone), .55); box-shadow: 0 18px 40px -20px rgba(var(--tone), .7); }

/* Abstract "poster stack" artwork – no real titles or images. */
.teaser-art { position: absolute; top: 18px; right: -14px; z-index: -1; display: flex; pointer-events: none; }
.teaser-art i {
	width: 64px; aspect-ratio: 2 / 3; margin-left: -18px; border-radius: 8px;
	background: linear-gradient(160deg, rgba(var(--tone), .55), rgba(var(--tone), .08) 70%);
	border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 10px 24px rgba(0, 0, 0, .55);
	transition: transform .35s ease;
}
.teaser-art i:nth-child(1) { transform: rotate(-12deg) translateY(14px); opacity: .45; }
.teaser-art i:nth-child(2) { transform: rotate(-5deg) translateY(4px); opacity: .65; }
.teaser-art i:nth-child(3) { transform: rotate(2deg); opacity: .85; background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(var(--tone), .15) 70%); }
.teaser-art i:nth-child(4) { transform: rotate(9deg) translateY(8px); }
.teaser-tile:hover .teaser-art i:nth-child(1) { transform: rotate(-16deg) translate(-6px, 12px); }
.teaser-tile:hover .teaser-art i:nth-child(4) { transform: rotate(13deg) translate(4px, 4px); }
.teaser-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 14, 17, .96) 38%, rgba(14, 14, 17, 0) 75%); }

.teaser-icon {
	display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 12px;
	color: rgb(var(--tone)); background: rgba(var(--tone), .14); border: 1px solid rgba(var(--tone), .35);
}
.teaser-tile.tone-red .teaser-icon { color: var(--accent); }
.teaser-kicker { font-size: 1.7rem; font-weight: var(--fw-bold); line-height: 1.1; color: #fff; }
.teaser-tile h3 { margin: 4px 0 6px; font-size: 1.05rem; }
.teaser-tile p { margin: 0; color: var(--muted); font-size: .9rem; }

.catalogue-empty {
	max-width: 640px; margin: 8px auto 0; padding: 40px 28px; text-align: center;
	border-radius: 20px; border: 1px solid var(--line);
	background: radial-gradient(420px 220px at 50% 0%, rgba(242, 2, 34, .16), transparent 70%), var(--surface);
}
.catalogue-empty-icon {
	display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 18px;
	color: var(--accent); background: rgba(242, 2, 34, .12); border: 1px solid rgba(242, 2, 34, .35);
}
.catalogue-empty h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin-bottom: 10px; }
.catalogue-empty p { color: var(--muted); }
.catalogue-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }
.catalogue-empty .admin-hint { margin: 24px 0 0; font-size: .88rem; }

/* ==========================================================================
   v1.4.1 – Installation guide redesign
   ========================================================================== */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.btn-sm { padding: 9px 14px; font-size: .85rem; border-radius: 10px; }

/* On-page navigation */
.install-nav { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.install-nav ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
.install-nav ul::-webkit-scrollbar { display: none; }
.install-nav a { display: inline-block; white-space: nowrap; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: #d9d9de; font-size: .88rem; font-weight: var(--fw-semibold); }
.install-nav a:hover, .install-nav a:focus-visible { color: #fff; border-color: rgba(242, 2, 34, .6); }
.install-nav li:last-child a { background: rgba(37, 211, 102, .12); border-color: rgba(37, 211, 102, .35); color: #b9f5cf; }

/* Tab panels */
.install-panel { max-width: 1040px; margin: 0 auto; }
.js .install-panel[data-hidden] { display: none; }
.install-panel + .install-panel { margin-top: 48px; }
.js .install-panel + .install-panel { margin-top: 0; }
.install-panel:focus-visible { outline: 2px solid var(--brand); outline-offset: 8px; border-radius: 12px; }
.install-panel-head { text-align: center; max-width: 720px; margin: 0 auto 20px; }
.install-panel-head h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 6px; }
.install-panel-head p { color: var(--muted); margin: 0; }
.install-panel-head strong { color: #fff; }

/* Notices */
.install-notice { display: flex; gap: 12px; align-items: flex-start; margin: 0 auto 24px; max-width: 860px; padding: 14px 18px; border-radius: 12px; background: rgba(255, 176, 32, .08); border: 1px solid rgba(255, 176, 32, .35); color: #ecdcc0; font-size: .92rem; }
.install-notice .icon { flex: none; color: var(--warn); margin-top: 2px; }
.install-notice strong { color: #fff; }
.install-notice-center { margin-top: 28px; margin-bottom: 0; }

/* Before you start */
.install-prep { max-width: 860px; margin: 0 auto 28px; padding: 22px 24px 6px; border-radius: 16px; background: var(--surface); border: 1px dashed rgba(255, 255, 255, .16); }
.install-prep h4 { margin: 0; font-size: 1.02rem; }
.install-prep .guide-steps { margin: 16px 0; }

/* App cards */
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }
.app-card { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.app-card.is-unconfirmed { border-style: dashed; border-color: rgba(255, 176, 32, .35); }
.app-card-head { display: flex; gap: 14px; align-items: center; }
.app-card-head h4 { margin: 0 0 4px; font-size: 1.2rem; }
.app-num { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-weight: var(--fw-bold); color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.app-status { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: var(--fw-semibold); }
.app-status.is-ok { color: #8be0aa; }
.app-status.is-tvsl { padding: 2px 9px; border-radius: 999px; color: #fff; background: rgba(242, 2, 34, .18); border: 1px solid rgba(242, 2, 34, .5); }
.app-status.is-warn { padding: 2px 9px; border-radius: 999px; color: #1c1300; background: var(--warn); }
.app-summary { margin: 0; color: #d4d4da; }
.app-summary strong { color: #fff; }
.app-methods { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.app-methods li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; font-size: .8rem; font-weight: var(--fw-semibold); border: 1px solid var(--line); }
.app-methods li.is-yes { background: rgba(37, 211, 102, .1); border-color: rgba(37, 211, 102, .35); color: #c8f5d9; }
.app-methods li.is-yes span { color: var(--wa); }
.app-methods li.is-unknown { color: var(--muted); }
.app-methods li.is-unknown span { font-weight: var(--fw-regular); font-size: .75rem; }
.app-extra { margin: -4px 0 0; color: var(--muted); font-size: .88rem; }
.app-card .guide-steps { margin: 0; gap: 10px; }
.app-card .guide-steps li { font-size: .93rem; }
.fee-note { padding: 14px 16px; border-radius: 12px; background: rgba(242, 2, 34, .08); border: 1px solid rgba(242, 2, 34, .3); border-left-width: 4px; }
.fee-note strong { display: block; color: #fff; font-size: .92rem; margin-bottom: 4px; }
.fee-note p { margin: 0; color: #e0c9cc; font-size: .88rem; }
.fee-note p strong { display: inline; font-size: inherit; margin: 0; }
.app-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

/* Other devices */
.other-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.other-card { padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 96px; }
.other-card h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 1.1rem; }
.other-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--accent); background: rgba(242, 2, 34, .12); border: 1px solid rgba(242, 2, 34, .3); }
.other-card .guide-steps { margin: 0; gap: 10px; }

/* Connection methods */
.connect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.connect-card { position: relative; padding: 28px 24px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.connect-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.connect-card p { color: #c6c6cd; font-size: .93rem; }
.connect-letter { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; font-weight: var(--fw-bold); color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.connect-fields { display: grid; gap: 8px; margin: 0; }
.connect-fields div { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.connect-fields dt { font-weight: var(--fw-bold); color: #fff; font-size: .9rem; }
.connect-fields dd { margin: 2px 0 0; color: var(--muted); font-size: .85rem; }
.connect-list { margin: 0 0 12px; padding-left: 18px; color: #c6c6cd; font-size: .9rem; display: grid; gap: 6px; }
.connect-tip { margin: 0; font-size: .85rem !important; color: var(--muted) !important; }
.connect-card code, .install code, .install .guide-steps code { font-size: .85em; background: rgba(255, 255, 255, .06); padding: 2px 6px; border-radius: 6px; color: #fff; word-break: normal; white-space: nowrap; }

/* Fees */
.fee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fee-card { padding: 26px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.fee-card-main { border-color: rgba(242, 2, 34, .5); background: radial-gradient(300px 160px at 100% 0%, rgba(242, 2, 34, .18), transparent 70%), var(--surface); }
.fee-card h3 { font-size: 1.1rem; margin: 12px 0 8px; }
.fee-card p { margin: 0; color: #c6c6cd; font-size: .93rem; }
.fee-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: var(--fw-bold); letter-spacing: .03em; background: rgba(255, 255, 255, .08); color: #e4e4e9; }
.fee-card-main .fee-tag { background: var(--brand); color: #fff; }
.fee-disclaimer { display: flex; gap: 12px; align-items: flex-start; max-width: 860px; margin: 28px auto 0; padding: 16px 20px; border-radius: 14px; background: rgba(242, 2, 34, .1); border: 1px solid rgba(242, 2, 34, .4); color: #f0d9dc; }
.fee-disclaimer .icon { flex: none; color: var(--accent); margin-top: 2px; }
.fee-disclaimer strong { color: #fff; }

/* v1.4.3 – "Already using another IPTV application?" (friendly info, not a warning) */
.own-app-section { padding: 40px 0 0; }
.own-app {
	display: flex; gap: 20px; align-items: flex-start; max-width: 1040px; margin: 0 auto; padding: 28px 32px;
	border-radius: 20px; border: 1px solid rgba(242, 2, 34, .35);
	background: radial-gradient(420px 220px at 0% 0%, rgba(242, 2, 34, .16), transparent 70%), var(--surface);
}
.own-app-icon {
	flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: #fff;
	background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 26px -12px var(--brand-glow);
}
.own-app-body h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 2px 0 10px; }
.own-app-body p { margin: 0 0 10px; color: #d4d4da; }
.own-app-body p strong { color: #fff; }
.own-app-note { margin: 14px 0 0 !important; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted) !important; }
@media (max-width: 640px) {
	.own-app-section { padding-top: 28px; }
	.own-app { flex-direction: column; gap: 14px; padding: 22px 18px; border-radius: 16px; }
	.own-app-icon { width: 44px; height: 44px; }
}

/* Support */
.install-support { padding-top: 0; }
.install-support:first-child, .section-alt + .install-support { padding-top: 84px; }
.support-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 40px; border-radius: 24px; background: linear-gradient(135deg, #5a0712, #1a0508); border: 1px solid rgba(242, 2, 34, .35); }
.support-card h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 8px; max-width: 620px; }
.support-card p { margin: 0; color: #f1d6d9; }
.support-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 960px) {
	.app-grid, .other-grid { grid-template-columns: 1fr; }
	.connect-grid, .fee-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.install-nav ul { padding: 10px 0; }
	.app-card, .other-card, .connect-card, .fee-card { padding: 20px 18px; border-radius: 16px; }
	.install-prep { padding: 18px 16px 2px; }
	.app-actions .btn { flex: 1 1 100%; justify-content: center; }
	.support-card { padding: 28px 20px; }
	.support-actions, .support-actions .btn { width: 100%; justify-content: center; }
	.tabs { gap: 8px; }
	.tab { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 1080px) { .teaser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
	.teaser-grid { grid-template-columns: 1fr; gap: 12px; }
	.teaser-tile { min-height: 220px; padding: 18px; }
	.catalogue-empty { padding: 32px 18px; }
	.catalogue-empty-actions .btn { width: 100%; }
}

/* ==========================================================================
   v1.5.0 – Design foundations: component styles on the shared tokens.
   No section layouts change here. Utility and variant classes are opt-in
   building blocks for v1.5.1+ (homepage redesign).
   ========================================================================== */

/* Icons: each icon is <svg><use href="#tvsl-i-…"></svg>; shapes are printed once per page in a hidden sprite. */
.icon { flex: none; overflow: visible; }
.tvsl-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Buttons: one shape, one weight; solid red is reserved for the primary action. */
.btn { border-radius: var(--radius-pill); font-weight: var(--fw-semibold); }
.btn-primary { box-shadow: var(--glow-red); }
.btn-primary:hover { box-shadow: var(--glow-red-hover); }
.btn-primary:focus-visible, .btn-whatsapp:focus-visible, .chip[aria-current="true"]:focus-visible, .tab[aria-selected="true"]:focus-visible { outline-color: var(--text-strong); }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: var(--radius-pill); }

/* Surfaces: three levels above the page background. */
.surface-0 { background: var(--s0); }
.surface-1 { background: var(--s1); }
.surface-2 { background: var(--s2); }
.surface-3 { background: var(--s3); }
.card-flat { background: var(--s2); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); }
.card-raised { background: var(--s3); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow); }
.card-focal { background: radial-gradient(420px 220px at 100% 0%, rgba(242, 2, 34, .16), transparent 70%), var(--s2); border: 1px solid rgba(242, 2, 34, .45); border-radius: var(--radius-lg); padding: var(--space-6); }
.glow-neon { box-shadow: var(--glow-neon); }

/* Text roles and the type scale. */
.text-strong { color: var(--text-strong); }
.text-2 { color: var(--text-2); }
.text-muted { color: var(--muted); }
.fs-xs { font-size: var(--fs-xs); }
.fs-sm { font-size: var(--fs-sm); }
.fs-base { font-size: var(--fs-base); }
.fs-md { font-size: var(--fs-md); }
.fs-lg { font-size: var(--fs-lg); }
.fw-regular { font-weight: var(--fw-regular); }
.fw-semibold { font-weight: var(--fw-semibold); }
.fw-bold { font-weight: var(--fw-bold); }

/* Phones: running text inside cards is at least 16px (labels and captions stay smaller). */
@media (max-width: 640px) {
	.teaser-tile p, .connect-card p, .fee-card p, .fee-note p, .post-card-body p:last-child,
	.app-card .guide-steps li, .plan-features, .channels-note, .own-app-note { font-size: var(--fs-base); }
}

/* ==========================================================================
   v1.5.1 – Homepage redesign ("Cinema at night, in red") on the v1.5.0 tokens.
   Hero with cinema photo + TV/phone built in CSS, What you can watch, Sports,
   4K, Devices, Included in every plan, CTA with steps, mobile bottom bar.
   ========================================================================== */

/* Shared device bezel (TVs, tablets, phones built in HTML/CSS). */
.hd-tv, .guide-tv, .uhd-frame, .dev-tv, .dev-tablet, .dev-phone, .hd-phone {
	position: relative;
	background: linear-gradient(160deg, #24242b, #0a0a0d);
	border: 1px solid rgba(255, 255, 255, .14);
}

/* Header: WhatsApp action next to "Get Started" (desktop; phones use the bottom bar). */
.nav-wa { padding: 10px 16px; }
.nav-wa .icon { color: var(--wa); }
@media (max-width: 1180px) {
	.main-nav { gap: 12px; }
	.main-nav .menu a { padding: 8px 9px; }
	.nav-wa { width: 44px; height: 44px; padding: 0; }
	.nav-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 960px) {
	.nav-wa { display: none; }
}

/* 1 · Hero ---------------------------------------------------------------- */
.hero-cine { padding: 80px 0 56px; isolation: isolate; background: #050506; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; filter: saturate(1.15) brightness(1.25); }
.hero-bg::after {
	content: ""; position: absolute; inset: 0;
	background:
		radial-gradient(640px 360px at 76% 42%, rgba(242, 2, 34, .30), transparent 70%),
		linear-gradient(90deg, rgba(5, 5, 6, .95) 0%, rgba(5, 5, 6, .78) 36%, rgba(5, 5, 6, .18) 100%),
		linear-gradient(180deg, rgba(5, 5, 6, .55) 0%, rgba(5, 5, 6, 0) 30%, rgba(5, 5, 6, 0) 62%, var(--bg) 100%);
}
.hero-cine .hero-inner { grid-template-columns: 1.05fr .95fr; }
.hero-cine .hero-text { color: var(--text-2); }

.hero-devices { position: relative; padding: 0 6% 44px 0; }
.hd-tv { border-radius: 18px; padding: 10px; box-shadow: 0 50px 90px -40px rgba(242, 2, 34, .65), 0 30px 60px -30px rgba(0, 0, 0, .85); }
.hd-tv-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.hd-tv-screen img, .hd-phone-screen img, .dev-screen img { width: 100%; height: 100%; object-fit: cover; }
.hd-tv-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .10), transparent 32%); pointer-events: none; }
.hd-badge {
	position: absolute; top: 12px; left: 12px; z-index: 1;
	font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: .08em; color: #fff;
	padding: 3px 9px; border-radius: var(--radius-xs); background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .35);
}
.hd-progress { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); }
.hd-progress i { display: block; width: 38%; height: 100%; border-radius: inherit; background: var(--brand); box-shadow: 0 0 10px var(--neon); }
.hd-tv-stand { position: absolute; left: 36%; right: 36%; bottom: -14px; height: 14px; border-radius: 0 0 10px 10px; background: linear-gradient(#1d1d23, #0c0c0f); }
.hd-phone {
	position: absolute; right: 0; bottom: 0; width: 26%; max-width: 168px;
	border-radius: 26px; padding: 6px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), var(--glow-neon);
}
.hd-phone-screen { position: relative; aspect-ratio: 9 / 19; border-radius: 20px; overflow: hidden; background: #000; }
.hd-phone-screen img { object-position: 28% center; }
.hd-live, .dev-live, .guide-live {
	position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 5px;
	font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: .08em; text-transform: uppercase; line-height: 1.4;
	color: #fff; background: var(--brand); padding: 2px 8px; border-radius: var(--radius-xs);
}
.hd-live i, .guide-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.hero-cine .stats { margin-top: 56px; background: rgba(255, 255, 255, .08); }
.hero-cine .stats li { background: rgba(14, 14, 17, .88); }

/* 2 · What you can watch ---------------------------------------------------- */
.showcase { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.showcase + .showcase { margin-top: 96px; }
.showcase-flip { grid-template-columns: 1.1fr .9fr; }
.showcase-flip .showcase-copy { order: 2; }
.showcase-kicker {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 6px 14px;
	font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text-strong);
	border-radius: var(--radius-pill); background: rgba(242, 2, 34, .12); border: 1px solid rgba(242, 2, 34, .35);
}
.showcase-kicker .icon { color: var(--accent); }
.showcase-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: var(--fw-bold); }
.showcase-copy > p { color: var(--text-2); font-size: var(--fs-md); }
.showcase .check-list { margin-bottom: 0; }

.guide-tv { border-radius: 18px; padding: 10px; box-shadow: 0 40px 80px -40px rgba(242, 2, 34, .5), var(--shadow); }
.guide-screen {
	position: relative; display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 10px; overflow: hidden;
	background: radial-gradient(520px 240px at 85% 0%, rgba(242, 2, 34, .22), transparent 70%), linear-gradient(180deg, #131317, #0a0a0d);
}
.guide-top { display: flex; align-items: center; min-height: 26px; }
.guide-live { position: static; }
.guide-now { position: absolute; top: 20px; left: 62%; transform: translateX(-50%); font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: .1em; text-transform: uppercase; color: var(--neon); }
.guide-rows { list-style: none; display: grid; gap: 8px; }
.guide-rows li { display: grid; grid-template-columns: 118px 1fr; gap: 10px; align-items: center; }
.guide-cat { font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guide-slots { display: flex; gap: 6px; }
.guide-slots i { display: block; flex-basis: 0; height: 34px; border-radius: var(--radius-xs); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); }
.guide-slots i.on-air { background: rgba(255, 255, 255, .11); }
.guide-rows li.is-active .guide-cat { color: #fff; }
.guide-rows li.is-active .on-air { background: linear-gradient(135deg, rgba(242, 2, 34, .9), rgba(176, 0, 26, .9)); border-color: rgba(255, 77, 94, .6); box-shadow: 0 0 18px rgba(242, 2, 34, .4); }
.guide-line { position: absolute; top: 44px; bottom: 16px; left: 62%; width: 2px; background: var(--neon); box-shadow: 0 0 12px var(--neon); }

.movie-stage { position: relative; padding-bottom: 48px; }
.movie-main { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(242, 2, 34, .45), var(--shadow); }
.movie-main img, .movie-side img { width: 100%; height: 100%; object-fit: cover; }
.movie-side { position: absolute; right: -24px; bottom: 0; width: 42%; margin: 0; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; border: 4px solid var(--bg); box-shadow: var(--shadow); }

/* 3 · Sports ---------------------------------------------------------------- */
.sports-band { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 600px; padding: 96px 0; }
.sports-media { position: absolute; inset: 0; z-index: -1; }
.sports-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.sports-media::after {
	content: ""; position: absolute; inset: 0;
	background:
		radial-gradient(760px 380px at 82% 8%, rgba(242, 2, 34, .32), transparent 70%),
		linear-gradient(90deg, rgba(7, 7, 8, .95) 0%, rgba(7, 7, 8, .78) 40%, rgba(7, 7, 8, .12) 78%),
		linear-gradient(180deg, var(--bg) 0%, rgba(7, 7, 8, 0) 20%, rgba(7, 7, 8, 0) 74%, var(--bg) 100%);
}
.sports-copy { max-width: 540px; }
.sports-copy > p { color: var(--text-2); font-size: var(--fs-md); }
.sports-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 4 · 4K / Ultra HD ----------------------------------------------------------- */
.uhd-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.uhd-frame { border-radius: 18px; padding: 10px; box-shadow: 0 40px 90px -40px rgba(242, 2, 34, .55), var(--shadow); }
.uhd-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.uhd-chips { position: absolute; left: 24px; bottom: 24px; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.uhd-chips li {
	padding: 4px 11px; border-radius: var(--radius-pill); font-size: var(--fs-xs); font-weight: var(--fw-semibold);
	color: var(--text-2); background: rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .25);
}
.uhd-chips li.is-on { color: #fff; font-weight: var(--fw-bold); background: var(--brand); border-color: transparent; }
.uhd-lead { color: var(--text-2); font-size: var(--fs-md); }
.uhd-points { list-style: none; display: grid; gap: 10px; margin: 0 0 22px; }
.uhd-points li { display: flex; align-items: center; gap: 14px; color: var(--text-2); }
.uhd-points span {
	flex: none; min-width: 78px; padding: 6px 10px; text-align: center; border-radius: var(--radius-xs);
	font-size: var(--fs-sm); font-weight: var(--fw-bold); color: #fff; background: var(--s2); border: 1px solid var(--line);
}
.uhd-points li:last-child span { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-color: transparent; }
.uhd-note { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; font-size: var(--fs-sm); color: var(--muted); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.uhd-note .icon { color: var(--accent); margin-top: 2px; }

/* 5 · Devices ------------------------------------------------------------------- */
.device-stage { position: relative; max-width: 860px; margin: 0 auto 56px; padding: 0 0 7%; }
.dev-tv { width: 76%; margin: 0 auto; border-radius: 14px; padding: 8px; box-shadow: 0 40px 80px -40px rgba(242, 2, 34, .45), var(--shadow); }
.dev-tv .dev-screen { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; }
.dev-tv-stand { position: absolute; left: 38%; right: 38%; bottom: -16px; height: 16px; border-radius: 0 0 8px 8px; background: linear-gradient(#1d1d23, #0c0c0f); }
.dev-tablet { position: absolute; left: 0; bottom: 0; width: 31%; border-radius: 16px; padding: 7px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9); }
.dev-tablet .dev-screen { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; }
.dev-phone { position: absolute; right: 3%; bottom: 0; width: 13%; border-radius: 18px; padding: 5px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); }
.dev-phone .dev-screen { position: relative; aspect-ratio: 9 / 19; border-radius: 13px; overflow: hidden; }
.dev-phone .dev-screen img { object-position: 28% center; }
.dev-live { top: 6px; left: 6px; padding: 1px 5px; }
.devices .device-list li { background: var(--s2); }

/* 6 · Included in every plan -------------------------------------------------- */
.included-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; }
.included-card { border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--s2); padding: var(--space-6); }
.included-card h3 { font-size: 1.35rem; font-weight: var(--fw-bold); }
.included-card p { color: var(--text-2); }
.included-card .check-list { margin-bottom: 18px; }
.included-vpn { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: radial-gradient(420px 260px at 50% 0%, rgba(242, 2, 34, .18), transparent 70%), var(--s2); border-color: rgba(242, 2, 34, .35); }
.included-vpn .vpn-visual { width: 140px; height: 140px; margin: 0 0 24px; }
.included-vpn .vpn-shield { width: 80px; height: 80px; }
.included-channels { display: grid; grid-template-columns: 1fr .9fr; gap: 28px; align-items: center; }
.included-channels .channels-note { color: var(--muted); margin-bottom: 16px; }
.included-extras { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.included-extras li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--s1); border: 1px solid var(--line); }
.included-extras .icon { color: var(--accent); }
.included-extras span { color: var(--muted); font-size: var(--fs-sm); line-height: 1.45; }
.included-extras strong { display: block; color: #fff; font-size: var(--fs-base); }

/* Pricing page table: keep visually hidden labels inside the scroll box, otherwise their absolute
   position widened the whole page on phones (474px at a 390px screen) – found in v1.5.1 QA. */
.table-wrap { position: relative; }

/* 8 · Reviews: official TrustBox slot (only when switched on). */
.tp-trustbox { min-height: 24px; margin-top: 4px; }

/* Closing CTA with the three steps (homepage). */
.cta-band-steps .cta-inner { flex-wrap: wrap; }
.cta-steps { flex: 1 1 100%; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); }
.cta-steps li { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-content: start; }
.cta-step-icon { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .22); }
.cta-step-num { position: absolute; left: 30px; top: -6px; z-index: 1; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--brand-2); background: #fff; }
.cta-steps h3 { font-size: var(--fs-base); margin: 2px 0 2px; }
.cta-steps p { margin: 0; font-size: var(--fs-sm); color: #f1d6d9; }

/* Mobile bottom bar: small screens only; the footer reserves its height so nothing is covered. */
.mobile-bar { display: none; }
@media (max-width: 960px) {
	.mobile-bar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
		display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); justify-content: center; gap: 10px;
		padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
		background: rgba(7, 7, 8, .94); border-top: 1px solid var(--line);
		backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
		box-shadow: 0 -12px 30px -12px rgba(0, 0, 0, .8);
	}
	.mobile-bar .btn { width: 100%; min-height: 48px; padding: 12px 14px; }
	/* Touch screens: 44px hit areas for small links and icon buttons (look unchanged). */
	.nav-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
	.topbar-tp, .link-arrow, .pricing-notes a, .brand { min-height: 44px; }
	.social a { width: 44px; height: 44px; }
	.site-footer .menu a { display: inline-flex; align-items: center; min-height: 44px; }
	.site-footer .menu { gap: 0; }
	.mobile-bar .btn:hover { transform: none; }
	.nav-open .mobile-bar { display: none; }
	.site-footer { padding-bottom: calc(24px + 70px + env(safe-area-inset-bottom)); }
	.lang-bar { bottom: calc(82px + env(safe-area-inset-bottom)); }
}

/* Responsive ----------------------------------------------------------------- */
@media (max-width: 1080px) {
	.included-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
	.hero-cine { padding: 56px 0 40px; }
	.hero-bg::after {
		background:
			radial-gradient(420px 300px at 70% 70%, rgba(242, 2, 34, .28), transparent 70%),
			linear-gradient(180deg, rgba(5, 5, 6, .93) 0%, rgba(5, 5, 6, .9) 52%, rgba(5, 5, 6, .6) 74%, var(--bg) 100%);
	}
	.hero-cine .hero-inner { grid-template-columns: 1fr; gap: 44px; }
	.hero-devices { max-width: 560px; width: 100%; margin: 0 auto; padding-right: 8%; }
	.showcase, .showcase-flip, .uhd-inner { grid-template-columns: 1fr; gap: 36px; }
	.showcase-flip .showcase-copy { order: 0; }
	.showcase + .showcase { margin-top: 72px; }
	.movie-side { right: 12px; }
	.sports-band { align-items: flex-end; min-height: 640px; padding: 72px 0 56px; }
	.sports-media img { object-position: 60% center; }
	.sports-media::after {
		background:
			radial-gradient(420px 300px at 80% 10%, rgba(242, 2, 34, .3), transparent 70%),
			linear-gradient(180deg, var(--bg) 0%, rgba(7, 7, 8, .25) 22%, rgba(7, 7, 8, .82) 58%, var(--bg) 100%);
	}
	.cta-steps { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 640px) {
	.hero-cine { padding: 40px 0 32px; }
	.hero-cine .stats { margin-top: 40px; }
	.hd-tv { border-radius: 14px; padding: 7px; }
	.hd-phone { border-radius: 18px; padding: 4px; width: 28%; }
	.hd-phone-screen { border-radius: 14px; }
	.guide-screen { padding: 14px; gap: 10px; }
	.guide-rows li { grid-template-columns: 92px 1fr; gap: 8px; }
	.guide-slots i { height: 26px; }
	.guide-now, .guide-line { left: 66%; }
	.included-card { padding: var(--space-5); }
	.included-channels { grid-template-columns: 1fr; }
	.included-extras { grid-template-columns: 1fr; }
	.uhd-chips { left: 16px; bottom: 16px; }
	.device-stage { padding-bottom: 12%; }
	.dev-tv { width: 84%; }
	.dev-tablet { width: 38%; }
	.dev-phone { width: 17%; right: 0; }
	.sports-actions .btn { flex: 1 1 100%; }
	/* 16px minimum for running text on phones (v1.5.0 rule) */
	.showcase-copy > p, .uhd-note, .included-extras span, .cta-steps p, .sports-copy > p { font-size: var(--fs-base); }
}

/* ==========================================================================
   v1.5.1 visual refinement – images (each photo used in one place only)
   and a compact, organised footer. Nothing else is restyled here.
   ========================================================================== */

/* Hero phone: floodlight photo, kept centred. */
.hd-phone-screen img { object-position: center 38%; }

/* Movies & TV Series: a single movie-night photo (the popcorn tile was removed). */
.movie-stage { padding-bottom: 0; }
.movie-main { position: relative; }
.movie-main::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(120% 95% at 50% 42%, transparent 58%, rgba(7, 7, 8, .5) 100%);
}

/* 4K Ultra HD: a slim widescreen TV with a soft red glow behind it. */
.uhd-visual { position: relative; isolation: isolate; }
.uhd-visual::before {
	content: ""; position: absolute; z-index: -1; left: 6%; right: 6%; top: 8%; bottom: 14%;
	background: radial-gradient(closest-side, rgba(242, 2, 34, .42), transparent); filter: blur(36px);
}
.uhd-tv {
	padding: 6px; border-radius: 12px;
	background: linear-gradient(180deg, #1b1b20, #050506); border-color: rgba(255, 255, 255, .12);
	box-shadow: 0 50px 90px -42px rgba(242, 2, 34, .6), 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.uhd-screen { position: relative; overflow: hidden; border-radius: 7px; background: #000; }
.uhd-tv img { display: block; border-radius: 0; }
.uhd-glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 34%); }
.uhd-tv .uhd-chips { left: 16px; bottom: 14px; }
.uhd-stand { position: relative; display: block; width: 34%; height: 20px; margin: 0 auto; }
.uhd-stand::before { content: ""; position: absolute; left: 44%; right: 44%; top: 0; height: 13px; background: linear-gradient(#202026, #0d0d10); }
.uhd-stand::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; border-radius: 6px 6px 3px 3px; background: linear-gradient(#26262d, #0b0b0d); box-shadow: 0 10px 18px -6px rgba(0, 0, 0, .9); }

/* Devices: generic streaming-app screens drawn in CSS (no repeated photos, no logos or titles). */
.dev-screen.ui-home, .dev-screen.ui-guide, .dev-screen.ui-player { background: #07070a; }
.ui-bar { display: block; flex: none; height: clamp(3px, .55vw, 6px); width: 34%; border-radius: 3px; background: rgba(255, 255, 255, .32); }
.ui-bar-lg { height: clamp(5px, .9vw, 10px); width: 50%; background: rgba(255, 255, 255, .86); }
/* TV: home screen with a featured banner and a row of tiles. */
.ui-home { display: flex; flex-direction: column; gap: 5%; padding: 4%; }
.ui-feature {
	flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6%;
	padding: 5% 6%; border-radius: 6px; overflow: hidden;
	background:
		radial-gradient(60% 85% at 80% 28%, rgba(242, 2, 34, .6), transparent 70%),
		radial-gradient(45% 55% at 96% 92%, rgba(255, 120, 60, .22), transparent 70%),
		linear-gradient(118deg, #0f0507 28%, #270710 66%, #3a0a15);
}
.ui-feature { position: relative; }
.ui-feature > * { position: relative; z-index: 1; }
.ui-feature::after {
	content: ""; position: absolute; right: 0; bottom: 0; width: 64%; height: 48%;
	background: linear-gradient(180deg, #1c050a, #090203);
	clip-path: polygon(0 100%, 16% 64%, 31% 76%, 52% 30%, 70% 58%, 85% 40%, 100% 56%, 100% 100%);
}
.ui-tag { display: block; width: 13%; height: clamp(4px, .8vw, 9px); border-radius: 3px; background: var(--brand); }
.ui-btns { display: flex; gap: 3%; }
.ui-btns b { width: 15%; height: clamp(6px, 1.2vw, 13px); border-radius: 4px; background: #fff; }
.ui-btns b + b { background: rgba(255, 255, 255, .2); }
.ui-rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3%; height: 30%; }
.ui-rail i { border-radius: 4px; border: 1px solid rgba(255, 255, 255, .07); background: linear-gradient(160deg, #3b0d16, #14070a); }
.ui-rail i:nth-child(2) { background: linear-gradient(160deg, #2b1a3d, #0d0912); }
.ui-rail i:nth-child(3) { background: linear-gradient(160deg, #3d2a12, #120c07); border-color: var(--brand); box-shadow: 0 0 10px rgba(242, 2, 34, .45); }
.ui-rail i:nth-child(4) { background: linear-gradient(160deg, #10283a, #070c12); }
.ui-rail i:nth-child(5) { background: linear-gradient(160deg, #3a1020, #10070b); }
/* Tablet: programme guide. */
.ui-guide { position: relative; display: flex; flex-direction: column; gap: 6%; padding: 8% 6%; }
.ui-guide-row { flex: 1; display: flex; gap: 3%; }
.ui-guide-row b { flex: 0 0 18%; border-radius: 3px; background: rgba(255, 255, 255, .13); }
.ui-guide-row i { flex-basis: 0; border-radius: 3px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); }
.ui-guide-row i.is-on { background: rgba(255, 255, 255, .11); }
.ui-guide-row.is-active b { background: rgba(255, 255, 255, .38); }
.ui-guide-row.is-active i.is-on { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-color: transparent; box-shadow: 0 0 10px rgba(242, 2, 34, .5); }
.ui-now { position: absolute; top: 5%; bottom: 5%; left: 60%; width: 2px; background: var(--neon); box-shadow: 0 0 8px var(--neon); }
/* Phone: live player with a drawn pitch (no photo, no branding). */
.ui-player { display: flex; flex-direction: column; gap: 4%; padding-bottom: 10%; }
.ui-pitch {
	position: relative; flex: none; aspect-ratio: 4 / 5;
	background: repeating-linear-gradient(180deg, #1d7437 0 12.5%, #186530 12.5% 25%);
	box-shadow: inset 0 0 0 4px #186530, inset 0 0 0 5px rgba(255, 255, 255, .55), inset 0 -30px 30px -20px rgba(0, 0, 0, .5);
}
.ui-pitch::before { content: ""; position: absolute; left: 5px; right: 5px; top: 50%; height: 1px; background: rgba(255, 255, 255, .55); }
.ui-pitch::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; transform: translate(-50%, -50%); }
.ui-player .ui-bar { margin-left: 9%; width: 60%; }
.ui-player .ui-bar-lg { width: 76%; }
.ui-list { flex: 1; display: flex; flex-direction: column; gap: 8%; padding: 2% 9% 0; }
.ui-list i { flex: 1; border-radius: 3px; background: rgba(255, 255, 255, .07); }
.ui-player .dev-live { z-index: 1; }

/* Footer: compact and organised. Brand | Pages | Legal | Plans on desktop;
   brand row + three columns on tablets; brand, then Pages | Legal side by side and Plans in two columns on phones. */
.site-footer { padding: 56px 0 24px; }
.footer-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr) minmax(0, .85fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
.footer-brand p { margin: 14px 0 18px; max-width: 340px; line-height: 1.6; }
.footer-title { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer .menu { gap: 6px; }
.site-footer .menu a { line-height: 1.5; }
.footer-bottom { margin-top: 40px; padding-top: 20px; align-items: flex-start; }
.footer-note { max-width: 600px; text-align: right; }
@media (max-width: 1080px) {
	.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
	.footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
	.footer-brand p { margin: 0; max-width: 420px; }
}
@media (max-width: 960px) {
	/* Keep the space reserved for the fixed bottom bar (the shorthand above would otherwise reset it). */
	.site-footer { padding-bottom: calc(24px + 70px + env(safe-area-inset-bottom)); }
	/* Touch: each link keeps a 44px tap row, so the space comes out of the layout instead. */
	.site-footer .menu { gap: 0; }
	.footer-title { margin-bottom: 4px; }
}
@media (max-width: 760px) {
	.footer-brand { display: block; }
	.footer-brand p { margin: 10px 0 14px; max-width: none; }
}
@media (max-width: 640px) {
	.site-footer { padding-top: 40px; }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
	.footer-brand { padding-bottom: 20px; }
	.footer-plans { grid-column: 1 / -1; }
	.footer-plan-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
	.footer-bottom { margin-top: 22px; padding-top: 16px; flex-direction: column; gap: 6px; }
	.footer-note { text-align: left; }
}