/* Nexora V6 Custom — tema oscuro MU / WebEngine */

:root {
	/* Base — mismo mood que logo MU NEXORA (oro bronceado + magia púrpura / fuego) */
	--nex-bg-deep: #06050a;
	--nex-bg-panel: rgba(20, 12, 28, 0.84);
	--nex-bg-panel2: rgba(10, 7, 14, 0.94);
	/* Acentos principales */
	--nex-gold: #d4b378;
	--nex-gold-bright: #e8cf9e;
	--nex-gold-dim: #8c6640;
	--nex-bronze: #9a6840;
	--nex-fire: #d04a28;
	--nex-orange: #c95c32;
	--nex-purple: #c084fc;
	--nex-purple-mid: #a855f7;
	--nex-purple-deep: #5c1f7a;
	--nex-text: #ebe6f4;
	--nex-muted: #9a92ac;
	--nex-line: rgba(200, 165, 110, 0.28);
	--nex-glow: 0 0 38px rgba(140, 70, 210, 0.14), 0 0 22px rgba(180, 120, 72, 0.16);
	/* Botón “primario” (UserCP / myaccount / CTAs dorados — metálico oscuro, no amarillo) */
	--nex-btn-metal-top: #b8874e;
	--nex-btn-metal-mid: #7f5a32;
	--nex-btn-metal-bot: #583d22;
	--nex-btn-metal-text: #faf4ec;
	--nex-btn-metal-border: rgba(185, 130, 255, 0.28);
	--nex-btn-metal-shadow:
		0 2px 16px rgba(75, 32, 110, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	--nex-radius: 14px;
	--nex-font: "DM Sans", system-ui, sans-serif;
	--nex-display: "Cinzel", Georgia, serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.nex-body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--nex-font);
	color: var(--nex-text);
	background-color: var(--nex-bg-deep);
	/* Velo sobre la imagen animada (capa ::before) */
	background-image: linear-gradient(
		180deg,
		rgba(5, 4, 12, 0.82) 0%,
		rgba(7, 6, 14, 0.72) 38%,
		rgba(3, 2, 8, 0.88) 100%
	);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: scroll;
}

/*
 * Imagen full viewport: usa cover para ancho/alto sin bandas (recorta sólo donde haga falta, sin deformar).
 */
body.nex-body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: url("../img/background.png") center center / cover no-repeat;
}

body.nex-body a {
	color: var(--nex-gold);
	text-decoration: none;
	transition: color 0.2s, filter 0.2s;
}

body.nex-body a:hover {
	color: var(--nex-gold-bright);
	filter: brightness(1.06);
}

.nex-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.nex-skip {
	position: absolute;
	left: -999px;
	top: 8px;
	z-index: 99999;
	padding: 0.6rem 1rem;
	background: var(--nex-orange);
	color: #1a0500 !important;
	font-weight: 700;
	border-radius: 8px;
}

.nex-skip:focus {
	left: 12px;
}

.nex-bg-orbs {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	overflow: hidden;
}

.nex-bg-orbs span {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.22;
	animation: nex-float 18s ease-in-out infinite;
}

.nex-bg-orbs span:nth-child(1) {
	width: 420px;
	height: 420px;
	background: #6b21a8;
	top: -120px;
	right: -80px;
	animation-delay: 0s;
}

.nex-bg-orbs span:nth-child(2) {
	width: 360px;
	height: 360px;
	background: #c2410c;
	bottom: 10%;
	left: -100px;
	animation-delay: -6s;
}

.nex-bg-orbs span:nth-child(3) {
	width: 280px;
	height: 280px;
	background: #d97706;
	top: 40%;
	left: 40%;
	animation-delay: -12s;
}

/* Brasas / partículas sutiles (encima del fondo, bajo el contenido) */
.nex-bg-orbs .nex-bg-ember {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: radial-gradient(
		circle at 30% 30%,
		rgba(255, 210, 140, 0.95) 0%,
		rgba(255, 100, 40, 0.35) 45%,
		transparent 70%
	);
	filter: blur(1.6px);
	opacity: 0.55;
	animation: nex-bg-ember-rise 18s linear infinite;
}

.nex-bg-orbs .nex-bg-ember:nth-child(4) {
	left: 12%;
	bottom: 6%;
	animation-duration: 21s;
	animation-delay: 0s;
}
.nex-bg-orbs .nex-bg-ember:nth-child(5) {
	left: 38%;
	bottom: 4%;
	width: 7px;
	height: 7px;
	animation-duration: 25s;
	animation-delay: -4s;
}
.nex-bg-orbs .nex-bg-ember:nth-child(6) {
	right: 18%;
	bottom: 10%;
	animation-duration: 19s;
	animation-delay: -9s;
}
.nex-bg-orbs .nex-bg-ember:nth-child(7) {
	right: 42%;
	bottom: 7%;
	width: 6px;
	height: 6px;
	opacity: 0.4;
	animation-duration: 23s;
	animation-delay: -14s;
}

@keyframes nex-bg-ember-rise {
	0% {
		transform: translate3d(0, 0, 0) scale(0.85);
		opacity: 0;
	}
	12% {
		opacity: 0.55;
	}
	88% {
		opacity: 0.45;
	}
	100% {
		transform: translate3d(12px, -100vh, 0) scale(1.1);
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.nex-body::before {
		inset: 0;
	}
	.nex-bg-orbs span,
	.nex-bg-orbs .nex-bg-ember {
		animation: none !important;
	}
}

@keyframes nex-float {
	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}
	50% {
		transform: translate(30px, -20px) scale(1.05);
	}
}

.nex-container {
	width: min(1180px, 100% - 32px);
	margin-left: auto;
	margin-right: auto;
	position: relative;
	z-index: 2;
}

/* Top bar — idioma | navegación | cuenta */
.nex-topbar {
	position: sticky;
	top: 0;
	z-index: 100;
	background: linear-gradient(180deg, rgba(6, 5, 10, 0.97), rgba(6, 5, 10, 0.78));
	border-bottom: 1px solid var(--nex-line);
	backdrop-filter: blur(12px);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.nex-topbar-inner {
	display: flex;
	align-items: center;
	height: 80px;
	padding-block: 10px;
	gap: 12px;
	flex-wrap: nowrap;
}

.nex-topbar-start {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.nex-topbar-nav {
	flex: 1;
	min-width: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 6px;
}

.nex-topbar-nav .nex-nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 4px 6px;
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 100%;
}

.nex-topbar-nav .nex-nav-links .nex-nav-link {
	display: block;
	padding: 8px 10px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(210, 205, 225, 0.85) !important;
	border-radius: 8px;
	transition: background 0.2s, color 0.2s;
	white-space: nowrap;
}

.nex-topbar-nav .nex-nav-links .nex-nav-link:hover {
	color: var(--nex-gold) !important;
	background: rgba(196, 152, 88, 0.08);
}

.nex-topbar-account {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	margin-left: auto;
}

/* Navbar: login.png — escala proporcional (sin height fijo enorme que deforme el arte) */
.nex-nav-img-btn {
	--nex-login-img-h: clamp(58px, 7.8vmin, 82px);
	position: relative;
	display: inline-block;
	flex-shrink: 0;
	line-height: 0;
	text-decoration: none !important;
	vertical-align: middle;
	transition:
		filter 0.2s ease,
		transform 0.18s ease;
	filter:
		drop-shadow(0 8px 22px rgba(0, 0, 0, 0.48))
		drop-shadow(0 0 28px rgba(130, 70, 200, 0.22));
	-webkit-tap-highlight-color: transparent;
}

.nex-nav-img-btn:hover {
	filter:
		drop-shadow(0 12px 28px rgba(0, 0, 0, 0.52))
		drop-shadow(0 0 34px rgba(168, 85, 247, 0.28));
	transform: translateY(-2px) scale(1.03);
}

.nex-nav-img-btn:active {
	transform: translateY(0) scale(1.01);
	filter:
		drop-shadow(0 5px 14px rgba(0, 0, 0, 0.4))
		drop-shadow(0 0 20px rgba(130, 70, 200, 0.18));
}

.nex-nav-img-btn:focus {
	outline: none;
}

.nex-nav-img-btn:focus-visible {
	outline: 2px solid var(--nex-purple-mid);
	outline-offset: 3px;
	border-radius: 6px;
}

.nex-nav-img-btn__media {
    display: block;
    width: 180px;
    height: 120px;
    user-select: none;
    pointer-events: none;
}

.nex-nav-img-btn__label {
	position: absolute;
	left: 28%;
	right: 7%;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--nex-display);
	font-size: clamp(11px, 1.45vw, 15px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: center;
	pointer-events: none;
	white-space: nowrap;
	overflow: visible;
	text-overflow: clip;
	background: linear-gradient(
		180deg,
		#fff9e8 0%,
		#f5e6b8 28%,
		#d4af37 58%,
		#8a6424 100%
	);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.95));
}

@supports not (background-clip: text) {
	.nex-nav-img-btn__label {
		color: var(--nex-gold-bright);
		background: none;
		-webkit-text-fill-color: unset;
		filter: none;
		text-shadow:
			0 1px 2px rgba(0, 0, 0, 0.95),
			0 0 12px rgba(212, 175, 88, 0.35);
	}
}

@media (max-width: 520px) {
	.nex-nav-img-btn {
		--nex-login-img-h: clamp(50px, 12vmin, 68px);
	}
	.nex-nav-img-btn__media {
		max-width: min(400px, 96vw);
	}
	.nex-nav-img-btn__label {
		left: 26%;
		right: 6%;
		font-size: clamp(10px, 3.4vw, 13px);
		letter-spacing: 0.05em;
	}
}

.nex-lang {
	position: relative;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	z-index: 120;
}

.nex-lang-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 12px 5px 8px;
	border: 1px solid var(--nex-line);
	border-radius: 999px;
	color: var(--nex-gold);
	background: rgba(0, 0, 0, 0.35);
	cursor: pointer;
	font: inherit;
}

.nex-lang:hover .nex-lang-menu,
.nex-lang:focus-within .nex-lang-menu,
.nex-lang.is-open .nex-lang-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.nex-lang-menu {
	position: absolute;
	top: 100%;
	left: 0;
	margin: 6px 0 0;
	padding: 6px 0;
	min-width: 200px;
	max-height: 70vh;
	overflow-y: auto;
	list-style: none;
	background: var(--nex-bg-panel2);
	border: 1px solid var(--nex-line);
	border-radius: 10px;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-6px);
	transition: opacity 0.2s, transform 0.2s;
	z-index: 50;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.nex-lang-menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	color: var(--nex-text) !important;
}

.nex-lang-menu a:hover {
	background: rgba(196, 152, 88, 0.08);
}

.nex-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 18px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 13px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
	text-decoration: none !important;
	color: var(--nex-text) !important;
}

.nex-btn:hover {
	transform: translateY(-1px);
}

/* Glassmorphism (botones principales) */
.nex-btn--primary {
	background: linear-gradient(
		135deg,
		rgba(234, 88, 12, 0.42),
		rgba(194, 65, 12, 0.32)
	);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-color: rgba(255, 200, 120, 0.38);
	box-shadow:
		0 4px 24px rgba(234, 88, 12, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nex-btn--primary:hover {
	background: linear-gradient(
		135deg,
		rgba(234, 88, 12, 0.55),
		rgba(194, 65, 12, 0.42)
	);
	box-shadow:
		0 8px 28px rgba(234, 88, 12, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.nex-btn--ghost {
	background: rgba(8, 6, 16, 0.35);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-color: rgba(255, 255, 255, 0.14);
	color: var(--nex-muted) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nex-btn--ghost:hover {
	background: rgba(196, 152, 88, 0.08);
	border-color: rgba(196, 152, 88, 0.22);
	color: var(--nex-gold) !important;
}

.nex-link {
	font-size: 13px;
	color: var(--nex-muted) !important;
}

.nex-link:hover {
	color: var(--nex-gold) !important;
}

/* Hero */
.nex-hero-wrap {
	position: relative;
	z-index: 3;
	min-height: min(52vh, 520px);
	display: grid;
	align-items: end;
	padding-bottom: 28px;
}

.nex-hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center top;
	filter: saturate(1.05);
}

.nex-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(7, 6, 12, 0.25) 0%,
		rgba(7, 6, 12, 0.55) 45%,
		var(--nex-bg-deep) 100%
	);
}

.nex-hero-content {
	position: relative;
	text-align: center;
	padding-top: 48px;
}

.nex-hero-logo img {
	max-width: min(420px, 88vw);
	height: auto;
	filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.65));
	animation: nex-logo-in 1s ease-out both;
}

@keyframes nex-logo-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.nex-hero-sub {
	max-width: 640px;
	margin: 16px auto 28px;
	color: var(--nex-muted);
	font-size: 15px;
	line-height: 1.55;
}

.nex-hero-cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

/* Hero: el PNG es el botón completo; el texto va superpuesto en la zona central-derecha del arte */
.nex-hero-banner {
	position: relative;
	display: inline-block;
	max-width: min(390px, 94vw);
	height: 180px;
	line-height: 0;
	text-decoration: none !important;
	vertical-align: middle;
	transition:
		filter 0.2s ease,
		transform 0.15s ease;
	filter: drop-shadow(0 14px 36px rgba(0, 0, 0, 0.42));
	-webkit-tap-highlight-color: transparent;
}

.nex-hero-banner:focus {
	outline: none;
}

.nex-hero-banner:focus-visible {
	outline: 2px solid var(--nex-purple-mid);
	outline-offset: 6px;
	border-radius: 4px;
}

.nex-hero-banner:hover {
	filter: drop-shadow(0 18px 44px rgba(0, 0, 0, 0.48)) brightness(1.06);
	transform: translateY(-2px);
}

.nex-hero-banner:active {
	transform: translateY(0);
	filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4)) brightness(1.02);
}

.nex-hero-banner__media {
	display: block;
	width: 100%;
	height: 220px;
	vertical-align: bottom;
	user-select: none;
	pointer-events: none;
}

.nex-hero-banner__text {
	position: absolute;
	left: 34%;
	right: 11%;
	top: 58%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	text-align: center;
	pointer-events: none;
	box-sizing: border-box;
}

.nex-hero-banner__title {
	display: block;
	font-family: var(--nex-display);
	font-size: clamp(14px, 2.8vw, 20px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0;
	background: linear-gradient(
		180deg,
		#fff9e8 0%,
		#f4e4ac 22%,
		#e8cf9e 45%,
		#d4af37 68%,
		#7d5a18 100%
	);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.92))
		drop-shadow(0 0 14px rgba(200, 155, 72, 0.28));
}

.nex-hero-banner__sub {
	display: block;
	font-family: var(--nex-font);
	font-size: clamp(10px, 2vw, 13px);
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
	text-transform: none;
	background: linear-gradient(
		180deg,
		#faf4e4 0%,
		#e8d49a 45%,
		#b88938 100%
	);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.9));
}

@supports not (background-clip: text) {
	.nex-hero-banner__title {
		color: var(--nex-gold-bright);
		background: none;
		-webkit-text-fill-color: unset;
		filter: none;
		text-shadow:
			0 2px 6px rgba(0, 0, 0, 0.92),
			0 0 16px rgba(180, 130, 60, 0.35);
	}
	.nex-hero-banner__sub {
		color: var(--nex-gold);
		background: none;
		-webkit-text-fill-color: unset;
		filter: none;
		text-shadow: 0 1px 4px rgba(0, 0, 0, 0.88);
	}
}

