/**
 * Noxora global styles — dark red/black WebApp shell.
 */

:root {
	--noxora-black: #050505;
	--noxora-black-soft: #0a0a0a;
	--noxora-surface: #111111;
	--noxora-surface-2: #1a1a1a;
	--noxora-red: #e60000;
	--noxora-red-bright: #ff1a1a;
	--noxora-red-dim: #991111;
	--noxora-text: #f5f5f5;
	--noxora-text-muted: #a3a3a3;
	--noxora-border: rgba(255, 255, 255, 0.05);
	--noxora-glass-bg: rgba(10, 10, 10, 0.6);
	--noxora-glass-border: rgba(255, 255, 255, 0.05);
	--noxora-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
	--noxora-radius: 16px;
	--noxora-radius-sm: 10px;
	--noxora-sidebar-w: 240px;
	--noxora-nav-h: 68px;
	--noxora-topbar-h: 56px;
	--noxora-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--noxora-transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html.noxora-html,
body.noxora-body {
	margin: 0;
	padding: 0;
	min-height: 100%;
	background: var(--noxora-black);
	color: var(--noxora-text);
	font-family: var(--noxora-font);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.noxora-app {
	background:
		radial-gradient(ellipse 80% 50% at 50% -20%, rgba(230, 0, 0, 0.14), transparent),
		linear-gradient(180deg, var(--noxora-black) 0%, var(--noxora-black-soft) 100%);
}

html.noxora-html {
	scrollbar-width: thin;
	scrollbar-color: var(--noxora-red-dim) var(--noxora-black);
}

html.noxora-html::-webkit-scrollbar { width: 5px; height: 5px; }
html.noxora-html::-webkit-scrollbar-track { background: var(--noxora-black); }
html.noxora-html::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, var(--noxora-red), var(--noxora-red-dim));
	border-radius: 999px;
}

/* ── Shell layout ── */
.noxora-shell {
	display: flex;
	min-height: 100dvh;
	width: 100%;
	max-width: 100%;
}

.noxora-shell__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding-bottom: calc(var(--noxora-nav-h) + env(safe-area-inset-bottom, 0px));
}

.noxora-sidebar {
	display: none;
}

.noxora-main {
	flex: 1;
	min-height: 0;
}

.noxora-content-area {
	padding: 12px 14px 24px;
	transition: opacity var(--noxora-transition);
}

.noxora-content-area.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

@media (min-width: 1024px) {
	.noxora-shell__body {
		padding-bottom: 0;
	}

	.noxora-sidebar {
		display: flex;
		flex-direction: column;
		width: var(--noxora-sidebar-w);
		min-height: 100dvh;
		position: sticky;
		top: 0;
		padding: 20px 14px;
		border-right: 1px solid var(--noxora-border);
		border-radius: 0;
	}

	.noxora-sidebar.is-collapsed {
		width: 72px;
		padding-inline: 8px;
	}

	.noxora-sidebar.is-collapsed .noxora-sidebar__text,
	.noxora-sidebar.is-collapsed .noxora-side-nav__text,
	.noxora-sidebar.is-collapsed .noxora-side-nav__label,
	.noxora-sidebar.is-collapsed .noxora-sidebar__logo {
		display: none;
	}

	#noxora-bottom-nav { display: none; }

	.noxora-content-area {
		padding: 20px 28px 32px;
		max-width: 1200px;
	}
}

/* ── Glass ── */
.noxora-glass {
	background: var(--noxora-glass-bg);
	border: 1px solid var(--noxora-glass-border);
	border-radius: var(--noxora-radius);
	box-shadow: var(--noxora-shadow);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

/* ── Topbar ── */
.noxora-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--noxora-topbar-h);
	padding: 0 16px;
	position: sticky;
	top: 0;
	z-index: 40;
	border-radius: 0;
	border-left: none;
	border-right: none;
	border-top: none;
}

@media (min-width: 1024px) {
	.noxora-topbar { display: none; }
}

.noxora-logo {
	color: var(--noxora-text);
	font-weight: 800;
	font-size: 1.125rem;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.noxora-logo::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 4px;
	background: var(--noxora-red);
	border-radius: 50%;
	vertical-align: super;
}

