:root {
	--bg: #050c16;
	--bg-2: #091321;
	--surface: rgba(255,255,255,0.06);
	--surface-2: rgba(255,255,255,0.08);
	--line: rgba(255,255,255,0.08);
	--line-strong: rgba(217, 179, 106, 0.28);
	--text: #f5f7fb;
	--muted: #b2bccd;
	--gold: #d9b36a;
	--gold-soft: #ead4ab;
	--teal: #59ccb6;
	--danger: #ef7d7d;
	--shadow: 0 18px 50px rgba(0,0,0,0.28);
	--radius-xl: 28px;
	--radius-lg: 22px;
	--radius-md: 18px;
	--radius-sm: 14px;
	--container: 1320px;
	--header-h: 78px;
}

* {
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Segoe UI", Tahoma, Arial, sans-serif;
	background:
		radial-gradient(circle at top right, rgba(217,179,106,0.13), transparent 24%),
		radial-gradient(circle at top left, rgba(89,204,182,0.10), transparent 20%),
		linear-gradient(180deg, #091321 0%, #07101c 36%, #050c16 100%);
	color: var(--text);
	min-height: 100vh;
	overflow-x: hidden;
}

body::before,
body::after {
	content: "";
	position: fixed;
	pointer-events: none;
	z-index: 0;
	filter: blur(80px);
	opacity: 0.35;
}

body::before {
	width: 240px;
	height: 240px;
	top: 120px;
	right: -70px;
	background: rgba(217,179,106,0.18);
}

body::after {
	width: 220px;
	height: 220px;
	left: -40px;
	bottom: 90px;
	background: rgba(89,204,182,0.14);
}

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

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

button {
	font: inherit;
	cursor: pointer;
}

code {
	font-family: Consolas, Monaco, monospace;
}

.app-shell {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	padding-bottom: 96px;
}

.container {
	width: min(var(--container), calc(100% - 28px));
	margin-inline: auto;
}

.section {
	padding: 18px 0;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	padding-top: env(safe-area-inset-top, 0px);
	backdrop-filter: blur(22px);
	-webkit-backdrop-filter: blur(22px);
	background: linear-gradient(180deg, rgba(4,10,18,0.88), rgba(4,10,18,0.56));
	border-bottom: 1px solid var(--line);
}

.header-wrap {
	min-height: var(--header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.brand-mark {
	width: 48px;
	height: 48px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	background:
		linear-gradient(145deg, rgba(217,179,106,0.24), rgba(255,255,255,0.06)),
		linear-gradient(180deg, #13233a, #0a1628);
	border: 1px solid var(--line);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.09), 0 10px 30px rgba(0,0,0,0.22);
	flex: 0 0 auto;
}

.brand-mark svg {
	width: 24px;
	height: 24px;
	stroke: var(--gold-soft);
	fill: none;
	stroke-width: 1.8;
}

.brand-copy {
	min-width: 0;
}

.brand-copy small {
	display: block;
	font-size: 12px;
	color: var(--gold-soft);
	margin-bottom: 3px;
}

.brand-copy strong {
	display: block;
	font-size: clamp(18px, 2.1vw, 24px);
	font-weight: 800;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

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

.icon-btn,
.ghost-btn,
.primary-btn,
.action-btn {
	border: 0;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.icon-btn:hover,
.ghost-btn:hover,
.primary-btn:hover,
.action-btn:hover {
	transform: translateY(-1px);
}

.icon-btn {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 14px;
	background: rgba(255,255,255,0.06);
	border: 1px solid var(--line);
	color: var(--text);
}

.icon-btn svg,
.action-btn svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.9;
}

.ghost-btn,
.primary-btn {
	min-height: 48px;
	padding: 0 18px;
	border-radius: 16px;
	font-weight: 700;
}

.ghost-btn {
	background: rgba(255,255,255,0.05);
	border: 1px solid var(--line);
	color: var(--text);
}

.primary-btn {
	background: linear-gradient(135deg, var(--gold-soft), var(--gold));
	color: #0a1220;
	box-shadow: 0 12px 30px rgba(217,179,106,0.22);
}

.breadcrumbs {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	color: rgba(255,255,255,0.78);
	font-size: 13px;
}

.breadcrumbs span {
	opacity: 0.55;
}

.eyebrow {
	display: inline-flex;
	width: fit-content;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	background: rgba(255,255,255,0.07);
	border: 1px solid rgba(255,255,255,0.10);
	color: var(--gold-soft);
	font-size: 13px;
	font-weight: 700;
}

.section-title {
	margin: 0;
	font-size: clamp(22px, 2.8vw, 30px);
	line-height: 1.3;
}

.section-subtitle {
	color: var(--muted);
	font-size: 14px;
	margin-top: 6px;
}

.sidebar-card,
.description-card,
.next-videos-card {
	padding: 22px;
	border-radius: 26px;
	background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04));
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.sidebar-card h3,
.card-head h2,
.card-head h3 {
	margin: 0;
	font-size: clamp(20px, 2.7vw, 28px);
	line-height: 1.3;
}

.card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}

.sidebar-card p,
.description-card p {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.95;
}

.sidebar-list {
	display: grid;
	gap: 10px;
	margin-top: 16px;
}

.sidebar-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 52px;
	padding: 0 14px;
	border-radius: 16px;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.06);
	font-weight: 700;
}

