/*
Theme Name: Nova
Theme URI:
Author: Nova Burst
Author URI:
Description: Nova Burst 超新星紫青主题：顶部 sticky 导航（N1）、轮播 Hero（H5）、玻璃态卡片（C1）、五列页脚（F5）、TOC 左侧栏内容页（S2）。
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nova
Tags: blog, one-column, custom-menu, featured-images, translation-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Epilogue:wght@400;500;600;700&display=swap');

/* ---------- tokens ---------- */
:root {
	--nov-bg: #0d0716;
	--nov-panel: #191026;
	--nov-acc1: #a855f7;
	--nov-acc1-dim: #7c3aed;
	--nov-acc2: #22d3ee;
	--nov-text: #efe7fb;
	--nov-muted: #a78bba;
	--nov-line: rgba(168, 85, 247, .14);
	--nov-up: #34d399;
	--nov-down: #f87171;
	--nov-radius: 16px;
	--nov-glass: rgba(25, 16, 38, .62);
	--nov-glass-border: rgba(168, 85, 247, .18);
	--nov-shadow: 0 8px 32px rgba(0, 0, 0, .4);
	--nov-font-display: 'Syne', 'PingFang SC', 'Microsoft YaHei', sans-serif;
	--nov-font-body: 'Epilogue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
	--nov-container: 1180px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--nov-bg);
	color: var(--nov-text);
	font-family: var(--nov-font-body);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nov-acc2); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--nov-acc1); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--nov-font-display);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 .5em;
	color: var(--nov-text);
}

/* ---------- layout ---------- */
.nov-container { width: 100%; max-width: var(--nov-container); margin: 0 auto; padding: 0 24px; }
.nov-site { display: flex; flex-direction: column; min-height: 100vh; }
.nov-main { flex: 1 0 auto; }

