/* ==========================================================================
   VikingsRO — tema do painel
   Ferro escuro, ouro do logo, brasas e aurora. Sem Bootstrap: tudo aqui.
   ========================================================================== */

:root {
	--bg:          #0a0c0f;
	--bg-2:        #0e1216;
	--surface:     #141a20;
	--surface-2:   #1b232b;
	--surface-3:   #232d37;
	--line:        #2a343f;
	--line-strong: #3a4653;

	--gold:        #e3a93a;
	--gold-hi:     #f7d27a;
	--gold-lo:     #a06c1c;
	--gold-glow:   rgba(227, 169, 58, .28);
	--ember:       #e2622b;
	--frost:       #78c6d6;

	--text:        #ece4d2;
	--text-dim:    #b7ae9a;
	--text-faint:  #807a6c;
	--ok:          #6cc77a;
	--bad:         #e25b52;
	--warn:        #e8b04a;

	--f-display: 'Cinzel', 'Trajan Pro', Georgia, serif;
	--f-body:    'Alegreya Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--f-rune:    'Noto Sans Runic', 'Segoe UI Historic', serif;

	--radius:    6px;
	--bevel:     12px;
	--topbar-h:  76px;
	--wrap:      1240px;
	--shadow:    0 24px 60px rgba(0, 0, 0, .5);

	--ornament: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='14' viewBox='0 0 220 14'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23e3a93a' stop-opacity='0'/%3E%3Cstop offset='.5' stop-color='%23e3a93a'/%3E%3Cstop offset='1' stop-color='%23e3a93a' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 7h97M123 7h97' stroke='url(%23g)'/%3E%3Cpath d='M110 1l6 6-6 6-6-6z' fill='none' stroke='%23e3a93a'/%3E%3Cpath d='M110 4.5l2.5 2.5-2.5 2.5-2.5-2.5z' fill='%23f7d27a'/%3E%3Ccircle cx='100' cy='7' r='1.4' fill='%23e3a93a'/%3E%3Ccircle cx='120' cy='7' r='1.4' fill='%23e3a93a'/%3E%3C/svg%3E");
	--noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	min-height: 100vh;
	background: var(--bg) var(--noise);
	color: var(--text);
	font: 400 17px/1.6 var(--f-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-hi); }

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

p { margin: 0 0 1em; }