.noxora-avatar { border-radius: 50%; border: 2px solid var(--noxora-red-dim); }
.noxora-btn--sm { min-height: 36px; padding: 0 14px; font-size: 0.8125rem; }

/* ── Desktop sidebar ── */
.noxora-sidebar__brand { margin-bottom: 28px; padding: 0 8px; }

.noxora-sidebar__logo {
	display: block;
	font-size: 1.375rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.noxora-sidebar__tag {
	font-size: 0.6875rem;
	color: var(--noxora-red-bright);
	text-transform: uppercase;
	letter-spacing: 0.14em;
}

.noxora-sidebar__nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.noxora-sidebar__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: var(--noxora-radius-sm);
	color: var(--noxora-text-muted);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9375rem;
	transition: background var(--noxora-transition), color var(--noxora-transition), transform var(--noxora-transition);
}

.noxora-sidebar__link:hover {
	background: rgba(230, 0, 0, 0.08);
	color: var(--noxora-text);
}

.noxora-sidebar__link.is-active {
	background: linear-gradient(90deg, rgba(230, 0, 0, 0.22), rgba(230, 0, 0, 0.06));
	color: var(--noxora-red-bright);
	box-shadow: inset 3px 0 0 var(--noxora-red);
}

.noxora-sidebar__icon { display: flex; line-height: 0; }

/* ── Mobile bottom nav ── */
.noxora-nav-mobile {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	display: flex;
	height: var(--noxora-nav-h);
	padding-bottom: env(safe-area-inset-bottom, 0px);
	background: rgba(10, 10, 10, 0.94);
	backdrop-filter: blur(20px);
	border-top: 1px solid var(--noxora-border);
}

.noxora-nav-mobile__item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	color: var(--noxora-text-muted);
	text-decoration: none;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	transition: color var(--noxora-transition), transform var(--noxora-transition);
}

.noxora-nav-mobile__item.is-active {
	color: var(--noxora-red-bright);
	transform: translateY(-2px);
}

.noxora-nav-mobile__item.is-active .noxora-nav-mobile__icon {
	filter: drop-shadow(0 0 8px rgba(230, 0, 0, 0.65));
}

.noxora-nav-mobile__icon { display: flex; line-height: 0; }

/* ── Typography ── */
.noxora-kicker {
	margin: 0 0 8px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--noxora-red-bright);
}

.noxora-title {
	margin: 0 0 10px;
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 800;
	line-height: 1.15;
}

.noxora-lead {
	margin: 0;
	color: var(--noxora-text-muted);
	line-height: 1.6;
}

.noxora-section { margin-bottom: 28px; }

.noxora-section__head { margin-bottom: 14px; }

.noxora-section__title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
}

/* ── Buttons ── */
.noxora-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	border-radius: var(--noxora-radius-sm);
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: transform var(--noxora-transition), box-shadow var(--noxora-transition);
}

.noxora-btn:active { transform: scale(0.97); }

.noxora-btn--primary {
	background: linear-gradient(135deg, var(--noxora-red), var(--noxora-red-dim));
	color: #fff;
	box-shadow: 0 4px 24px rgba(230, 0, 0, 0.35);
}

.noxora-btn--ghost {
	background: transparent;
	color: var(--noxora-text);
	border: 1px solid var(--noxora-border);
}

/* ── Home hero ── */
.noxora-hero-home {
	position: relative;
	border-radius: var(--noxora-radius);
	overflow: hidden;
	min-height: 280px;
	margin-bottom: 28px;
}

.noxora-hero-home__bg {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(135deg, rgba(230, 0, 0, 0.35) 0%, transparent 55%),
		radial-gradient(circle at 80% 20%, rgba(255, 26, 26, 0.25), transparent 40%),
		url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
		var(--noxora-surface);
}

.noxora-hero-home__content {
	position: relative;
	padding: 36px 24px;
	z-index: 1;
}

