/*
Theme Name: Hotmerix
Description: Custom dark pay-per-view video theme for an 18+ creator platform. Locked videos, M-Pesa unlock flow, creator profiles and PWA install. Designed to work with the platform and M-Pesa plugins.
Version: 1.11.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: Proprietary
Text Domain: vivid
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--bg: #0b0b0f;
	--surface: #15151c;
	--surface-2: #1e1e28;
	--border: #2a2a36;
	--text: #f2f2f5;
	--text-soft: #d6d6de;
	--muted: #9a9aab;
	--accent: #ff2d6f;
	--accent-2: #ff9a3d;
	--accent-soft: color-mix(in srgb, var(--accent) 70%, #ffffff);
	--accent-hover: color-mix(in srgb, var(--accent) 82%, #ffffff);
	--accent-ink: #ffffff;
	--success: #2ecc71;
	--danger: #ff5a5a;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow: 0 18px 40px rgba(0, 0, 0, .45);
	--header-h: 62px;
	--bottom-nav-h: 64px;
	--maxw: 1280px;
	--font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--header-h: 66px;
}

@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/space-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700 900; font-display: swap; src: url("assets/fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
}
body.age-locked { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.icon { width: 20px; height: 20px; flex-shrink: 0; }
.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;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 10000; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.site-main { min-height: 60vh; padding-bottom: 40px; }
.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 10px 18px; border-radius: 999px; border: 1px solid transparent;
	font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer; white-space: nowrap;
	transition: background-color .15s, border-color .15s, transform .1s, color .15s;
}
.btn:active { transform: scale(.97); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.icon-btn {
	display: inline-grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0;
	border-radius: 50%; background: var(--surface); border: 1px solid var(--border); cursor: pointer;
	transition: border-color .15s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--text); }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 14px; }
.link-btn:hover { color: var(--text); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(11, 11, 15, .86);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { font-size: 23px; font-weight: 900; letter-spacing: -.04em; text-transform: lowercase; color: var(--text); white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand-dot { color: var(--accent); }
.custom-logo-link { display: flex; }
.custom-logo { max-height: 36px; width: auto; }

.site-nav { display: none; margin-left: 12px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 15px; }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .is-active > a { color: var(--text); background: var(--surface); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-avatar { display: block; width: 38px; height: 38px; }
.header-avatar img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.hide-mobile { display: none !important; }

.search-panel { border-top: 1px solid var(--border); padding: 12px 0; background: var(--bg); }
.search-panel[hidden] { display: none; }
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] {
	flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
	padding: 12px 18px; color: var(--text); font-size: 16px; -webkit-appearance: none; appearance: none;
}
.search-form input[type="search"]:focus { outline: none; border-color: var(--accent); }

@media (min-width: 900px) {
	.site-nav { display: block; }
	.hide-mobile { display: inline-flex !important; }
}

/* ==========================================================================
   Hero & sections
   ========================================================================== */
.hero { position: relative; padding: 56px 0 36px; overflow: hidden; text-align: center; }
.hero::before {
	content: ""; position: absolute; left: 50%; top: -180px; width: 900px; height: 520px; transform: translateX(-50%);
	background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 38%, transparent), transparent);
	pointer-events: none;
}
.hero > .container { position: relative; }
.hero-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 18px;
	border: 1px solid var(--border); border-radius: 999px; background: rgba(21, 21, 28, .7);
	font-size: 13px; font-weight: 600; color: var(--text-soft);
}
.hero-eyebrow b { color: var(--accent); }
.hero h1 { font-size: clamp(32px, 5.6vw, 58px); max-width: 16ch; margin: 0 auto 16px; letter-spacing: -.03em; font-weight: 700; }
.hero p { color: var(--muted); font-size: clamp(16px, 2vw, 19px); max-width: 46ch; margin: 0 auto 28px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.section { padding: 22px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(20px, 3vw, 26px); margin: 0; }
.see-all { color: var(--accent); font-weight: 700; font-size: 14px; display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }
.see-all:hover { color: var(--accent-hover); }
.see-all .icon { width: 16px; height: 16px; }

.page-header { padding: 28px 0 4px; }
.page-header h1 { font-size: clamp(26px, 4vw, 40px); margin: 0 0 6px; }
.page-header p { color: var(--muted); margin: 0; }

/* ==========================================================================
   Creators
   ========================================================================== */
.creator-row-scroll {
	display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
	padding: 4px 16px 10px; margin: 0 -16px; scrollbar-width: none;
}
.creator-row-scroll::-webkit-scrollbar { display: none; }
.creator-card { flex: 0 0 auto; width: 96px; text-align: center; scroll-snap-align: start; display: block; color: var(--text); }
.creator-card:hover { color: var(--text); }
.creator-avatar {
	display: block; width: 78px; height: 78px; margin: 0 auto 8px; border-radius: 50%; padding: 3px;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	transition: transform .2s;
}
.creator-card:hover .creator-avatar { transform: scale(1.06); }
.creator-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); background: var(--surface-2); }
.creator-name { font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 3px; }
.creator-handle { display: block; font-size: 12px; color: var(--muted); }
.creators-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 22px 12px; padding: 12px 0; }
.creators-grid .creator-card { width: auto; }
.verified { color: #3b9eff; display: inline-flex; flex-shrink: 0; }
.verified .icon { width: 15px; height: 15px; }

/* ==========================================================================
   Video grid & cards
   ========================================================================== */
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
@media (min-width: 640px) { .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; } }
@media (min-width: 1240px) { .video-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.video-card { min-width: 0; }
.vc-media {
	position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
	background: linear-gradient(160deg, var(--surface-2), var(--surface));
	isolation: isolate;
}
.vc-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .3s; }
.vc-media:hover .vc-thumb { transform: scale(1.05); }
.vc-media.is-locked .vc-thumb { filter: blur(14px) brightness(.72); transform: scale(1.18); }
.vc-media.is-locked:hover .vc-thumb { transform: scale(1.24); }
.vc-teaser { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; z-index: 1; }
.vc-media.is-playing .vc-teaser { opacity: 1; }
/* Moving preview: a few seconds of the real video in slow motion (v1.10). */
.vc-motion { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; z-index: 1; pointer-events: none; }
.vc-media.is-moving .vc-motion { opacity: 1; }
.vc-media.is-locked .vc-motion { filter: blur(14px) brightness(.72); transform: scale(1.18); }
.preview-clear .vc-media.is-locked .vc-motion { filter: brightness(.92); transform: none; }
.preview-light .vc-media.is-locked .vc-motion { filter: blur(7px) brightness(.85); transform: scale(1.08); }
.vc-price {
	position: absolute; top: 8px; left: 8px; z-index: 2; background: var(--accent); color: var(--accent-ink);
	font-weight: 800; font-size: 12px; padding: 4px 9px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}