.nex-hero-banner__text::after {
	content: "";
	display: block;
	width: min(9rem, 78%);
	height: 2px;
	margin-top: 6px;
	border-radius: 1px;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 190, 120, 0.75) 35%,
		rgba(255, 248, 230, 0.95) 50%,
		rgba(255, 190, 120, 0.75) 65%,
		transparent
	);
	box-shadow: 0 0 10px rgba(255, 180, 90, 0.35);
	opacity: 0.95;
}

.nex-hero-banner--downloads .nex-hero-banner__text::after {
	background: linear-gradient(
		90deg,
		transparent,
		rgba(180, 120, 255, 0.55) 35%,
		rgba(245, 235, 255, 0.95) 50%,
		rgba(180, 120, 255, 0.55) 65%,
		transparent
	);
	box-shadow: 0 0 12px rgba(168, 85, 247, 0.38);
}

@media (max-width: 520px) {
	.nex-hero-banner__text {
		left: 32%;
		right: 9%;
		gap: 3px;
	}
	.nex-hero-banner__text::after {
		display: none;
	}
}

.nex-btn--lg {
	padding: 14px 26px;
	border-radius: 14px;
	min-width: 220px;
	text-align: left;
	box-shadow:
		0 12px 40px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nex-btn--lg span small {
	display: block;
	font-weight: 400;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.78);
	margin-top: 4px;
}

.nex-btn--gold {
	background: linear-gradient(
		145deg,
		rgba(124, 45, 18, 0.45),
		rgba(67, 20, 7, 0.38)
	);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-color: rgba(185, 130, 255, 0.22);
	box-shadow:
		0 8px 32px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nex-btn--gold:hover {
	background: linear-gradient(
		145deg,
		rgba(124, 45, 18, 0.58),
		rgba(67, 20, 7, 0.48)
	);
}

.nex-btn--purple {
	background: linear-gradient(
		145deg,
		rgba(107, 33, 168, 0.45),
		rgba(59, 7, 100, 0.4)
	);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-color: rgba(168, 85, 247, 0.42);
	box-shadow:
		0 8px 32px rgba(88, 28, 135, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nex-btn--purple:hover {
	background: linear-gradient(
		145deg,
		rgba(107, 33, 168, 0.58),
		rgba(59, 7, 100, 0.52)
	);
}

.nex-btn-ico {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	flex-shrink: 0;
}

.nex-ico-reg {
	background: rgba(196, 152, 88, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23c9975a' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E")
		center/22px no-repeat;
}

.nex-ico-dl {
	background: rgba(168, 85, 247, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23e9d5ff' viewBox='0 0 24 24'%3E%3Cpath d='M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z'/%3E%3C/svg%3E")
		center/22px no-repeat;
}

/* Nav móvil — drawer + toggle en topbar */
.nex-nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px 10px;
	list-style: none;
	margin: 0;
	padding: 0 8px;
	max-width: 100%;
}

.nex-nav-links .nex-nav-link {
	display: block;
	padding: 10px 12px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--nex-muted) !important;
	border-radius: 10px;
	transition: background 0.2s, color 0.2s;
}

.nex-nav-links .nex-nav-link:hover {
	color: var(--nex-gold) !important;
	background: rgba(196, 152, 88, 0.06);
}

.nex-nav-toggle {
	display: none;
	position: relative;
	z-index: 110;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 1px solid var(--nex-line);
	background: rgba(0, 0, 0, 0.35);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
}

.nex-nav-toggle span:not(.nex-sr) {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--nex-gold);
	border-radius: 2px;
	transition: transform 0.25s, opacity 0.2s;
}

.nex-nav-toggle.is-open span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nex-nav-toggle.is-open span:nth-child(2) {
	opacity: 0;
}

.nex-nav-toggle.is-open span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.nex-nav-drawer {
	position: fixed;
	inset: 0;
	top: 0;
	background: rgba(4, 3, 8, 0.72);
	backdrop-filter: blur(8px);
	z-index: 200;
	padding: 96px 20px 24px;
}

.nex-nav-drawer[hidden] {
	display: none !important;
}

.nex-nav-drawer-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
	background: var(--nex-bg-panel2);
	border: 1px solid var(--nex-line);
	border-radius: var(--nex-radius);
	overflow: hidden;
}

.nex-nav-drawer-list .nex-nav-link {
	display: block;
	padding: 16px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	color: var(--nex-text) !important;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 13px;
}

.nex-nav-drawer-list li:last-child .nex-nav-link {
	border-bottom: 0;
}

@media (max-width: 960px) {
	.nex-nav-toggle {
		display: inline-flex;
	}

	.nex-topbar-nav {
		display: none;
	}

	.nex-hero-wrap {
		min-height: 420px;
	}
}

/* Main */
.nex-main {
	position: relative;
	z-index: 2;
	padding: 36px 0 80px;
}

.nex-home-grid {
	display: grid;
	grid-template-columns: 1.35fr 0.65fr;
	gap: 28px;
	align-items: start;
}

@media (max-width: 960px) {
	.nex-home-grid {
		grid-template-columns: 1fr;
	}
}

.nex-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--nex-line);
}

.nex-panel-head h2 {
	margin: 0;
	font-family: var(--nex-display);
	font-size: 22px;
	color: var(--nex-gold);
	letter-spacing: 0.06em;
}

.nex-more {
	font-size: 13px;
	color: var(--nex-purple) !important;
	font-weight: 600;
}

.nex-home-news {
	background: var(--nex-bg-panel);
	border: 1px solid var(--nex-line);
	border-radius: var(--nex-radius);
	padding: 22px 22px 12px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.nex-home-news-body {
	padding-top: 8px;
}

.nex-news-row {
	display: grid;
	grid-template-columns: 100px 1fr 100px;
	gap: 10px 16px;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 14px;
}

.nex-home-news-body > .nex-news-row:last-of-type {
	border-bottom: 0;
}

.nex-news-pagination {
	margin-top: 8px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nex-news-pagination-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 18px;
}

.nex-news-page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
	color: var(--nex-text) !important;
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
	transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.nex-news-page-btn:hover:not(.nex-news-page-btn--disabled) {
	background: rgba(168, 85, 247, 0.15);
	border-color: rgba(168, 85, 247, 0.35);
	transform: translateY(-1px);
}

.nex-news-page-btn--disabled {
	opacity: 0.4;
	cursor: not-allowed;
	pointer-events: none;
}

.nex-news-page-info {
	font-size: 13px;
	color: var(--nex-muted);
}

.nex-news-page-info strong {
	color: var(--nex-gold);
	font-weight: 700;
}

/* Paginación rankings (page_num GET) */
.nex-rank-pagination {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	width: 100%;
}

.nex-rank-pagination-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 20px;
}

.nex-rank-pagination-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
	color: var(--nex-text) !important;
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.nex-rank-pagination-btn:hover:not(.nex-rank-pagination-btn--disabled) {
	background: rgba(196, 152, 88, 0.12);
	border-color: var(--nex-line);
	transform: translateY(-1px);
}

.nex-rank-pagination-btn--disabled {
	opacity: 0.4;
	cursor: not-allowed;
	pointer-events: none;
}

.nex-rank-pagination-info {
	font-size: 13px;
	color: var(--nex-muted);
}

.nex-rank-pagination-info strong {
	color: var(--nex-gold);
	font-weight: 700;
}

.nex-news-type {
	color: var(--nex-muted);
	font-size: 12px;
}

.nex-news-title a {
	color: var(--nex-text) !important;
	font-weight: 600;
}

.nex-news-date {
	text-align: right;
	color: var(--nex-muted);
	font-size: 12px;
}

@media (max-width: 640px) {
	.nex-news-row {
		grid-template-columns: 1fr;
		gap: 4px;
	}
	.nex-news-date {
		text-align: left;
	}
}

.nex-home-side {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.nex-widget {
	background: var(--nex-bg-panel);
	border: 1px solid var(--nex-line);
	border-radius: var(--nex-radius);
	padding: 18px 18px 16px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.nex-widget h3 {
	margin: 0 0 12px;
	font-family: var(--nex-display);
	font-size: 15px;
	color: var(--nex-gold);
	letter-spacing: 0.05em;
}

.nex-widget-online .nex-big-num {
	display: block;
	font-family: var(--nex-display);
	font-size: 38px;
	line-height: 1;
	color: #86efac;
	text-shadow: 0 0 20px rgba(74, 222, 128, 0.35);
}

.nex-progress {
	height: 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
	margin: 10px 0 6px;
}

.nex-progress span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #16a34a, #86efac);
	box-shadow: 0 0 16px rgba(74, 222, 128, 0.35);
	transition: width 0.6s ease;
}

.nex-times {
	margin-top: 12px;
	font-size: 12px;
	color: var(--nex-muted);
	display: grid;
	gap: 6px;
}

.nex-times time,
.nex-times span {
	color: var(--nex-gold);
	font-weight: 600;
}

.nex-widget--cta {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 14px;
	padding: 14px;
}

/* Sidebar home: Donar / Votar — PNG completo + texto dorado superpuesto (uno debajo del otro) */
.nex-sidebar-banner {
	position: relative;
	display: block;
	width: 100%;
	line-height: 0;
	text-decoration: none !important;
	transition:
		filter 0.2s ease,
		transform 0.15s ease;
	filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.38));
	height: 150px;
	margin-top: -15%;
	-webkit-tap-highlight-color: transparent;
}

.nex-sidebar-banner:focus {
	outline: none;
}

.nex-sidebar-banner:hover {
	filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45)) brightness(1.06);
	transform: translateY(-2px);
}

.nex-sidebar-banner:active {
	transform: translateY(0);
	filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35)) brightness(1.02);
}

.nex-sidebar-banner:focus-visible {
	outline: 2px solid var(--nex-purple-mid);
	outline-offset: 4px;
	border-radius: 10px;
}

.nex-sidebar-banner__media {
	display: block;
	width: 100%;
	height: auto;
	user-select: none;
	pointer-events: none;
}

.nex-sidebar-banner__label {
	position: absolute;
	left: 28%;
	right: 8%;
	top: 72%;
	transform: translateY(-50%);
	font-family: var(--nex-display);
	font-size: clamp(11px, 2.8vw, 14px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: center;
	pointer-events: none;
	white-space: nowrap;
	overflow: visible;
	background: linear-gradient(
		180deg,
		#fff9e8 0%,
		#f4e4ac 28%,
		#d4af37 62%,
		#7d5a18 100%
	);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.9))
		drop-shadow(0 0 12px rgba(200, 150, 70, 0.25));
}

.nex-sidebar-banner--voting .nex-sidebar-banner__label {
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.9))
		drop-shadow(0 0 14px rgba(168, 85, 247, 0.22));
}

@supports not (background-clip: text) {
	.nex-sidebar-banner__label {
		color: var(--nex-gold-bright);
		background: none;
		-webkit-text-fill-color: unset;
		filter: none;
		text-shadow:
			0 2px 4px rgba(0, 0, 0, 0.92),
			0 0 14px rgba(180, 130, 60, 0.35);
	}
}

/* Character slider */
.nex-char-section {
	margin-top: 48px;
	padding: 36px 0 56px;
	position: relative;
}

.nex-char-heading-wrap {
	text-align: center;
	margin-bottom: 28px;
	position: relative;
}

.nex-ember {
	display: block;
	width: 48px;
	height: 4px;
	margin: 0 auto 14px;
	border-radius: 999px;
	background: linear-gradient(90deg, transparent, var(--nex-orange), transparent);
	box-shadow: 0 0 20px rgba(255, 122, 61, 0.45);
}

.nex-section-title {
	margin: 0;
	font-family: var(--nex-display);
	font-size: clamp(22px, 4vw, 32px);
	letter-spacing: 0.12em;
	color: var(--nex-gold);
	text-transform: uppercase;
}

.nex-char-tagline {
	margin: 10px 0 0;
	color: var(--nex-muted);
	font-size: 15px;
}

.nex-char-slider-stack {
	background: linear-gradient(180deg, rgba(18, 14, 28, 0.35), rgba(8, 6, 14, 0.95));
	border: 1px solid var(--nex-line);
	border-radius: calc(var(--nex-radius) + 4px);
	overflow: hidden;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.nex-char-swiper {
	width: 100%;
}

.nex-char-slide {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	min-height: 360px;
}

@media (max-width: 900px) {
	.nex-char-slide {
		grid-template-columns: 1fr;
		min-height: 0;
	}
}

.nex-char-visual {
	position: relative;
	overflow: hidden;
	background: #0c0a12;
}

.nex-char-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

.nex-char-vignette {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent 30%, rgba(7, 6, 12, 0.85) 100%);
	pointer-events: none;
}

@media (max-width: 900px) {
	.nex-char-vignette {
		background: linear-gradient(180deg, transparent 40%, rgba(7, 6, 12, 0.92) 100%);
	}
}

.nex-char-info {
	padding: 28px 28px 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	background: radial-gradient(120% 80% at 100% 0%, rgba(107, 33, 168, 0.18), transparent 55%), var(--nex-bg-panel2);
}

.nex-char-badge img {
	width: 52px;
	height: 52px;
	object-fit: contain;
	filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.55));
}

.nex-char-name {
	margin: 0;
	font-family: var(--nex-display);
	font-size: clamp(24px, 4vw, 34px);
	color: #c4b5fd;
	letter-spacing: 0.04em;
}

.nex-char-sub {
	margin: 0;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--nex-gold-dim);
}

.nex-char-desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: var(--nex-muted);
}

.nex-stat-bars {
	display: grid;
	gap: 8px;
	margin-top: 8px;
}

.nex-bar {
	position: relative;
	height: 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	overflow: hidden;
}

.nex-bar span {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, #22c55e, #86efac);
	box-shadow: 0 0 14px rgba(74, 222, 128, 0.35);
	transition: width 0.8s ease;
}