.noxora-hero-home__title {
	margin: 0 0 12px;
	font-size: clamp(2.5rem, 8vw, 3.5rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1;
	background: linear-gradient(180deg, #fff 0%, #ccc 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.noxora-hero-home__slogan {
	margin: 0 0 24px;
	max-width: 520px;
	font-size: 1.0625rem;
	color: var(--noxora-text-muted);
}

.noxora-hero-home__title--philosophy {
	display: grid;
	gap: 0.15em;
	font-size: clamp(1.75rem, 5.5vw, 2.75rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.noxora-hero-home__title--philosophy span {
	font-size: clamp(2rem, 7vw, 3.25rem);
	font-weight: 900;
	background: linear-gradient(135deg, #fff 0%, var(--noxora-red-bright) 55%, #fff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.noxora-hero-home__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.noxora-hero-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.25rem;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.92rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.noxora-hero-btn--telegram {
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.noxora-hero-btn--telegram:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(230, 0, 0, 0.25);
}

.noxora-hero-btn--mobile {
	color: var(--noxora-text-muted);
	border: 1px solid rgba(255, 255, 255, 0.1);
	cursor: default;
}

.noxora-hero-btn--mobile.is-soon {
	position: relative;
	overflow: hidden;
}

.noxora-hero-btn--mobile.is-soon::after {
	content: "";
	position: absolute;
	inset: -40% auto -40% -60%;
	width: 40%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
	transform: skewX(-18deg);
	animation: noxora-glass-shine 4s ease-in-out infinite;
}

.noxora-hero-btn--mobile.is-soon:hover::after {
	animation-duration: 1.8s;
}

.noxora-hero-btn--mobile.is-active {
	color: #fff;
	cursor: pointer;
}

.noxora-hero-btn--mobile.is-active:hover {
	transform: translateY(-2px);
}

@keyframes noxora-glass-shine {
	0%, 100% { left: -60%; }
	50% { left: 120%; }
}

.noxora-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.75rem;
}

.noxora-section__link {
	color: var(--noxora-red-bright);
	text-decoration: none;
	font-size: 0.9rem;
}

.noxora-profile-saves {
	display: grid;
	gap: 0.65rem;
}

.noxora-profile-save {
	display: grid;
	gap: 0.2rem;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	text-decoration: none;
	color: var(--noxora-text);
}

.noxora-profile-save span {
	font-size: 0.82rem;
	color: var(--noxora-text-muted);
}

/* ── Ecosystem cards ── */
.noxora-eco-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

@media (min-width: 640px) {
	.noxora-eco-grid { grid-template-columns: repeat(3, 1fr); }
}

.noxora-eco-card {
	display: block;
	padding: 20px;
	color: inherit;
	text-decoration: none;
	transition: transform var(--noxora-transition), box-shadow var(--noxora-transition), border-color var(--noxora-transition);
}

.noxora-eco-card:hover {
	transform: translateY(-4px);
	border-color: rgba(230, 0, 0, 0.45);
	box-shadow: 0 12px 40px rgba(230, 0, 0, 0.12);
}

.noxora-eco-card h3 {
	margin: 0 0 6px;
	font-size: 1.125rem;
}

.noxora-eco-card p {
	margin: 0;
	font-size: 0.875rem;
	color: var(--noxora-text-muted);
}

.noxora-eco-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 14px;
	border-radius: 12px;
	background: rgba(230, 0, 0, 0.12);
	color: var(--noxora-red-bright);
}

/* ── Telegram CTA ── */
.noxora-telegram {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	color: inherit;
	text-decoration: none;
	transition: border-color var(--noxora-transition), transform var(--noxora-transition);
}

.noxora-telegram:hover {
	border-color: rgba(0, 136, 204, 0.5);
	transform: translateY(-2px);
}

.noxora-telegram__icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(0, 136, 204, 0.15);
	color: #29b6f6;
}

.noxora-telegram strong { display: block; margin-bottom: 4px; }
.noxora-telegram p { margin: 0; font-size: 0.875rem; color: var(--noxora-text-muted); }
.noxora-telegram__arrow { margin-left: auto; color: var(--noxora-red-bright); font-size: 1.25rem; }

/* ── News ticker ── */
.noxora-ticker {
	overflow: hidden;
	padding: 0;
}

.noxora-ticker__track {
	display: flex;
	gap: 32px;
	width: max-content;
	padding: 14px 20px;
	animation: noxora-ticker 40s linear infinite;
}

.noxora-ticker__track:hover { animation-play-state: paused; }

.noxora-ticker__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--noxora-text-muted);
	text-decoration: none;
	font-size: 0.875rem;
	white-space: nowrap;
	transition: color var(--noxora-transition);
}