.vc-price.is-free { background: var(--success); color: #04170b; }
.vc-locked {
	position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 10px; padding: 12px; text-align: center; transition: opacity .2s;
	background: radial-gradient(circle at center, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 70%);
}
.vc-lock {
	width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff;
	background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
	border: 1px solid rgba(255, 255, 255, .25);
}
.vc-unlock-text {
	font-size: 13px; font-weight: 700; color: #fff; letter-spacing: .01em; padding: 5px 12px; border-radius: 999px;
	background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
	text-shadow: 0 1px 2px rgba(0, 0, 0, .5); transition: background-color .2s;
}
.vc-media:hover .vc-unlock-text { background: var(--accent); }
.vc-media.is-playing .vc-locked { opacity: 0; }

/* No cover yet: a designed blur instead of an empty box. */
.vc-media.no-thumb, .locked-stage.no-thumb {
	background:
		radial-gradient(circle at 25% 20%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 55%),
		radial-gradient(circle at 80% 75%, rgba(255, 154, 61, .45), transparent 55%),
		radial-gradient(circle at 70% 25%, rgba(120, 90, 255, .35), transparent 50%),
		linear-gradient(160deg, #2a1a2e, #15151c);
}
.vc-media.no-thumb::after {
	content: ""; position: absolute; inset: 0; z-index: 1;
	-webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
	background: rgba(11, 11, 15, .15);
}
.vc-duration {
	position: absolute; right: 8px; bottom: 8px; z-index: 2; background: rgba(0, 0, 0, .72); color: #fff;
	font-size: 12px; font-weight: 700; padding: 3px 7px; border-radius: 6px; font-variant-numeric: tabular-nums;
}
.vc-body { padding: 10px 2px 0; }
.vc-title {
	font-size: 15px; font-weight: 700; line-height: 1.3; margin: 0 0 6px; letter-spacing: -.01em;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vc-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); min-width: 0; }
.vc-creator { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.vc-creator img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.vc-views { margin-left: auto; display: inline-flex; gap: 3px; align-items: center; white-space: nowrap; }
.vc-views .icon { width: 14px; height: 14px; }

.sort-bar { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 18px; scrollbar-width: none; }
.sort-bar::-webkit-scrollbar { display: none; }
.chip {
	flex: 0 0 auto; padding: 8px 15px; border-radius: 999px; background: var(--surface);
	border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--muted);
}
.chip:hover { color: var(--text); border-color: var(--muted); }
.chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ==========================================================================
   Single video
   ========================================================================== */
.video-single { padding-top: 16px; }
.player-wrap {
	position: relative; aspect-ratio: 16 / 9; max-height: 78vh; width: 100%;
	background: #000; border-radius: var(--radius); overflow: hidden;
}
@media (max-width: 639px) {
	.video-single { padding-top: 0; }
	.video-single .player-wrap { border-radius: 0; margin: 0 -16px; width: calc(100% + 32px); max-width: none; }
}
.player-wrap video, .player-wrap iframe { width: 100%; height: 100%; object-fit: contain; background: #000; border: 0; }
.locked-stage { position: absolute; inset: 0; }
.locked-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(26px) brightness(.5); transform: scale(1.2); }
.locked-teaser { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.locked-overlay {
	position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 10px; padding: 20px; text-align: center;
	background: linear-gradient(to top, rgba(0, 0, 0, .88), rgba(0, 0, 0, .45) 55%, rgba(0, 0, 0, .25));
}
.lock-circle {
	width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff;
	background: color-mix(in srgb, var(--accent) 28%, transparent); border: 1px solid var(--accent);
}
.lock-circle .icon { width: 24px; height: 24px; }
.locked-title { font-size: clamp(17px, 2.5vw, 23px); font-weight: 800; margin: 0; color: #fff; }
.locked-note { color: #cfcfd8; font-size: 13px; margin: 0; }
.locked-overlay .link-btn { color: #cfcfd8; font-size: 13px; }
.teaser-label {
	position: absolute; top: 12px; left: 12px; z-index: 3; background: rgba(0, 0, 0, .6); color: #fff;
	font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: .08em; text-transform: uppercase;
}
.player-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); padding: 20px; text-align: center; }
@media (max-width: 479px) {
	.locked-overlay { gap: 8px; }
	.lock-circle { width: 44px; height: 44px; }
	.locked-overlay .btn-lg { padding: 12px 20px; font-size: 15px; }
	.locked-note { font-size: 12px; }
}

.video-info { padding: 18px 0 8px; display: grid; gap: 14px; }
.video-title { font-size: clamp(21px, 3vw, 30px); margin: 0; }
.video-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--muted); font-size: 14px; }
.video-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.video-meta .icon { width: 16px; height: 16px; }
.price-pill { padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); font-weight: 800; }
.price-pill.is-unlocked { background: color-mix(in srgb, var(--success) 18%, transparent); color: var(--success); }