.nex-bar--mid span {
	background: linear-gradient(90deg, #f97316, #fdba74);
	box-shadow: 0 0 14px rgba(249, 115, 22, 0.35);
}

.nex-bar--def span {
	background: linear-gradient(90deg, #3b82f6, #93c5fd);
	box-shadow: 0 0 14px rgba(59, 130, 246, 0.35);
}

.nex-bar small {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 9px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	z-index: 1;
}

.nex-char-nav {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(4, 3, 8, 0.65);
}

.swiper-nav-btn {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 1px solid var(--nex-line);
	background: rgba(196, 152, 88, 0.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23c9975a' viewBox='0 0 24 24'%3E%3Cpath d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E")
		center/22px no-repeat;
	cursor: pointer;
	transition: background 0.2s, transform 0.15s;
}

.swiper-nav-btn:hover {
	background-color: rgba(196, 152, 88, 0.18);
	transform: scale(1.05);
}

.nex-char-next {
	transform: scaleX(-1);
}

.nex-thumb-swiper {
	flex: 1;
	min-width: 0;
}

.nex-thumb-swiper .swiper-slide {
	width: auto;
}

.nex-thumb {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	padding: 0;
	border: 2px solid rgba(255, 255, 255, 0.12);
	background: radial-gradient(circle at 30% 20%, #2a2238, #0f0c18);
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: border-color 0.25s, box-shadow 0.25s, transform 0.15s;
}

.nex-thumb img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.nex-thumb:hover {
	transform: translateY(-2px);
	border-color: rgba(196, 152, 88, 0.45);
}

.swiper-slide-thumb-active .nex-thumb,
.nex-thumb:focus-visible {
	border-color: var(--nex-gold);
	box-shadow: 0 0 20px rgba(196, 152, 88, 0.35);
	outline: none;
}

/* Inner pages */
.nex-page-layout {
	display: grid;
	gap: 24px;
}

.nex-page-layout--sidebar {
	grid-template-columns: 1fr 320px;
	align-items: start;
}

@media (max-width: 960px) {
	.nex-page-layout--sidebar {
		grid-template-columns: 1fr;
	}
}

.nex-page-main {
	background: var(--nex-bg-panel);
	border: 1px solid var(--nex-line);
	border-radius: var(--nex-radius);
	padding: 22px;
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

/* Módulos internos (rankings, etc.): no usar .nex-reveal aquí — opacity:0 hasta scroll ocultaba todo el contenido. */

.nex-page-main .page-title {
	margin: 0 0 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--nex-line);
	font-family: var(--nex-display);
	font-size: clamp(20px, 2.8vw, 26px);
	font-weight: 700;
	color: var(--nex-gold);
	letter-spacing: 0.06em;
}

.nex-page-main .page-title span {
	display: inline-block;
}

.nex-page-main .rankings-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	color: var(--nex-text);
	background: rgba(0, 0, 0, 0.22);
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.nex-page-main .rankings-table td {
	padding: 11px 12px;
	vertical-align: middle;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	color: var(--nex-text) !important;
	background: transparent !important;
}

.nex-page-main .rankings-table tr:first-child td {
	border-top: 0;
	background: rgba(0, 0, 0, 0.35) !important;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-gold) !important;
}

.nex-page-main .rankings-table tr:nth-child(even) td {
	background: rgba(255, 255, 255, 0.03) !important;
}

.nex-page-main .rankings-update-time {
	margin-top: 14px;
	font-size: 13px;
	color: var(--nex-muted);
}

.nex-page-main .rankings-class-image {
	max-height: 36px;
	width: auto;
	vertical-align: middle;
}

.nex-page-main .alert {
	border-radius: 12px;
	border-width: 1px;
}

.nex-page-main .rankings_menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nex-page-main .rankings_menu a {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--nex-muted) !important;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(0, 0, 0, 0.28);
	transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nex-page-main .rankings_menu a:hover {
	color: var(--nex-text) !important;
	border-color: rgba(168, 85, 247, 0.45);
}

.nex-page-main .rankings-class-filter-wrap {
	margin-bottom: 16px;
}

.nex-page-main .rankings-class-filter-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 14px;
}

.nex-page-main .rankings-class-filter-label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--nex-muted);
}

.nex-page-main .rankings-class-filter-select {
	min-width: 200px;
	padding: 10px 14px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(0, 0, 0, 0.35);
	color: var(--nex-text);
	font-size: 14px;
}

.nex-page-main .panel {
	background: rgba(0, 0, 0, 0.2);
	border-color: rgba(255, 255, 255, 0.08);
}

.nex-page-main .panel-heading {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.08);
	color: var(--nex-gold);
}

.nex-page-aside .nex-widget {
	margin-bottom: 16px;
}

.nex-form input[type="text"],
.nex-form input[type="password"] {
	width: 100%;
	margin-bottom: 10px;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid var(--nex-line);
	background: rgba(0, 0, 0, 0.35);
	color: var(--nex-text);
}

.nex-btn--block {
	width: 100%;
}

.nex-inline-link {
	display: inline-block;
	margin-top: 8px;
	font-size: 12px;
}

.nex-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.nex-table td {
	padding: 8px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	color: var(--nex-muted);
}

.nex-table td:last-child {
	text-align: right;
	color: var(--nex-text);
	font-weight: 600;
}

.nex-online-cell {
	color: #86efac !important;
}

.nex-widget--castle .nex-castle-grid {
	display: grid;
	grid-template-columns: 92px 1fr;
	gap: 14px;
	align-items: start;
	margin-bottom: 12px;
}

.nex-castle-emblem {
	display: flex;
	align-items: center;
	justify-content: center;
}

.nex-castle-meta {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.nex-castle-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 12px;
	font-size: 13px;
	line-height: 1.35;
}

.nex-castle-meta-lbl {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--nex-muted);
}

.nex-castle-meta-val {
	text-align: right;
	color: var(--nex-text);
	font-weight: 600;
	min-width: 0;
	word-break: break-word;
}

.nex-castle-meta-val a {
	color: var(--nex-gold) !important;
	font-weight: 700;
	text-decoration: none !important;
	border-bottom: 1px solid rgba(196, 152, 88, 0.35);
	transition: color 0.2s, border-color 0.2s;
}

.nex-castle-meta-val a:hover {
	color: #fff8e7 !important;
	border-bottom-color: rgba(200, 152, 88, 0.55);
}

.nex-widget--castle .nex-castle-stage {
	margin: 12px 0 14px;
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	color: rgba(232, 228, 240, 0.92);
}

.nex-widget--castle .nex-castle-more {
	display: flex;
	width: 100%;
	justify-content: center;
}

/* Footer — mismo cristal oscuro que la topbar */
.nex-footer {
	position: relative;
	z-index: 2;
	padding: 48px 0 28px;
	border-top: 1px solid var(--nex-line);
	background: linear-gradient(180deg, rgba(6, 5, 10, 0.72), rgba(6, 5, 10, 0.94));
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 -10px 36px rgba(0, 0, 0, 0.4);
}

.nex-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 28px;
	margin-bottom: 32px;
}

@media (max-width: 900px) {
	.nex-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 520px) {
	.nex-footer-grid {
		grid-template-columns: 1fr;
	}
}

.nex-footer-logo img {
	max-width: 200px;
	height: auto;
	opacity: 0.92;
}

.nex-footer-tagline {
	font-size: 13px;
	color: var(--nex-muted);
	line-height: 1.55;
	margin-top: 12px;
}

.nex-footer-title {
	font-family: var(--nex-display);
	font-size: 14px;
	color: var(--nex-gold);
	margin: 0 0 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nex-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
	font-size: 14px;
}

.nex-footer-links a {
	color: var(--nex-muted) !important;
}

.nex-footer-links a:hover {
	color: #fff !important;
}

.nex-social {
	display: flex;
	gap: 10px;
}

.nex-soc {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	border: 1px solid var(--nex-line);
	background: rgba(255, 255, 255, 0.05);
	display: grid;
	place-items: center;
	transition: transform 0.15s, border-color 0.2s;
}

.nex-soc:hover {
	transform: translateY(-2px);
	border-color: rgba(196, 152, 88, 0.45);
}

.nex-soc span {
	width: 20px;
	height: 20px;
	background-size: contain;
	opacity: 0.85;
}

.nex-soc--dc span {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23a5b4fc' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8 15H6.5v-4H8v4zm3 0h-1.5v-6H11v6zm3 0h-1.5v-2.5h-2V9H14v6zm3 0h-1.5v-4H17v4z'/%3E%3C/svg%3E")
		center/contain no-repeat;
}

.nex-soc--fb span {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2393c5fd' viewBox='0 0 24 24'%3E%3Cpath d='M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z'/%3E%3C/svg%3E")
		center/contain no-repeat;
}

.nex-soc--yt span {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fca5a5' viewBox='0 0 24 24'%3E%3Cpath d='M21.6 7.2s-.2-1.4-.8-2c-.7-.8-1.5-.8-1.9-.9C16.6 4 12 4 12 4s-4.6 0-7.9.3c-.4 0-1.2.1-1.9.9-.6.6-.8 2-.8 2S1 8.9 1 10.7v2.6c0 1.8.2 3.5.2 3.5s.2 1.4.8 2c.7.8 1.6.8 2 .9 1.6.2 6.7.3 6.7.3s4.6 0 7.9-.3c.4 0 1.2-.1 1.9-.9.6-.6.8-2 .8-2s.2-1.7.2-3.5v-2.6c0-1.8-.2-3.5-.2-3.5zM10 14.1V9.9l5 2.1-5 2.1z'/%3E%3C/svg%3E")
		center/contain no-repeat;
}

.nex-footer-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 12px;
	color: var(--nex-muted);
}

.nex-footer-bar .webengine-powered {
	color: var(--nex-muted) !important;
	font-size: 12px;
}

/* Crédito desarrollo */
.nex-footer-credit {
	margin: 1px 0 0;
	padding: 0;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.38);
	letter-spacing: 0.04em;
}

.nex-footer-credit-link {
	color: var(--nex-gold);
	text-decoration: none;
	transition: color 0.2s ease, filter 0.2s ease;
}

.nex-footer-credit-link:hover {
	color: #f5e6b8;
	filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.35));
}

/* Home: cuenta atrás (módulo AdminCP countdown) */
.nex-countdown-strip {
	position: relative;
	z-index: 4;
	margin-top: -8px;
	padding: 0 0 24px;
}

.nex-countdown-strip-inner {
	display: flex;
}

.nex-countdown {
	display: inline-block;
	min-width: min(100%, 420px);
	max-width: 100%;
	padding: 14px 18px 12px;
	background: rgba(18, 14, 28, 0.82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(168, 85, 247, 0.22);
	border-radius: var(--nex-radius, 14px);
	box-shadow:
		0 12px 40px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(212, 175, 55, 0.06) inset;
}

.nex-countdown__head {
	text-align: center;
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nex-countdown__title {
	display: block;
	font-family: var(--nex-display);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: rgba(255, 248, 230, 0.95);
}

.nex-countdown__grid {
	display: flex;
	align-items: stretch;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.nex-countdown__cell {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 56px;
	min-height: 62px;
	padding: 8px 10px;
	background: rgba(0, 0, 0, 0.32);
	border-radius: 10px;
	border: 1px solid rgba(212, 175, 55, 0.12);
	box-shadow: 0 0 24px rgba(120, 60, 200, 0.08);
}

.nex-countdown__unit {
	font-size: 9px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--nex-muted);
	margin-bottom: 4px;
	order: 1;
}

.nex-countdown__value {
	font-family: var(--nex-display);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
	color: #fff;
	order: 2;
	text-shadow: 0 0 14px rgba(212, 175, 55, 0.22);
}

.nex-countdown__tz {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 12px 0 0;
	font-size: 10px;
	color: rgba(255, 255, 255, 0.42);
}

.nex-countdown__tz-icon {
	display: flex;
	opacity: 0.65;
}

@media (max-width: 520px) {
	.nex-countdown {
		min-width: 0;
		padding: 12px 14px 10px;
	}

	.nex-countdown__cell {
		min-width: 48px;
		min-height: 56px;
		padding: 6px 8px;
	}

	.nex-countdown__value {
		font-size: 18px;
	}

	.nex-countdown__title {
		font-size: 10px;
	}
}

/* Twitch / TikTok dock */
.nex-stream-dock {
	position: fixed;
	right: 0;
	bottom: clamp(72px, 14vmin, 124px);
	z-index: 99990;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0;
	pointer-events: none;
}

.nex-stream-dock__rail {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 0 0 6px;
	pointer-events: auto;
	position: relative;
	z-index: 99992;
}

.nex-stream-dock__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-right: 0;
	border-radius: 12px 0 0 12px;
	background: rgba(14, 10, 22, 0.88);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	color: rgba(255, 255, 255, 0.92);
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition:
		background 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		transform 0.18s ease,
		box-shadow 0.2s ease;
	box-shadow: -6px 8px 28px rgba(0, 0, 0, 0.38);
	-webkit-tap-highlight-color: transparent;
}

.nex-stream-dock__btn:focus {
	outline: none;
}

.nex-stream-dock__btn:focus-visible {
	outline: 2px solid var(--nex-purple-mid);
	outline-offset: 2px;
}

.nex-stream-dock__btn:hover {
	background: rgba(40, 28, 62, 0.92);
	border-color: rgba(212, 175, 55, 0.35);
	color: var(--nex-gold-bright);
	transform: translateX(-2px);
}

.nex-stream-dock__btn--twitch:hover {
	color: #c4a6ff;
	border-color: rgba(145, 70, 255, 0.45);
}

.nex-stream-dock__btn--tiktok:hover {
	color: #7af4ff;
	border-color: rgba(0, 242, 234, 0.35);
}

.nex-stream-dock__btn svg {
	flex-shrink: 0;
}

.nex-stream-dock__btn span {
	white-space: nowrap;
}

.nex-stream-dock__panel {
	position: fixed;
	right: 0;
	bottom: clamp(72px, 14vmin, 124px);
	width: min(400px, calc(100vw - 52px));
	height: min(288px, 42vh);
	border-radius: 14px 0 0 14px;
	background: rgba(12, 8, 18, 0.94);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-right: 0;
	box-shadow: -12px 16px 48px rgba(0, 0, 0, 0.55);
	z-index: 99991;
	transform: translateX(105%);
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	pointer-events: auto;
}

.nex-stream-dock__panel.is-open {
	transform: translateX(0);
}

.nex-stream-dock__panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	background: rgba(0, 0, 0, 0.35);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	flex-shrink: 0;
}

.nex-stream-dock__panel-title {
	font-family: var(--nex-display);
	font-size: 13px;
	font-weight: 700;
	color: var(--nex-gold-bright);
	letter-spacing: 0.06em;
}

.nex-stream-dock__panel-close {
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.45);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 2px 6px;
	transition: color 0.2s ease;
	border-radius: 6px;
}

.nex-stream-dock__panel-close:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
}

.nex-stream-dock__panel-body {
	flex: 1;
	min-height: 0;
	position: relative;
	background: #000;
}

.nex-stream-dock__panel-body iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
}

@media (max-width: 520px) {
	.nex-stream-dock__btn span {
		display: none;
	}

	.nex-stream-dock__btn {
		padding: 12px;
	}

	.nex-stream-dock__panel {
		width: 100%;
		max-width: 100%;
		height: min(260px, 46vh);
		border-radius: 12px 0 0 12px;
	}
}

/* Reveal on scroll */
.nex-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.nex-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Rankings home */
.nex-rankings-section {
	margin-top: 36px;
	margin-bottom: 8px;
}

.nex-section-title--left {
	text-align: left;
	margin-bottom: 18px;
	font-family: var(--nex-display);
	font-size: clamp(20px, 3vw, 28px);
	color: var(--nex-gold);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.nex-rankings-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
	align-items: start;
}

.nex-rankings-grid--with-events {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1180px) {
	.nex-rankings-grid--with-events {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nex-rankings-grid--with-events .nex-rank-card--events {
		grid-column: 1 / -1;
		max-width: 560px;
		margin-left: auto;
		margin-right: auto;
		width: 100%;
	}
}

@media (max-width: 900px) {
	.nex-rankings-grid {
		grid-template-columns: 1fr;
	}

	.nex-rankings-grid--with-events .nex-rank-card--events {
		grid-column: auto;
		max-width: none;
	}
}

.nex-rank-card {
	background: var(--nex-bg-panel);
	border: 1px solid var(--nex-line);
	border-radius: var(--nex-radius);
	overflow: hidden;
	box-shadow: 0 14px 44px rgba(0, 0, 0, 0.35);
}

.nex-rank-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	border-bottom: 1px solid rgba(196, 152, 88, 0.15);
	font-family: var(--nex-display);
	font-size: 15px;
	color: var(--nex-text);
	letter-spacing: 0.06em;
}

.nex-rank-more {
	font-size: 12px;
	font-family: var(--nex-font);
	font-weight: 600;
	color: var(--nex-purple) !important;
	text-transform: none;
	letter-spacing: 0;
}

.nex-rank-table-wrap {
	padding: 8px 12px 14px;
	height: 340px;
	overflow: auto;
}