::selection { background: var(--gold); color: #1b1206; }

:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 200;
	padding: 10px 16px; background: var(--gold); color: #1b1206; font-weight: 700;
	border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.eyebrow {
	font-family: var(--f-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--gold);
	margin: 0 0 .7em;
}

.gold-text,
.section__title,
.hero__title,
.panel--page > h2:first-of-type,
.gate__title {
	background: linear-gradient(180deg, #fff0c4 0%, var(--gold-hi) 30%, var(--gold) 60%, var(--gold-lo) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .55));
}

/* ---------- Botões ---------- */

.btn {
	--btn-clip: polygon(var(--bevel) 0, calc(100% - var(--bevel)) 0, 100% 50%, calc(100% - var(--bevel)) 100%, var(--bevel) 100%, 0 50%);
	position: relative;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	min-height: 46px;
	padding: 0 calc(var(--bevel) + 16px);
	border: 0;
	font: 700 14px/1 var(--f-display);
	letter-spacing: .1em;
	text-transform: uppercase;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	clip-path: var(--btn-clip);
	transition: transform .15s ease, filter .2s ease;
	-webkit-user-select: none;
	user-select: none;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.12); }
.btn:active { transform: translateY(1px); filter: brightness(.95); }
.btn--sm { min-height: 38px; font-size: 12px; --bevel: 10px; padding: 0 calc(var(--bevel) + 12px); }
.btn--lg { min-height: 56px; font-size: 15px; --bevel: 15px; }
.btn--block { display: flex; width: 100%; }

.btn--gold {
	color: #1d1305;
	background: linear-gradient(180deg, #fde39b 0%, var(--gold-hi) 18%, var(--gold) 55%, #b6791f 100%);
	text-shadow: 0 1px 0 rgba(255, 240, 200, .45);
}
.btn--gold:hover { color: #1d1305; }

.btn--iron,
.btn--ghost,
.btn--discord {
	color: var(--gold-hi);
	background: linear-gradient(180deg, var(--gold) 0%, var(--gold-lo) 100%);
}
.btn--iron::before,
.btn--ghost::before,
.btn--discord::before {
	content: '';
	position: absolute;
	inset: 1px;
	z-index: -1;
	clip-path: var(--btn-clip);
	background: linear-gradient(180deg, #2a333d 0%, #161c22 100%);
	transition: background .2s;
}
.btn--iron:hover { color: #fff3cf; }
.btn--iron:hover::before { background: linear-gradient(180deg, #34404c 0%, #1b2229 100%); }

.btn--ghost { color: var(--text-dim); background: var(--line-strong); }
.btn--ghost::before { background: var(--bg-2); }
.btn--ghost:hover { color: var(--text); }

.btn--discord { color: #fff; background: #8a93ff; }
.btn--discord::before { background: linear-gradient(180deg, #5c67f2 0%, #4752c4 100%); }
.btn--discord:hover { color: #fff; }

/* ---------- Painéis ---------- */

.panel {
	position: relative;
	background:
		linear-gradient(180deg, rgba(31, 40, 49, .94) 0%, rgba(16, 20, 25, .96) 100%);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.panel--framed::before {
	content: '';
	position: absolute;
	inset: 6px;
	border: 1px solid rgba(227, 169, 58, .22);
	border-radius: 3px;
	pointer-events: none;
}
.panel--framed::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	--rivet: radial-gradient(circle, var(--gold-hi) 0 1.3px, var(--gold-lo) 1.8px, transparent 2.6px);
	background:
		var(--rivet) left 3px top 3px / 7px 7px no-repeat,
		var(--rivet) right 3px top 3px / 7px 7px no-repeat,
		var(--rivet) left 3px bottom 3px / 7px 7px no-repeat,
		var(--rivet) right 3px bottom 3px / 7px 7px no-repeat;
}

/* ---------- Barra superior ---------- */

.topbar {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--topbar-h);
	transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.topbar::after {
	content: '';
	position: absolute;
	inset: auto 0 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--gold-lo) 20%, var(--gold) 50%, var(--gold-lo) 80%, transparent);
	opacity: 0;
	transition: opacity .3s;
}
.is-inner .topbar,
.topbar.is-scrolled {
	background: rgba(9, 11, 14, .9);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
.is-inner .topbar::after,
.topbar.is-scrolled::after { opacity: 1; }

.topbar__inner {
	display: flex;
	align-items: center;
	gap: 22px;
	height: 100%;
	max-width: 1440px;
}

.brand { flex: none; display: block; line-height: 0; transition: transform .2s; }
.brand img { width: 96px; height: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .6)); }
.brand:hover { transform: scale(1.04); }

.topbar__toggle {
	display: none;
	margin-left: auto;
	width: 46px;
	height: 46px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--gold-hi);
	font-size: 20px;
	cursor: pointer;
}

.topbar__menu {
	display: flex;
	align-items: center;
	flex: 1;
	gap: 24px;
	min-width: 0;
}

.nav {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav__item { position: relative; }
.nav__link {
	position: relative;
	display: flex;
	align-items: center;
	gap: .45em;
	height: 44px;
	padding: 0 11px;
	border: 0;
	background: none;
	color: var(--text-dim);
	font: 700 13px/1 var(--f-display);
	letter-spacing: .09em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
}
.nav__link .fa-chevron-down { font-size: 9px; opacity: .7; transition: transform .2s; }
.nav__link:hover,
.nav__item--drop:hover > .nav__link,
.nav__item--drop.is-open > .nav__link { color: var(--gold-hi); }
.nav__link.is-active { color: var(--gold-hi); }
.nav__link.is-active::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 2px;
	width: 7px;
	height: 7px;
	background: var(--gold);
	transform: translateX(-50%) rotate(45deg);
	box-shadow: 0 0 10px var(--gold);
}

.nav__drop {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 230px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: linear-gradient(180deg, #1d252e, #12171c);
	border: 1px solid var(--line-strong);
	border-top: 2px solid var(--gold);
	border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__drop::before {
	content: '';
	position: absolute;
	inset: -12px 0 auto;
	height: 12px;
}
.nav__drop--wide { columns: 2; min-width: 440px; column-gap: 4px; }
.nav__drop li { break-inside: avoid; }
.nav__drop a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 12px;
	border-radius: 4px;
	color: var(--text-dim);
	font-size: 15.5px;
}
.nav__drop a .fa-solid { font-size: 11px; opacity: .55; }
.nav__drop a:hover { background: rgba(227, 169, 58, .1); color: var(--gold-hi); }

@media (hover: hover) {
	.topbar:not(.is-compact) .nav__item--drop:hover > .nav__drop,
	.topbar:not(.is-compact) .nav__item--drop:focus-within > .nav__drop { opacity: 1; visibility: visible; transform: none; }
	.topbar:not(.is-compact) .nav__item--drop:hover .fa-chevron-down { transform: rotate(180deg); }
}
.nav__item--drop.is-open > .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__item--drop.is-open .fa-chevron-down { transform: rotate(180deg); }

.topbar__side {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}
@media (max-width: 1500px) {
	.topbar:not(.is-compact) .clock { display: none; }
}

.realm {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 14px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: rgba(10, 12, 15, .7);
	font-size: 14.5px;
	color: var(--text-dim);
	white-space: nowrap;
}
.realm__label { font-family: var(--f-display); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.realm__count strong { color: var(--text); }
.realm__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--text-faint); }
.realm--active .realm__dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(108, 199, 122, .6); animation: pulse 2s infinite; }
.realm--active .realm__count strong { color: var(--ok); }
.realm--down .realm__dot { background: var(--bad); box-shadow: 0 0 0 3px rgba(226, 91, 82, .18); }
.realm--down .realm__label { color: var(--bad); }

@keyframes pulse {
	0%   { box-shadow: 0 0 0 0 rgba(108, 199, 122, .55); }
	70%  { box-shadow: 0 0 0 9px rgba(108, 199, 122, 0); }
	100% { box-shadow: 0 0 0 0 rgba(108, 199, 122, 0); }
}

.clock {
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--text-dim);
	font: 700 14px/1 var(--f-display);
	letter-spacing: .06em;
	font-variant-numeric: tabular-nums;
}
.clock i { color: var(--gold); }

/* Menu compacto: o script no navbar.php liga .is-compact quando os itens não cabem na largura. */
.topbar.is-compact .topbar__toggle { display: inline-flex; align-items: center; justify-content: center; }
.topbar.is-compact .topbar__menu {
	position: fixed;
	inset: var(--topbar-h) 0 auto;
	max-height: calc(100vh - var(--topbar-h));
	overflow-y: auto;
	flex-direction: column;
	align-items: stretch;
	gap: 18px;
	padding: 16px 24px 28px;
	background: rgba(9, 11, 14, .98);
	border-top: 1px solid var(--gold-lo);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.topbar.is-fitting .topbar__menu { transition: none; }
.topbar.is-compact.is-open { background: rgba(9, 11, 14, .98); }
.topbar.is-compact.is-open .topbar__menu { opacity: 1; visibility: visible; transform: none; }
.topbar.is-compact .nav { flex-direction: column; align-items: stretch; gap: 0; }
.topbar.is-compact .nav__link { width: 100%; height: 50px; padding: 0 4px; border-bottom: 1px solid var(--line); justify-content: space-between; }
.topbar.is-compact .nav__link.is-active::after { left: auto; right: 6px; bottom: auto; top: 50%; transform: translateY(-50%) rotate(45deg); }
.topbar.is-compact .nav__drop { position: static; display: none; opacity: 1; visibility: visible; transform: none; min-width: 0; columns: 1; border: 0; border-left: 2px solid var(--gold-lo); border-radius: 0; box-shadow: none; background: transparent; margin: 6px 0 10px; }
.topbar.is-compact .nav__item--drop.is-open > .nav__drop { display: block; }
.topbar.is-compact .topbar__side { margin: 0; flex-wrap: wrap; }

/* ---------- Hero ---------- */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: max(720px, 100svh);
	padding: calc(var(--topbar-h) + 40px) 0 120px;
	overflow: hidden;
	isolation: isolate;
}
.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -3;
	background:
		linear-gradient(90deg, rgba(10, 12, 15, .15) 0%, rgba(10, 12, 15, .5) 28%, rgba(10, 12, 15, .85) 54%, rgba(10, 12, 15, .95) 100%),
		linear-gradient(0deg, var(--bg) 0%, rgba(10, 12, 15, 0) 28%),
		url('../img/bg-main.jpg') left 30% center / cover no-repeat;
	animation: slow-zoom 30s ease-in-out infinite alternate;
}
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }

.hero__aurora {
	position: absolute;
	inset: -20% -10% 40% 20%;
	z-index: -2;
	background:
		radial-gradient(40% 50% at 30% 50%, rgba(120, 198, 214, .55), transparent 70%),
		radial-gradient(35% 45% at 60% 40%, rgba(96, 214, 160, .35), transparent 70%),
		radial-gradient(30% 40% at 85% 55%, rgba(150, 110, 220, .35), transparent 70%);
	filter: blur(60px);
	opacity: .32;
	mix-blend-mode: screen;
	animation: aurora 18s ease-in-out infinite alternate;
}
@keyframes aurora {
	0%   { transform: translate3d(0, 0, 0) skewY(-4deg); opacity: .22; }
	50%  { transform: translate3d(-4%, 3%, 0) skewY(2deg); opacity: .38; }
	100% { transform: translate3d(3%, -2%, 0) skewY(-2deg); opacity: .28; }
}

.hero__embers { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	grid-template-areas: "copy logo" "copy gate";
	align-content: center;
	column-gap: 56px;
	max-width: 1320px;
}

.hero__copy { grid-area: copy; align-self: center; justify-self: end; max-width: 600px; }
.hero__logo {
	grid-area: logo;
	justify-self: center;
	position: relative;
	z-index: 1;
	display: block;
	width: 230px;
	margin-bottom: -26px;
	filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .8));
	animation: rise .9s ease both;
}
.gate { grid-area: gate; }
.hero__copy .eyebrow { animation: rise .9s .1s ease both; }
.hero__title {
	font-size: clamp(40px, 5.2vw, 70px);
	font-weight: 900;
	line-height: 1.04;
	letter-spacing: .01em;
	margin-bottom: .35em;
	animation: rise .9s .18s ease both;
}
.hero__subtitle { max-width: 520px; font-size: 20px; color: #cfc6b2; text-shadow: 0 2px 10px rgba(0, 0, 0, .95); margin-bottom: 32px; animation: rise .9s .26s ease both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; animation: rise .9s .34s ease both; }
.hero__discord {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 24px;
	color: var(--text-dim);
	font-weight: 500;
	animation: rise .9s .42s ease both;
}
.hero__discord i { color: #8a93ff; font-size: 20px; }
.hero__discord:hover { color: var(--text); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 86px;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin-left: -21px;
	border: 1px solid var(--gold-lo);
	border-radius: 50%;
	color: var(--gold);
	animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(8px); } }

/* Portão de login */
.gate { padding: 46px 30px 28px; animation: rise .9s .3s ease both; }
.gate__title { font-size: 26px; text-align: center; margin-bottom: 22px; }
.gate__title::after {
	content: '';
	display: block;
	height: 14px;
	margin-top: 12px;
	background: var(--ornament) center / 200px 14px no-repeat;
}
.gate__form { display: grid; gap: 16px; }
.gate__links { display: flex; justify-content: space-between; margin: 2px 0 0; font-size: 15px; }
.gate__links a { color: var(--text-dim); }
.gate__links a:hover { color: var(--gold-hi); }
.gate__welcome { text-align: center; color: var(--text-dim); }
.gate__menu { display: grid; gap: 10px; }

/* Campos */
.field { display: grid; gap: 6px; }
.field__label {
	font: 700 12px/1 var(--f-display);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--text-dim);
}
.field__control { position: relative; display: block; }
.field__control i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gold-lo); font-size: 14px; pointer-events: none; transition: color .2s; }
.field .field__control input { width: 100%; padding-left: 42px; }
.field__control:focus-within i { color: var(--gold); }
.field__hint { font-size: 14px; }