.noxora-ticker__item:hover { color: var(--noxora-red-bright); }

.noxora-ticker__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--noxora-red);
	flex-shrink: 0;
}

.noxora-ticker__date {
	font-size: 0.75rem;
	opacity: 0.6;
}

@keyframes noxora-ticker {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* ── Story page ── */
.noxora-story-hero { margin-bottom: 24px; }

.noxora-story-hero__title {
	margin: 0 0 4px;
	font-size: 1.75rem;
	font-weight: 800;
}

.noxora-story-hero__sub {
	margin: 0 0 16px;
	color: var(--noxora-text-muted);
	font-size: 0.9375rem;
}

/* Featured slider */
.noxora-featured-slider {
	position: relative;
	border-radius: var(--noxora-radius);
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--noxora-surface);
}

@media (min-width: 768px) {
	.noxora-featured-slider { aspect-ratio: 21 / 9; }
}

.noxora-featured-slider__track {
	position: relative;
	width: 100%;
	height: 100%;
}

.noxora-featured-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 600ms ease, visibility 600ms;
	text-decoration: none;
	color: inherit;
}

.noxora-featured-slide.is-active {
	opacity: 1;
	visibility: visible;
}

.noxora-featured-slide__bg {
	position: absolute;
	inset: 0;
}

.noxora-featured-slide__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.noxora-featured-slide__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.2) 55%, rgba(10, 10, 10, 0.4) 100%);
}

.noxora-featured-slide__content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 20px;
	z-index: 1;
}

.noxora-featured-slide__content h2 {
	margin: 0 0 8px;
	font-size: clamp(1.25rem, 4vw, 1.75rem);
	font-weight: 800;
}

.noxora-featured-slide__content p {
	margin: 0 0 8px;
	font-size: 0.875rem;
	color: var(--noxora-text-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.noxora-featured-slide__meta {
	font-size: 0.75rem;
	color: var(--noxora-red-bright);
}

.noxora-featured-slider__dots {
	position: absolute;
	bottom: 12px;
	right: 16px;
	display: flex;
	gap: 6px;
	z-index: 2;
}

.noxora-featured-slider__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	cursor: pointer;
	transition: background var(--noxora-transition), transform var(--noxora-transition);
}

.noxora-featured-slider__dot.is-active {
	background: var(--noxora-red);
	transform: scale(1.2);
}

/* Horizontal strips */
.noxora-strip { margin-bottom: 28px; }

.noxora-strip__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
	padding: 0 2px;
}

.noxora-strip__title {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 700;
}

.noxora-strip__scroll {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 4px 2px 12px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.noxora-strip__scroll::-webkit-scrollbar { display: none; }

/* Story cards — 9:16 poster */
.noxora-story-card {
	flex: 0 0 140px;
	scroll-snap-align: start;
	text-decoration: none;
	color: inherit;
	transition: transform var(--noxora-transition);
}

@media (min-width: 640px) {
	.noxora-story-card { flex-basis: 160px; }
}

.noxora-story-card:hover { transform: scale(1.04); }

.noxora-story-card__cover {
	position: relative;
	aspect-ratio: 9 / 14;
	border-radius: var(--noxora-radius-sm);
	overflow: hidden;
	background: var(--noxora-surface-2);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.noxora-story-card__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.noxora-story-card__placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(160deg, var(--noxora-surface-2), var(--noxora-red-dim));
}

.noxora-story-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(10, 10, 10, 0.85) 0%, transparent 50%);
}

.noxora-story-card__rating {
	position: absolute;
	top: 8px;
	right: 8px;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 3px 7px;
	border-radius: 999px;
	background: rgba(10, 10, 10, 0.75);
	font-size: 0.6875rem;
	font-weight: 700;
	color: #fbbf24;
}

.noxora-story-card__meta { padding: 10px 2px 0; }