.sidebar-link small {
	color: var(--gold-soft);
	font-size: 12px;
}

/* Home page */
.hero {
	padding: 22px 0 18px;
}

.hero-card {
	position: relative;
	overflow: hidden;
	min-height: 520px;
	border-radius: clamp(24px, 4vw, 34px);
	background:
		linear-gradient(135deg, rgba(217,179,106,0.12), rgba(255,255,255,0.02) 36%),
		linear-gradient(180deg, rgba(9,20,38,0.78), rgba(6,12,22,0.92));
	border: 1px solid rgba(255,255,255,0.08);
	box-shadow: var(--shadow);
	isolation: isolate;
}

.hero-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(4, 10, 18, 0.20) 0%, rgba(4, 10, 18, 0.30) 38%, rgba(4, 10, 18, 0.82) 100%),
		radial-gradient(circle at 18% 28%, rgba(217,179,106,0.16), transparent 22%),
		radial-gradient(circle at 85% 18%, rgba(90,209,184,0.10), transparent 18%),
		linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.03) 42%, transparent 50%);
	z-index: -1;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	min-height: 520px;
}

.hero-content {
	padding: clamp(24px, 4vw, 44px);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	min-height: 520px;
	max-width: 760px;
}

.hero-title {
	margin: 0;
	font-size: clamp(30px, 5vw, 56px);
	line-height: 1.08;
	font-weight: 900;
	max-width: 11ch;
}

.hero-title span {
	color: var(--gold-soft);
	text-shadow: 0 0 30px rgba(217,179,106,0.15);
}

.hero-text {
	margin: 18px 0 24px;
	max-width: 620px;
	color: var(--muted);
	font-size: clamp(15px, 2.1vw, 18px);
	line-height: 1.9;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 22px;
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	max-width: 620px;
}

.stat-card,
.stat-box {
	padding: 16px;
	border-radius: 18px;
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.08);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.stat-card strong,
.stat-box strong {
	display: block;
	font-size: clamp(19px, 2.4vw, 26px);
	margin-bottom: 4px;
}

.stat-card span,
.stat-box span {
	color: var(--muted);
	font-size: 12px;
}

.hero-visual {
	display: none;
}

.categories-grid,
.videos-grid,
.business-categories-grid,
.category-videos-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.category-card,
.video-card,
.business-category-card {
	overflow: hidden;
	border-radius: 24px;
	background: rgba(255,255,255,0.05);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover,
.video-card:hover,
.business-category-card:hover {
	transform: translateY(-3px);
	border-color: var(--line-strong);
}

.category-card {
	position: relative;
	min-height: 148px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	isolation: isolate;
}

.category-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at top right, rgba(217,179,106,0.16), transparent 35%);
	z-index: -1;
}

.category-card .badge {
	position: absolute;
	top: 16px;
	right: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 28px;
	border-radius: 999px;
	background: rgba(255,255,255,0.08);
	color: var(--gold-soft);
	font-size: 12px;
	font-weight: 700;
	padding: 0 10px;
	border: 1px solid rgba(255,255,255,0.08);
}

.category-card h3,
.business-category-content h3,
.video-body h3 {
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.6;
}

.category-card p,
.business-category-content p,
.video-body p {
	margin: 0;
	color: var(--muted);
	line-height: 1.75;
	font-size: 14px;
}

.video-thumb,
.business-category-thumb {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
}

.video-thumb {
	aspect-ratio: 16 / 10.4;
}