input[type=text], input[type=password], input[type=email], input[type=number],
input[type=search], input[type=date], input[type=url], input[type=tel], input:not([type]),
select, textarea {
	min-height: 44px;
	padding: 9px 13px;
	border: 1px solid var(--line-strong);
	border-radius: 4px;
	background: #0b0f13;
	color: var(--text);
	font: 400 16px/1.4 var(--f-body);
	box-shadow: inset 0 2px 6px rgba(0, 0, 0, .45);
	transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 120px; width: 100%; resize: vertical; }
select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 38px;
	background: #0b0f13 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e3a93a' stroke-width='1.6'/%3E%3C/svg%3E") right 14px center / 12px 8px no-repeat;
}
select[multiple] { background-image: none; padding-right: 13px; min-height: 110px; }
input:focus, select:focus, textarea:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: inset 0 2px 6px rgba(0, 0, 0, .45), 0 0 0 3px var(--gold-glow);
}
input::placeholder, textarea::placeholder { color: var(--text-faint); }
input[type=checkbox], input[type=radio] { accent-color: var(--gold); width: 17px; height: 17px; vertical-align: -3px; }

/* ---------- Números do reino ---------- */

.realm-stats { position: relative; z-index: 2; margin-top: -70px; }
.realm-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(27, 35, 43, .96), rgba(14, 18, 22, .98));
	box-shadow: var(--shadow);
	max-width: 1100px;
	padding: 0;
	overflow: hidden;
}
.stat {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 2px;
	padding: 28px 16px 26px;
	text-align: center;
	overflow: hidden;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat__rune {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font: 400 120px/1 var(--f-rune);
	color: var(--gold);
	opacity: .06;
	pointer-events: none;
}
.stat__value {
	font: 900 clamp(28px, 3.2vw, 40px)/1.1 var(--f-display);
	color: var(--gold-hi);
	font-variant-numeric: tabular-nums;
	text-shadow: 0 0 24px rgba(227, 169, 58, .35);
}
.stat__label { font: 700 12px/1.3 var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); }