.nex-rank-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.nex-rank-table th {
	text-align: left;
	padding: 8px 10px;
	color: var(--nex-muted);
	font-weight: 600;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nex-rank-table td {
	padding: 9px 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	vertical-align: middle;
	color: var(--nex-muted);
}

.nex-rank-table tbody tr:hover td {
	background: rgba(196, 152, 88, 0.04);
	color: var(--nex-text);
}

.nex-rank-pos {
	width: 36px;
	font-family: var(--nex-display);
	color: var(--nex-gold);
	font-weight: 700;
}

.nex-rank-class {
	text-align: center;
	vertical-align: middle;
	width: 52px;
	padding-left: 6px !important;
	padding-right: 6px !important;
}

.nex-rank-class-image,
.nex-rank-class .rankings-class-image {
	display: inline-block;
	max-width: 38px;
	max-height: 42px;
	width: auto;
	height: auto;
	vertical-align: middle;
	object-fit: contain;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.nex-rank-name {
	color: var(--nex-text) !important;
}

.nex-rank-name a {
	color: inherit !important;
}

.nex-rank-num {
	text-align: right;
	font-weight: 700;
	color: #c4b5fd;
}

.nex-rank-icon {
	text-align: center;
}

/* Event schedule card (home rankings grid — api/events.php + events.js) */
.nex-rank-card--events .nex-events-schedule-wrap {
	padding: 8px 12px 14px;
	max-height: 340px;
	overflow-y: auto;
}

.nex-events-schedule-table td {
	text-align: left !important;
	vertical-align: top;
	padding: 10px 8px;
	font-size: 13px;
}

.nex-events-schedule-table .nex-events-schedule-time {
	text-align: right !important;
}

.nex-events-schedule-table thead th {
	text-align: left;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--nex-muted);
}

.nex-events-schedule-table thead th.nex-events-schedule-time {
	text-align: right;
}

.nex-events-schedule-table tbody tr {
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nex-events-schedule-table tbody tr:last-child {
	border-bottom: 0;
}

.nex-events-schedule-table td span[id$="_name"] {
	font-weight: 600;
	color: var(--nex-text);
}

.nex-events-schedule-table td span[id$="_next"] {
	font-size: 12px;
	color: var(--nex-muted);
}

.nex-events-schedule-label {
	font-size: 11px;
	color: var(--nex-muted);
}

.nex-events-schedule-table .nex-events-schedule-label[id] {
	font-family: ui-monospace, monospace;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	font-size: 14px;
	color: #c4b5fd;
	letter-spacing: 0.04em;
}

.nex-events-schedule-table .event-schedule-open {
	color: #4ade80;
	font-weight: 700;
}

.nex-events-schedule-table .event-schedule-inprogress {
	color: var(--nex-gold);
	font-weight: 700;
}

.nex-rank-map {
	font-size: 12px;
	max-width: 130px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nex-rank-master {
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Castle Siege épico */
.nex-castle-epic {
	position: relative;
	margin-top: 36px;
	margin-bottom: 12px;
	padding: 3px;
	border-radius: calc(var(--nex-radius) + 6px);
	background: linear-gradient(
		135deg,
		rgba(249, 115, 22, 0.72),
		rgba(168, 85, 247, 0.5),
		rgba(56, 189, 248, 0.58)
	);
	box-shadow:
		0 24px 70px rgba(0, 0, 0, 0.55),
		0 0 60px rgba(249, 115, 22, 0.08);
	overflow: hidden;
}

.nex-castle-epic-shine {
	position: absolute;
	inset: -50%;
	background: conic-gradient(
		from 200deg at 50% 50%,
		rgba(249, 115, 22, 0.18),
		transparent 35%,
		rgba(168, 85, 247, 0.14),
		transparent 65%,
		rgba(56, 189, 248, 0.12),
		transparent 88%
	);
	animation: nex-cs-shine 22s linear infinite;
	pointer-events: none;
	opacity: 0.85;
}

@keyframes nex-cs-shine {
	to {
		transform: rotate(360deg);
	}
}

.nex-castle-epic-panel {
	position: relative;
	border-radius: var(--nex-radius);
	background: linear-gradient(165deg, rgba(10, 8, 18, 0.96), rgba(4, 3, 10, 0.98));
	border: 1px solid rgba(255, 255, 255, 0.07);
	overflow: hidden;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nex-castle-epic--bg .nex-castle-epic-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--nex-cs-bg);
	background-size: cover;
	background-position: center;
	opacity: 0.16;
	filter: grayscale(0.35) contrast(1.08);
	pointer-events: none;
}

.nex-castle-epic-head {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 22px 20px 6px;
}

.nex-castle-epic-tag {
	margin: 0 0 10px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: #c4b5fd;
	text-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
}

.nex-castle-epic-title {
	margin: 0;
	font-family: var(--nex-display);
	font-size: clamp(20px, 2.8vw, 28px);
	letter-spacing: 0.16em;
	color: #fff;
	text-transform: uppercase;
	text-shadow:
		0 0 32px rgba(196, 152, 88, 0.35),
		0 2px 0 rgba(0, 0, 0, 0.45);
}

.nex-castle-epic-layout {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(140px, 200px) 1fr;
	gap: 0;
	align-items: stretch;
}

@media (max-width: 768px) {
	.nex-castle-epic-layout {
		grid-template-columns: 1fr;
	}
}

.nex-castle-epic-aside {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 18px 20px 26px;
	border-right: 1px solid rgba(255, 255, 255, 0.07);
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 72%);
}

@media (max-width: 768px) {
	.nex-castle-epic-aside {
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.07);
		padding-bottom: 20px;
	}
}

.nex-castle-epic-emblem {
	position: relative;
}

.nex-castle-epic-emblem::after {
	content: "";
	position: absolute;
	inset: -8px;
	border-radius: 14px;
	border: 1px solid rgba(249, 115, 22, 0.35);
	box-shadow:
		0 0 28px rgba(249, 115, 22, 0.15),
		inset 0 0 20px rgba(168, 85, 247, 0.08);
	pointer-events: none;
}

.nex-castle-epic-emblem img {
	display: block;
	max-width: 112px;
	height: auto;
	filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.65));
}

.nex-castle-epic-rows {
	padding: 18px 22px 24px;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.nex-castle-row {
	display: grid;
	grid-template-columns: minmax(100px, 150px) 1fr;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	align-items: baseline;
	font-size: 14px;
}

@media (max-width: 520px) {
	.nex-castle-row {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}

.nex-castle-row:last-of-type {
	border-bottom: 0;
	padding-bottom: 0;
}

.nex-castle-row--highlight {
	margin-top: 8px;
	padding: 14px 16px !important;
	border-radius: 12px;
	border: 1px solid rgba(249, 115, 22, 0.28);
	background: linear-gradient(
		95deg,
		rgba(249, 115, 22, 0.12),
		rgba(168, 85, 247, 0.1),
		rgba(56, 189, 248, 0.08)
	);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.nex-castle-lbl {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--nex-gold);
	font-weight: 700;
}

.nex-castle-val {
	color: var(--nex-text);
	word-break: break-word;
}

.nex-castle-val a {
	color: var(--nex-text) !important;
}

.nex-castle-countdown {
	font-variant-numeric: tabular-nums;
	font-weight: 800;
	font-size: clamp(15px, 2.2vw, 19px);
	letter-spacing: 0.04em;
	background: linear-gradient(90deg, #fdba74, #e9d5ff 45%, #7dd3fc);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
	animation: nex-cs-count 2.8s ease-in-out infinite;
}

@keyframes nex-cs-count {
	0%,
	100% {
		filter: brightness(1);
	}
	50% {
		filter: brightness(1.2);
	}
}

.nex-castle-epic-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 220px;
	padding: 11px 22px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: rgba(0, 0, 0, 0.45);
	color: #fff !important;
	font-weight: 700;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.nex-castle-epic-btn:hover {
	background: rgba(196, 152, 88, 0.14);
	border-color: rgba(196, 152, 88, 0.55);
	box-shadow: 0 8px 28px rgba(249, 115, 22, 0.2);
	transform: translateY(-2px);
}

/* ——— Info module (server rates, chaos, party, commands) ——— */

.nex-glass-panel {
	background: linear-gradient(
		155deg,
		rgba(22, 18, 34, 0.72) 0%,
		rgba(12, 10, 22, 0.58) 45%,
		rgba(18, 14, 28, 0.65) 100%
	);
	border: 1px solid var(--nex-line);
	border-radius: var(--nex-radius);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.nex-info {
	position: relative;
	z-index: 1;
	max-width: 920px;
	margin: 0 auto;
	padding-bottom: 28px;
}

.nex-info-head {
	padding: 26px 26px 22px;
	margin-bottom: 22px;
}

.nex-info-eyebrow {
	margin: 0 0 10px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--nex-purple);
}

.nex-info-title {
	margin: 0 0 12px;
	font-family: var(--nex-display);
	font-size: clamp(22px, 3.5vw, 30px);
	font-weight: 700;
	color: var(--nex-gold);
	letter-spacing: 0.06em;
}

.nex-info-lead {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--nex-muted);
}

.nex-info-section {
	margin-bottom: 22px;
}

.nex-info-section-title {
	margin: 0 0 16px;
	font-family: var(--nex-display);
	font-size: 18px;
	font-weight: 700;
	color: var(--nex-text);
	letter-spacing: 0.04em;
}

.nex-info-stats {
	padding: 22px 22px 18px;
}

.nex-info-stats-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 640px) {
	.nex-info-stats-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.nex-info-stat {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 14px 12px;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.08);
	min-height: 100%;
}

.nex-info-stat__lbl {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--nex-muted);
	font-weight: 600;
}

.nex-info-stat__val {
	font-size: 17px;
	font-weight: 700;
	color: var(--nex-text);
	word-break: break-word;
}

.nex-info-card {
	padding: 22px 20px 20px;
	position: relative;
	overflow: hidden;
}

.nex-info-card--accent-purple::before {
	content: "";
	position: absolute;
	left: 0;
	top: 12px;
	bottom: 12px;
	width: 3px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--nex-purple), rgba(168, 85, 247, 0.25));
}

.nex-info-card--accent-orange::before {
	content: "";
	position: absolute;
	left: 0;
	top: 12px;
	bottom: 12px;
	width: 3px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--nex-orange), rgba(255, 122, 61, 0.25));
}

.nex-info-card--accent-gold::before {
	content: "";
	position: absolute;
	left: 0;
	top: 12px;
	bottom: 12px;
	width: 3px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--nex-gold), rgba(196, 152, 88, 0.25));
}

.nex-info-matrix {
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	overflow: hidden;
	background: rgba(0, 0, 0, 0.22);
}

.nex-info-matrix-head {
	display: grid;
	grid-template-columns: minmax(120px, 1.35fr) 1fr 1fr;
	grid-template-rows: auto auto;
	gap: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(0, 0, 0, 0.35);
}

.nex-info-matrix-corner {
	grid-row: 1 / span 2;
	grid-column: 1;
	align-self: center;
	padding: 14px 14px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-gold);
	border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.nex-info-matrix-banner {
	grid-column: 2 / span 2;
	grid-row: 1;
	padding: 10px 12px;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	color: var(--nex-muted);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nex-info-matrix-sub {
	padding: 10px 12px;
	text-align: center;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--nex-text);
	background: rgba(255, 255, 255, 0.04);
}

.nex-info-matrix-sub--a {
	grid-column: 2;
	grid-row: 2;
	border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.nex-info-matrix-sub--b {
	grid-column: 3;
	grid-row: 2;
}

.nex-info-matrix-row {
	display: grid;
	grid-template-columns: minmax(120px, 1.35fr) 1fr 1fr;
	align-items: center;
	gap: 0;
	padding: 11px 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 14px;
	color: var(--nex-text);
}

.nex-info-matrix-row:nth-child(even) {
	background: rgba(255, 255, 255, 0.04);
}

.nex-info-matrix-row:nth-child(odd) {
	background: rgba(0, 0, 0, 0.22);
}

.nex-info-matrix-name {
	padding-right: 8px;
	line-height: 1.35;
}

.nex-info-matrix-val {
	text-align: center;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	color: var(--nex-text);
}

.nex-info-matrix-val--gold {
	color: #fde68a;
}

.nex-info-matrix-val--muted {
	color: rgba(232, 228, 240, 0.88);
	font-weight: 500;
}

.nex-info-cmd-list {
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	overflow: hidden;
	background: rgba(0, 0, 0, 0.2);
}

.nex-info-cmd {
	display: grid;
	grid-template-columns: minmax(120px, 34%) 1fr;
	gap: 14px 18px;
	align-items: baseline;
	padding: 12px 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nex-info-cmd:first-child {
	border-top: 0;
}

.nex-info-cmd:nth-child(even) {
	background: rgba(255, 255, 255, 0.03);
}

.nex-info-cmd-kbd {
	margin: 0;
	padding: 4px 10px;
	border-radius: 8px;
	font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
	font-size: 13px;
	font-weight: 600;
	color: #fde68a;
	background: rgba(168, 85, 247, 0.12);
	border: 1px solid rgba(168, 85, 247, 0.35);
	word-break: break-all;
}

.nex-info-cmd-desc {
	font-size: 14px;
	line-height: 1.45;
	color: rgba(232, 228, 240, 0.92);
}

.nex-info-section--video .nex-info-card {
	padding-bottom: 22px;
}

.nex-info-video-wrap {
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.nex-info-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
}

.nex-info-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 560px) {
	.nex-info-matrix-head,
	.nex-info-matrix-row {
		grid-template-columns: 1fr;
	}

	.nex-info-matrix-corner {
		grid-row: auto;
		grid-column: 1;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		text-align: center;
	}

	.nex-info-matrix-banner {
		grid-column: 1;
		grid-row: auto;
	}

	.nex-info-matrix-sub--a,
	.nex-info-matrix-sub--b {
		grid-column: 1;
		grid-row: auto;
	}

	.nex-info-matrix-row {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 6px;
		padding: 14px 12px;
	}

	.nex-info-matrix-name {
		font-weight: 700;
		padding-right: 0;
	}

	.nex-info-matrix-val {
		padding: 4px 0;
	}

	.nex-info-cmd {
		grid-template-columns: 1fr;
	}

	.nex-info-stats-grid {
		grid-template-columns: 1fr;
	}
}

/* ——— Downloads module ——— */

.nex-dl {
	position: relative;
	z-index: 1;
	max-width: 920px;
	margin: 0 auto;
	padding-bottom: 28px;
}

.nex-dl-head {
	padding: 26px 26px 22px;
	margin-bottom: 20px;
}

.nex-dl-eyebrow {
	margin: 0 0 10px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--nex-orange);
}

.nex-dl-title {
	margin: 0 0 12px;
	font-family: var(--nex-display);
	font-size: clamp(22px, 3.5vw, 30px);
	font-weight: 700;
	color: var(--nex-gold);
	letter-spacing: 0.06em;
}

.nex-dl-lead {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--nex-muted);
}

.nex-dl-empty {
	margin: 0;
	padding: 22px;
	text-align: center;
	border-radius: var(--nex-radius);
	border: 1px dashed rgba(255, 255, 255, 0.18);
	color: var(--nex-muted);
	background: rgba(0, 0, 0, 0.2);
}

.nex-dl-section {
	padding: 0 0 18px;
	margin-bottom: 20px;
	overflow: hidden;
}

.nex-dl-section-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 18px;
	padding: 18px 20px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nex-dl-section-title {
	margin: 0;
	font-family: var(--nex-display);
	font-size: 18px;
	font-weight: 700;
	color: var(--nex-text);
	letter-spacing: 0.04em;
}