.noxora-story-card__title {
	margin: 0 0 4px;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.noxora-story-card__author,
.noxora-story-card__stats {
	margin: 0;
	font-size: 0.6875rem;
	color: var(--noxora-text-muted);
}

/* ── Misc pages ── */
.noxora-page-head { padding: 20px; margin-bottom: 16px; }

.noxora-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

@media (min-width: 480px) {
	.noxora-grid { grid-template-columns: repeat(2, 1fr); }
}

.noxora-card {
	display: block;
	padding: 16px;
	color: inherit;
	text-decoration: none;
}

.noxora-card--media .noxora-card__thumb {
	aspect-ratio: 16 / 9;
	border-radius: var(--noxora-radius-sm);
	overflow: hidden;
	margin-bottom: 10px;
	background: var(--noxora-surface-2);
}

.noxora-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.noxora-empty {
	padding: 32px 20px;
	text-align: center;
	color: var(--noxora-text-muted);
}

.noxora-profile-head {
	display: flex;
	align-items: center;
	gap: 16px;
}

.noxora-profile-head__avatar { border-radius: 50%; border: 3px solid var(--noxora-red-dim); }

.noxora-profile-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

@media (min-width: 480px) {
	.noxora-profile-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Hide WP theme chrome */
body.noxora-app #wpadminbar { display: none !important; }

body.noxora-app .site-header,
body.noxora-app .site-footer,
body.noxora-app #masthead,
body.noxora-app #colophon {
	display: none !important;
}

/* ── v1.3 Dynamic shell ── */
.noxora-sidebar__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	padding: 0 4px;
}

.noxora-sidebar__brand {
	text-decoration: none;
	color: inherit;
}

.noxora-sidebar__logo {
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.noxora-sidebar__toggle {
	background: transparent;
	border: 1px solid var(--noxora-border);
	color: var(--noxora-text-muted);
	border-radius: 8px;
	width: 32px;
	height: 32px;
	cursor: pointer;
	display: none;
}

@media (min-width: 1024px) {
	.noxora-sidebar__toggle { display: inline-flex; align-items: center; justify-content: center; }
}

.noxora-sidebar__inner { flex: 1; overflow-y: auto; }

.noxora-side-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.noxora-side-nav__link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: var(--noxora-radius-sm);
	color: var(--noxora-text-muted);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.875rem;
	transition: background var(--noxora-transition), color var(--noxora-transition);
}

.noxora-side-nav__link:hover,
.noxora-side-nav__link.is-active {
	background: rgba(230, 0, 0, 0.12);
	color: var(--noxora-red-bright);
}

.noxora-side-nav__section { margin-top: 20px; }

.noxora-side-nav__label {
	margin: 0 0 8px;
	padding: 0 12px;
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--noxora-text-muted);
}

.noxora-side-nav__list--sub .noxora-side-nav__link {
	font-weight: 500;
	font-size: 0.8125rem;
	padding-left: 16px;
}

@media (max-width: 1023px) {
	.noxora-sidebar {
		display: flex;
		position: fixed;
		left: 0;
		top: 0;
		bottom: 0;
		z-index: 200;
		width: min(280px, 85vw);
		transform: translateX(-105%);
		transition: transform var(--noxora-transition);
		border-radius: 0;
	}

	.noxora-sidebar.is-open { transform: translateX(0); }
}

/* Header */
.noxora-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 14px;
	position: sticky;
	top: 0;
	z-index: 50;
	border-radius: 0;
	border-left: none;
	border-right: none;
	border-top: none;
}