.creator-strip { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.creator-strip > a > img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.creator-strip-text { min-width: 0; flex: 1; }
.creator-strip-name { font-weight: 800; display: flex; align-items: center; gap: 4px; }
.creator-strip-handle { color: var(--muted); font-size: 13px; }
.creator-strip .btn { padding: 8px 14px; font-size: 14px; }

.entry-content { color: var(--text-soft); max-width: 72ch; }
.entry-content a { color: var(--accent); text-decoration: underline; }
.entry-content h2, .entry-content h3 { color: var(--text); margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.page-content { max-width: 760px; margin: 0 auto; padding: 32px 0; }
.page-title { font-size: clamp(28px, 4vw, 42px); }

/* ==========================================================================
   Creator profile
   ========================================================================== */
.profile-cover {
	height: clamp(140px, 24vw, 250px); margin: 0 -16px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 60%, #1a1a24), #1a1a24 72%) center / cover no-repeat;
}
@media (min-width: 960px) { .profile-cover { margin: 16px 0 0; border-radius: var(--radius-lg); } }
.profile-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: -58px; padding-bottom: 8px; position: relative; }
.profile-avatar { width: 116px; height: 116px; border-radius: 50%; object-fit: cover; border: 4px solid var(--bg); background: var(--surface-2); }
.profile-name { font-size: clamp(23px, 3vw, 32px); margin: 12px 0 2px; display: flex; align-items: center; gap: 6px; }
.profile-name .verified .icon { width: 22px; height: 22px; }
.profile-handle { color: var(--muted); margin: 0 0 10px; }
.profile-bio { max-width: 52ch; color: var(--text-soft); margin: 0 0 14px; white-space: pre-line; }
.profile-stats { display: flex; gap: 28px; margin-bottom: 16px; }
.stat strong { display: block; font-size: 20px; }
.stat span { color: var(--muted); font-size: 13px; }
.profile-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* ==========================================================================
   Creator CTA, empty states, pagination
   ========================================================================== */
.creator-cta {
	margin: 28px 0 8px; padding: 30px 22px; border-radius: var(--radius-lg); border: 1px solid var(--border);
	background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 32%, var(--surface)), var(--surface) 70%);
	display: grid; gap: 18px;
}
.creator-cta h2 { font-size: clamp(23px, 3.6vw, 34px); margin: 0 0 6px; }
.creator-cta p { color: var(--text-soft); margin: 0; }
.cta-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 14px; color: var(--text-soft); }
.cta-points span { display: inline-flex; gap: 6px; align-items: center; }
.cta-points .icon { width: 16px; height: 16px; color: var(--success); }
@media (min-width: 768px) { .creator-cta { grid-template-columns: 1fr auto; align-items: center; padding: 42px; } }

.empty-state { text-align: center; padding: 48px 16px; color: var(--muted); border: 1px dashed var(--border); border-radius: var(--radius); }
.empty-state h2, .empty-state h3 { color: var(--text); font-size: 20px; }
.empty-state .btn { margin-top: 8px; }