.video-thumb::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(4,10,18,0.08) 0%, rgba(4,10,18,0.66) 100%);
}

.video-card-top,
.video-card-bottom {
	position: absolute;
	right: 14px;
	left: 14px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.video-card-top { top: 14px; }
.video-card-bottom { bottom: 14px; align-items: flex-end; }

.video-badge,
.video-duration,
.video-views,
.next-duration,
.hero-meta-pill,
.filter-chip,
.meta-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	padding: 0 10px;
	border-radius: 999px;
	background: rgba(7,17,31,0.62);
	border: 1px solid rgba(255,255,255,0.10);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	font-size: 12px;
	font-weight: 700;
}

.video-play {
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: rgba(255,255,255,0.14);
	border: 1px solid rgba(255,255,255,0.14);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	display: grid;
	place-items: center;
	box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

.video-play svg {
	width: 20px;
	height: 20px;
	fill: var(--text);
	margin-right: -1px;
}

.video-body,
.business-category-content {
	padding: 16px;
	display: grid;
	gap: 8px;
}

.video-meta-row {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	color: var(--muted);
	font-size: 13px;
	margin-top: 4px;
}

.featured-strip {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 16px;
}

.promo-panel,
.info-panel {
	border-radius: 24px;
	padding: 22px;
	background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
	border: 1px solid rgba(255,255,255,0.08);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.promo-panel {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 20px;
	min-height: 220px;
}

.promo-panel h3,
.info-panel h3 {
	margin: 0 0 10px;
	font-size: 28px;
	line-height: 1.35;
}

.promo-panel p,
.info-panel p {
	margin: 0;
	color: var(--muted);
	line-height: 1.9;
}

.promo-figure {
	width: 160px;
	height: 160px;
	border-radius: 26px;
	background:
		radial-gradient(circle at 30% 30%, rgba(217,179,106,0.35), transparent 34%),
		linear-gradient(180deg, #10203a, #0b1524);
	border: 1px solid rgba(255,255,255,0.08);
	box-shadow: 0 20px 40px rgba(0,0,0,0.24);
	position: relative;
	overflow: hidden;
}

.promo-figure::before,
.promo-figure::after {
	content: "";
	position: absolute;
	border-radius: 18px;
	border: 1px solid rgba(255,255,255,0.08);
	background: rgba(255,255,255,0.05);
}

.promo-figure::before {
	width: 68px;
	height: 96px;
	top: 22px;
	right: 20px;
}

.promo-figure::after {
	width: 88px;
	height: 20px;
	left: 16px;
	bottom: 22px;
}

.info-list {
	display: grid;
	gap: 12px;
	margin-top: 18px;
}

.info-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 16px;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.07);
}

.info-dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--teal);
	box-shadow: 0 0 20px rgba(90,209,184,0.45);
	flex: 0 0 auto;
}

.business-categories-section {
	padding: 18px 0 10px;
}

.business-category-thumb {
	aspect-ratio: 16 / 9;
}

.business-category-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(4,10,18,0.10) 0%, rgba(4,10,18,0.18) 45%, rgba(4,10,18,0.55) 100%),
		linear-gradient(135deg, rgba(217,179,106,0.12), rgba(255,255,255,0.00) 50%);
}

/* Category page */
.category-hero {
	position: relative;
	min-height: 410px;
	border-radius: 30px;
	overflow: hidden;
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	display: flex;
	align-items: flex-end;
}

.category-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(4,10,18,0.06) 0%, rgba(4,10,18,0.20) 42%, rgba(4,10,18,0.82) 100%),
		radial-gradient(circle at 82% 20%, rgba(217,179,106,0.14), transparent 20%),
		radial-gradient(circle at 12% 18%, rgba(89,204,182,0.10), transparent 18%);
}

.category-hero-content {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: clamp(22px, 4vw, 42px);
	display: grid;
	gap: 16px;
}

.category-hero-title {
	margin: 0;
	font-size: clamp(30px, 5vw, 54px);
	line-height: 1.08;
	max-width: 10ch;
}

.category-hero-desc {
	margin: 0;
	max-width: 760px;
	color: var(--muted);
	line-height: 1.9;
	font-size: clamp(15px, 2vw, 18px);
}

.category-hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding-top: 6px;
}

.hero-meta-pill,
.filter-chip,
.meta-chip,
.action-btn {
	min-height: 40px;
	padding: 0 14px;
}