/* ---------- Seções ---------- */

.section { position: relative; padding: 110px 0; }
.section__head { text-align: center; margin-bottom: 52px; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: left; }
.section__title { font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; margin: 0; }
.section__head:not(.section__head--row) .section__title::after,
.cta .section__title::after {
	content: '';
	display: block;
	height: 14px;
	margin: 18px auto 0;
	background: var(--ornament) center / 220px 14px no-repeat;
}

/* Atalhos */
.shortcuts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.shortcut {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 22px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: linear-gradient(135deg, rgba(31, 40, 49, .7), rgba(14, 18, 22, .9));
	color: var(--text);
	overflow: hidden;
	transition: transform .25s, border-color .25s, box-shadow .25s;
}
.shortcut::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(120% 120% at 0% 0%, rgba(227, 169, 58, .14), transparent 55%);
	opacity: 0;
	transition: opacity .25s;
}
.shortcut:hover { transform: translateY(-4px); border-color: var(--gold-lo); box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(227, 169, 58, .15); color: var(--text); }
.shortcut:hover::after { opacity: 1; }
.shortcut__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
	background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
	color: #1d1305;
	font-size: 22px;
	transition: transform .3s;
}
.shortcut:hover .shortcut__icon { transform: rotate(-8deg) scale(1.06); }
.shortcut__text { display: grid; gap: 2px; }
.shortcut__text strong { font: 700 18px/1.2 var(--f-display); letter-spacing: .04em; color: var(--gold-hi); }
.shortcut__text span { color: var(--text-dim); font-size: 15.5px; }

/* Notícias */
.section--news { background: linear-gradient(180deg, transparent, rgba(20, 26, 32, .55) 30%, rgba(20, 26, 32, .55) 70%, transparent); }
.rail-nav { display: flex; gap: 10px; }
.rail-nav__btn {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	background: var(--surface);
	color: var(--gold);
	cursor: pointer;
	transition: border-color .2s, color .2s, background .2s;
}
.rail-nav__btn:hover { border-color: var(--gold); color: var(--gold-hi); background: var(--surface-2); }

.news-rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(300px, calc((100% - 48px) / 3));
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 4px 2px 12px;
}
.news-rail::-webkit-scrollbar { display: none; }
.news-card { scroll-snap-align: start; }
.news-card__open {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: linear-gradient(180deg, var(--surface-2), var(--bg-2));
	color: var(--text);
	font: inherit;
	text-align: left;
	cursor: pointer;
	overflow: hidden;
	transition: transform .25s, border-color .25s, box-shadow .25s;
}
.news-card__open:hover { transform: translateY(-5px); border-color: var(--gold-lo); box-shadow: 0 20px 44px rgba(0, 0, 0, .5); }
.news-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.news-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 18, 22, .9), transparent 60%); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card__open:hover .news-card__media img { transform: scale(1.07); }
.news-card__body { display: grid; gap: 10px; padding: 18px 22px 22px; flex: 1; align-content: start; }
.news-card__meta { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-faint); }
.news-card__title { font: 700 20px/1.25 var(--f-display); color: var(--gold-hi); }
.news-card__excerpt { color: var(--text-dim); font-size: 16px; }
.news-card__more { margin-top: 4px; font: 700 12.5px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.news-card__more i { transition: transform .2s; }
.news-card__open:hover .news-card__more i { transform: translateX(4px); }

.tag {
	display: inline-block;
	padding: 4px 9px;
	border: 1px solid var(--gold-lo);
	border-radius: 999px;
	color: var(--gold);
	font: 700 11px/1 var(--f-display);
	letter-spacing: .12em;
	text-transform: uppercase;
}

.empty-state { display: grid; justify-items: center; gap: 8px; padding: 48px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--text-dim); text-align: center; }
.empty-state__rune { font: 400 56px/1 var(--f-rune); color: var(--gold-lo); }

/* Modal */
.modal {
	width: min(760px, calc(100% - 32px));
	max-height: calc(100vh - 64px);
	padding: 0;
	border: 1px solid var(--line-strong);
	border-top: 2px solid var(--gold);
	border-radius: var(--radius);
	background: linear-gradient(180deg, var(--surface-2), var(--bg-2));
	color: var(--text);
	box-shadow: var(--shadow);
	overflow: auto;
}
.modal::backdrop { background: rgba(4, 5, 7, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: rise .3s ease both; }
.modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	background: rgba(10, 12, 15, .85);
	color: var(--text);
	cursor: pointer;
	z-index: 1;
}
.modal__close:hover { border-color: var(--gold); color: var(--gold-hi); }
.modal__content > img { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.modal__content h3 { margin: 26px 30px 12px; font-size: 26px; color: var(--gold-hi); }
.modal__content .prose, .modal__content p { margin-left: 30px; margin-right: 30px; }
.modal__content > :last-child { margin-bottom: 30px; }
.prose { color: var(--text-dim); }
.prose img { border-radius: var(--radius); }

/* Sobre */
.section--about { overflow: hidden; isolation: isolate; }
.about__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, var(--bg) 0%, rgba(10, 12, 15, .9) 40%, rgba(10, 12, 15, .7) 100%),
		linear-gradient(0deg, var(--bg) 0%, transparent 25%, transparent 75%, var(--bg) 100%),
		url('../img/bg-info.jpg') center / cover no-repeat;
	filter: sepia(.35) saturate(.8);
}
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.about__text p { color: var(--text-dim); font-size: 18.5px; margin-bottom: 28px; }
.about__text .section__title { margin-bottom: 22px; }
.rates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.rate { display: grid; justify-items: center; gap: 4px; padding: 28px 16px 24px; text-align: center; }
.rate i { color: var(--gold); font-size: 22px; margin-bottom: 6px; }
.rate strong { font: 900 34px/1 var(--f-display); color: var(--gold-hi); }
.rate span { font: 700 12px/1.3 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); }