.pagination { margin-top: 34px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers {
	min-width: 42px; height: 42px; padding: 0 14px; display: inline-grid; place-items: center;
	border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 700;
}
.pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pagination .page-numbers.dots { background: none; border: 0; }

.error-404 { text-align: center; padding: 80px 0; }
.error-404 .big { font-size: clamp(80px, 18vw, 160px); font-weight: 900; color: var(--accent); line-height: 1; letter-spacing: -.05em; }

/* ==========================================================================
   Unlock modal
   ========================================================================== */
.modal {
	width: min(440px, calc(100% - 24px)); border: 1px solid var(--border); border-radius: var(--radius-lg);
	background: var(--surface); color: var(--text); padding: 30px 22px 22px; box-shadow: var(--shadow);
}
.modal::backdrop { background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@media (max-width: 639px) {
	.modal {
		width: 100%; max-width: 100%; margin: auto 0 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
		border-bottom: 0; padding-bottom: calc(24px + env(safe-area-inset-bottom));
	}
}
.modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; }
.modal-step { text-align: center; }
.modal-step[hidden] { display: none; }
.modal-step h2 { font-size: 22px; margin: 0 0 6px; }
.modal-step p { color: var(--text-soft); }
.modal-sub { color: var(--muted) !important; margin: 0 0 14px; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.modal-price { font-size: 34px; font-weight: 900; margin: 0 0 20px; letter-spacing: -.02em; line-height: 1.1; }
.modal-price small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.field-label { display: block; text-align: left; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.phone-input {
	display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--border);
	border-radius: 12px; padding: 0 14px; margin-bottom: 12px; color: var(--muted);
}
.phone-input:focus-within { border-color: var(--accent); color: var(--text); }
.phone-input input {
	flex: 1; min-width: 0; background: none; border: 0; color: var(--text); font-size: 18px;
	padding: 14px 0; letter-spacing: .04em; outline: none;
}
.form-error { color: var(--danger) !important; font-size: 14px; text-align: left; margin: -4px 0 12px; }
.form-error[hidden] { display: none; }
.modal-fine { color: var(--muted) !important; font-size: 12px; margin: 14px 0 0; }
.waiting-hint { color: var(--muted) !important; font-size: 13px; }
.status-icon { width: 64px; height: 64px; margin: 4px auto 16px; border-radius: 50%; display: grid; place-items: center; }
.status-icon .icon { width: 30px; height: 30px; }
.status-icon.success { background: color-mix(in srgb, var(--success) 20%, transparent); color: var(--success); }
.status-icon.fail { background: color-mix(in srgb, var(--danger) 20%, transparent); color: var(--danger); }
.spinner { width: 56px; height: 56px; margin: 4px auto 18px; border-radius: 50%; border: 4px solid var(--border); border-top-color: var(--accent); animation: vivid-spin .9s linear infinite; }
@keyframes vivid-spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Age gate
   ========================================================================== */
.age-gate {
	position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 20px;
	background: rgba(5, 5, 8, .94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
	transition: opacity .3s;
}
.age-gate.is-hidden { opacity: 0; pointer-events: none; }
.age-gate-card {
	width: min(420px, 100%); background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius-lg); padding: 34px 24px 26px; text-align: center; box-shadow: var(--shadow);
}
.age-badge {
	width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
	font-size: 25px; font-weight: 900; border: 3px solid var(--accent); color: var(--accent);
}
.age-gate-card h2 { font-size: 25px; }
.age-gate-card p { color: var(--muted); }
.age-gate-actions { display: grid; gap: 10px; margin: 22px 0 16px; }
.age-gate-legal { font-size: 12px; margin: 0; }
.age-gate-legal a { text-decoration: underline; }

/* ==========================================================================
   Bottom nav (mobile), footer, install banner
   ========================================================================== */
.bottom-nav {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
	display: grid; grid-template-columns: repeat(5, 1fr);
	height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
	background: rgba(11, 11, 15, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-top: 1px solid var(--border);
}
.bottom-nav a, .bottom-nav button {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
	font-size: 11px; font-weight: 600; color: var(--muted); background: none; border: 0; cursor: pointer; padding: 0;
}
.bottom-nav .is-active { color: var(--text); }
.bottom-nav .icon { width: 22px; height: 22px; }
.create-bubble { width: 46px; height: 32px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.nav-create:hover .create-bubble { background: var(--accent-hover); }
@media (min-width: 900px) {
	.bottom-nav { display: none; }
	body { padding-bottom: 0; }
}

.site-footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: 14px; margin-top: 24px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; }
.footer-menu a:hover { color: var(--text); }
.footer-note { width: 100%; font-size: 12px; margin: 0; }

.install-banner {
	position: fixed; left: 12px; right: 12px; z-index: 95; bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom) + 12px);
	display: flex; align-items: center; gap: 12px; max-width: 480px; margin: 0 auto; padding: 12px 14px;
	background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow);
}
.install-banner[hidden] { display: none; }
.install-banner img { width: 42px; height: 42px; border-radius: 10px; }
.install-text { flex: 1; min-width: 0; font-size: 14px; }
.install-text strong { display: block; }
.install-text span { color: var(--muted); font-size: 13px; }
@media (min-width: 900px) { .install-banner { bottom: 20px; left: auto; right: 20px; margin: 0; } }

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

/* ==========================================================================
   Locked preview modes (Hotmerix → Settings → Previews)
   ========================================================================== */
.preview-clear .vc-media.is-locked .vc-thumb { filter: brightness(.92); transform: none; }
.preview-clear .vc-media.is-locked:hover .vc-thumb { transform: scale(1.05); }
.preview-clear .vc-locked { background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 55%); justify-content: flex-end; padding-bottom: 42px; }
.preview-clear .vc-lock { width: 38px; height: 38px; }
.preview-light .vc-media.is-locked .vc-thumb { filter: blur(7px) brightness(.85); transform: scale(1.08); }
.preview-light .vc-media.is-locked:hover .vc-thumb { transform: scale(1.12); }
.locked-poster { object-fit: contain; }
.preview-light .locked-poster { filter: blur(10px); transform: scale(1.05); }
.preview-clear .locked-overlay { background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, .25) 60%, rgba(0, 0, 0, .1)); justify-content: flex-end; padding-bottom: 28px; }

/* Prices wait for the browser to choose KES or USD on a first visit. */
.cur-pending .vivid-price { visibility: hidden; }