.nex-dl-badge {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #e9d5ff;
	background: rgba(168, 85, 247, 0.18);
	border: 1px solid rgba(168, 85, 247, 0.45);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nex-dl-badge--patch {
	color: #ffedd5;
	background: rgba(255, 122, 61, 0.15);
	border-color: rgba(255, 122, 61, 0.42);
}

.nex-dl-badge--tool {
	color: #fff8e7;
	background: rgba(196, 152, 88, 0.12);
	border-color: rgba(196, 152, 88, 0.38);
}

.nex-dl-section--client::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	bottom: 10px;
	width: 3px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--nex-purple), rgba(168, 85, 247, 0.2));
	pointer-events: none;
	z-index: 0;
}

.nex-dl-section--patch::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	bottom: 10px;
	width: 3px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--nex-orange), rgba(255, 122, 61, 0.2));
	pointer-events: none;
	z-index: 0;
}

.nex-dl-section--tool::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	bottom: 10px;
	width: 3px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--nex-gold), rgba(196, 152, 88, 0.22));
	pointer-events: none;
	z-index: 0;
}

.nex-dl-section.nex-glass-panel {
	position: relative;
	padding-bottom: 6px;
}

.nex-dl-list {
	list-style: none;
	margin: 0;
	padding: 6px 0 8px;
}

.nex-dl-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(88px, 120px) auto;
	align-items: center;
	gap: 14px 20px;
	padding: 14px 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nex-dl-row:first-child {
	border-top: 0;
}

.nex-dl-row:nth-child(even) {
	background: rgba(255, 255, 255, 0.025);
}

.nex-dl-main {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.nex-dl-name {
	font-size: 15px;
	font-weight: 700;
	color: var(--nex-text);
	line-height: 1.35;
	word-break: break-word;
}

.nex-dl-desc {
	font-size: 13px;
	line-height: 1.45;
	color: var(--nex-muted);
}

.nex-dl-size {
	font-size: 14px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: rgba(232, 228, 240, 0.88);
	text-align: center;
	white-space: nowrap;
}

.nex-dl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 118px;
	padding: 10px 18px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #faf5ff !important;
	background: linear-gradient(
		135deg,
		rgba(168, 85, 247, 0.35) 0%,
		rgba(91, 33, 182, 0.45) 50%,
		rgba(168, 85, 247, 0.28) 100%
	);
	border: 1px solid rgba(196, 152, 88, 0.35);
	box-shadow:
		0 4px 18px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: transform 0.15s, border-color 0.2s, box-shadow 0.2s, filter 0.2s;
}

.nex-dl-btn:hover {
	color: #fff !important;
	border-color: rgba(200, 152, 88, 0.55);
	box-shadow:
		0 8px 26px rgba(168, 85, 247, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
	transform: translateY(-1px);
	filter: brightness(1.06);
}

.nex-dl-btn--accent {
	color: #fff7ed !important;
	background: linear-gradient(
		135deg,
		rgba(255, 122, 61, 0.42) 0%,
		rgba(180, 70, 30, 0.45) 55%,
		rgba(255, 122, 61, 0.32) 100%
	);
	border-color: rgba(255, 180, 120, 0.45);
}

.nex-dl-btn--accent:hover {
	border-color: rgba(212, 175, 120, 0.55);
	box-shadow:
		0 8px 26px rgba(249, 115, 22, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.nex-dl-btn--gold {
	color: var(--nex-btn-metal-text) !important;
	background: linear-gradient(
		175deg,
		var(--nex-btn-metal-top),
		var(--nex-btn-metal-mid) 48%,
		var(--nex-btn-metal-bot)
	);
	border: 1px solid var(--nex-btn-metal-border);
	box-shadow: var(--nex-btn-metal-shadow);
}

.nex-dl-btn--gold:hover {
	color: #fffefc !important;
	border-color: rgba(192, 132, 255, 0.42);
	box-shadow:
		0 6px 22px rgba(75, 32, 110, 0.45),
		0 0 0 1px rgba(212, 168, 120, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.14);
	filter: brightness(1.06);
}

@media (max-width: 720px) {
	.nex-dl-row {
		grid-template-columns: 1fr;
		text-align: center;
		padding: 16px 18px;
	}

	.nex-dl-size {
		text-align: center;
	}

	.nex-dl-btn {
		width: 100%;
		min-width: 0;
		justify-self: center;
		max-width: 280px;
	}
}

/* ——— Login / Register (auth) ——— */

.nex-page-main:has(.nex-auth) {
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
	padding: 16px 12px 56px;
	background: transparent;
	border: none;
	box-shadow: none;
}

.nex-auth {
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
}

.nex-auth--register {
	max-width: 540px;
}

.nex-auth-card {
	position: relative;
	padding: 28px 26px 22px;
	overflow: hidden;
}

.nex-auth-card::before {
	content: "";
	position: absolute;
	left: -20%;
	right: -20%;
	top: -55%;
	height: 220px;
	background: radial-gradient(ellipse at 50% 100%, rgba(168, 85, 247, 0.22), transparent 62%);
	pointer-events: none;
}

.nex-auth--login .nex-auth-card::before {
	background: radial-gradient(ellipse at 50% 100%, rgba(255, 122, 61, 0.18), transparent 62%);
}

.nex-auth--forgot .nex-auth-card::before {
	background: radial-gradient(
		ellipse at 50% 100%,
		rgba(56, 189, 248, 0.14) 0%,
		rgba(168, 85, 247, 0.12) 45%,
		transparent 62%
	);
}

.nex-auth--forgot .nex-auth-eyebrow {
	color: #7dd3fc;
	letter-spacing: 0.2em;
}

.nex-auth-head {
	position: relative;
	z-index: 1;
	text-align: center;
	margin-bottom: 22px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nex-auth-eyebrow {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	color: var(--nex-purple);
}

.nex-auth--login .nex-auth-eyebrow {
	color: var(--nex-orange);
}

.nex-auth-title {
	margin: 0 0 8px;
	font-family: var(--nex-display);
	font-size: clamp(22px, 4vw, 30px);
	font-weight: 700;
	color: var(--nex-gold);
	letter-spacing: 0.08em;
	line-height: 1.2;
}

.nex-auth-sub {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--nex-muted);
}

.nex-auth-form {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.nex-auth-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nex-auth-label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(232, 228, 240, 0.94);
}

.nex-auth-input {
	width: 100%;
	padding: 13px 16px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(0, 0, 0, 0.42);
	color: var(--nex-text);
	font-size: 15px;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nex-auth-input:hover {
	border-color: rgba(196, 152, 88, 0.35);
}

.nex-auth-input:focus {
	outline: none;
	border-color: rgba(168, 85, 247, 0.55);
	box-shadow:
		0 0 0 3px rgba(168, 85, 247, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.07);
	background: rgba(0, 0, 0, 0.52);
}

.nex-auth-help {
	margin: 0;
	font-size: 12px;
	line-height: 1.45;
	color: var(--nex-muted);
}

.nex-auth-help--link {
	margin-top: 4px;
}

.nex-auth-help--link a {
	color: var(--nex-gold) !important;
	font-weight: 600;
	font-size: 13px;
}

.nex-auth-help--link a:hover {
	color: #fff8e7 !important;
}

.nex-auth-recaptcha {
	align-items: center;
	padding-top: 4px;
}

.nex-auth-recaptcha > div {
	display: flex;
	justify-content: center;
}

.nex-auth-terms {
	margin: 4px 0 0;
	font-size: 12px;
	line-height: 1.55;
	color: var(--nex-muted);
	text-align: center;
}

.nex-auth-terms a {
	color: var(--nex-orange) !important;
	font-weight: 600;
}

.nex-auth-terms a:hover {
	color: #fdba74 !important;
}

.nex-auth-actions {
	margin-top: 6px;
}

.nex-auth-submit.nex-btn {
	padding-top: 14px;
	padding-bottom: 14px;
	font-size: 14px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.nex-auth-switch {
	position: relative;
	z-index: 1;
	margin: 22px 0 0;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
	font-size: 14px;
	color: var(--nex-muted);
}

.nex-auth-switch a {
	color: var(--nex-gold) !important;
	font-weight: 700;
	margin-left: 6px;
}

.nex-auth-switch a:hover {
	color: #fff !important;
}

.nex-page-main:has(.nex-auth) > .alert {
	border-radius: 12px;
	margin-bottom: 16px;
}

@media (max-width: 480px) {
	.nex-auth-card {
		padding: 22px 18px 18px;
	}

	.nex-page-main:has(.nex-auth) {
		padding-left: 8px;
		padding-right: 8px;
	}
}

/* ——— UserCP sidebar nav + módulos My Account / resets / vote / donación / zen ——— */

.nex-widget--usercp {
	padding: 14px 12px 14px;
	background: linear-gradient(
		165deg,
		rgba(22, 18, 34, 0.72) 0%,
		rgba(10, 8, 16, 0.85) 100%
	);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.nex-widget--usercp > h3 {
	font-size: 13px;
	letter-spacing: 0.14em;
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nex-usercp-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.nex-usercp-nav-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 12px;
	text-decoration: none !important;
	color: rgba(232, 228, 240, 0.92) !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	border: 1px solid transparent;
	background: rgba(0, 0, 0, 0.18);
	transition:
		background 0.2s,
		border-color 0.2s,
		box-shadow 0.2s,
		transform 0.15s;
}

.nex-usercp-nav-link:hover {
	background: rgba(168, 85, 247, 0.12);
	border-color: rgba(168, 85, 247, 0.28);
	color: #fff !important;
	transform: translateX(2px);
}

.nex-usercp-nav-link.is-active {
	background: linear-gradient(
		135deg,
		rgba(196, 152, 88, 0.14),
		rgba(168, 85, 247, 0.12)
	);
	border-color: rgba(196, 152, 88, 0.45);
	box-shadow:
		0 0 0 1px rgba(196, 152, 88, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	color: #fff8e7 !important;
}

.nex-usercp-nav-ico {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex-shrink: 0;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.1);
	overflow: hidden;
}

.nex-usercp-nav-link.is-active .nex-usercp-nav-ico {
	border-color: rgba(196, 152, 88, 0.35);
	box-shadow: 0 0 14px rgba(196, 152, 88, 0.12);
}

.nex-usercp-nav-ico img {
	display: block;
	object-fit: contain;
}

.nex-usercp-nav-txt {
	flex: 1;
	min-width: 0;
}

.nex-page-main--ucp-modules {
	overflow-x: auto;
}

.nex-page-main--ucp-modules .page-title {
	margin-top: 0;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nex-page-main--ucp-modules .page-title span {
	font-family: var(--nex-display);
	font-size: clamp(18px, 2.6vw, 22px);
	color: var(--nex-gold);
	letter-spacing: 0.08em;
}

.nex-page-main--ucp-modules table.table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 13px;
	color: var(--nex-text);
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 18px;
}

.nex-page-main--ucp-modules table.table > tbody > tr:first-child > td,
.nex-page-main--ucp-modules table.table > thead > tr:first-child > td,
.nex-page-main--ucp-modules table.table tr:first-child td {
	background: rgba(0, 0, 0, 0.45) !important;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--nex-gold) !important;
	padding: 12px 10px !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.nex-page-main--ucp-modules table.table tbody tr:nth-child(even) td {
	background: rgba(255, 255, 255, 0.025) !important;
}

.nex-page-main--ucp-modules table.table td {
	padding: 11px 10px !important;
	vertical-align: middle !important;
	border-color: rgba(255, 255, 255, 0.06) !important;
	color: var(--nex-text) !important;
}

.nex-page-main--ucp-modules table.table img {
	vertical-align: middle;
	border-radius: 8px;
}

.nex-page-main--ucp-modules .btn.btn-primary,
.nex-page-main--ucp-modules .btn.btn-xs.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border: 1px solid rgba(200, 152, 88, 0.35) !important;
	background: linear-gradient(
		135deg,
		rgba(168, 85, 247, 0.42) 0%,
		rgba(91, 33, 182, 0.38) 100%
	) !important;
	color: #faf5ff !important;
	box-shadow:
		0 4px 16px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition:
		transform 0.15s,
		filter 0.2s,
		border-color 0.2s;
}

.nex-page-main--ucp-modules .btn.btn-primary:hover,
.nex-page-main--ucp-modules .btn.btn-xs.btn-primary:hover {
	filter: brightness(1.08);
	border-color: rgba(200, 152, 88, 0.55) !important;
	transform: translateY(-1px);
	color: #fff !important;
}

.nex-page-main--ucp-modules .module-requirements {
	margin-top: 18px;
	padding: 16px 18px;
	border-radius: 14px;
	border: 1px solid rgba(196, 152, 88, 0.18);
	background: rgba(0, 0, 0, 0.35);
	font-size: 13px;
	line-height: 1.65;
	color: var(--nex-muted);
}

.nex-page-main--ucp-modules .module-requirements p {
	margin: 6px 0;
}

.nex-page-main--ucp-modules .label {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	vertical-align: middle;
}

.nex-page-main--ucp-modules .label-success {
	background: rgba(34, 197, 94, 0.22);
	color: #86efac !important;
	border: 1px solid rgba(74, 222, 128, 0.35);
}

.nex-page-main--ucp-modules .label-danger {
	background: rgba(239, 68, 68, 0.18);
	color: #fca5a5 !important;
	border: 1px solid rgba(248, 113, 113, 0.35);
}

.nex-page-main--ucp-modules .label-default {
	background: rgba(255, 255, 255, 0.08);
	color: var(--nex-text) !important;
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.nex-page-main--ucp-modules .myaccount-table + .page-title {
	margin-top: 28px;
}

.nex-page-main--ucp-modules .text-center.row {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
	gap: 14px;
	margin-left: 0 !important;
	margin-right: 0 !important;
	text-align: center;
}

.nex-page-main--ucp-modules .text-center.row > [class*="col-"] {
	width: 100% !important;
	float: none !important;
	padding: 12px 10px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(0, 0, 0, 0.28);
}

.nex-page-main--ucp-modules .myaccount-character-name {
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 8px;
}

.nex-page-main--ucp-modules .myaccount-character-name a {
	color: var(--nex-gold) !important;
}

.nex-page-main--ucp-modules .myaccount-character-block img {
	max-width: 72px;
	height: auto;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.nex-page-main--ucp-modules .myaccount-character-block-location {
	font-size: 11px;
	color: var(--nex-muted);
	margin-top: 6px;
	line-height: 1.35;
}

.nex-page-main--ucp-modules .myaccount-character-block-level {
	display: inline-block;
	margin-top: 8px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 800;
	color: #fde68a;
	background: rgba(168, 85, 247, 0.15);
	border: 1px solid rgba(168, 85, 247, 0.35);
}

.nex-page-main--ucp-modules .panel.panel-general {
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	box-shadow: none;
	margin-bottom: 0;
}

.nex-page-main--ucp-modules .panel.panel-general .panel-body {
	padding: 18px 14px;
}

.nex-page-main--ucp-modules .panel.panel-general .form-control,
.nex-page-main--ucp-modules select.form-control {
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(0, 0, 0, 0.45);
	color: var(--nex-text);
	padding: 10px 12px;
	height: auto;
	margin-bottom: 0;
}

.nex-page-main--ucp-modules .donation-hub {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 14px;
	margin-top: 8px;
}

.nex-page-main--ucp-modules .donation-hub-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 18px;
	border-radius: 14px;
	text-decoration: none !important;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(0, 0, 0, 0.35);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
	transition:
		transform 0.2s,
		border-color 0.2s,
		box-shadow 0.2s;
}

.nex-page-main--ucp-modules .donation-hub-card:hover {
	transform: translateY(-3px);
	border-color: rgba(196, 152, 88, 0.45);
	box-shadow: 0 16px 44px rgba(168, 85, 247, 0.15);
}

.nex-page-main--ucp-modules .donation-hub-card__title {
	font-family: var(--nex-display);
	font-size: 16px;
	font-weight: 700;
	color: var(--nex-gold);
}

.nex-page-main--ucp-modules .donation-hub-card__hint {
	font-size: 13px;
	line-height: 1.45;
	color: var(--nex-muted);
}

.nex-body--ucp .nex-page-layout--sidebar {
	align-items: start;
}

@media (max-width: 960px) {
	.nex-usercp-nav-link {
		padding: 12px 10px;
	}
}

/* ——— Pantalla de carga global + éxito auth ——— */

body.nex-loading-open {
	overflow: hidden;
}

.nex-page-loader {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nex-page-loader.is-visible {
	pointer-events: auto;
	opacity: 1;
	visibility: visible;
}

.nex-page-loader-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(2, 2, 8, 0.82);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.nex-page-loader-panel {
	position: relative;
	z-index: 1;
	min-width: 200px;
	padding: 32px 40px;
	border-radius: 20px;
	border: 1px solid rgba(196, 152, 88, 0.25);
	background: linear-gradient(
		165deg,
		rgba(18, 14, 32, 0.92) 0%,
		rgba(8, 6, 16, 0.95) 100%
	);
	box-shadow:
		0 24px 80px rgba(0, 0, 0, 0.55),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	text-align: center;
}

.nex-page-loader-spin-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}

.nex-page-loader .nex-page-loader-success-wrap {
	display: none;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.nex-page-loader.is-success .nex-page-loader-spin-wrap {
	display: none;
}

.nex-page-loader.is-success .nex-page-loader-success-wrap {
	display: flex;
}

.nex-page-loader-spin {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, 0.12);
	border-top-color: var(--nex-gold);
	border-right-color: rgba(168, 85, 247, 0.6);
	animation: nex-loader-spin 0.85s linear infinite;
}

@keyframes nex-loader-spin {
	to {
		transform: rotate(360deg);
	}
}

.nex-page-loader-label {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nex-muted);
}

.nex-page-loader-check svg {
	display: block;
}

.nex-page-loader-check-ring {
	stroke: rgba(74, 222, 128, 0.45);
}

.nex-page-loader-check-mark {
	stroke: #86efac;
	stroke-dasharray: 48;
	stroke-dashoffset: 48;
}

.nex-page-loader.is-success .nex-page-loader-check-mark {
	animation: nex-loader-check 0.55s ease-out 0.1s forwards;
}

@keyframes nex-loader-check {
	to {
		stroke-dashoffset: 0;
	}
}

.nex-page-loader-success-msg {
	margin: 0;
	font-family: var(--nex-display);
	font-size: 18px;
	font-weight: 700;
	color: var(--nex-gold);
	letter-spacing: 0.06em;
}

/* ——— Castle Siege (página módulo) ——— */

.nex-cs-page {
	width: 100%;
	max-width: 880px;
	margin: 0 auto;
	padding: 0 0 8px;
	animation: nex-cs-fade-in 0.45s ease-out;
}

@keyframes nex-cs-fade-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.nex-cs-header {
	text-align: center;
	margin-bottom: 28px;
}

.nex-cs-eyebrow {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--nex-muted);
}

.nex-cs-title {
	margin: 0 0 12px;
	font-family: var(--nex-display);
	font-size: clamp(22px, 3.2vw, 30px);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--nex-gold);
	text-shadow: var(--nex-glow);
}

.nex-cs-line {
	display: block;
	width: 72px;
	height: 3px;
	margin: 0 auto;
	border-radius: 2px;
	background: linear-gradient(90deg, transparent, var(--nex-gold), transparent);
	opacity: 0.9;
}

.nex-cs-card {
	position: relative;
	margin-bottom: 22px;
	padding: 22px 22px 24px;
	border-radius: calc(var(--nex-radius) + 2px);
	border: 1px solid var(--nex-line);
	background: linear-gradient(
		165deg,
		rgba(22, 18, 36, 0.92) 0%,
		rgba(10, 8, 16, 0.96) 100%
	);
	box-shadow:
		0 16px 48px rgba(0, 0, 0, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	overflow: hidden;
}

.nex-cs-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(196, 152, 88, 0.35),
		transparent
	);
	pointer-events: none;
}

.nex-cs-card:last-child {
	margin-bottom: 0;
}

.nex-cs-card-title {
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--nex-text);
}

/* Owner */
.nex-cs-owner-layout {
	display: grid;
	gap: 24px;
	align-items: start;
}

.nex-cs-owner-layout--split {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}

@media (max-width: 760px) {
	.nex-cs-owner-layout--split {
		grid-template-columns: 1fr;
	}
}

.nex-cs-owner-layout:not(.nex-cs-owner-layout--split) .nex-cs-owner-primary {
	max-width: 440px;
	margin: 0 auto;
}

.nex-cs-owner-primary {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 18px 22px;
	align-items: center;
}

@media (max-width: 480px) {
	.nex-cs-owner-primary {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}
}

.nex-cs-owner-logo-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
}