.filter-chip {
	background: rgba(255,255,255,0.05);
	border: 1px solid var(--line);
	color: var(--text);
	font-size: 13px;
}

.filter-chip.active {
	background: rgba(217,179,106,0.14);
	border-color: var(--line-strong);
	color: var(--gold-soft);
}

.category-layout,
.video-page-layout {
	display: grid;
	gap: 20px;
	align-items: start;
}

.category-layout {
	grid-template-columns: minmax(0, 1fr) 320px;
}

.filters-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}

.filter-group {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.sidebar-stack,
.video-side-stack {
	display: grid;
	gap: 16px;
	position: sticky;
	top: calc(var(--header-h) + 18px);
}

.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 22px;
}

.page-btn {
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 14px;
	border: 1px solid var(--line);
	background: rgba(255,255,255,0.05);
	color: var(--text);
	font-weight: 700;
}

.page-btn.active {
	background: rgba(217,179,106,0.14);
	border-color: var(--line-strong);
	color: var(--gold-soft);
}

/* Video page */
.video-page-layout {
	grid-template-columns: minmax(0, 1fr) 360px;
}

.video-player-card {
	overflow: hidden;
	border-radius: 30px;
	border: 1px solid var(--line);
	background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
	box-shadow: var(--shadow);
}

.player-wrap {
	padding: 16px;
	background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
}

.video-player-shell {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	background: #000;
	border: 1px solid rgba(255,255,255,0.08);
}

.video-js {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	background: #000;
	font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

.video-js .vjs-big-play-button {
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,0.22);
	background: rgba(255,255,255,0.12);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	width: 88px;
	height: 88px;
	line-height: 88px;
	margin-left: -44px;
	margin-top: -44px;
	font-size: 2.6em;
}

.video-js:hover .vjs-big-play-button,
.video-js .vjs-big-play-button:focus {
	background: rgba(255,255,255,0.18);
}

.video-js .vjs-control-bar {
	background: linear-gradient(180deg, rgba(6,12,22,0.24), rgba(6,12,22,0.82));
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.video-js .vjs-play-progress,
.video-js .vjs-volume-level {
	background-color: var(--gold);
}

.video-js .vjs-load-progress div {
	background: rgba(255,255,255,0.18);
}

.video-content-card {
	padding: 22px;
	display: grid;
	gap: 18px;
}

.video-title {
	margin: 0;
	font-size: clamp(24px, 3.2vw, 34px);
	line-height: 1.35;
}

.video-summary {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.95;
	max-width: 900px;
}

.video-info-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}

.meta-list,
.action-list {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.next-list {
	display: grid;
	gap: 12px;
}

.next-item {
	display: grid;
	grid-template-columns: 148px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding: 12px;
	border-radius: 20px;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.06);
}

.next-thumb {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: 16px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
}

.next-thumb::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(4,10,18,0.06), rgba(4,10,18,0.54));
}

.next-duration {
	position: absolute;
	left: 10px;
	bottom: 10px;
	z-index: 1;
	min-height: 28px;
	padding: 0 8px;
}

.next-copy h4 {
	margin: 0 0 6px;
	font-size: 17px;
	line-height: 1.55;
}

.next-copy p {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.7;
}

.mini-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.mini-author-avatar {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background:
		linear-gradient(145deg, rgba(217,179,106,0.24), rgba(255,255,255,0.05)),
		linear-gradient(180deg, #13233a, #0a1628);
	border: 1px solid var(--line);
	display: grid;
	place-items: center;
	color: var(--gold-soft);
	font-weight: 800;
}

.mini-author strong {
	display: block;
	margin-bottom: 4px;
}

.mini-author span {
	display: block;
	color: var(--muted);
	font-size: 13px;
}

.stat-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 16px;
}

/* Footer + menu */
.site-footer {
	padding: 28px 0 16px;
	color: var(--muted);
}

.footer-card {
	border-radius: 22px;
	padding: 20px;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.06);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}

.footer-links {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.bottom-nav {
	position: fixed;
	right: 14px;
	left: 14px;
	bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	z-index: 95;
	display: none;
	border-radius: 24px;
	padding: 10px 12px;
	background: rgba(7,17,31,0.82);
	border: 1px solid var(--line);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: 0 18px 50px rgba(0,0,0,0.34);
}

.bottom-nav ul {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	padding: 0;
	margin: 0;
	width: 100%;
}

.bottom-nav a {
	min-height: 58px;
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: var(--muted);
	font-size: 11px;
	background: transparent;
}

.bottom-nav a.active {
	color: var(--text);
	background: rgba(255,255,255,0.05);
}

.bottom-nav svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.9;
}