.noxora-header__left {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.noxora-header__context {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--noxora-text-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.noxora-header__menu,
.noxora-header__btn {
	background: transparent;
	border: 1px solid var(--noxora-border);
	color: var(--noxora-text);
	border-radius: 10px;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: border-color var(--noxora-transition), color var(--noxora-transition);
}

.noxora-header__menu:hover,
.noxora-header__btn:hover {
	border-color: var(--noxora-red-dim);
	color: var(--noxora-red-bright);
}

@media (min-width: 1024px) {
	.noxora-header__menu { display: none; }
}

.noxora-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.noxora-search-bar {
	width: 100%;
	padding: 0 14px 12px;
}

.noxora-search-bar__input {
	width: 100%;
	min-height: 42px;
	padding: 0 14px;
	border-radius: var(--noxora-radius-sm);
	border: 1px solid var(--noxora-border);
	background: var(--noxora-surface);
	color: var(--noxora-text);
}

/* Profile dropdown */
.noxora-profile-menu { position: relative; }

.noxora-profile-menu__trigger {
	background: transparent;
	border: none;
	padding: 0;
	cursor: pointer;
}

.noxora-profile-menu__guest {
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid var(--noxora-border);
	color: var(--noxora-text-muted);
}

.noxora-profile-menu__dropdown {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	min-width: 200px;
	padding: 12px;
	z-index: 60;
}

.noxora-profile-menu__wallet {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--noxora-border);
}

.noxora-profile-menu__wallet span {
	display: block;
	font-size: 0.6875rem;
	color: var(--noxora-text-muted);
}

.noxora-profile-menu__wallet strong {
	font-size: 1rem;
	color: var(--noxora-red-bright);
}

.noxora-profile-menu__link {
	display: block;
	padding: 8px 6px;
	color: var(--noxora-text);
	text-decoration: none;
	font-size: 0.875rem;
	border-radius: 8px;
}

.noxora-profile-menu__link:hover {
	background: rgba(230, 0, 0, 0.1);
	color: var(--noxora-red-bright);
}

/* Bottom nav */
#noxora-bottom-nav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	padding-bottom: env(safe-area-inset-bottom, 0px);
}

.noxora-bottom-nav {
	display: flex;
	height: var(--noxora-nav-h);
	background: rgba(10, 10, 10, 0.94);
	backdrop-filter: blur(20px);
	border-top: 1px solid var(--noxora-border);
}

.noxora-bottom-nav__item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	color: var(--noxora-text-muted);
	text-decoration: none;
	font-size: 0.625rem;
	font-weight: 700;
	transition: color var(--noxora-transition), transform var(--noxora-transition);
}

.noxora-bottom-nav__item:active { transform: scale(0.95); }

/* Modal */
body.noxora-modal-open { overflow: hidden; }

.noxora-modal[hidden] { display: none !important; }

.noxora-modal {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.noxora-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
	backdrop-filter: blur(4px);
}

.noxora-modal__dialog {
	position: relative;
	width: min(520px, 100%);
	max-height: 90vh;
	overflow: auto;
	padding: 0;
	animation: noxora-modal-in 220ms ease;
}

@keyframes noxora-modal-in {
	from { opacity: 0; transform: translateY(12px) scale(0.98); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.noxora-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	border-bottom: 1px solid var(--noxora-border);
}

.noxora-modal__head h2 {
	margin: 0;
	font-size: 1.125rem;
}

.noxora-modal__close {
	background: transparent;
	border: none;
	color: var(--noxora-text-muted);
	font-size: 1.5rem;
	cursor: pointer;
	line-height: 1;
}

.noxora-modal__tabs {
	display: flex;
	gap: 4px;
	padding: 10px 12px;
	border-bottom: 1px solid var(--noxora-border);
}

.noxora-modal__tab {
	flex: 1;
	padding: 10px;
	border: none;
	border-radius: 8px;
	background: transparent;
	color: var(--noxora-text-muted);
	font-weight: 600;
	font-size: 0.8125rem;
	cursor: pointer;
	transition: background var(--noxora-transition), color var(--noxora-transition);
}

.noxora-modal__tab.is-active {
	background: rgba(230, 0, 0, 0.15);
	color: var(--noxora-red-bright);
}

.noxora-modal__form { padding: 16px 18px; }

.noxora-modal__panel[hidden] { display: none !important; }

.noxora-modal__hint {
	margin: 0 0 12px;
	font-size: 0.8125rem;
	color: var(--noxora-text-muted);
}

.noxora-field {
	display: block;
	margin-bottom: 12px;
}

.noxora-field span {
	display: block;
	margin-bottom: 6px;
	font-size: 0.8125rem;
	color: var(--noxora-text-muted);
}

.noxora-field input,
.noxora-field textarea,
.noxora-field select {
	width: 100%;
	padding: 10px 12px;
	border-radius: var(--noxora-radius-sm);
	border: 1px solid var(--noxora-border);
	background: var(--noxora-surface);
	color: var(--noxora-text);
	font: inherit;
}

.noxora-modal__status {
	margin: 0 0 10px;
	font-size: 0.875rem;
	color: var(--noxora-red-bright);
}

.noxora-modal__foot {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	padding-top: 8px;
}

/* Gateway cards */
.noxora-gateway-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

@media (min-width: 768px) {
	.noxora-gateway-grid { grid-template-columns: repeat(3, 1fr); }
}

.noxora-gateway {
	position: relative;
	display: block;
	padding: 28px 22px;
	min-height: 200px;
	border-radius: var(--noxora-radius);
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	border: 1px solid var(--noxora-border);
	background: rgba(12, 12, 12, 0.45);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	transform: translateY(0) perspective(900px) rotateX(0deg);
	transition:
		transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.35s ease;
	box-shadow:
		0 4px 24px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.noxora-gateway::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease;
}

.noxora-gateway:hover {
	transform: translateY(-10px) perspective(900px) rotateX(2deg);
	box-shadow:
		0 28px 64px rgba(0, 0, 0, 0.55),
		0 0 0 1px rgba(255, 255, 255, 0.04);
}

.noxora-gateway:hover::before {
	opacity: 1;
}

.noxora-gateway__glow {
	position: absolute;
	inset: -20%;
	opacity: 0.45;
	pointer-events: none;
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.noxora-gateway:hover .noxora-gateway__glow {
	opacity: 1;
	transform: scale(1.08);
}

.noxora-gateway--story {
	border-color: rgba(196, 30, 58, 0.35);
}

.noxora-gateway--story::before {
	background: radial-gradient(circle at 50% 120%, rgba(225, 6, 0, 0.55), transparent 62%);
}

.noxora-gateway--story .noxora-gateway__glow {
	background: radial-gradient(circle at 80% 0%, rgba(255, 40, 40, 0.5), transparent 58%);
}

.noxora-gateway--story:hover {
	border-color: rgba(255, 60, 60, 0.55);
	box-shadow:
		0 28px 64px rgba(0, 0, 0, 0.55),
		0 0 48px rgba(225, 6, 0, 0.28);
}

.noxora-gateway--tube {
	border-color: rgba(180, 200, 255, 0.2);
}

.noxora-gateway--tube::before {
	background: radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.35), transparent 62%);
}