/* Access countdown */
.access-left { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); font-weight: 700; font-variant-numeric: tabular-nums; }
.access-left.is-soon { background: color-mix(in srgb, #f5b942 18%, transparent); color: #f5b942; }
.access-left.is-ended { background: color-mix(in srgb, var(--danger) 18%, transparent); color: var(--danger); }
.access-left.is-unlimited { color: var(--text-soft); background: var(--surface-2); }

/* ==========================================================================
   Live / online status (v1.4)
   ========================================================================== */
.status-dot { position: absolute; right: 4%; bottom: 4%; width: 26%; max-width: 22px; min-width: 12px; aspect-ratio: 1; border-radius: 50%; background: var(--success); border: 3px solid var(--bg); }
.status-dot.is-live, .status-dot.is-busy { background: #ff3b3b; }
.creator-avatar, .profile-avatar-wrap, .creator-strip-avatar { position: relative; }
.profile-avatar-wrap { display: inline-block; }
.profile-avatar-wrap .status-dot { width: 24px; right: 6px; bottom: 6px; border-width: 4px; }
.creator-strip-avatar { display: block; flex-shrink: 0; }
.creator-strip-avatar img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; display: block; }
.creator-strip-avatar .status-dot { width: 14px; min-width: 14px; right: -1px; bottom: -1px; border-width: 2px; }
.creator-card.is-live .creator-avatar, .creator-card.is-busy .creator-avatar { background: #ff3b3b; }
.creator-card.is-online .creator-avatar { background: linear-gradient(135deg, var(--success), #1fa463); }
.live-tag { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); padding: 1px 7px; border-radius: 5px; background: #ff3b3b; color: #fff; font: 800 10px/1.4 var(--font); letter-spacing: .06em; border: 2px solid var(--bg); }
.creator-status { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; padding: 2px 9px; border-radius: 999px; font: 800 11px/1.5 var(--font); letter-spacing: .04em; vertical-align: middle; color: #fff; background: color-mix(in srgb, var(--success) 80%, #000); }
.creator-status[hidden] { display: none; }
.creator-status.is-live, .creator-status.is-busy { background: #ff3b3b; }
.creator-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.section-live h2 { display: flex; align-items: center; gap: 8px; }
.live-heading-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 4px color-mix(in srgb, #ff3b3b 30%, transparent); }
.bottom-nav .nav-live .icon { color: #ff3b3b; }

/* Glowing ring around creators who are online (green) or live (red) — v1.5 */
@keyframes vivid-ring-spin { to { transform: rotate(360deg); } }
@keyframes vivid-ring-glow {
	0%, 100% { box-shadow: 0 0 0 0 var(--ring-soft), 0 0 12px 1px var(--ring-soft); }
	50% { box-shadow: 0 0 0 5px transparent, 0 0 26px 6px var(--ring-soft); }
}
.creator-card.is-online .creator-avatar, .profile-avatar-wrap.is-online, .creator-strip-avatar.is-online { --ring: #2ecc71; --ring-hi: #c6ffe0; --ring-soft: rgba(46, 204, 113, .55); }
.creator-card.is-live .creator-avatar, .creator-card.is-busy .creator-avatar, .profile-avatar-wrap.is-live, .profile-avatar-wrap.is-busy, .creator-strip-avatar.is-live, .creator-strip-avatar.is-busy { --ring: #ff3b3b; --ring-hi: #ffc2c2; --ring-soft: rgba(255, 59, 59, .55); }
.creator-card[class*="is-"] .creator-avatar, .profile-avatar-wrap[class*="is-"], .creator-strip-avatar[class*="is-"] { isolation: isolate; border-radius: 50%; }
.creator-card[class*="is-"] .creator-avatar { background: transparent; }
.creator-card[class*="is-"] .creator-avatar::before, .profile-avatar-wrap[class*="is-"]::before, .creator-strip-avatar[class*="is-"]::before {
	content: ""; position: absolute; inset: -3px; border-radius: 50%; z-index: -1;
	background: conic-gradient(var(--ring), var(--ring-hi), var(--ring), transparent 70%, var(--ring));
	animation: vivid-ring-spin 2.6s linear infinite;
}
.creator-card[class*="is-"] .creator-avatar::after, .profile-avatar-wrap[class*="is-"]::after, .creator-strip-avatar[class*="is-"]::after {
	content: ""; position: absolute; inset: -3px; border-radius: 50%; z-index: -2;
	animation: vivid-ring-glow 2s ease-in-out infinite;
}
.profile-avatar-wrap[class*="is-"]::before, .profile-avatar-wrap[class*="is-"]::after { inset: -5px; }
.creator-strip-avatar[class*="is-"] img { border: 2px solid var(--surface); }
@media (prefers-reduced-motion: reduce) {
	.creator-card[class*="is-"] .creator-avatar::before, .profile-avatar-wrap[class*="is-"]::before, .creator-strip-avatar[class*="is-"]::before,
	.creator-card[class*="is-"] .creator-avatar::after, .profile-avatar-wrap[class*="is-"]::after, .creator-strip-avatar[class*="is-"]::after { animation: none; }
}

/* ==========================================================================
   M-Pesa payment progress (v1.6)
   ========================================================================== */
.pay-icon { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.pay-icon .icon { width: 28px; height: 28px; }
.pay-lead { margin: 0 0 14px; font-size: 15px; line-height: 1.45; }
.pay-lead strong { color: var(--text); white-space: nowrap; }
.pay-merchant { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); text-align: left; }
.pay-merchant-name, .pay-merchant-right { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pay-merchant-right { align-items: flex-end; text-align: right; flex-shrink: 0; }
.pay-merchant small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.pay-merchant-name strong { font-size: 14px; letter-spacing: .02em; overflow-wrap: anywhere; }
.pay-merchant em { font-style: normal; font-size: 12px; color: var(--muted); }
.pay-merchant em:empty { display: none; }
.pay-merchant-amount { font-size: 19px; color: var(--accent); white-space: nowrap; }
.pay-merchant.is-big { margin-bottom: 18px; padding: 14px 16px; }
.pay-merchant.is-big .pay-merchant-amount { font-size: 26px; font-weight: 900; letter-spacing: -.02em; }

.paysteps { list-style: none; margin: 4px 0 14px; padding: 0; text-align: left; }
.paystep { position: relative; display: flex; gap: 14px; padding-bottom: 16px; }
.paystep:last-child { padding-bottom: 0; }
.paystep:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: var(--border); transition: background .3s ease; }
.paystep.is-done:not(:last-child)::before { background: var(--success); }
.paystep-dot { position: relative; flex-shrink: 0; width: 36px; height: 36px; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--border); display: grid; place-items: center; color: var(--muted); font-weight: 700; font-size: 15px; transition: background .3s ease, border-color .3s ease; }
.paystep-ico { display: none; width: 18px; height: 18px; }
.paystep-spin { display: none; width: 20px; height: 20px; box-sizing: border-box; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--accent) 25%, transparent); border-top-color: var(--accent); animation: vivid-spin .9s linear infinite; }
.paystep-text { display: flex; flex-direction: column; gap: 2px; padding-top: 6px; min-width: 0; }
.paystep-text strong { font-size: 16px; color: var(--muted); }
.paystep-text span { font-size: 13px; color: var(--muted); }
.paystep.is-done .paystep-dot { background: var(--success); border-color: var(--success); color: #0b0b0f; }
.paystep.is-done .paystep-num { display: none; }
.paystep.is-done .paystep-tick { display: block; }
.paystep.is-done .paystep-text strong, .paystep.is-active .paystep-text strong, .paystep.is-failed .paystep-text strong { color: var(--text); }
.paystep.is-active .paystep-dot { border-color: transparent; background: color-mix(in srgb, var(--accent) 16%, transparent); }
.paystep.is-active .paystep-num { display: none; }
.paystep.is-active .paystep-spin { display: block; }
.paystep.is-active .paystep-text span { color: color-mix(in srgb, var(--accent) 75%, #ffffff); font-weight: 600; }
.paystep.is-failed .paystep-dot { background: var(--danger); border-color: var(--danger); color: #0b0b0f; }
.paystep.is-failed .paystep-num { display: none; }
.paystep.is-failed .paystep-cross { display: block; }
.paysteps.is-compact { padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.paysteps.is-compact .paystep { padding-bottom: 10px; gap: 10px; align-items: center; }
.paysteps.is-compact .paystep:last-child { padding-bottom: 0; }
.paysteps.is-compact .paystep::before { display: none; }
.paysteps.is-compact .paystep-dot { width: 24px; height: 24px; font-size: 12px; }
.paysteps.is-compact .paystep-ico { width: 12px; height: 12px; }
.paysteps.is-compact .paystep-text { padding: 0; }
.paysteps.is-compact .paystep-text strong { font-size: 14px; }
.paysteps.is-compact .paystep:not(.is-failed) .paystep-text span { display: none; }
.pay-note { margin: 0 0 6px; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; color: var(--text) !important; background: color-mix(in srgb, var(--accent) 10%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.pay-retry { min-height: 44px; font-size: 14px; }
.pay-result { width: 64px; height: 64px; margin: 4px auto 14px; border-radius: 50%; display: grid; place-items: center; color: #0b0b0f; }
.pay-result .icon { width: 30px; height: 30px; stroke-width: 3; }
.pay-result.is-ok { background: var(--success); box-shadow: 0 0 0 8px color-mix(in srgb, var(--success) 18%, transparent); animation: pay-pop .4s ease-out; }
.pay-result.is-fail { background: var(--danger); box-shadow: 0 0 0 8px color-mix(in srgb, var(--danger) 18%, transparent); }
@keyframes pay-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.pay-receipt { margin: 0 0 14px; padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); display: grid; gap: 10px; font-size: 14px; text-align: left; }
.pay-receipt > div { display: flex; justify-content: space-between; gap: 12px; }
.pay-receipt > div[hidden] { display: none; }
.pay-receipt dt { color: var(--muted); }
.pay-receipt dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.pay-code { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .04em; }
.pay-next { margin: 0; font-size: 13px; color: var(--muted) !important; }
.pay-reasons { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; text-align: left; font-size: 14px; line-height: 1.5; color: var(--text-soft); background: color-mix(in srgb, var(--danger) 8%, transparent); border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent); }
.pay-reasons strong { display: block; margin-bottom: 2px; color: var(--text); }
.pay-help { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; font-weight: 700; font-size: 15px; color: var(--text); }
.pay-help svg { color: var(--success); }
@media (prefers-reduced-motion: reduce) { .paystep-spin { animation-duration: 2.5s; } .pay-result.is-ok { animation: none; } }

/* ==========================================================================
   Verified (blue) · Featured (gold) — v1.7
   Online = green glow, Live = red glow (on the picture);
   Verified = blue seal (next to the name); Featured = gold label.
   ========================================================================== */
.verified-pill { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 1px 9px 1px 5px; border-radius: 999px; font: 800 11px/1.6 var(--font); letter-spacing: .04em; vertical-align: middle; color: #7cc0ff; background: rgba(59, 158, 255, .14); border: 1px solid rgba(59, 158, 255, .45); }
.verified-pill .icon { width: 14px; height: 14px; color: #3b9eff; }
.vc-featured { position: absolute; top: 8px; right: 8px; z-index: 3; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 7px; border-radius: 999px; background: #f5b942; color: #1a1300; font: 800 11px/1.3 var(--font); letter-spacing: .03em; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.vc-featured svg { width: 12px; height: 12px; }
.video-card.is-featured .vc-media { box-shadow: 0 0 0 2px #f5b942; }
.creator-featured { display: inline-block; margin-top: 4px; padding: 1px 8px; border-radius: 999px; background: #f5b942; color: #1a1300; font: 800 10px/1.5 var(--font); letter-spacing: .04em; }
.featured-heading-star { color: #f5b942; margin-right: 8px; }

/* ==========================================================================
   Look C · Neon Grid (v1.8)
   Original pink theme colours (v1.9), Space Grotesk, search always in the header,
   home without a headline, tight video tiles, 5-tab bottom menu.
   ========================================================================== */
body { letter-spacing: -.005em; }
h1, h2, h3 { letter-spacing: -.02em; }
.btn { border-radius: 14px; }
.btn-lg { border-radius: 16px; }
.icon-btn { border-radius: 14px; }
.chip { border-radius: 12px; }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* Header */
.site-header { background: rgba(11, 11, 15, .9); border-bottom-color: var(--border); }
.header-inner { gap: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-transform: none; font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 21px; font-weight: 700; line-height: 1; }
.brand-name { display: none; }
@media (min-width: 900px) { .brand-name { display: inline; } }
.header-search { flex: 1; min-width: 0; max-width: 520px; }
.header-search-box { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); cursor: text; }
.header-search-box:focus-within { border-color: var(--accent); color: var(--text); }
.header-search-box .icon { width: 18px; height: 18px; flex-shrink: 0; }
.header-search-box input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 15px; outline: none; -webkit-appearance: none; appearance: none; }
.header-search-box input::-webkit-search-cancel-button { filter: invert(1); }
.header-actions { margin-left: 0; }
@media (min-width: 900px) { .header-search { margin-left: auto; } .site-nav { margin-left: 4px; } }
.header-signin { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.header-signin .icon { width: 20px; height: 20px; }
.show-mobile { display: grid; }
@media (min-width: 900px) { .show-mobile { display: none !important; } }
.header-avatar img { border-radius: 12px; border-color: var(--accent); }
.site-nav a { border-radius: 12px; }
.site-nav a:hover, .site-nav .current-menu-item > a { background: var(--surface); }
[data-search-toggle] { display: none !important; }

/* Home */
.home-c { padding-top: 4px; }
.home-tabs { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--border); margin: 0 -16px 4px; padding: 0 16px; }
.home-tabs::-webkit-scrollbar { display: none; }
.home-tabs a { flex-shrink: 0; padding: 12px 0; color: var(--muted); font-size: 15px; font-weight: 500; }
.home-tabs a:hover { color: var(--text); }
.home-tabs a.is-active { color: var(--text); font-weight: 700; box-shadow: inset 0 -3px 0 var(--accent); }
.live-strip { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); color: var(--text); }
.live-strip:hover { color: var(--text); border-color: var(--accent); }
.live-strip-faces { display: flex; flex-shrink: 0; }
.live-strip-faces img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--success); background: var(--surface-2); }
.live-strip-faces img + img { margin-left: -10px; }
.live-strip-faces img.is-live, .live-strip-faces img.is-busy { border-color: #ff3b3b; }
.live-strip-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.live-strip-text strong { font-size: 14px; }
.live-strip-text span { font-size: 12px; color: var(--muted); }
.live-strip-cta { flex-shrink: 0; padding: 8px 12px; border-radius: 10px; background: var(--accent-2); color: #1f0d00; font-weight: 700; font-size: 13px; white-space: nowrap; }
/* Creator call-out: loud on purpose (v1.10). */
.creator-banner {
	position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 16px; margin: 14px 0 6px; padding: 18px 20px;
	border-radius: 20px; color: #fff; background: linear-gradient(120deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 55%, var(--accent-2)) 55%, var(--accent-2) 100%);
	box-shadow: 0 12px 34px color-mix(in srgb, var(--accent) 38%, transparent), inset 0 0 0 1px rgba(255, 255, 255, .18);
	transition: transform .2s ease, box-shadow .2s ease;
}
.creator-banner:hover, .creator-banner:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px color-mix(in srgb, var(--accent) 50%, transparent), inset 0 0 0 1px rgba(255, 255, 255, .3); }
.creator-banner::before { content: ""; position: absolute; inset: -40% auto -40% -30%; width: 34%; z-index: -1; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .32), transparent); transform: skewX(-20deg); animation: vivid-shine 4.5s ease-in-out infinite; }
.creator-banner-glow { position: absolute; right: -60px; top: -80px; width: 220px; height: 220px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(255, 255, 255, .28), transparent 65%); }
.creator-banner-icon { width: 54px; height: 54px; flex-shrink: 0; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.creator-banner-icon svg { width: 26px; height: 26px; }
.creator-banner-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.creator-banner-kicker { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.creator-banner-text strong { font-size: 20px; line-height: 1.2; font-weight: 700; }
.creator-banner-points { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.creator-banner-points span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .18); }
.creator-banner-cta { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 12px 20px; border-radius: 999px; background: #fff; color: var(--accent); font-size: 15px; font-weight: 800; white-space: nowrap; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); animation: vivid-pulse 2.4s ease-in-out infinite; }
@keyframes vivid-shine { 0%, 55% { left: -40%; } 100% { left: 130%; } }
@keyframes vivid-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@media (max-width: 640px) {
	.creator-banner { flex-wrap: wrap; padding: 16px; gap: 12px; }
	.creator-banner-icon { width: 46px; height: 46px; border-radius: 14px; }
	.creator-banner-text strong { font-size: 17px; }
	.creator-banner-cta { width: 100%; justify-content: center; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { .creator-banner::before, .creator-banner-cta { animation: none; } }
.section { padding: 16px 0; }
.section-head h2 { font-size: 19px; font-weight: 700; }
.see-all { color: var(--accent-soft); }
.see-all:hover { color: var(--accent-hover); }

/* Video cards */
.video-grid { gap: 16px 10px; }
.vc-media { border-radius: 14px; }
.vc-price { left: auto; right: 8px; background: rgba(11, 11, 15, .8); color: #fff; border-radius: 8px; font-weight: 700; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.vc-price.is-free { background: var(--success); color: #04170b; }
.vc-featured { right: auto; left: 8px; border-radius: 8px; }
.video-card.is-featured .vc-media { box-shadow: 0 0 0 2px #f5b942; }
.vc-unlock-text { border-radius: 10px; }
.vc-lock { border-radius: 14px; }
.vc-duration { border-radius: 8px; }
.vc-title { font-size: 14px; font-weight: 600; }

/* Tiles: tight grid with the title on the picture */
.video-grid.is-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 640px) { .video-grid.is-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } }
@media (min-width: 960px) { .video-grid.is-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.video-card.is-tile .vc-media { aspect-ratio: 4 / 5; border-radius: 10px; }
.video-card.is-tile .vc-price { top: 6px; right: 6px; padding: 2px 6px; font-size: 10px; border-radius: 6px; }
.video-card.is-tile .vc-featured { top: 6px; left: 6px; padding: 2px 6px; font-size: 9px; }
.video-card.is-tile .vc-unlock-text { display: none; }
.video-card.is-tile .vc-lock { width: 32px; height: 32px; border-radius: 10px; }
.video-card.is-tile .vc-lock .icon { width: 15px; height: 15px; }
.vc-tile-foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; flex-direction: column; gap: 1px; padding: 18px 6px 6px; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); color: #fff; }
.vc-tile-title { font-size: 11px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-tile-views { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; color: #e6e9ef; }
.vc-tile-views svg { width: 10px; height: 10px; }
.video-grid.is-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .video-grid.is-featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Creators */
.creator-avatar { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }

/* Bottom menu: as many equal tabs as there are links, active tab marked on top */
.bottom-nav { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: rgba(11, 11, 15, .96); border-top-color: var(--border); }
.bottom-nav a { position: relative; font-size: 11px; font-weight: 500; }
.bottom-nav a.is-active { color: var(--accent-soft); font-weight: 700; }
.bottom-nav a.is-active::before { content: ""; position: absolute; top: 0; left: 22%; right: 22%; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); }
.bottom-nav .nav-live .icon { color: inherit; }
.bottom-nav .nav-live:not(.is-active) .icon { color: #ff5b5b; }

/* Unlock (look C): cover on top, facts, number, one button */
.modal { padding: 0; overflow: hidden; }
.modal .modal-step { padding: 26px 20px 22px; }
.modal .modal-step.unlock-c { padding: 0; text-align: left; }
.modal-close { z-index: 5; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 14px; background: rgba(11, 11, 15, .6); border-color: transparent; }
.unlock-cover { position: relative; height: 210px; background: linear-gradient(160deg, #2a1a2e, #15151c) center / cover no-repeat; }
.unlock-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, var(--surface)); }
.unlock-cover-lock { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; }
.unlock-cover-lock .icon { width: 64px; height: 64px; padding: 18px; border-radius: 20px; color: #fff; background: rgba(11, 11, 15, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.unlock-head { padding: 4px 20px 0; }
.unlock-head h2 { margin: 0; font-size: 22px; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.unlock-by { margin: 4px 0 0; font-size: 13px; color: var(--muted) !important; }
.unlock-by:empty { display: none; }
.unlock-facts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; padding: 14px 20px 4px; }
.unlock-facts > div { padding: 10px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); min-width: 0; }
.unlock-facts > div[hidden] { display: none; }
.unlock-facts span { display: block; font-size: 11px; color: var(--muted); }
.unlock-facts strong { display: block; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.unlock-facts strong.is-accent { color: var(--accent-soft); }
.unlock-c form { padding: 12px 20px 0; }
.unlock-c .phone-input { border-radius: 14px; border-width: 2px; background: var(--bg); }
.unlock-c .phone-input:focus-within { border-color: var(--accent); }
.unlock-pay { border-radius: 14px; }
.unlock-c .modal-fine { padding: 0 20px 22px; text-align: center; }
.modal-step[data-step="restore"] { padding: 26px 20px 22px; }
.pay-icon { border-radius: 16px; }