.nov-skip {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--nov-acc1); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.nov-skip:focus { left: 0; color: #fff; }

/* ---------- keyframes ---------- */
@keyframes nov-pulse { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes nov-flash-in { 0% { background: rgba(168, 85, 247, .1); } 100% { background: transparent; } }
@keyframes nov-glow { 0%, 100% { box-shadow: 0 0 18px rgba(168, 85, 247, .25); } 50% { box-shadow: 0 0 32px rgba(168, 85, 247, .45); } }

/* ---------- reveal ---------- */
.nov-reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.nov-reveal--in { opacity: 1; transform: none; }

/* ---------- icon ---------- */
.nov-icon { display: inline-flex; width: 20px; height: 20px; flex: 0 0 auto; }
.nov-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.nov-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: linear-gradient(135deg, var(--nov-acc1), var(--nov-acc1-dim));
	color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .02em;
	padding: 12px 26px; border-radius: 999px; white-space: nowrap;
	box-shadow: 0 4px 20px rgba(168, 85, 247, .35);
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.nov-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(168, 85, 247, .5); }
.nov-btn--lg { padding: 15px 34px; font-size: 15px; }
.nov-btn--sm { padding: 8px 18px; font-size: 13px; }
.nov-btn--block { width: 100%; }
.nov-btn--ghost {
	background: transparent; color: var(--nov-acc2);
	border: 1.5px solid rgba(34, 211, 238, .4); box-shadow: none;
}
.nov-btn--ghost:hover { background: rgba(34, 211, 238, .08); color: var(--nov-acc2); box-shadow: none; }
.nov-btn--outline { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); box-shadow: none; }
.nov-btn--outline:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nov-btn--cta { background: linear-gradient(135deg, var(--nov-acc1), #c084fc); box-shadow: 0 4px 20px rgba(168, 85, 247, .4); }
.nov-btn--pill { border-radius: 999px; }
.nov-btn .nov-icon { width: 16px; height: 16px; }

/* ---------- header (N1 sticky top bar) ---------- */
.nov-header {
	position: sticky; top: 0; z-index: 90;
	background: rgba(13, 7, 22, .88);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s ease, box-shadow .25s ease;
}
.nov-header--stuck { border-bottom-color: var(--nov-line); box-shadow: 0 4px 24px rgba(168, 85, 247, .12); }
.nov-header__inner { display: flex; align-items: center; gap: 24px; min-height: 70px; }

.nov-brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 1 auto; min-width: 0; }
.nov-brand__mark {
	width: 38px; height: 38px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--nov-acc1), var(--nov-acc2));
	color: #fff; animation: nov-glow 3.5s ease-in-out infinite;
}
.nov-brand__mark .nov-icon { width: 20px; height: 20px; }
.nov-brand__name { font-family: var(--nov-font-display); font-size: 20px; font-weight: 800; color: var(--nov-text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nov-brand:hover .nov-brand__name { color: var(--nov-acc2); }

.nov-nav { flex: 1; min-width: 0; }
.nov-nav__list { display: flex; align-items: center; gap: 2px; }
.nov-nav__item > a {
	display: block; padding: 9px 14px; border-radius: 999px;
	color: var(--nov-muted); font-weight: 600; font-size: 14px;
	transition: background .2s ease, color .2s ease;
}
.nov-nav__item > a:hover,
.nov-nav__item.current-menu-item > a,
.nov-nav__item.current_page_item > a { background: rgba(168, 85, 247, .12); color: var(--nov-text); }

.nov-header__actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nov-header__search { display: inline-flex; color: var(--nov-muted); padding: 8px; border-radius: 50%; transition: background .2s, color .2s; }
.nov-header__search:hover { background: rgba(168, 85, 247, .1); color: var(--nov-acc1); }
.nov-header__search .nov-icon { width: 18px; height: 18px; }

/* ---------- burger ---------- */
.nov-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 8px; border-radius: 10px; }
.nov-burger__bar { display: block; width: 100%; height: 2px; border-radius: 2px; background: var(--nov-text); transition: transform .28s ease, opacity .2s ease; }
.nov-burger--active .nov-burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nov-burger--active .nov-burger__bar:nth-child(2) { opacity: 0; }
.nov-burger--active .nov-burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- drawer ---------- */
.nov-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 95; width: min(86vw, 320px);
	background: var(--nov-panel); border-left: 1px solid var(--nov-glass-border);
	box-shadow: var(--nov-shadow); padding: 80px 22px 26px; overflow-y: auto;
	transform: translateX(105%); visibility: hidden;
	transition: transform .32s ease, visibility .32s ease;
}
.nov-drawer--open { transform: none; visibility: visible; }
.nov-nav__list--drawer { display: flex; flex-direction: column; gap: 4px; }
.nov-nav__list--drawer .nov-nav__item > a { display: block; padding: 13px 14px; border-radius: 10px; color: var(--nov-text); font-weight: 600; font-size: 15px; }
.nov-nav__list--drawer .nov-nav__item > a:hover { background: rgba(168, 85, 247, .12); }
.nov-drawer .nov-nav__list--fallback { display: flex; flex-direction: column; gap: 4px; }
.nov-drawer .nov-nav__list--fallback a { padding: 12px 14px; border-radius: 10px; color: var(--nov-text); font-weight: 600; }
.nov-drawer__foot { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- hero (H5 carousel) ---------- */
.nov-hero { position: relative; overflow: hidden; padding-bottom: 0; }
.nov-hero__stage { position: relative; }
.nov-hero__slide {
	position: absolute; inset: 0; opacity: 0; pointer-events: none;
	transition: opacity .7s ease;
}
.nov-hero__slide--active { position: relative; opacity: 1; pointer-events: auto; }
.nov-hero__inner {
	display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
	min-height: 520px; padding-top: 72px; padding-bottom: 54px;
}
.nov-hero__eyebrow {
	display: inline-block; margin: 0 0 16px; padding: 6px 16px; border-radius: 999px;
	background: rgba(168, 85, 247, .14); color: var(--nov-acc1);
	font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
	border: 1px solid rgba(168, 85, 247, .22);
}
.nov-hero__title { font-size: clamp(30px, 4.2vw, 52px); margin-bottom: 18px; line-height: 1.15; }
.nov-hero__sub { color: var(--nov-muted); font-size: 16px; margin: 0 0 28px; max-width: 34em; line-height: 1.75; }
.nov-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.nov-hero__media { position: relative; display: flex; align-items: center; justify-content: center; }
.nov-hero__media img { width: 100%; max-width: 520px; border-radius: 20px; box-shadow: 0 12px 48px rgba(168, 85, 247, .2); }

.nov-hero__ctrl {
	display: flex; align-items: center; justify-content: center; gap: 16px;
	padding: 18px 24px 14px; position: relative; z-index: 2;
}
.nov-hero__arrow {
	width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	background: var(--nov-glass); border: 1px solid var(--nov-glass-border); color: var(--nov-text);
	transition: background .2s, border-color .2s;
}
.nov-hero__arrow:hover { background: rgba(168, 85, 247, .2); border-color: var(--nov-acc1); }
.nov-hero__arrow .nov-icon { width: 18px; height: 18px; }
.nov-hero__dots { display: flex; gap: 8px; }
.nov-hero__dot {
	width: 10px; height: 10px; border-radius: 50%;
	background: rgba(167, 139, 186, .35); border: 1px solid transparent;
	transition: background .25s, border-color .25s, transform .25s;
}
.nov-hero__dot--active { background: var(--nov-acc1); border-color: var(--nov-acc2); transform: scale(1.25); }

.nov-hero__trust { border-top: 1px solid var(--nov-line); padding: 18px 0; }
.nov-hero__trust-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.nov-trust { display: inline-flex; align-items: center; gap: 8px; color: var(--nov-muted); font-size: 13px; font-weight: 600; }
.nov-trust .nov-icon { width: 16px; height: 16px; color: var(--nov-acc2); }

/* ---------- sections ---------- */
.nov-section { padding: 78px 0; position: relative; }
.nov-section--alt { background: var(--nov-panel); border-top: 1px solid var(--nov-line); border-bottom: 1px solid var(--nov-line); }
.nov-section__head { max-width: 640px; margin-bottom: 46px; }
.nov-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.nov-section__eyebrow {
	margin: 0 0 10px; color: var(--nov-acc2);
	font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
}
.nov-section__title { font-size: clamp(24px, 3.2vw, 38px); margin-bottom: 12px; }
.nov-section__lead { color: var(--nov-muted); margin: 0; }

/* ---------- data ---------- */
.nov-data__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.nov-data__item {
	text-align: center; padding: 30px 16px;
	background: var(--nov-glass); border: 1px solid var(--nov-glass-border);
	border-radius: var(--nov-radius); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.nov-data__val { display: block; font-family: var(--nov-font-display); font-size: 38px; font-weight: 800; line-height: 1.15; margin-bottom: 8px; background: linear-gradient(135deg, var(--nov-acc1), var(--nov-acc2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nov-data__label { color: var(--nov-muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; }

/* ---------- market console ---------- */
.nov-console {
	background: var(--nov-glass); border: 1px solid var(--nov-glass-border);
	border-radius: var(--nov-radius); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	overflow: hidden;
}
.nov-console__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nov-ticker { min-width: 760px; font-size: 14px; }
.nov-ticker th, .nov-ticker td { padding: 14px 18px; text-align: left; white-space: nowrap; }
.nov-ticker thead th {
	background: rgba(168, 85, 247, .06); color: var(--nov-muted);
	font-weight: 700; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
	border-bottom: 1px solid var(--nov-line);
}
.nov-ticker tbody tr { border-bottom: 1px solid var(--nov-line); transition: background .2s ease; }
.nov-ticker tbody tr:last-child { border-bottom: 0; }
.nov-ticker tbody tr:hover { background: rgba(168, 85, 247, .06); }
.nov-flash--in { animation: nov-flash-in .8s ease; }
.nov-ticker__sym { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.nov-ticker__badge {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px;
	padding: 4px 8px; border-radius: 8px;
	background: linear-gradient(135deg, var(--nov-acc1), var(--nov-acc2)); color: #fff;
	font-size: 11px; font-weight: 800; letter-spacing: .04em;
}
.nov-ticker__num { font-variant-numeric: tabular-nums; font-weight: 600; }
.nov-ticker__chg { font-weight: 700; font-variant-numeric: tabular-nums; }
.nov-ticker__spread { color: var(--nov-muted); }
.nov-ticker__act-col { }
.nov-up { color: var(--nov-up); }
.nov-down { color: var(--nov-down); }
.nov-market__foot { margin-top: 28px; text-align: center; }

/* ---------- features (C1 glass cards) ---------- */
.nov-features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.nov-feat-card {
	background: var(--nov-glass); border: 1px solid var(--nov-glass-border);
	border-radius: var(--nov-radius); padding: 28px 22px;
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.nov-feat-card:hover { transform: translateY(-6px); border-color: rgba(168, 85, 247, .35); box-shadow: 0 12px 36px rgba(168, 85, 247, .15); }
.nov-feat-card__icon {
	width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, rgba(168, 85, 247, .18), rgba(34, 211, 238, .12)); color: var(--nov-acc2);
}
.nov-feat-card__icon .nov-icon { width: 24px; height: 24px; }
.nov-feat-card__title { font-size: 17px; margin-bottom: 9px; }
.nov-feat-card__desc { color: var(--nov-muted); font-size: 13.5px; margin: 0; line-height: 1.7; }

/* ---------- pricing ---------- */
.nov-price__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.nov-price-card {
	position: relative; display: flex; flex-direction: column;
	background: var(--nov-glass); border: 1px solid var(--nov-glass-border);
	border-radius: var(--nov-radius); padding: 32px 26px;
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.nov-price-card:hover { transform: translateY(-5px); border-color: rgba(168, 85, 247, .3); box-shadow: 0 10px 32px rgba(168, 85, 247, .12); }
.nov-price-card--featured {
	background: linear-gradient(160deg, rgba(168, 85, 247, .14), rgba(34, 211, 238, .08));
	border-color: var(--nov-acc1); box-shadow: 0 8px 40px rgba(168, 85, 247, .18);
}
.nov-price-card__flag {
	position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
	background: linear-gradient(135deg, var(--nov-acc1), var(--nov-acc2)); color: #fff;
	padding: 5px 16px; border-radius: 999px; white-space: nowrap;
	font-size: 11px; font-weight: 800; letter-spacing: .12em;
}
.nov-price-card__name { font-family: var(--nov-font-display); font-size: 15px; font-weight: 700; letter-spacing: .16em; margin-bottom: 12px; color: var(--nov-muted); }
.nov-price-card__amount { display: block; font-family: var(--nov-font-display); font-size: 44px; font-weight: 800; line-height: 1.05; margin-bottom: 6px; background: linear-gradient(135deg, var(--nov-acc1), var(--nov-acc2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nov-price-card__cap { display: block; color: var(--nov-muted); font-size: 13px; margin-bottom: 20px; }
.nov-price-card__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.nov-price-card__list li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--nov-text); }
.nov-price-card__check { display: inline-flex; color: var(--nov-acc2); margin-top: 3px; }
.nov-price-card__check .nov-icon { width: 15px; height: 15px; }
.nov-price-card .nov-btn { margin-top: auto; }

/* ---------- products ---------- */
.nov-prod__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nov-prod-card {
	position: relative; display: flex; flex-direction: column;
	background: var(--nov-glass); border: 1px solid var(--nov-glass-border);
	border-radius: var(--nov-radius); padding: 28px 24px;
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	transition: transform .25s ease, border-color .25s ease;
}
.nov-prod-card:hover { transform: translateY(-5px); border-color: rgba(168, 85, 247, .3); }
.nov-prod-card__icon {
	width: 48px; height: 48px; border-radius: 12px; margin-bottom: 14px;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, rgba(34, 211, 238, .14), rgba(168, 85, 247, .1)); color: var(--nov-acc1);
}
.nov-prod-card__icon .nov-icon { width: 24px; height: 24px; }
.nov-prod-card__tag { color: var(--nov-acc2); font-weight: 700; font-size: 11px; letter-spacing: .18em; margin-bottom: 6px; }
.nov-prod-card__title { font-size: 19px; margin-bottom: 9px; }
.nov-prod-card__desc { color: var(--nov-muted); font-size: 13.5px; margin: 0 0 14px; }
.nov-prod-card__list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.nov-prod-card__list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; }
.nov-prod-card__check { display: inline-flex; color: var(--nov-acc2); margin-top: 2px; }
.nov-prod-card__check .nov-icon { width: 14px; height: 14px; }
.nov-prod-card .nov-btn { margin-top: auto; align-self: flex-start; }

/* ---------- posts ---------- */
.nov-posts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.nov-postcard {
	display: flex; flex-direction: column; overflow: hidden;
	background: var(--nov-glass); border: 1px solid var(--nov-glass-border);
	border-radius: var(--nov-radius); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.nov-postcard:hover { transform: translateY(-5px); border-color: rgba(168, 85, 247, .3); box-shadow: 0 8px 28px rgba(168, 85, 247, .12); }
.nov-postcard__thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.nov-postcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.nov-postcard:hover .nov-postcard__thumb img { transform: scale(1.05); }
.nov-postcard__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nov-postcard__cat { color: var(--nov-acc2); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.nov-postcard__title { font-size: 15.5px; margin: 0; line-height: 1.4; font-weight: 700; }
.nov-postcard__title a { color: var(--nov-text); }
.nov-postcard__title a:hover { color: var(--nov-acc2); }
.nov-postcard__excerpt { color: var(--nov-muted); font-size: 13px; margin: 0; }
.nov-postcard__meta { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--nov-line); display: flex; align-items: center; gap: 10px; }
.nov-postcard__author {
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; border-radius: 50%; flex: 0 0 auto;
	background: linear-gradient(135deg, var(--nov-acc1), var(--nov-acc2)); color: #fff;
	font-size: 10px; font-weight: 800;
}
.nov-postcard__time { color: var(--nov-muted); font-size: 12px; }
.nov-posts__more { margin-top: 34px; text-align: center; }

/* ---------- FAQ ---------- */
.nov-faq__list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.nov-faq__item { background: var(--nov-glass); border: 1px solid var(--nov-glass-border); border-radius: var(--nov-radius); overflow: hidden; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nov-faq__q {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 18px 22px; text-align: left; font-weight: 600; font-size: 15px; color: var(--nov-text);
}
.nov-faq__q:hover { color: var(--nov-acc2); }
.nov-faq__icon { display: inline-flex; color: var(--nov-acc1); transition: transform .3s ease; flex: 0 0 auto; }
.nov-faq__icon .nov-icon { width: 18px; height: 18px; }
.nov-faq__item--open .nov-faq__icon { transform: rotate(180deg); }
.nov-faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.nov-faq__a p { margin: 0; padding: 0 22px 20px; color: var(--nov-muted); font-size: 14px; line-height: 1.75; }

/* ---------- CTA band ---------- */
.nov-cta-band {
	background: linear-gradient(140deg, #1a0a2e 0%, #2d1654 50%, #0f2027 100%);
	padding: 84px 0; text-align: center; position: relative; overflow: hidden;
}
.nov-cta-band::before {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(600px 320px at 25% 30%, rgba(168, 85, 247, .2), transparent 60%),
		radial-gradient(500px 300px at 80% 75%, rgba(34, 211, 238, .15), transparent 60%);
}
.nov-cta-band__inner { position: relative; }
.nov-cta-band__title { font-size: clamp(24px, 3.4vw, 40px); margin-bottom: 14px; }
.nov-cta-band__sub { color: var(--nov-muted); max-width: 42em; margin: 0 auto 32px; }
.nov-cta-band__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ---------- pagehead (inner pages) ---------- */
.nov-pagehead {
	position: relative; padding: 72px 0 60px;
	background-size: cover; background-position: center; background-repeat: no-repeat;
	color: var(--nov-text);
}
.nov-pagehead::before {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(13, 7, 22, .9) 0%, rgba(13, 7, 22, .55) 50%, rgba(13, 7, 22, .25) 100%);
}
.nov-pagehead .nov-container { position: relative; }
.nov-pagehead__kicker { color: var(--nov-acc2); font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 10px; }
.nov-pagehead__title { font-size: clamp(26px, 3.6vw, 44px); margin: 0 0 12px; max-width: 20em; overflow-wrap: break-word; }
.nov-pagehead__desc { color: var(--nov-muted); margin: 0; max-width: 38em; }
.nov-pagehead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: var(--nov-muted); font-size: 13px; font-weight: 500; }
.nov-pagehead__star { display: inline-flex; color: var(--nov-acc1); }
.nov-pagehead__star .nov-icon { width: 16px; height: 16px; }

/* ---------- breadcrumb ---------- */
.nov-crumb-bar { background: var(--nov-panel); border-bottom: 1px solid var(--nov-line); padding: 12px 0; }
.nov-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--nov-muted); }
.nov-crumb a { color: var(--nov-muted); }
.nov-crumb a:hover { color: var(--nov-acc2); }
.nov-crumb__sep { opacity: .5; }
.nov-crumb__current { color: var(--nov-acc1); font-weight: 600; }

/* ---------- content card / single (S2 toc left) ---------- */
.nov-content-card {
	background: var(--nov-glass); border: 1px solid var(--nov-glass-border);
	border-radius: var(--nov-radius); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	padding: 38px 40px;
}
.nov-single__grid { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding-top: 40px; padding-bottom: 66px; }
.nov-side { position: sticky; top: 90px; align-self: start; }
.nov-side__toc { margin-bottom: 20px; }
.nov-side__heading { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nov-muted); margin-bottom: 14px; }
.nov-toc__list { display: flex; flex-direction: column; gap: 6px; }
.nov-toc__item a { display: block; padding: 6px 12px; border-radius: 8px; font-size: 13px; color: var(--nov-muted); border-left: 2px solid transparent; transition: all .2s ease; }
.nov-toc__item a:hover { color: var(--nov-text); background: rgba(168, 85, 247, .08); }
.nov-toc__link--active { color: var(--nov-acc2) !important; border-left-color: var(--nov-acc2) !important; background: rgba(34, 211, 238, .06) !important; }
.nov-single__body { margin-bottom: 0; }

/* ---------- entry ---------- */
.nov-entry { font-size: 16px; line-height: 1.85; color: var(--nov-text); }
.nov-entry h2 { font-size: 24px; margin: 1.6em 0 .6em; }
.nov-entry h3 { font-size: 20px; margin: 1.4em 0 .5em; }
.nov-entry h4 { font-size: 17px; margin: 1.2em 0 .4em; }
.nov-entry p { margin: 0 0 1.15em; }
.nov-entry a { text-decoration: underline; text-underline-offset: 3px; color: var(--nov-acc2); }
.nov-entry img { border-radius: 12px; margin: 1.2em auto; }
.nov-entry blockquote {
	margin: 1.4em 0; padding: 16px 22px; border-left: 3px solid var(--nov-acc1);
	background: rgba(168, 85, 247, .06); border-radius: 0 12px 12px 0; color: var(--nov-muted);
}
.nov-entry ul, .nov-entry ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.nov-entry ul { list-style: disc; }
.nov-entry ol { list-style: decimal; }
.nov-entry li { margin-bottom: .45em; }
.nov-entry table { margin: 1.3em 0; font-size: 14px; }
.nov-entry th, .nov-entry td { border: 1px solid var(--nov-line); padding: 10px 14px; text-align: left; }
.nov-entry th { background: rgba(168, 85, 247, .08); font-weight: 700; }
.nov-entry pre {
	background: #0a0515; color: var(--nov-text); padding: 18px 20px; border-radius: 12px;
	overflow-x: auto; font-size: 13px; line-height: 1.6; margin: 1.3em 0;
	border: 1px solid var(--nov-line);
}
.nov-entry code { background: rgba(168, 85, 247, .1); color: var(--nov-acc1); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.nov-entry pre code { background: none; color: inherit; padding: 0; }

/* ---------- tags ---------- */
.nov-single__tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.nov-tag {
	display: inline-block; padding: 6px 16px; border-radius: 999px;
	background: rgba(168, 85, 247, .1); border: 1px solid rgba(168, 85, 247, .22);
	color: var(--nov-acc1); font-size: 12px; font-weight: 600;
	transition: background .2s, color .2s;
}
.nov-tag:hover { background: var(--nov-acc1); color: #fff; }

/* ---------- post nav ---------- */
.nov-single__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.nov-single__prev, .nov-single__next {
	display: flex; flex-direction: column; gap: 5px; padding: 16px 18px;
	background: rgba(168, 85, 247, .05); border: 1px solid var(--nov-glass-border); border-radius: var(--nov-radius);
	transition: border-color .2s ease;
}
.nov-single__next { text-align: right; }
.nov-single__prev:hover, .nov-single__next:hover { border-color: rgba(168, 85, 247, .35); color: inherit; }
.nov-single__navlabel { color: var(--nov-muted); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nov-single__navtitle { color: var(--nov-text); font-weight: 600; font-size: 14px; line-height: 1.45; }
.nov-single__prev:hover .nov-single__navtitle, .nov-single__next:hover .nov-single__navtitle { color: var(--nov-acc2); }

/* ---------- comments ---------- */
.nov-single__comments { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--nov-line); }
.nov-single__comments h2, .nov-single__comments h3 { font-size: 20px; }
.nov-single__comments .comment-list { display: flex; flex-direction: column; gap: 16px; }
.nov-single__comments .comment-body { padding: 16px 18px; background: rgba(168, 85, 247, .04); border: 1px solid var(--nov-line); border-radius: var(--nov-radius); }
.nov-single__comments .comment-metadata { font-size: 12px; color: var(--nov-muted); }
.nov-single__comments .reply { margin-top: 8px; font-size: 13px; font-weight: 600; }
.nov-single__comments .comment-form p { margin-bottom: 14px; }
.nov-single__comments input[type="text"], .nov-single__comments input[type="email"], .nov-single__comments input[type="url"], .nov-single__comments textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--nov-line); border-radius: 10px;
	background: var(--nov-bg); color: var(--nov-text); font: inherit; font-size: 14px;
}
.nov-single__comments input:focus, .nov-single__comments textarea:focus { outline: 2px solid rgba(168, 85, 247, .4); outline-offset: 1px; }
.nov-single__comments .form-submit .submit {
	background: linear-gradient(135deg, var(--nov-acc1), var(--nov-acc1-dim)); color: #fff;
	border: 0; border-radius: 999px; padding: 12px 28px; font-weight: 700; cursor: pointer;
}

/* ---------- archive / index ---------- */
.nov-archive__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 44px 0 18px; }
.nov-archive__empty { padding: 60px 0; text-align: center; color: var(--nov-muted); }
.nov-archive__empty .nov-searchform { max-width: 440px; margin: 22px auto 0; }

/* ---------- pagination ---------- */
.nov-pagination { display: flex; justify-content: center; padding: 30px 0 56px; }
.nov-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.nov-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px;
	background: var(--nov-glass); border: 1px solid var(--nov-glass-border); border-radius: 10px;
	color: var(--nov-text); font-weight: 600; font-size: 13.5px;
	transition: border-color .2s, color .2s, background .2s;
}
.nov-pagination a.page-numbers:hover { border-color: var(--nov-acc1); color: var(--nov-acc2); }
.nov-pagination .page-numbers.current { background: var(--nov-acc1); border-color: var(--nov-acc1); color: #fff; }

/* ---------- search form ---------- */
.nov-searchform { display: flex; gap: 10px; }
.nov-searchform__label { flex: 1; position: relative; }
.nov-searchform__input {
	width: 100%; padding: 13px 16px; border: 1px solid var(--nov-line); border-radius: 999px;
	background: var(--nov-bg); color: var(--nov-text); font: inherit; font-size: 14px;
}
.nov-searchform__input:focus { outline: 2px solid rgba(168, 85, 247, .4); outline-offset: 1px; }
.nov-searchform__btn { flex: 0 0 auto; }

/* ---------- 404 ---------- */
.nov-404 { padding: 80px 0 90px; text-align: center; }
.nov-404__icon { display: inline-flex; color: var(--nov-acc1); margin-bottom: 16px; }
.nov-404__icon .nov-icon { width: 52px; height: 52px; }
.nov-404__code { color: var(--nov-acc2); font-weight: 700; font-size: 13px; letter-spacing: .28em; margin: 0 0 10px; }
.nov-404__title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.nov-404__text { color: var(--nov-muted); max-width: 32em; margin: 0 auto 28px; }
.nov-404 .nov-searchform { max-width: 400px; margin: 24px auto 0; }

/* ---------- footer (F5: brand + 4 link columns) ---------- */
.nov-footer { background: var(--nov-panel); border-top: 1px solid var(--nov-line); padding: 56px 0 0; margin-top: auto; }
.nov-footer__grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.nov-brand--footer .nov-brand__name { color: var(--nov-text); }
.nov-brand--footer:hover .nov-brand__name { color: var(--nov-acc2); }
.nov-footer__about { margin: 14px 0 18px; font-size: 13px; line-height: 1.8; color: var(--nov-muted); max-width: 28em; }
.nov-footer__social { display: flex; gap: 10px; }
.nov-footer__social a {
	display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
	background: rgba(168, 85, 247, .1); border: 1px solid var(--nov-glass-border); color: var(--nov-text);
	transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.nov-footer__social a:hover { background: var(--nov-acc1); border-color: var(--nov-acc1); color: #fff; transform: translateY(-2px); }
.nov-footer__social .nov-icon { width: 16px; height: 16px; }
.nov-footer__heading { font-size: 14px; font-weight: 700; letter-spacing: .06em; margin-bottom: 16px; color: var(--nov-text); }
.nov-footer__links { display: flex; flex-direction: column; gap: 10px; }
.nov-footer__links a { color: var(--nov-muted); font-size: 13px; transition: color .2s; }
.nov-footer__links a:hover { color: var(--nov-acc2); }
.nov-footer__risk {
	border-top: 1px solid var(--nov-line); padding: 18px 0;
	color: rgba(167, 139, 186, .6); font-size: 11.5px; line-height: 1.8;
}
.nov-footer__bar {
	border-top: 1px solid var(--nov-line); padding: 16px 0 20px;
	display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
	color: var(--nov-muted); font-size: 12px;
}
.nov-footer__pulse { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; }
.nov-footer__pulse i { width: 3px; height: 100%; border-radius: 2px; background: var(--nov-acc1); animation: nov-pulse 1.6s ease-in-out infinite; }
.nov-footer__pulse i:nth-child(2) { animation-delay: .2s; }
.nov-footer__pulse i:nth-child(3) { animation-delay: .4s; }
.nov-footer__pulse i:nth-child(4) { animation-delay: .6s; }

/* ---------- body locked ---------- */
.nov-body--locked { overflow: hidden; }

/* ============================================================
   Responsive — all @media live at the end
   ============================================================ */
@media (max-width: 1024px) {
	.nov-nav { display: none; }
	.nov-burger { display: flex; }
	.nov-header__actions .nov-btn { display: none; }
	.nov-hero__inner { grid-template-columns: 1fr; gap: 36px; min-height: auto; padding-top: 54px; padding-bottom: 40px; }
	.nov-hero__media { order: -1; }
	.nov-hero__media img { max-width: 400px; }
	.nov-features__grid { grid-template-columns: repeat(2, 1fr); }
	.nov-posts__grid { grid-template-columns: repeat(2, 1fr); }
	.nov-data__grid { grid-template-columns: repeat(2, 1fr); }
	.nov-prod__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
	.nov-price__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
	.nov-archive__grid { grid-template-columns: repeat(2, 1fr); }
	.nov-single__grid { grid-template-columns: 1fr; }
	.nov-side { position: static; order: 2; }
	.nov-footer__grid { grid-template-columns: repeat(3, 1fr); gap: 24px 16px; }
	.nov-footer__col--brand { grid-column: 1 / -1; }
	.nov-footer__links a { font-size: 12.5px; }
	.nov-footer__links { gap: 7px; line-height: 1.45; }
	.nov-footer__pulse { display: none; }
}

@media (max-width: 768px) {
	.nov-header__search { display: none; }
	.nov-header__inner { min-height: 60px; }
	.nov-hero__title { font-size: clamp(24px, 6vw, 36px); }
	.nov-hero__sub { font-size: 14.5px; }
	.nov-hero__trust-inner { gap: 16px; }
	.nov-section { padding: 52px 0; }
	.nov-section__title { font-size: clamp(21px, 5vw, 28px); }
	.nov-content-card { padding: 26px 20px; }
	.nov-single__nav { grid-template-columns: 1fr; }
	.nov-pagehead { padding: 50px 0 42px; }
	.nov-pagehead__title { font-size: clamp(22px, 5.6vw, 32px); }
	.nov-cta-band { padding: 56px 0; }
	/* tables scroll horizontally */
	.nov-console__scroll { overflow-x: auto; }
	.nov-entry table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
	.nov-ticker { min-width: 620px; }
	.nov-ticker__act-col { display: none; }
	.nov-footer { padding-top: 40px; }
}

@media (max-width: 480px) {
	.nov-container { padding: 0 16px; }
	.nov-hero__ctas .nov-btn { width: 100%; }
	.nov-hero__ctrl { gap: 10px; padding: 12px 16px 10px; }
	.nov-features__grid,
	.nov-posts__grid,
	.nov-data__grid,
	.nov-archive__grid { grid-template-columns: 1fr; }
	.nov-data__val { font-size: 30px; }
	.nov-price-card { padding: 24px 18px; }
	.nov-searchform { flex-direction: column; }
	.nov-footer__grid { grid-template-columns: repeat(3, 1fr); gap: 20px 12px; }
	.nov-footer__bar { flex-direction: column; align-items: flex-start; }
	.nov-content-card { padding: 20px 14px; }
	.nov-ticker { min-width: 480px; }
	.nov-ticker__spread { display: none; }
	.nov-single__grid { padding-top: 24px; }
	.nov-404 .nov-searchform { flex-direction: column; }
}