.menu-panel {
	position: fixed;
	top: 0;
	left: 0;
	width: min(380px, 92vw);
	height: 100vh;
	z-index: 120;
	transform: translateX(-104%);
	transition: transform 0.28s ease;
	padding: calc(18px + env(safe-area-inset-top, 0px)) 18px calc(18px + env(safe-area-inset-bottom, 0px));
	background: linear-gradient(180deg, rgba(8,15,27,0.98), rgba(6,10,18,0.98));
	border-right: 1px solid var(--line);
	box-shadow: 30px 0 80px rgba(0,0,0,0.4);
}

.menu-panel.open {
	transform: translateX(0);
}

.menu-overlay {
	position: fixed;
	inset: 0;
	z-index: 110;
	background: rgba(3,7,14,0.56);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
}

.menu-overlay.show {
	opacity: 1;
	visibility: visible;
}

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

.menu-links {
	display: grid;
	gap: 10px;
}

.menu-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 58px;
	padding: 0 16px;
	border-radius: 18px;
	color: var(--text);
	background: rgba(255,255,255,0.05);
	border: 1px solid var(--line);
}

.menu-link span:last-child {
	color: var(--gold-soft);
}

.video-page-layout
{
	display: block;
}

.video-top-head {
	padding: 16px 20px 10px;
}

.video-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}

.video-heading-group {
	min-width: 0;
	flex: 1 1 320px;
}

.video-actions-top {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.video-action-btn {
	font-size: 14px;
	min-height: 42px;
	padding: 0 14px;
	border-radius: 14px;
	border: 1px solid rgba(255,255,255,0.10);
	background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
	color: var(--text);
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	box-shadow: 0 12px 24px rgba(0,0,0,0.18);
	cursor: pointer;
}

.item-desc {
	display: -webkit-box;
	-webkit-line-clamp: 2;   /* number of visible lines */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.6;
}

.daily-tip {
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.daily-tip.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.video-action-btn svg {
	width: 17px;
	height: 17px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.9;
}

.video-action-btn.is-favorite {
	background: linear-gradient(135deg, rgba(217,179,106,0.22), rgba(217,179,106,0.10));
	border-color: rgba(217,179,106,0.30);
	color: var(--gold-soft);
}

.video-action-btn.is-share {
	background: linear-gradient(135deg, rgba(89,204,182,0.16), rgba(255,255,255,0.05));
	border-color: rgba(89,204,182,0.22);
}

.video-content-card {
	padding: 14px 20px 18px;
}

@media (max-width: 760px) {
	.video-top-head {
		padding: 12px 14px 8px;
	}

	.video-content-card {
		padding: 10px 14px 14px;
	}

	.video-header-row {
		align-items: stretch;
		gap: 10px;
	}

	.video-heading-group {
		flex: 1 1 100%;
	}

	.video-title {
		font-size: 20px;
		line-height: 1.4;
	}

	.video-actions-top {
		width: 100%;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.video-action-btn {
		min-height: 38px;
		padding: 0 10px;
		border-radius: 12px;
		font-size: 13px;
		justify-content: center;
	}

	.video-action-btn svg {
		width: 16px;
		height: 16px;
	}
}

@media (max-width: 480px) {
	.video-actions-top {
		grid-template-columns: 1fr;
	}

	.video-title {
		font-size: 18px;
	}
}

@media (max-width: 1200px) {
	.videos-grid,
	.categories-grid,
	.business-categories-grid,
	.category-videos-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1180px) {
	.category-layout,
	.video-page-layout {
		grid-template-columns: 1fr;
	}

	.sidebar-stack,
	.video-side-stack {
		position: static;
	}
}

@media (max-width: 980px) {
	:root {
		--header-h: 72px;
	}

	.featured-strip {
		grid-template-columns: 1fr;
	}

	.promo-panel {
		grid-template-columns: 1fr;
	}

	.promo-figure {
		width: 100%;
		height: 130px;
	}
}

@media (max-width: 760px) {
	.container {
		width: min(100% - 18px, var(--container));
	}

	.header-actions .ghost-btn {
		display: none;
	}

	.hero {
		padding-top: 14px;
	}

	.hero-card,
	.hero-grid,
	.hero-content {
		min-height: auto;
	}

	.hero-content,
	.player-wrap,
	.video-content-card,
	.description-card,
	.next-videos-card,
	.sidebar-card,
	.category-hero-content {
		padding: 18px;
	}

	.hero-title,
	.category-hero-title,
	.video-title {
		max-width: 100%;
		font-size: 32px;
	}

	.hero-text,
	.category-hero-desc,
	.video-summary {
		font-size: 15px;
	}

	.hero-stats,
	.stat-grid,
	.videos-grid,
	.categories-grid,
	.business-categories-grid,
	.category-videos-grid,
	.next-item {
		grid-template-columns: 1fr;
	}

	.next-thumb {
		aspect-ratio: 16 / 9;
	}

	.site-footer {
		padding-bottom: 98px;
	}

	.bottom-nav {
		display: block;
	}
}

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

.section-head-flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.section-head-flex .link-more {
	margin-inline-start: auto;
	color: var(--gold-soft);
	font-weight: 700;
	white-space: nowrap;
}

.section-separator {
	position: relative;
	height: 34px;
	margin: 8px 0 2px;
}

.section-separator::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 18%, rgba(217,179,106,0.28) 50%, rgba(255,255,255,0.06) 82%, transparent 100%);
	transform: translateY(-50%);
}

.section-separator::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--gold-soft), rgba(217,179,106,0.2));
	transform: translate(-50%, -50%);
	box-shadow: 0 0 18px rgba(217,179,106,0.22);
}