/* Galeria */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); }
.gallery__item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; color: var(--text); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.75); transition: transform .7s, filter .4s; }
.gallery__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 12, 15, .85), transparent 55%); }
.gallery__item span {
	position: absolute;
	left: 22px;
	bottom: 18px;
	z-index: 1;
	font: 700 15px/1.2 var(--f-display);
	letter-spacing: .1em;
	text-transform: uppercase;
	transition: color .3s, transform .3s;
}
.gallery__item:hover img { transform: scale(1.08); filter: saturate(1) brightness(.95); }
.gallery__item:hover span { color: var(--gold-hi); transform: translateY(-4px); }

/* Chamada final */
.cta { position: relative; padding: 120px 0; text-align: center; overflow: hidden; isolation: isolate; }
.cta::before {
	content: '';
	position: absolute;
	inset: 20% 10% -40%;
	z-index: -1;
	background: radial-gradient(50% 50% at 50% 50%, rgba(226, 98, 43, .22), transparent 70%);
	filter: blur(20px);
}
.cta__inner { display: grid; justify-items: center; }
.cta__rune { font: 400 72px/1 var(--f-rune); color: var(--gold); text-shadow: 0 0 30px rgba(227, 169, 58, .5); margin-bottom: 12px; }
.cta p { max-width: 560px; color: var(--text-dim); font-size: 19px; margin: 22px 0 32px; }

/* ---------- Rodapé ---------- */

.footer { position: relative; margin-top: 0; background: linear-gradient(180deg, #07090b, #050608); border-top: 1px solid var(--line); }
.footer__runes {
	overflow: hidden;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	color: var(--gold-lo);
	font: 400 18px/1 var(--f-rune);
	letter-spacing: 1.1em;
	text-align: center;
	white-space: nowrap;
	opacity: .55;
}
.footer__inner { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer__brand img { width: 160px; margin: -8px 0 10px -6px; }
.footer__brand p { color: var(--text-faint); max-width: 300px; }
.footer__title { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__col a { color: var(--text-dim); }
.footer__col a:hover { color: var(--gold-hi); }
.socials { display: flex; gap: 10px; }
.socials a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	color: var(--text-dim);
	font-size: 17px;
	transition: color .2s, border-color .2s, transform .2s;
}
.socials a:hover { color: var(--gold-hi); border-color: var(--gold); transform: translateY(-2px); }
.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 22px;
	padding-bottom: 28px;
	border-top: 1px solid var(--line);
	color: var(--text-faint);
	font-size: 14.5px;
}
.footer__bottom p { margin: 0; }
.theme-picker { display: flex; align-items: center; gap: 10px; }
.theme-picker select { min-height: 36px; padding-top: 4px; padding-bottom: 4px; font-size: 14px; }

/* ==========================================================================
   Páginas internas (views padrão do FluxCP)
   ========================================================================== */

.page-banner {
	position: relative;
	display: flex;
	align-items: flex-end;
	height: 250px;
	padding: var(--topbar-h) 0 86px;
	background:
		linear-gradient(0deg, var(--bg) 0%, rgba(10, 12, 15, .35) 60%, rgba(10, 12, 15, .6) 100%),
		linear-gradient(90deg, rgba(10, 12, 15, .2) 0%, rgba(10, 12, 15, .75) 45%, rgba(10, 12, 15, .9) 100%),
		radial-gradient(50% 140% at 80% 0%, rgba(227, 169, 58, .16), transparent 70%),
		url('../img/bg-main.jpg') left 10% top 22% / cover no-repeat;
	isolation: isolate;
}
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--text-dim); font: 700 12.5px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; }
.breadcrumb a { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--text); }
.breadcrumb > span[aria-hidden] { color: var(--gold-lo); font-family: var(--f-rune); }

.page { position: relative; z-index: 1; margin-top: -60px; padding-bottom: 100px; }
.panel--page { padding: 40px 44px 48px; }

.panel--page > h2:first-of-type {
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 900;
	margin-bottom: 26px;
}
.panel--page > h2:first-of-type::after {
	content: '';
	display: block;
	width: 220px;
	height: 14px;
	margin-top: 14px;
	background: var(--ornament) left center / 220px 14px no-repeat;
}
.panel--page h2 { font-size: 26px; color: var(--gold-hi); margin-top: 1.4em; }
.panel--page h3 {
	font-size: 20px;
	color: var(--gold-hi);
	margin: 1.8em 0 .8em;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
}
.panel--page h4, .panel--page h5, .panel--page h6 { font-size: 17px; color: var(--gold); margin: 1.4em 0 .6em; }
.panel--page p { color: var(--text-dim); }
.panel--page ul, .panel--page ol { color: var(--text-dim); padding-left: 1.3em; }
.panel--page li { margin-bottom: .35em; }
.panel--page li::marker { color: var(--gold); }
.panel--page hr { border: 0; height: 14px; margin: 32px 0; background: var(--ornament) center / 220px 14px no-repeat; }

/* Alertas */
.alert, .message, .notice {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 24px;
	padding: 14px 18px;
	border: 1px solid rgba(120, 198, 214, .35);
	border-left: 4px solid var(--frost);
	border-radius: 4px;
	background: rgba(120, 198, 214, .08);
	color: var(--text);
}
.alert::before, .message::before, .notice::before { font: 900 15px/1.6 'Font Awesome 6 Free'; content: '\f05a'; color: var(--frost); }
.alert--warning, .notice { border-color: rgba(232, 176, 74, .4); border-left-color: var(--warn); background: rgba(232, 176, 74, .08); }
.alert--warning::before, .notice::before { content: '\f071'; color: var(--warn); }
p.red, .red { color: var(--bad); }
p.red:not(:empty) {
	padding: 12px 16px;
	border: 1px solid rgba(226, 91, 82, .35);
	border-left: 4px solid var(--bad);
	border-radius: 4px;
	background: rgba(226, 91, 82, .08);
	color: #f1b3ae;
}
.green, p.green { color: var(--ok); }
.important { color: var(--gold-hi); font-weight: 700; }
.not-applicable { color: var(--text-faint); font-style: italic; }
.note { color: var(--text-faint); font-size: 15px; }