.nex-cs-owner-logo {
	position: relative;
	padding: 10px;
	border-radius: 16px;
	background: radial-gradient(
		circle at 50% 30%,
		rgba(196, 152, 88, 0.12),
		rgba(0, 0, 0, 0.45)
	);
	border: 1px solid rgba(196, 152, 88, 0.22);
	box-shadow:
		0 12px 36px rgba(0, 0, 0, 0.5),
		inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.nex-cs-owner-logo img {
	display: block;
	vertical-align: middle;
	max-width: 100%;
	height: auto;
}

.nex-cs-owner-text {
	min-width: 0;
}

.nex-cs-owner-name {
	display: block;
	font-family: var(--nex-display);
	font-size: clamp(18px, 2.4vw, 22px);
	font-weight: 700;
	color: var(--nex-gold);
	margin-bottom: 10px;
}

.nex-cs-owner-name a {
	color: inherit;
	text-decoration: none;
}

.nex-cs-owner-name a:hover {
	filter: brightness(1.08);
	text-decoration: underline;
}

.nex-cs-owner-master-label {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-muted);
}

.nex-cs-owner-master {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--nex-text);
}

.nex-cs-owner-master a {
	color: var(--nex-text);
	text-decoration: none;
}

.nex-cs-owner-master a:hover {
	color: var(--nex-gold);
}

.nex-cs-alliance {
	padding: 16px 16px 4px;
	border-radius: 14px;
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.nex-cs-alliance-title {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--nex-muted);
	text-align: center;
}

.nex-cs-alliance-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.nex-cs-alliance-row {
	display: grid;
	grid-template-columns: 40px 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.nex-cs-alliance-logo img {
	display: block;
	vertical-align: middle;
}

.nex-cs-alliance-name a,
.nex-cs-alliance-master a {
	color: var(--nex-text);
	text-decoration: none;
}

.nex-cs-alliance-name a:hover,
.nex-cs-alliance-master a:hover {
	color: var(--nex-gold);
}

@media (max-width: 520px) {
	.nex-cs-alliance-row {
		grid-template-columns: 32px 1fr;
		grid-template-rows: auto auto;
	}
	.nex-cs-alliance-master {
		grid-column: 2;
	}
	.nex-cs-alliance-logo {
		grid-row: 1 / span 2;
	}
}

/* Battle countdown */
.nex-cs-card--battle {
	text-align: center;
}

.nex-cs-timer-ring {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 96px;
	padding: 18px 28px;
	border-radius: 20px;
	border: 1px solid rgba(196, 152, 88, 0.25);
	background: radial-gradient(
		ellipse at 50% 0%,
		rgba(168, 85, 247, 0.18),
		rgba(0, 0, 0, 0.35)
	);
	box-shadow:
		0 0 40px rgba(196, 152, 88, 0.08),
		inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.nex-cs-timer {
	min-height: 52px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 8px;
	font-family: var(--nex-display);
	font-size: clamp(26px, 5vw, 36px);
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--nex-gold);
	text-shadow: var(--nex-glow);
}

.nex-cs-timer span {
	font-family: var(--nex-font);
	font-size: 0.42em;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--nex-muted);
	vertical-align: middle;
}

/* Info rows */
.nex-cs-info-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nex-cs-info-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(0, 0, 0, 0.22);
	transition:
		background 0.2s ease,
		border-color 0.2s ease;
}

.nex-cs-info-row:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(196, 152, 88, 0.18);
}

.nex-cs-info-label {
	flex: 0 1 42%;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--nex-muted);
	line-height: 1.35;
}

.nex-cs-info-value {
	flex: 1;
	text-align: right;
	font-size: 14px;
	font-weight: 600;
	color: var(--nex-text);
	line-height: 1.4;
}

@media (max-width: 520px) {
	.nex-cs-info-row {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}
	.nex-cs-info-value {
		text-align: left;
	}
}

/* Tables */
.nex-cs-table-wrap {
	overflow-x: auto;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(0, 0, 0, 0.25);
}

.nex-cs-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	color: var(--nex-text);
}

.nex-cs-table thead {
	background: rgba(196, 152, 88, 0.08);
}

.nex-cs-table th {
	padding: 12px 14px;
	text-align: left;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-gold);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	white-space: nowrap;
}

.nex-cs-table td {
	padding: 12px 14px;
	vertical-align: middle;
	color: var(--nex-text) !important;
	background: transparent !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nex-cs-table tbody tr:nth-child(even) td {
	background: rgba(255, 255, 255, 0.03) !important;
}

.nex-cs-table tbody tr:hover td {
	background: rgba(168, 85, 247, 0.08) !important;
}

.nex-cs-table tbody tr:last-child td {
	border-bottom: 0;
}

.nex-cs-table td a {
	color: var(--nex-gold);
	text-decoration: none;
}

.nex-cs-table td a:hover {
	color: var(--nex-gold-bright);
	text-decoration: underline;
}

.nex-cs-table td img {
	display: inline-block;
	vertical-align: middle;
}

.nex-cs-table--guilds th,
.nex-cs-table--guilds td {
	text-align: center;
}

.nex-cs-table--guilds th:first-child,
.nex-cs-table--guilds td:first-child {
	width: 56px;
}

.nex-cs-table--schedule td:first-child {
	font-weight: 600;
	color: var(--nex-gold) !important;
	max-width: 220px;
}

.nex-cs-table--schedule td:nth-child(2),
.nex-cs-table--schedule td:nth-child(3) {
	font-size: 12px;
	color: rgba(232, 228, 240, 0.92) !important;
	white-space: nowrap;
}

@media (max-width: 720px) {
	.nex-cs-table--schedule td:nth-child(2),
	.nex-cs-table--schedule td:nth-child(3) {
		white-space: normal;
	}
}

/* ========== Perfiles (guild & player) ========== */
.nexora-profile-page {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	padding: 0 0 48px;
	animation: nex-profile-in 0.45s ease-out;
}

@keyframes nex-profile-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.nexora-profile-page-header {
	text-align: center;
	margin-bottom: 28px;
}

.nexora-profile-page-title {
	margin: 0 0 8px;
	font-family: var(--nex-display);
	font-size: clamp(1.35rem, 3vw, 1.65rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--nex-gold);
	text-shadow: var(--nex-glow);
}

.nexora-profile-page-line {
	display: block;
	width: 64px;
	height: 3px;
	margin: 0 auto;
	background: linear-gradient(90deg, transparent, var(--nex-gold), transparent);
	border-radius: 2px;
}

.nexora-guild-card,
.nexora-player-card {
	background: var(--nex-bg-panel);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid var(--nex-line);
	border-radius: var(--nex-radius);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), var(--nex-glow);
	padding: 28px 24px;
	overflow: hidden;
	animation: nex-profile-card-in 0.5s ease-out;
}

@keyframes nex-profile-card-in {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.nexora-guild-hero {
	text-align: center;
	margin-bottom: 24px;
}

.nexora-guild-logo-wrap {
	display: inline-block;
	margin-bottom: 12px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
	border: 1px solid var(--nex-line);
}

.nexora-guild-logo-wrap img {
	display: block;
	vertical-align: middle;
}

.nexora-guild-name {
	margin: 0;
	font-family: var(--nex-display);
	font-size: 1.35rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--nex-gold);
}

.nexora-guild-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 26px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--nex-line);
}

.nexora-guild-stat {
	text-align: center;
	padding: 14px 10px;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	transition: border-color 0.2s ease, background 0.2s ease;
}

.nexora-guild-stat:hover {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(196, 152, 88, 0.35);
}

.nexora-guild-stat-label {
	display: block;
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-muted);
	margin-bottom: 6px;
}

.nexora-guild-stat-value {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--nex-gold);
}

.nexora-guild-stat-value a {
	color: inherit;
	text-decoration: none;
}

.nexora-guild-stat-value a:hover {
	text-decoration: underline;
}

.nexora-guild-members-section {
	text-align: center;
}

.nexora-guild-members-title {
	margin: 0 0 14px;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-muted);
}

.nexora-guild-members-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 10px;
}

.nexora-guild-member-item a {
	display: block;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--nex-text);
	text-decoration: none;
	font-size: 0.82rem;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nexora-guild-member-item a:hover {
	background: rgba(196, 152, 88, 0.12);
	border-color: rgba(196, 152, 88, 0.35);
	color: var(--nex-gold);
}

/* Player profile — layout */
.nexora-profile-player {
	max-width: 1040px;
}

.nexora-player-layout {
	display: grid;
	grid-template-columns: minmax(260px, 320px) 1fr;
	gap: 24px;
	align-items: start;
}

.nexora-player-hero {
	position: relative;
	text-align: center;
	padding: 28px 18px 22px;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 18px;
	background:
		linear-gradient(180deg, rgba(8, 6, 14, 0.35) 0%, rgba(12, 10, 20, 0.92) 100%),
		var(--nex-bg-panel2);
	border: 1px solid var(--nex-line);
}

.nexora-player-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--nex-player-banner);
	background-size: cover;
	background-position: center top;
	opacity: 0.45;
	z-index: 0;
}

.nexora-player-hero-glow {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(196, 152, 88, 0.18), transparent 70%);
	z-index: 1;
	pointer-events: none;
}

.nexora-player-hero > *:not(.nexora-player-hero-glow) {
	position: relative;
	z-index: 2;
}

.nexora-player-avatar {
	width: 88px;
	height: 88px;
	margin: 0 auto 14px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, rgba(196, 152, 88, 0.25), rgba(107, 33, 168, 0.35));
	border: 2px solid rgba(196, 152, 88, 0.45);
	box-shadow: 0 0 24px rgba(196, 152, 88, 0.2);
}

.nexora-player-avatar-letter {
	font-family: var(--nex-display);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--nex-gold);
	letter-spacing: 0.06em;
}

.nexora-player-name {
	margin: 0 0 4px;
	font-family: var(--nex-display);
	font-size: 1.25rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #fff;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.nexora-player-class {
	margin: 0 0 12px;
	font-size: 0.8rem;
	color: var(--nex-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.nexora-player-status {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.nexora-player-status.is-online {
	background: rgba(76, 175, 80, 0.2);
	border: 1px solid rgba(76, 175, 80, 0.5);
	color: #81c784;
}

.nexora-player-status.is-offline {
	background: rgba(158, 158, 158, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--nex-muted);
}

.nexora-player-highlights {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin-bottom: 14px;
}

.nexora-player-highlight {
	text-align: center;
	padding: 12px 10px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 10px;
}

.nexora-player-highlight-label {
	display: block;
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-muted);
	margin-bottom: 4px;
}

.nexora-player-highlight-value {
	font-family: var(--nex-display);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--nex-gold);
}

.nexora-player-guild-strip,
.nexora-player-zen-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.07);
	margin-bottom: 10px;
	font-size: 0.82rem;
}