.tip-ticker-section {
	padding: 14px 0 8px;
}

.tip-ticker {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 0;
	overflow: hidden;
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.04));
	border: 1px solid rgba(255,255,255,0.08);
	box-shadow: 0 14px 34px rgba(0,0,0,0.18);
	cursor: pointer;
}

.tip-ticker-label {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 18px;
	background: linear-gradient(135deg, rgba(217,179,106,0.22), rgba(217,179,106,0.08));
	border-left: 1px solid rgba(255,255,255,0.08);
	color: var(--gold-soft);
	font-weight: 800;
	white-space: nowrap;
}

.tip-ticker-viewport {
	position: relative;
	overflow: hidden;
	min-width: 0;
	min-height: 54px;
	display: flex;
	align-items: center;
	direction: ltr;
}

.tip-ticker-track {
	display: flex;
	align-items: center;
	width: max-content;
	will-change: transform;
	animation: ticker-marquee-rtl 36s linear infinite;
}

.tip-ticker:hover .tip-ticker-track,
.tip-ticker:focus-within .tip-ticker-track {
	animation-play-state: paused;
}

.tip-ticker-item {
	flex: 0 0 auto;
	padding: 0 40px;
	color: var(--text);
	font-size: 14px;
	line-height: 1.8;
	white-space: nowrap;
	direction: rtl;
}

@keyframes ticker-marquee-rtl {
	from { transform: translateX(-50%); }
	to { transform: translateX(0); }
}

.tip-modal {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: none;
}

.tip-modal.is-open {
	display: block;
}

.tip-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4,10,18,0.62);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.tip-modal-dialog {
	position: relative;
	width: min(680px, calc(100% - 24px));
	margin: 8vh auto 0;
	padding: 24px;
	border-radius: 24px;
	background: linear-gradient(180deg, rgba(11,18,32,0.98), rgba(7,12,22,0.98));
	border: 1px solid rgba(255,255,255,0.08);
	box-shadow: 0 24px 70px rgba(0,0,0,0.35);
}

.tip-modal-dialog h3 {
	margin: 0 0 14px;
	font-size: 24px;
}

.tip-modal-text {
	margin: 0;
	color: var(--muted);
	line-height: 2;
	font-size: 15px;
}

.tip-modal-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.tip-modal-close {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 12px;
	background: rgba(255,255,255,0.06);
	color: var(--text);
	font-size: 24px;
	cursor: pointer;
}

.app-toast {
	position: fixed;
	left: 50%;
	bottom: calc(18px + env(safe-area-inset-bottom, 0px));
	transform: translateX(-50%) translateY(20px);
	z-index: 350;
	min-width: 180px;
	max-width: calc(100% - 24px);
	padding: 12px 16px;
	border-radius: 14px;
	background: rgba(12,20,35,0.94);
	border: 1px solid rgba(255,255,255,0.08);
	color: var(--text);
	text-align: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
	box-shadow: 0 16px 36px rgba(0,0,0,0.25);
}