/* Abas (submenu) e ações da página */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 26px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.tabs__item {
	padding: 9px 16px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	color: var(--text-dim);
	font: 700 12px/1 var(--f-display);
	letter-spacing: .1em;
	text-transform: uppercase;
	transition: border-color .2s, color .2s, background .2s;
}
.tabs__item:hover { border-color: var(--gold-lo); color: var(--gold-hi); }
.tabs__item.is-active { border-color: var(--gold); background: rgba(227, 169, 58, .12); color: var(--gold-hi); }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 26px; }
.page-actions__label { color: var(--text-faint); font-size: 15px; margin-right: 4px; }

/* Tabelas */
.panel--page table {
	width: 100%;
	margin: 0 0 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	font-size: 16px;
	background: rgba(10, 12, 15, .35);
}
.panel--page th, .panel--page td { padding: 11px 14px; text-align: left; vertical-align: middle; }
.panel--page th {
	background: linear-gradient(180deg, var(--surface-3), var(--surface-2));
	color: var(--gold-hi);
	font: 700 12.5px/1.3 var(--f-display);
	letter-spacing: .08em;
	text-transform: uppercase;
}
.panel--page td { color: var(--text); border-top: 1px solid var(--line); }
.panel--page tr:first-child > td { border-top: 0; }
.panel--page th + th, .panel--page td + td, .panel--page th + td, .panel--page td + th { border-left: 1px solid rgba(42, 52, 63, .6); }
.horizontal-table tr:nth-child(even) > td { background: rgba(255, 255, 255, .018); }
.horizontal-table tr:hover > td { background: rgba(227, 169, 58, .06); }
.horizontal-table tr:first-child th { border-bottom: 1px solid var(--gold-lo); }

.vertical-table th, .generic-form-table th { width: 30%; border-top: 1px solid var(--line); }
.vertical-table tr:first-child > th, .generic-form-table tr:first-child > th { border-top: 0; }
.vertical-table label, .generic-form-table label { color: var(--gold-hi); }
.generic-form-table, .generic-form-table th, .generic-form-table td { background: transparent; }
.generic-form-table { border: 0; }
.generic-form-table th { background: none; color: var(--text-dim); font-size: 12px; border-top: 0; }
.generic-form-table td { border-top: 0; }
.generic-form-table input[type=text], .generic-form-table input[type=password],
.generic-form-table input[type=email], .generic-form-table textarea { width: 100%; max-width: 420px; }
.generic-form-table select { min-width: 96px; margin: 2px 0; }

/* O vikings.js envolve as tabelas largas neste contêiner com rolagem lateral. */
.table-scroll { overflow-x: auto; margin: 0 0 26px; border-radius: var(--radius); scrollbar-color: var(--gold-lo) transparent; }
.table-scroll > table { margin: 0; }
/* max-width: 100% em célula de tabela faz ícones de item/monstro sumirem (0×0). */
.panel--page td img, .panel--page th img { max-width: none; }

.td-checkbox { width: 40px; text-align: center !important; }
.td-action { white-space: nowrap; }
.empty-row td { text-align: center; color: var(--text-faint); font-style: italic; }
.panel--page table img { vertical-align: middle; }
.top-ranked td { color: var(--gold-hi); font-weight: 700; }
.top-ranked td:first-child::before { content: '\f521'; font: 900 13px/1 'Font Awesome 6 Free'; color: var(--gold); margin-right: 8px; }

.online, .yes { color: var(--ok); font-weight: 700; }
.offline, .no { color: var(--text-faint); }
.state-banned, .state-permanently-banned { color: var(--bad); font-weight: 700; }
.state-pending { color: var(--warn); }
.stat-name { color: var(--text-dim); }
.stat-value { color: var(--gold-hi); font-weight: 700; }

.sortable { color: var(--gold-hi); }
.sortable:hover { color: #fff3cf; }

/* Botões nativos das views */
.panel--page input[type=submit], .panel--page input[type=button], .panel--page input[type=reset],
.panel--page button[type=submit], .panel--page button:not([class]) {
	min-height: 42px;
	padding: 0 22px;
	border: 0;
	clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
	background: linear-gradient(180deg, #fde39b 0%, var(--gold-hi) 18%, var(--gold) 55%, #b6791f 100%);
	color: #1d1305;
	font: 700 13px/1 var(--f-display);
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: filter .2s, transform .15s;
}
.panel--page input[type=reset], .panel--page input[type=button] { background: linear-gradient(180deg, #3a4653, #232d37); color: var(--text); }
.panel--page input[type=submit]:hover, .panel--page input[type=button]:hover, .panel--page input[type=reset]:hover,
.panel--page button[type=submit]:hover, .panel--page button:not([class]):hover { filter: brightness(1.12); transform: translateY(-1px); }

.generic-form, .generic-form-div { margin: 0 0 26px; }

/* Busca */
.toggler { margin: 0 0 14px; }
.toggler a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--gold);
	font: 700 12.5px/1 var(--f-display);
	letter-spacing: .12em;
	text-transform: uppercase;
}
.toggler a::before { content: '\f002'; font: 900 13px/1 'Font Awesome 6 Free'; }
.search-form, .search-form2 { display: none; margin: 0 0 24px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10, 12, 15, .45); }
.search-form2 { display: block; }
.search-form p, .search-form2 p { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 10px; color: var(--text-dim); }
.search-form label, .search-form2 label { color: var(--text-dim); font-size: 15px; }
.search-form input[type=text], .search-form2 input[type=text] { width: 150px; min-height: 38px; padding: 6px 10px; font-size: 15px; }
.search-form select, .search-form2 select { min-height: 38px; padding-top: 6px; padding-bottom: 6px; font-size: 15px; }

/* Paginação */
.pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 18px; color: var(--line-strong); }
.pages a {
	display: inline-grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid var(--line-strong);
	border-radius: 4px;
	color: var(--text-dim);
	font: 700 14px/1 var(--f-display);
}
.pages a[href]:hover { border-color: var(--gold-lo); color: var(--gold-hi); }
.pages .current-page { border-color: var(--gold); background: rgba(227, 169, 58, .14); color: var(--gold-hi); }
.jump-to-page { text-align: center; color: var(--text-faint); font-size: 15px; margin-bottom: 18px; }
.jump-to-page input { width: 70px; min-height: 36px; padding: 4px 8px; }
.info-text { text-align: center; color: var(--text-faint); font-size: 15px; }