.nexora-player-guild-label,
.nexora-player-zen-label {
	color: var(--nex-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.68rem;
}

.nexora-player-guild-value,
.nexora-player-zen-value {
	font-weight: 600;
	color: var(--nex-gold);
}

.nexora-player-guild-value a {
	color: inherit;
}

.nexora-player-section {
	margin-bottom: 22px;
}

.nexora-player-section-title {
	margin: 0 0 12px;
	font-family: var(--nex-display);
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--nex-gold);
	padding-bottom: 8px;
	border-bottom: 1px solid var(--nex-line);
}

.nexora-player-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

.nexora-player-stat {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	transition: border-color 0.2s ease;
}

.nexora-player-stat:hover {
	border-color: rgba(196, 152, 88, 0.28);
}

.nexora-player-stat-label {
	font-size: 0.72rem;
	color: var(--nex-muted);
}

.nexora-player-stat-value {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--nex-text);
}

.nexora-player-stat-value a {
	color: var(--nex-gold);
}

.nexora-player-attr-bars {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	margin-bottom: 12px;
}

.nexora-player-attr-bar {
	display: block;
	height: 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

.nexora-player-attr-bar i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--nex-bar, var(--nex-gold));
	box-shadow: 0 0 10px var(--nex-bar, var(--nex-gold));
}

@media (max-width: 860px) {
	.nexora-player-layout {
		grid-template-columns: 1fr;
	}

	.nexora-guild-stats {
		grid-template-columns: 1fr;
	}

	.nexora-player-stats {
		grid-template-columns: 1fr;
	}
}
\n\n/* ========== Módulos (rankings, usercp hub/sub, donación) — Nexora vars ========== */\n@keyframes nexora-info-title-in {
	from {
		opacity: 0;
		transform: translateY(-12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ========== Módulos Rankings (Top Level, Guilds, Resets, etc.) ========== */
.nex-page-main .nexora-rankings-wrap {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 0 24px;
}

/* Título de página rankings (cuando existe .rankings_menu) */
.nex-page-main:has(.rankings_menu) .page-title {
	text-align: center;
	margin-bottom: 8px;
}

.nex-page-main:has(.rankings_menu) .page-title span {
	font-size: 26px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-gold);
	text-shadow: 0 0 20px rgba(196, 152, 88, 0.35);
	display: inline-block;
	position: relative;
	padding-bottom: 12px;
}

.nex-page-main:has(.rankings_menu) .page-title span::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--nex-gold), transparent);
	transform: translateX(-50%);
	border-radius: 2px;
}

/* Menú de pestañas (Top Level, Top Resets, etc.) */
.nex-page-main .rankings_menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 12px;
	margin-bottom: 24px;
	padding: 0;
	overflow: visible;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid var(--nex-line);
	border-radius: 12px;
	padding: 14px 16px;
}

.nex-page-main .rankings_menu a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	padding: 10px 16px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	color: var(--nex-muted);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nex-page-main .rankings_menu a:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(164, 112, 70, 0.3);
	color: var(--nex-text);
}

.nex-page-main .rankings_menu a.active {
	background: linear-gradient(135deg, rgba(164, 112, 70, 0.25), rgba(184, 146, 63, 0.2));
	border-color: var(--nex-gold);
	color: var(--nex-gold);
	text-shadow: 0 0 12px rgba(196, 152, 88, 0.35);
	box-shadow: 0 0 0 1px rgba(164, 112, 70, 0.2);
}

/* Filtro por clase (All, Wizards, Knights, etc.) */
.nex-page-main .rankings-class-filter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 16px;
	list-style: none;
	margin: 0 0 20px;
	padding: 16px 20px;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 10px;
}

.nex-page-main .rankings-class-filter li {
	margin: 0;
	padding: 0;
}

.nex-page-main .rankings-class-filter-selection {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 12px 16px;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	color: var(--nex-muted);
	font-size: 12px;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	cursor: pointer;
}

.nex-page-main .rankings-class-filter-selection:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(164, 112, 70, 0.25);
	color: var(--nex-text);
}

.nex-page-main .rankings-class-filter-image {
	width: 40px;
	height: auto;
	display: block;
	border-radius: 6px;
}

.nex-page-main .rankings-class-filter-selection.rankings-class-filter-grayscale .rankings-class-filter-image {
	filter: grayscale(0.7);
	opacity: 0.9;
}

.nex-page-main .rankings-class-filter-selection:hover .rankings-class-filter-image {
	filter: grayscale(0);
	opacity: 1;
}

.nex-page-main .rankings-class-filter-wrap {
	margin: 0 0 20px;
}

.nex-page-main .rankings-class-filter-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 16px;
	padding: 14px 18px;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 10px;
}

.nex-page-main .rankings-class-filter-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--nex-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.nex-page-main .rankings-class-filter-select {
	min-width: min(100%, 280px);
	max-width: 100%;
	padding: 10px 36px 10px 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--nex-text);
	background: rgba(0, 0, 0, 0.35)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d4a84b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
		no-repeat right 12px center;
	border: 1px solid rgba(164, 112, 70, 0.35);
	border-radius: 10px;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.nex-page-main .rankings-class-filter-select:focus {
	outline: none;
	border-color: rgba(164, 112, 70, 0.55);
	box-shadow: 0 0 0 2px rgba(164, 112, 70, 0.15);
}

.nex-page-main .rankings-class-filter-select option {
	background: #141820;
	color: var(--nex-text);
}

/* Tabla de rankings */
.nex-page-main .rankings-table,
.nex-page-main .table.rankings-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	background: var(--nex-bg-panel);
	backdrop-filter: blur(14px);
	border: 1px solid var(--nex-line);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.nex-page-main .rankings-table tr:first-child td,
.nex-page-main .table.rankings-table tr:first-child td {
	background: rgba(0, 0, 0, 0.4);
	color: var(--nex-gold);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 14px 16px;
	border-bottom: 1px solid var(--nex-line);
	font-size: 12px;
}

.nex-page-main .rankings-table tr td,
.nex-page-main .table.rankings-table tr td {
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	padding: 12px 16px;
	color: var(--nex-text);
	vertical-align: middle !important;
	background: transparent !important;
}

.nex-page-main .rankings-table tbody tr:hover td,
.nex-page-main .table.rankings-table tbody tr:hover td {
	background: rgba(255, 255, 255, 0.04) !important;
}

.nex-page-main .rankings-table-place {
	color: var(--nex-gold);
	font-weight: 700;
	font-size: 16px;
	text-shadow: 0 0 10px rgba(196, 152, 88, 0.35);
}

.nex-page-main .rankings-class-image {
	width: 36px;
	height: auto;
	border-radius: 6px;
	display: block;
}

.nex-page-main .rankings-table a,
.nex-page-main .table.rankings-table a {
	color: var(--nex-gold);
	text-decoration: none;
	transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nex-page-main .rankings-table a:hover,
.nex-page-main .table.rankings-table a:hover {
	color: #fff;
	text-shadow: 0 0 10px rgba(196, 152, 88, 0.35);
}

.nex-page-main .online-status-indicator {
	margin-left: 6px;
	vertical-align: middle;
}

/* Fecha de actualización */
.nex-page-main .rankings-update-time {
	text-align: right;
	font-size: 12px;
	color: var(--nex-muted);
	padding: 16px 0 0;
	margin: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	margin-top: 16px;
}

/* ========== Página User CP (inc/modules/usercp.php) ========== */
.nexora-usercp {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	padding: 0 0 32px;
}

.nexora-usercp-header {
	text-align: center;
	margin-bottom: 28px;
}

.nexora-usercp-title {
	font-size: 26px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-gold);
	text-shadow: 0 0 20px rgba(196, 152, 88, 0.35);
	margin: 0 0 8px;
	position: relative;
	display: inline-block;
	padding-bottom: 12px;
}

.nexora-usercp-title::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--nex-gold), transparent);
	transform: translateX(-50%);
	border-radius: 2px;
}

.nexora-usercp-subtitle {
	font-size: 14px;
	color: var(--nex-muted);
	margin: 0;
}

.nexora-usercp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 16px;
}

.nexora-usercp-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 24px 16px;
	background: var(--nex-bg-panel);
	backdrop-filter: blur(14px);
	border: 1px solid var(--nex-line);
	border-radius: 12px;
	text-decoration: none;
	color: var(--nex-text);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
	text-align: center;
}

.nexora-usercp-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(164, 112, 70, 0.2);
	border-color: rgba(164, 112, 70, 0.4);
	background: rgba(255, 255, 255, 0.04);
	color: var(--nex-gold);
}

.nexora-usercp-item-icon {
	display: block;
	width: 56px;
	height: 56px;
	flex-shrink: 0;
}

.nexora-usercp-item-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 8px;
}

.nexora-usercp-item-title {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

@media (max-width: 480px) {
	.nexora-usercp-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	.nexora-usercp-item {
		padding: 18px 12px;
	}
	.nexora-usercp-item-icon {
		width: 48px;
		height: 48px;
	}
	.nexora-usercp-item-icon img {
		width: 48px;
		height: 48px;
	}
}

/* ========== My Account (inc/modules/usercp/myaccount.php) ========== */
.nexora-myaccount {
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
	padding: 0 0 40px;
}

.nexora-myaccount-header {
	text-align: center;
	margin-bottom: 32px;
}

.nexora-myaccount-title {
	margin: 0 0 8px;
	font-size: 26px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-gold);
	text-shadow: 0 0 20px rgba(196, 152, 88, 0.35);
	position: relative;
	display: inline-block;
	padding-bottom: 12px;
	animation: nexora-info-title-in 0.6s ease-out;
}

.nexora-myaccount-title::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--nex-gold), transparent);
	transform: translateX(-50%);
	border-radius: 2px;
}

.nexora-myaccount-subtitle {
	margin: 0;
	font-size: 14px;
	color: var(--nex-muted);
}

.nexora-myaccount-section {
	margin-bottom: 28px;
}

.nexora-myaccount-panel {
	background: var(--nex-bg-panel);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid var(--nex-line);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.nexora-myaccount-panel-head {
	padding: 14px 20px;
	background: rgba(0, 0, 0, 0.35);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nexora-myaccount-panel-title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--nex-gold);
}

.nexora-myaccount-panel-body {
	padding: 20px;
}

.nexora-myaccount-rows {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.nexora-myaccount-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	color: var(--nex-text);
}

.nexora-myaccount-row:last-child {
	border-bottom: none;
}

.nexora-myaccount-label {
	font-size: 13px;
	color: var(--nex-muted);
	font-weight: 500;
}

.nexora-myaccount-value {
	font-size: 14px;
	color: var(--nex-text);
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.nexora-myaccount-value-number {
	color: var(--nex-gold);
	font-weight: 600;
	text-shadow: 0 0 10px rgba(196, 152, 88, 0.35);
}

.nexora-myaccount-btn {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	text-decoration: none;
	border-radius: 8px;
	color: var(--nex-btn-metal-text);
	background: linear-gradient(
		175deg,
		var(--nex-btn-metal-top),
		var(--nex-btn-metal-mid) 48%,
		var(--nex-btn-metal-bot)
	);
	border: 1px solid var(--nex-btn-metal-border);
	box-shadow: var(--nex-btn-metal-shadow);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		filter 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.nexora-myaccount-btn:hover {
	transform: translateY(-2px);
	color: #fffefc;
	box-shadow:
		0 6px 22px rgba(75, 32, 110, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.14);
	border-color: rgba(192, 132, 255, 0.42);
	filter: brightness(1.06);
}

.nexora-myaccount-badge {
	display: inline-block;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	border-radius: 6px;
}

.nexora-myaccount-badge-success {
	background: rgba(60, 160, 80, 0.3);
	border: 1px solid rgba(60, 160, 80, 0.5);
	color: #7ed;
}

.nexora-myaccount-badge-danger {
	background: rgba(180, 60, 60, 0.3);
	border: 1px solid rgba(180, 60, 60, 0.5);
	color: #e88;
}

.nexora-myaccount-badge-default {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: var(--nex-muted);
}

/* Sección personajes */
.nexora-myaccount-section-title {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--nex-gold);
	text-shadow: 0 0 12px rgba(196, 152, 88, 0.35);
}

.nexora-myaccount-characters {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 20px;
}

.nexora-myaccount-character-card {
	background: var(--nex-bg-panel);
	backdrop-filter: blur(14px);
	border: 1px solid var(--nex-line);
	border-radius: 14px;
	padding: 20px;
	text-align: center;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nexora-myaccount-character-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(164, 112, 70, 0.2);
	border-color: rgba(164, 112, 70, 0.35);
}

.nexora-myaccount-character-name {
	margin-bottom: 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--nex-text);
}

.nexora-myaccount-character-name a {
	color: var(--nex-gold);
	text-decoration: none;
	transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nexora-myaccount-character-name a:hover {
	color: #fff;
	text-shadow: 0 0 10px rgba(196, 152, 88, 0.35);
}

.nexora-myaccount-char-status {
	width: 10px;
	height: 10px;
	margin-left: 6px;
	vertical-align: middle;
}

.nexora-myaccount-character-avatar {
	margin-bottom: 12px;
	border-radius: 10px;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.25);
}

.nexora-myaccount-character-avatar a {
	display: block;
	line-height: 0;
}

.nexora-myaccount-character-avatar img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.nexora-myaccount-character-location {
	font-size: 12px;
	color: var(--nex-muted);
	line-height: 1.4;
	margin-bottom: 8px;
}

.nexora-myaccount-character-level {
	font-size: 18px;
	font-weight: 700;
	color: var(--nex-gold);
	text-shadow: 0 0 12px rgba(196, 152, 88, 0.35);
}

/* Tabla historial de conexión */
.nexora-myaccount-table-wrap {
	overflow-x: auto;
	border-radius: 10px;
}

.nexora-myaccount-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.nexora-myaccount-table thead th {
	padding: 12px 14px;
	text-align: left;
	background: rgba(0, 0, 0, 0.35);
	color: var(--nex-gold);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-bottom: 1px solid var(--nex-line);
}

.nexora-myaccount-table tbody tr {
	transition: background 0.2s ease;
}

.nexora-myaccount-table tbody tr:hover {
	background: rgba(255, 255, 255, 0.04);
}

.nexora-myaccount-table tbody td {
	padding: 12px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	color: var(--nex-text);
}

.nexora-myaccount-table tbody tr:last-child td {
	border-bottom: none;
}

@media (max-width: 640px) {
	.nexora-myaccount-characters {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}
	.nexora-myaccount-character-card {
		padding: 16px;
	}
}

/* ========== Páginas UserCP (addstats, buyzen, clearpk, myemail, etc.) ========== */
.nexora-usercp-page {
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
	padding: 0 0 40px;
}

.nexora-usercp-page-header {
	text-align: center;
	margin-bottom: 28px;
}

.nexora-usercp-page-title {
	margin: 0 0 8px;
	font-size: 26px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-gold);
	text-shadow: 0 0 20px rgba(196, 152, 88, 0.35);
	position: relative;
	display: inline-block;
	padding-bottom: 12px;
	animation: nexora-info-title-in 0.6s ease-out;
}