.app-toast.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.item-desc,
.video-body p {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.video-body p {
	min-height: 3.5em;
}

.footer-card {
	justify-content: center;
}

.footer-links {
	width: 100%;
	justify-content: center;
}

.quiz-card {
	border-radius: 24px;
	padding: 22px;
	background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
	border: 1px solid rgba(255,255,255,0.08);
	box-shadow: var(--shadow);
}

.quiz-card h3 {
	margin: 0 0 10px;
	font-size: 26px;
}

.quiz-card p {
	margin: 0 0 16px;
	color: var(--muted);
	line-height: 1.9;
}

.quiz-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

@media (max-width: 760px) {
	.tip-ticker {
		grid-template-columns: 1fr;
	}

	.tip-ticker-label {
		min-height: 44px;
		padding: 0 14px;
		border-left: 0;
		border-bottom: 1px solid rgba(255,255,255,0.08);
		justify-content: flex-start;
	}

	.tip-ticker-viewport {
		min-height: 46px;
	}

	.tip-ticker-item {
		padding: 0 24px;
		font-size: 13px;
	}

	.tip-modal-dialog {
		padding: 18px;
	}
}


/* Additional shared UI */
.tip-ticker-viewport {
	padding-inline: 16px;
}

.tip-ticker-item {
	padding-inline: 28px;
}

.quiz-actions a,
.quiz-actions button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	line-height: 1.2;
}

.quiz-actions .ghost-btn,
.quiz-actions .primary-btn {
	min-height: 46px;
}

.page-card {
	border-radius: 26px;
	padding: 22px;
	background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
	border: 1px solid rgba(255,255,255,0.08);
	box-shadow: var(--shadow);
}

.page-card h1,
.page-card h2,
.page-card h3 {
	margin: 0 0 12px;
}

.page-card p,
.page-card li {
	color: var(--muted);
	line-height: 1.9;
}

.page-grid-two {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.info-list-grid {
	display: grid;
	gap: 12px;
}

.info-item-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 16px;
	border-radius: 16px;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.06);
}

.info-item-row strong {
	color: var(--text);
	font-weight: 700;
}

.list-card-grid {
	display: grid;
	gap: 14px;
}

.list-card-item {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding: 12px;
	border-radius: 20px;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.06);
}

.list-card-thumb {
	aspect-ratio: 16 / 10;
	border-radius: 14px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.empty-state {
	padding: 28px 22px;
	text-align: center;
	border-radius: 22px;
	background: rgba(255,255,255,0.04);
	border: 1px dashed rgba(255,255,255,0.12);
}

.modal-window {
	position: fixed;
	inset: 0;
	z-index: 310;
	display: none;
}

.modal-window.is-open {
	display: block;
}

.modal-window__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4,10,18,0.62);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.modal-window__dialog {
	position: relative;
	width: min(760px, calc(100% - 24px));
	max-height: 84vh;
	overflow: auto;
	margin: 8vh auto 0;
	padding: 24px;
	border-radius: 24px;
	background: linear-gradient(180deg, rgba(11,18,32,0.98), rgba(7,12,22,0.98));
	border: 1px solid rgba(255,255,255,0.08);
	box-shadow: 0 24px 70px rgba(0,0,0,0.35);
}

.modal-window__close {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 12px;
	background: rgba(255,255,255,0.06);
	color: var(--text);
	font-size: 24px;
	cursor: pointer;
}

.modal-window__dialog h2 {
	margin: 0 0 14px;
}

.modal-window__dialog p,
.modal-window__dialog li {
	color: var(--muted);
	line-height: 2;
}

.footer-link-btn {
	background: transparent;
	border: 0;
	color: var(--text);
	font: inherit;
	cursor: pointer;
}

@media (max-width: 760px) {
	.tip-ticker-viewport {
		padding-inline: 12px;
	}

	.tip-ticker-item {
		padding-inline: 18px;
	}

	.page-grid-two {
		grid-template-columns: 1fr;
	}

	.list-card-item {
		grid-template-columns: 1fr;
	}

	.quiz-actions {
		grid-template-columns: 1fr;
	}

	.quiz-actions .ghost-btn,
	.quiz-actions .primary-btn {
		width: 100%;
	}

	.modal-window__dialog {
		padding: 18px;
	}
}