.security-code img { border-radius: 4px; border: 1px solid var(--line-strong); }

/* Compatibilidade com classes que algumas views/addons herdaram do Bootstrap */
.text-center { text-align: center !important; }
.w-50 { width: 50%; }
.row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.row > [class*=col] { flex: 1 1 280px; }
.form-group { margin-bottom: 16px; }
.form-control { width: 100%; }
.btn-primary, .btn-block { display: inline-flex; }
.module-name { color: var(--gold-hi); }

/* Tooltip (unitip) */
#unitip { z-index: 300; }
#unitip, #unitip .unitip-mid { background: var(--surface-2) !important; color: var(--text) !important; border-radius: 4px; }

/* ---------- Páginas do tema (downloads, doação, informações) ---------- */

.lead { font-size: 19px; color: var(--text-dim); max-width: 760px; }

.block-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 46px 0 18px;
	font-size: 22px;
	color: var(--gold-hi);
}
.block-title i {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	flex: none;
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
	background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
	color: #1d1305;
	font-size: 16px;
}
.block-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }

.mirrors { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin: 18px 0 10px; }
.mirror {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: linear-gradient(135deg, rgba(31, 40, 49, .65), rgba(14, 18, 22, .9));
	color: var(--text);
	transition: transform .2s, border-color .2s, box-shadow .2s;
}
.mirror img { width: 36px; height: 36px; object-fit: contain; }
.mirror strong { display: block; font: 700 15px/1.2 var(--f-display); color: var(--gold-hi); letter-spacing: .04em; }
.mirror small { color: var(--text-faint); font-size: 14px; }
.mirror:hover { transform: translateY(-3px); border-color: var(--gold-lo); box-shadow: 0 14px 30px rgba(0, 0, 0, .4); color: var(--text); }

.steps { counter-reset: step; list-style: none; padding: 0 !important; display: grid; gap: 10px; max-width: 760px; }
.steps li { counter-increment: step; position: relative; padding: 12px 16px 12px 58px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10, 12, 15, .35); margin: 0; }
.steps li::before {
	content: counter(step);
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1px solid var(--gold-lo);
	border-radius: 50%;
	color: var(--gold-hi);
	font: 700 14px/1 var(--f-display);
}

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin: 18px 0; }
.card { padding: 22px 24px; }
.card h4 { margin-top: 0; }

.panel--page table.kv { margin: 0; border: 0; border-radius: 0; background: transparent; }
.panel--page table.kv th { width: 48%; padding-left: 0; background: none; color: var(--text-dim); font-size: 12px; }
.panel--page table.kv td { color: var(--gold-hi); font-weight: 700; border-top: 0; }
.panel--page table.kv th + td { border-left: 0; }
.panel--page table.kv tr + tr > * { border-top: 1px solid var(--line); }
.panel--page > table.kv { max-width: 760px; margin-bottom: 26px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 !important; list-style: none; margin: 16px 0 10px; }
.chips li {
	margin: 0;
	padding: 9px 16px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: rgba(10, 12, 15, .35);
	color: var(--text);
	font-weight: 500;
}
.chips li i { color: var(--gold); margin-right: 6px; }

.class-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.class-grid div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 4px; background: rgba(10, 12, 15, .35); }
.class-grid span { color: var(--text-dim); }
.class-grid strong { color: var(--gold-hi); font-variant-numeric: tabular-nums; }

.pix { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px; align-items: start; }
.pix__qr { display: grid; justify-items: center; gap: 14px; padding: 26px; }
.pix__qr img { display: block; width: 250px; height: 250px; padding: 10px; border-radius: 4px; background: #fff; }
.pix__valor { font: 900 28px/1 var(--f-display); color: var(--gold-hi); }
.pix__conta { color: var(--text-dim); font-size: 15px; }
.pix__conta strong { color: var(--text); }
.pix__passos h3 { margin-top: 0 !important; }
.pix__passos textarea { min-height: 96px; font: 13px/1.4 ui-monospace, Consolas, monospace; word-break: break-all; }
@media (max-width: 760px) { .pix { grid-template-columns: 1fr; } .pix__qr { justify-self: center; } }

/* Agenda de eventos (main/eventos e bloco da home) */
.event-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 18px 0 10px; }
.event-card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: linear-gradient(180deg, var(--surface-2), var(--surface));
	color: var(--text);
}
.event-card__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--gold-lo);
	border-radius: 50%;
	color: var(--gold-hi);
	background: rgba(227, 169, 58, .08);
}
.event-card__body { display: grid; gap: 3px; min-width: 0; }
.event-card__body strong { font: 700 15px/1.25 var(--f-display); color: var(--gold-hi); letter-spacing: .04em; }
.event-card__body small { color: var(--text-dim); font-size: 14px; }
.event-card__when { color: var(--text) !important; font-weight: 700; }
.event-card.is-live { border-color: rgba(108, 199, 122, .55); box-shadow: 0 0 0 1px rgba(108, 199, 122, .18), 0 14px 30px rgba(0, 0, 0, .35); }
.event-card.is-live .event-card__icon { border-color: var(--ok); color: var(--ok); background: rgba(108, 199, 122, .1); }
a.event-card:hover { transform: translateY(-3px); border-color: var(--gold-lo); color: var(--text); }
a.event-card { transition: transform .2s ease, border-color .2s ease; }