.noxora-gateway--tube .noxora-gateway__glow {
	background: radial-gradient(circle at 20% 100%, rgba(220, 235, 255, 0.45), transparent 52%);
}

.noxora-gateway--tube:hover {
	border-color: rgba(255, 255, 255, 0.35);
	box-shadow:
		0 28px 64px rgba(0, 0, 0, 0.55),
		0 0 42px rgba(255, 255, 255, 0.18);
}

.noxora-gateway--pro {
	border-color: rgba(212, 175, 55, 0.4);
}

.noxora-gateway--pro::before {
	background: radial-gradient(circle at 50% 120%, rgba(255, 200, 80, 0.45), transparent 62%);
}

.noxora-gateway--pro .noxora-gateway__glow {
	background: radial-gradient(circle at 50% 0%, rgba(255, 200, 80, 0.35), rgba(225, 6, 0, 0.12) 60%, transparent 72%);
}

.noxora-gateway--pro:hover {
	border-color: rgba(255, 210, 100, 0.55);
	box-shadow:
		0 28px 64px rgba(0, 0, 0, 0.55),
		0 0 48px rgba(212, 175, 55, 0.28);
}

.noxora-gateway__badge {
	display: inline-block;
	margin-bottom: 12px;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--noxora-red-bright);
}

.noxora-gateway h3 {
	position: relative;
	margin: 0 0 8px;
	font-size: 1.25rem;
}

.noxora-gateway p {
	position: relative;
	margin: 0;
	font-size: 0.875rem;
	color: var(--noxora-text-muted);
}

.noxora-hero-home__logo {
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--noxora-red-bright);
	margin-bottom: 8px;
}

/* Swiper */
.noxora-swiper {
	overflow: hidden;
	border-radius: var(--noxora-radius);
}

.noxora-swiper__track {
	display: flex;
	gap: 12px;
	will-change: transform;
}

.noxora-swiper__slide {
	flex: 0 0 min(280px, 80vw);
	padding: 14px 16px;
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.noxora-swiper__type {
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--noxora-red-bright);
}

.noxora-swiper__title {
	font-size: 0.9375rem;
	font-weight: 600;
}

.noxora-swiper__date {
	font-size: 0.75rem;
	color: var(--noxora-text-muted);
}