.nexora-usercp-page-title::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--nex-gold), transparent);
	transform: translateX(-50%);
	border-radius: 2px;
}

.nexora-usercp-page-subtitle {
	margin: 0;
	font-size: 14px;
	color: var(--nex-muted);
}

.nexora-usercp-panel {
	background: var(--nex-bg-panel);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid var(--nex-line);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
	margin-bottom: 24px;
}

.nexora-usercp-panel-body {
	padding: 20px;
}

.nexora-usercp-form .nexora-usercp-field {
	margin-bottom: 16px;
}

.nexora-usercp-form .nexora-usercp-field:last-of-type {
	margin-bottom: 0;
}

.nexora-usercp-label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: var(--nex-muted);
	margin-bottom: 6px;
}

.nexora-usercp-input,
.nexora-usercp-select {
	width: 100%;
	padding: 12px 14px;
	font-size: 14px;
	color: var(--nex-text);
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	box-sizing: border-box;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.nexora-usercp-input:focus,
.nexora-usercp-select:focus {
	outline: none;
	border-color: rgba(164, 112, 70, 0.5);
	background: rgba(0, 0, 0, 0.45);
}

.nexora-usercp-input::placeholder {
	color: var(--nex-muted);
}

.nexora-usercp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
	text-decoration: none;
	color: var(--nex-btn-metal-text);
	background: linear-gradient(
		175deg,
		var(--nex-btn-metal-top),
		var(--nex-btn-metal-mid) 48%,
		var(--nex-btn-metal-bot)
	);
	border: 1px solid var(--nex-btn-metal-border);
	border-radius: 10px;
	box-shadow: var(--nex-btn-metal-shadow);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		filter 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.nexora-usercp-btn:hover {
	transform: translateY(-2px);
	color: #fffefc;
	box-shadow:
		0 6px 22px rgba(75, 32, 110, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.14);
	border-color: rgba(192, 132, 255, 0.42);
	filter: brightness(1.06);
}

.nexora-usercp-table-wrap {
	overflow-x: auto;
	border-radius: 10px;
}

.nexora-usercp-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.nexora-usercp-table thead th {
	padding: 12px 14px;
	text-align: left;
	background: rgba(0, 0, 0, 0.4);
	color: var(--nex-gold);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-bottom: 1px solid var(--nex-line);
}

.nexora-usercp-table tbody tr {
	transition: background 0.2s ease;
}

.nexora-usercp-table tbody tr:hover {
	background: rgba(255, 255, 255, 0.04);
}

.nexora-usercp-table tbody td {
	padding: 12px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	color: var(--nex-text);
	vertical-align: middle;
}

.nexora-usercp-table tbody tr:last-child td {
	border-bottom: none;
}

.nexora-usercp-table .nexora-usercp-char-avatar img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	border-radius: 8px;
	display: block;
}

.nexora-usercp-requirements {
	margin-top: 20px;
	padding: 16px 20px;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	text-align: center;
	font-size: 13px;
	color: var(--nex-muted);
}

.nexora-usercp-requirements p {
	margin: 0 0 6px;
}

.nexora-usercp-requirements p:last-child {
	margin-bottom: 0;
}

/* Add Stats: tarjeta por personaje */
.nexora-usercp-card {
	background: var(--nex-bg-panel);
	backdrop-filter: blur(14px);
	border: 1px solid var(--nex-line);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
	margin-bottom: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

.nexora-usercp-card-avatar {
	flex: 0 0 140px;
	padding: 20px;
	text-align: center;
	background: rgba(0, 0, 0, 0.2);
}

.nexora-usercp-card-avatar img {
	max-width: 100px;
	height: auto;
	border-radius: 10px;
	display: block;
	margin: 0 auto;
}

.nexora-usercp-card-body {
	flex: 1 1 280px;
	padding: 20px;
	min-width: 0;
}

.nexora-usercp-card-name {
	font-size: 18px;
	font-weight: 700;
	color: var(--nex-gold);
	margin-bottom: 16px;
	text-shadow: 0 0 12px rgba(196, 152, 88, 0.35);
}

.nexora-usercp-card-form .nexora-usercp-field {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin-bottom: 12px;
}

.nexora-usercp-card-form .nexora-usercp-field .nexora-usercp-label {
	margin-bottom: 0;
	flex: 0 0 140px;
}

.nexora-usercp-card-form .nexora-usercp-input {
	max-width: 120px;
}

/* Buy Zen: fila con selects y botón */
.nexora-usercp-inline-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 24px;
	padding: 24px 20px;
}

.nexora-usercp-inline-form .nexora-usercp-select {
	min-width: 180px;
	max-width: 240px;
}

@media (max-width: 640px) {
	.nexora-usercp-card {
		flex-direction: column;
	}
	.nexora-usercp-card-avatar {
		flex: 0 0 auto;
	}
	.nexora-usercp-inline-form {
		flex-direction: column;
	}
	.nexora-usercp-inline-form .nexora-usercp-select {
		width: 100%;
		max-width: none;
	}
}

/* Buy Zen page */
.nexora-buyzen-page .nexora-usercp-page-subtitle {
	margin-top: 6px;
	font-size: 14px;
	color: var(--nex-muted);
	font-weight: 400;
}
.nexora-buyzen-panel {
	overflow: visible;
}
.nexora-buyzen-panel .nexora-usercp-panel-body {
	padding: 24px 28px;
}
.nexora-buyzen-intro {
	font-size: 13px;
	color: var(--nex-muted);
	margin-bottom: 18px;
}
.nexora-buyzen-row {
	display: grid;
	grid-template-columns: 1fr 1.4fr auto;
	align-items: end;
	gap: 20px 24px;
}
.nexora-buyzen-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.nexora-buyzen-field.nexora-buyzen-amount .nexora-buyzen-select {
	min-width: 200px;
}
.nexora-buyzen-select {
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	font-size: 14px;
}
.nexora-buyzen-submit {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.nexora-buyzen-label-hidden {
	visibility: hidden;
	height: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
.nexora-buyzen-btn {
	min-width: 120px;
	padding: 14px 28px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.04em;
	background: linear-gradient(135deg, #d4a84b 0%, #b8923a 100%);
	box-shadow: 0 4px 16px rgba(164, 112, 70, 0.35);
}
.nexora-buyzen-btn:hover {
	background: linear-gradient(135deg, #e0b85a 0%, #c49d42 100%);
	box-shadow: 0 6px 22px rgba(164, 112, 70, 0.5);
}
@media (max-width: 768px) {
	.nexora-buyzen-row {
		grid-template-columns: 1fr;
	}
	.nexora-buyzen-field.nexora-buyzen-amount .nexora-buyzen-select {
		min-width: 0;
	}
	.nexora-buyzen-btn {
		min-width: 100%;
	}
}

/* UserCP: plugin output wrapped by template (Rename Character, Change Class, Transfer Character) */
.nexora-usercp-plugin-panel {
	overflow: visible;
}
.nexora-usercp-plugin-wrap .nexora-usercp-panel-body {
	padding: 24px 28px;
}
/* Ocultar título del plugin: usamos la cabecera nexora del template */
.nexora-usercp-plugin-wrap .nexora-usercp-panel-body > .page-title:first-child {
	display: none;
}
.nexora-usercp-plugin-wrap .row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0 0 16px;
}
.nexora-usercp-plugin-wrap [class*="col-"] {
	flex: 1 1 auto;
	min-width: 0;
}
.nexora-usercp-plugin-wrap form {
	margin: 0 0 20px;
}
.nexora-usercp-plugin-wrap label,
.nexora-usercp-plugin-wrap .field-label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: var(--nex-muted);
	margin-bottom: 6px;
}
.nexora-usercp-plugin-wrap input[type="text"],
.nexora-usercp-plugin-wrap input[type="password"],
.nexora-usercp-plugin-wrap input[type="number"],
.nexora-usercp-plugin-wrap input[type="email"],
.nexora-usercp-plugin-wrap select,
.nexora-usercp-plugin-wrap textarea,
.nexora-usercp-plugin-wrap .form-control,
.nexora-usercp-plugin-wrap .field-input {
	width: 100%;
	max-width: 100%;
	padding: 6px 14px;
	font-size: 14px;
	color: var(--nex-text);
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	box-sizing: border-box;
	transition: border-color 0.2s ease, background 0.2s ease;
}
.nexora-usercp-plugin-wrap input:focus,
.nexora-usercp-plugin-wrap select:focus,
.nexora-usercp-plugin-wrap textarea:focus {
	outline: none;
	border-color: rgba(164, 112, 70, 0.5);
	background: rgba(0, 0, 0, 0.45);
}
.nexora-usercp-plugin-wrap button,
.nexora-usercp-plugin-wrap input[type="submit"],
.nexora-usercp-plugin-wrap .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	min-width: 160px;
	white-space: nowrap;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
	color: var(--nex-btn-metal-text);
	background: linear-gradient(
		175deg,
		var(--nex-btn-metal-top),
		var(--nex-btn-metal-mid) 48%,
		var(--nex-btn-metal-bot)
	);
	border: 1px solid var(--nex-btn-metal-border);
	border-radius: 10px;
	box-shadow: var(--nex-btn-metal-shadow);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		filter 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}
.nexora-usercp-plugin-wrap button:hover,
.nexora-usercp-plugin-wrap input[type="submit"]:hover,
.nexora-usercp-plugin-wrap .btn:hover {
	transform: translateY(-2px);
	color: #fffefc;
	box-shadow:
		0 6px 22px rgba(75, 32, 110, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.14);
	border-color: rgba(192, 132, 255, 0.42);
	filter: brightness(1.06);
}
.nexora-usercp-plugin-wrap table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	margin-bottom: 16px;
}
.nexora-usercp-plugin-wrap table thead th {
	padding: 12px 14px;
	text-align: left;
	background: rgba(0, 0, 0, 0.4);
	color: var(--nex-gold);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-bottom: 1px solid var(--nex-line);
}
.nexora-usercp-plugin-wrap table tbody td {
	padding: 12px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	color: var(--nex-text);
}
.nexora-usercp-plugin-wrap table tbody tr:hover {
	background: rgba(255, 255, 255, 0.04);
}
.nexora-usercp-plugin-wrap .thumbnail {
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid var(--nex-line);
	border-radius: 10px;
	padding: 12px;
}
.nexora-usercp-plugin-wrap .thumbnail img {
	max-width: 100%;
	height: auto;
}
.nexora-usercp-plugin-wrap p,
.nexora-usercp-plugin-wrap .field-hint {
	font-size: 13px;
	color: var(--nex-muted);
	margin: 0 0 8px;
}
/* Donation page */
.nexora-donation-page {
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	padding: 0 0 40px;
}
.nexora-donation-header {
	text-align: center;
	margin-bottom: 28px;
}
.nexora-donation-title {
	margin: 0 0 8px;
	font-size: 26px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-gold);
	text-shadow: 0 0 20px rgba(196, 152, 88, 0.35);
	position: relative;
	padding-bottom: 14px;
}
.nexora-donation-title::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--nex-gold), transparent);
	transform: translateX(-50%);
}
.nexora-donation-subtitle {
	margin: 0;
	font-size: 14px;
	color: var(--nex-muted);
}
.nexora-donation-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
}
.nexora-donation-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: var(--nex-bg-panel);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid var(--nex-line);
	border-radius: 14px;
	padding: 24px;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	overflow: hidden;
}
.nexora-donation-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
	border-color: rgba(164, 112, 70, 0.4);
}
.nexora-donation-card-label {
	font-size: 16px;
	font-weight: 600;
	color: var(--nex-gold);
	margin-bottom: 12px;
}
.nexora-donation-card-img {
	max-width: 100%;
	height: auto;
	max-height: 56px;
	object-fit: contain;
}
.nexora-donation-panel {
	background: var(--nex-bg-panel);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid var(--nex-line);
	border-radius: 14px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
	padding: 28px 32px;
}
.nexora-paypal-panel {
	overflow: visible;
}
.nexora-paypal-logo {
	text-align: center;
	margin-bottom: 24px;
}
.nexora-paypal-logo img {
	max-width: 200px;
	height: auto;
	max-height: 68px;
	object-fit: contain;
}
.nexora-paypal-body {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.nexora-paypal-amount-row {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.nexora-paypal-amount-inner {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.nexora-paypal-currency {
	font-size: 16px;
	color: var(--nex-muted);
}
.nexora-paypal-amount-input {
	width: 80px;
	text-align: center;
	font-size: 18px;
}
.nexora-paypal-result {
	margin: 0;
	font-size: 15px;
	color: var(--nex-gold);
	font-weight: 600;
}
.nexora-paypal-result span {
	font-weight: 700;
}
.nexora-paypal-btn {
	align-self: center;
	min-width: 200px;
	padding: 14px 28px;
	font-size: 14px;
}
@media (max-width: 640px) {
	.nexora-donation-grid {
		grid-template-columns: 1fr;
	}
	.nexora-paypal-panel {
		padding: 20px 20px;
	}
}

.nexora-donation-card-desc {
	font-size: 13px;
	line-height: 1.45;
	color: var(--nex-muted);
	text-align: center;
	margin-top: 4px;
}

/* PayPal — lista de paquetes (custom router) */
.nex-paypal-gateway {
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
}
.nex-paypal-gateway-inner {
	padding: 24px 28px;
}
.nex-paypal-brand {
	text-align: center;
	margin-bottom: 20px;
}
.nex-paypal-brand img {
	max-width: 200px;
	height: auto;
	max-height: 68px;
	object-fit: contain;
}
.nex-paypal-pack-heading {
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 700;
	color: var(--nex-gold);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.nex-paypal-pack-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.nex-paypal-pack-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: var(--nex-radius);
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(0, 0, 0, 0.28);
	cursor: pointer;
	transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.nex-paypal-pack-item:hover {
	transform: translateY(-1px);
	border-color: rgba(196, 152, 88, 0.35);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.nex-paypal-pack-item input[type="radio"] {
	flex-shrink: 0;
	transform: scale(1.08);
	cursor: pointer;
	accent-color: var(--nex-gold);
}
.nex-paypal-pack-text {
	flex: 1;
	min-width: 0;
	font-size: 13px;
	line-height: 1.35;
	color: var(--nex-text);
}
.nex-paypal-pack-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	flex-shrink: 0;
	max-width: 46%;
}
.nex-paypal-badge {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
}
.nex-paypal-badge--usd {
	background: rgba(96, 165, 250, 0.2);
	border: 1px solid rgba(96, 165, 250, 0.35);
	color: #93c5fd;
}
.nex-paypal-badge--total {
	background: rgba(196, 152, 88, 0.15);
	border: 1px solid rgba(196, 152, 88, 0.35);
	color: var(--nex-gold);
}
.nex-paypal-summary {
	margin-top: 18px;
	padding: 14px 16px;
	border-radius: var(--nex-radius);
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid var(--nex-line);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}
.nex-paypal-summary-copy {
	font-size: 13px;
	color: var(--nex-text);
	line-height: 1.45;
}
.nex-paypal-muted {
	display: inline-block;
	margin-top: 6px;
	font-size: 12px;
	color: var(--nex-muted);
}
.nex-paypal-submit {
	flex-shrink: 0;
	min-width: 200px;
}
@media (max-width: 640px) {
	.nex-paypal-pack-badges {
		max-width: 100%;
		justify-content: flex-start;
	}
	.nex-paypal-summary {
		flex-direction: column;
		align-items: stretch;
	}
	.nex-paypal-submit {
		width: 100%;
		min-width: 0;
	}
}