.agenda { list-style: none; padding: 0 !important; margin: 18px 0 10px; display: grid; gap: 8px; max-width: 860px; }
.agenda__item {
	display: grid;
	grid-template-columns: 64px 34px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 10px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(10, 12, 15, .35);
}
.agenda__time { font: 700 18px/1 var(--f-display); color: var(--text); font-variant-numeric: tabular-nums; }
.agenda__icon { color: var(--text-faint); text-align: center; }
.agenda__text strong { display: block; color: var(--text); }
.agenda__text small { color: var(--text-faint); font-size: 14px; }
.agenda__item.is-featured { border-color: var(--gold-lo); background: rgba(227, 169, 58, .06); }
.agenda__item.is-featured .agenda__time,
.agenda__item.is-featured .agenda__icon,
.agenda__item.is-featured .agenda__text strong { color: var(--gold-hi); }

.agenda-table td:first-child i { color: var(--gold); margin-right: 6px; }
.agenda-table small { color: var(--text-faint); }
.chip { display: inline-block; margin: 2px 0; padding: 2px 8px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--text-dim); white-space: nowrap; }
.agenda-footer { margin-top: 28px; }

.rank-table td { vertical-align: middle; }
.rank-table small { color: var(--text-faint); }
.rank-num { font: 700 17px/1 var(--f-display); color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.rank-pos { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line-strong); border-radius: 50%; font-weight: 700; color: var(--text-dim); }
.rank-pos--ouro { border-color: #f7d27a; color: #1a1205; background: linear-gradient(180deg, #f7d27a, #c98f2b); }
.rank-pos--prata { border-color: #d6dde3; color: #15191d; background: linear-gradient(180deg, #eef2f5, #a9b3bb); }
.rank-pos--bronze { border-color: #d99a6c; color: #1a0f07; background: linear-gradient(180deg, #e2a57a, #9c6136); }
.block-title small { font: 400 14px var(--f-body); color: var(--text-faint); letter-spacing: 0; text-transform: none; }

/* Passe de Batalha (main/passe) */
.bp-seasons { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.bp-season { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text-dim); font-weight: 700; }
.bp-season:hover { border-color: var(--gold-lo); color: var(--text); }
.bp-season.is-current { border-color: var(--gold); color: var(--gold-hi); background: rgba(227, 169, 58, .08); }
.bp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin: 18px 0; }
.bp-level { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); overflow: hidden; }
.bp-level__head { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line); background: rgba(10, 12, 15, .35); }
.bp-level__head strong { font: 700 15px/1 var(--f-display); color: var(--gold-hi); letter-spacing: .04em; }
.bp-level__head small { color: var(--text-faint); font-variant-numeric: tabular-nums; }
.bp-level__track { display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: center; gap: 8px; padding: 8px 14px; }
.bp-level__track--premium { background: rgba(227, 169, 58, .06); border-top: 1px dashed rgba(227, 169, 58, .25); }
.bp-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.bp-level__track--premium .bp-label { color: var(--gold); }
.bp-item { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--text); }
.bp-item img { flex: none; width: 36px; height: 48px; object-fit: contain; }
.bp-item span { display: grid; min-width: 0; }
.bp-item strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.2; }
.bp-item small { color: var(--text-faint); }
.bp-item:hover strong { color: var(--gold-hi); }
.bp-item--vazio { color: var(--text-faint); font-style: italic; }

.home-events .event-cards { margin: 0; }
.home-events__more { margin-top: 22px; text-align: center; }

.callout { padding: 18px 20px; border: 1px solid rgba(232, 176, 74, .35); border-left: 4px solid var(--warn); border-radius: 4px; background: rgba(232, 176, 74, .07); }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Responsivo ---------- */

@media (max-width: 1080px) {
	.hero__inner { grid-template-columns: 1fr; grid-template-areas: "logo" "copy" "gate"; row-gap: 0; max-width: 640px; }
	.hero__copy { justify-self: stretch; text-align: center; margin-bottom: 44px; }
	.hero__logo { width: 200px; margin: 0 auto 14px; }
	.hero__subtitle { margin-left: auto; margin-right: auto; }
	.hero__actions { justify-content: center; }
	.hero__discord { justify-content: center; }
	.hero__bg {
		background:
			linear-gradient(0deg, var(--bg) 0%, rgba(10, 12, 15, .82) 40%, rgba(10, 12, 15, .55) 100%),
			url('../img/bg-main.jpg') 20% center / cover no-repeat;
	}
	.gate { width: 100%; max-width: 420px; justify-self: center; }
	.hero__scroll { display: none; }
	.about { grid-template-columns: 1fr; gap: 40px; }
	.footer__inner { grid-template-columns: repeat(3, 1fr); }
	.footer__brand { grid-column: 1 / -1; }
	.news-rail { grid-auto-columns: minmax(280px, calc((100% - 24px) / 2)); }
}

@media (max-width: 760px) {
	body { font-size: 16.5px; }
	.wrap { padding: 0 16px; }
	.hero { padding-bottom: 100px; }
	.eyebrow { font-size: 12px; letter-spacing: .18em; }
	.hero__title { font-size: clamp(34px, 9vw, 46px); }
	.hero__subtitle { font-size: 18px; }
	.hero__actions .btn { flex: 1 1 100%; }
	.gate { padding: 28px 20px 22px; }
	.realm-stats { margin-top: -50px; }
	.realm-stats__grid { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3) { border-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
	.section { padding: 80px 0; }
	.section__head--row { flex-direction: column; align-items: flex-start; }
	.shortcuts { grid-template-columns: 1fr; }
	.news-rail { grid-auto-columns: 85%; }
	.rates { gap: 12px; }
	.rate strong { font-size: 28px; }
	.gallery { grid-template-columns: repeat(2, 1fr); }
	.footer__inner { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
	.footer__runes { letter-spacing: .6em; font-size: 15px; }
	.topbar__side .clock { display: none; }
	.page-banner { height: 200px; padding-bottom: 76px; }
	.panel--page { padding: 28px 18px 32px; }
	.table-scroll > table { white-space: nowrap; }
	.vertical-table th, .generic-form-table th { width: auto; }
	.generic-form-table, .generic-form-table tbody, .generic-form-table tr, .generic-form-table th, .generic-form-table td { display: block; width: 100%; }
	.generic-form-table th { padding-bottom: 0; }
	.w-50 { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.hero__embers { display: none; }
}
