/* ============================================================================
   Nexus home page — component styles (loaded on the front page only).
   Pairs with native blocks (see page content) + aurora.js. Reuses the
   site-wide tokens and .is-style-nexus-glass / .vr-badge-pulse from nexus.css.
   ========================================================================== */

/* Front page uses the hero as its banner — suppress the default page title. */
.wp-block-post-title { display: none !important; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.vr-hero {
	position: relative;
	overflow: hidden;
	background-color: var(--vr-base, #020617);
	padding-block: clamp(4rem, 8vw, 8rem);
}
.vr-aurora-wrap {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
	/* Escape the constrained-layout max-width that TT5 auto-applies to children */
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
}
.vr-aurora-wrap #vr-aurora {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0.8;
	filter: blur(4px);
}
/* Legibility wash so hero text always meets contrast over the aurora */
.vr-aurora-fade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom,
		rgba(2, 6, 23, 0) 0%,
		rgba(2, 6, 23, 0.35) 55%,
		var(--vr-base, #020617) 100%);
}
.vr-hero-inner { position: relative; z-index: 2; }
.vr-hero .vr-text-glow { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7); }

/* ── Status pills ─────────────────────────────────────────────────────────── */
.vr-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.5rem 1.1rem;
	border-radius: 999px;
	border: 1px solid var(--vr-border-mid, rgba(0, 242, 255, 0.25));
	background: rgba(0, 242, 255, 0.05);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--vr-cyan, #00F2FF);
}
.vr-pill.is-neutral {
	border-color: rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.04);
	color: var(--vr-body, #CBD5E1);
}
.vr-pill .vr-dot {
	width: 0.5rem; height: 0.5rem; border-radius: 50%;
	background: var(--vr-cyan, #00F2FF);
	box-shadow: 0 0 8px var(--vr-cyan, #00F2FF);
}
.vr-pill.is-neutral .vr-dot { background: var(--vr-emerald, #34D399); box-shadow: 0 0 8px var(--vr-emerald, #34D399); }

/* ── Section eyebrow label ────────────────────────────────────────────────── */
.vr-eyebrow {
	color: var(--vr-cyan, #00F2FF) !important;
	font-family: var(--wp--preset--font-family--orbitron, sans-serif);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.4em;
	text-transform: uppercase;
}

/* ── Skill-tree nodes (inside guild cards) ────────────────────────────────── */
.skill-tree-node {
	border-left: 1px solid rgba(0, 242, 255, 0.2);
	margin-left: 0.75rem;
	padding-left: 1.5rem;
	position: relative;
	margin-bottom: 1.25rem;
}
.skill-tree-node::before {
	content: '';
	position: absolute;
	left: -4px; top: 8px;
	width: 7px; height: 7px;
	background: var(--vr-cyan, #00F2FF);
	border-radius: 50%;
	box-shadow: 0 0 8px var(--vr-cyan, #00F2FF);
}
.skill-tree-node .node-title { color: #fff; font-weight: 700; font-size: 0.95rem; }
.skill-tree-node .node-meta {
	color: var(--vr-muted, #94A3B8);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Guild card details/accordion */
.vr-guild details > summary {
	cursor: pointer; list-style: none;
	display: flex; justify-content: space-between; align-items: center;
	padding: 1rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--vr-body, #CBD5E1);
}
.vr-guild details[open] > summary { color: var(--vr-cyan, #00F2FF); }
.vr-guild details > summary::-webkit-details-marker { display: none; }

/* ── Meta-status badge ────────────────────────────────────────────────────── */
.vr-badge {
	width: 5rem; height: 5rem;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--vr-cyan, #00F2FF);
	color: var(--vr-base, #020617);
	border-radius: 0.9rem;
}
