/* ==========================================================================
   RAGNAROK IDLE GOLD TIMES — DESIGN SYSTEM RÚNICO
   Paleta: Noite Real de Midgard (#050918 -> #101d44) & Ouro Antigo (#e0b04d)
   Tipografia: Marcellus (Display) + Figtree (UI & Algarismos Tabulares)
   ========================================================================== */

:root {
	/* Superfícies & Profundidade */
	--bg-void: #050918;
	--bg-900: #081029;
	--bg-800: #0f1c42;
	--bg-700: #17295c;
	--panel: rgba(9, 17, 43, 0.90);
	--panel-hi: rgba(18, 32, 74, 0.94);
	--sunken: rgba(3, 6, 17, 0.76);
	--glass: rgba(10, 19, 46, 0.72);

	/* Ouro Antigo (Gold Times) */
	--gold-pale: #faf0d4;
	--gold-hi: #f3dca2;
	--gold: #e0b04d;
	--gold-deep: #c99822;
	--gold-dk: #7e5d10;
	--gold-ink: #241803;
	--gold-a45: rgba(224, 176, 77, 0.45);
	--gold-a25: rgba(224, 176, 77, 0.25);
	--gold-a12: rgba(224, 176, 77, 0.12);

	/* Azul Arcano de Midgard */
	--accent-soft: #73a7e0;
	--accent: #3a6ea5;
	--accent-strong: #23558f;
	--accent-deep: #11264a;
	--accent-a35: rgba(58, 110, 165, 0.35);

	/* Cores Semânticas */
	--emerald: #3fc890;
	--emerald-a25: rgba(63, 200, 144, 0.25);
	--danger: #e0524a;

	/* Cores de Vocação (Palco de Classes) */
	--cls-espadachim: #e04f44;
	--cls-mago: #5694f0;
	--cls-arqueiro: #3fc890;
	--cls-novico: #f0cf65;
	--cls-mercador: #e89438;
	--cls-gatuno: #ab68e8;
	--stage-color: var(--cls-espadachim);

	/* Textos */
	--text: #f3f6fc;
	--text-soft: #cad4e8;
	--text-muted: #8e9dbb;
	--text-dim: #61708f;

	/* Bordas & Raios */
	--border-outer: rgba(115, 167, 224, 0.22);
	--border-gold: rgba(224, 176, 77, 0.42);
	--border-gold-strong: rgba(243, 220, 162, 0.72);
	--r-sm: 6px;
	--r-md: 10px;
	--r-lg: 14px;

	/* Sombras & Transições */
	--shadow-panel: 0 18px 42px rgba(2, 5, 15, 0.65), 0 2px 8px rgba(2, 5, 15, 0.45);
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 84px;
	-webkit-text-size-adjust: 100%;
	background-color: var(--bg-void);
}

body {
	min-height: 100vh;
	font-family: 'Figtree', system-ui, -apple-system, sans-serif;
	background-color: var(--bg-void);
	color: var(--text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, picture, video, canvas, svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

ul[role="list"] {
	list-style: none;
}

a {
	color: inherit;
	text-decoration: none;
}

button, input, select {
	font: inherit;
	color: inherit;
}

button {
	background: none;
	border: 0;
	cursor: pointer;
}

[hidden] {
	display: none !important;
}

.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;
}

/* Barra de rolagem dourada */
* {
	scrollbar-width: thin;
	scrollbar-color: var(--gold-dk) var(--bg-void);
}
::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}
::-webkit-scrollbar-track {
	background: var(--bg-void);
}
::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, var(--gold-deep), var(--gold-dk));
	border-radius: 99px;
	border: 2px solid var(--bg-void);
}

/* ==========================================================================
   TIPOGRAFIA & OURO METÁLICO
   ========================================================================== */
h1, h2, h3, h4, .brand__name, .rune-titlebar__title {
	font-family: 'Marcellus', Georgia, serif;
	font-weight: 400;
	letter-spacing: 0.03em;
	line-height: 1.18;
	text-wrap: balance;
}

.gold-text {
	background: linear-gradient(180deg, var(--gold-pale) 0%, var(--gold-hi) 38%, var(--gold) 72%, var(--gold-deep) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.container {
	width: min(100% - 2rem, 1220px);
	margin-inline: auto;
}

/* ==========================================================================
   MOLDURAS RÚNICAS (.rune-frame, .rune-gem, .rune-corner, .rune-btn)
   ========================================================================== */
.rune-frame {
	position: relative;
	background: linear-gradient(180deg, rgba(14, 26, 64, 0.92) 0%, rgba(8, 15, 38, 0.95) 100%);
	border: 1px solid var(--border-outer);
	border-radius: var(--r-md);
	box-shadow: var(--shadow-panel), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rune-frame::before {
	content: '';
	position: absolute;
	inset: 4px;
	border: 1px solid rgba(224, 176, 77, 0.24);
	border-radius: calc(var(--r-md) - 3px);
	pointer-events: none;
}

.rune-corner {
	position: absolute;
	width: 14px;
	height: 14px;
	border-color: var(--gold);
	border-style: solid;
	pointer-events: none;
	z-index: 2;
}
.rune-corner--tl {
	top: 8px;
	left: 8px;
	border-width: 2px 0 0 2px;
}
.rune-corner--tr {
	top: 8px;
	right: 8px;
	border-width: 2px 2px 0 0;
}
.rune-corner--bl {
	bottom: 8px;
	left: 8px;
	border-width: 0 0 2px 2px;
}
.rune-corner--br {
	bottom: 8px;
	right: 8px;
	border-width: 0 2px 2px 0;
}

.rune-gem {
	display: inline-block;
	width: 9px;
	height: 9px;
	transform: rotate(45deg);
	background: linear-gradient(135deg, var(--gold-pale), var(--gold) 55%, var(--gold-dk));
	border: 1px solid rgba(255, 255, 255, 0.45);
	box-shadow: 0 0 10px var(--gold-a45);
	flex-shrink: 0;
}
.rune-gem--sm {
	width: 7px;
	height: 7px;
}
.rune-gem--gold {
	width: 12px;
	height: 12px;
}

/* Botões Rúnicos */
.rune-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 0.72rem 1.45rem;
	border-radius: var(--r-sm);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.03em;
	transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s var(--ease), border-color 0.2s var(--ease);
	white-space: nowrap;
	user-select: none;
}

.rune-btn__ico {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.rune-btn--primary {
	background: linear-gradient(180deg, #f6dfa4 0%, #e4b552 45%, #bf8b21 100%);
	color: var(--gold-ink);
	border: 1px solid #f9e9be;
	box-shadow: 0 6px 22px rgba(224, 176, 77, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.rune-btn--primary:hover {
	transform: translateY(-2px);
	filter: brightness(1.06);
	box-shadow: 0 10px 28px rgba(224, 176, 77, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.rune-btn--ghost {
	background: rgba(14, 28, 66, 0.72);
	color: var(--gold-hi);
	border: 1px solid var(--border-gold);
	box-shadow: inset 0 0 0 1px rgba(224, 176, 77, 0.12);
	backdrop-filter: blur(8px);
}
.rune-btn--ghost:hover {
	transform: translateY(-2px);
	border-color: var(--gold-hi);
	color: #fff;
	background: rgba(24, 46, 102, 0.85);
	box-shadow: 0 6px 20px rgba(10, 22, 54, 0.6);
}

.rune-btn--sm {
	padding: 0.5rem 1.05rem;
	font-size: 0.86rem;
}

.rune-btn--lg {
	padding: 0.92rem 1.95rem;
	font-size: 1.02rem;
}

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

/* ==========================================================================
   FAIXA DE INDICAÇÃO TOPO (#ref-banner)
   ========================================================================== */
#ref-banner {
	display: none;
	background: linear-gradient(90deg, #0b1638 0%, #173170 50%, #0b1638 100%);
	border-bottom: 1px solid var(--border-gold);
	padding: 0.55rem 0;
	font-size: 0.88rem;
	color: var(--text-soft);
	position: relative;
	z-index: 1001;
}
#ref-banner.visible {
	display: block;
}
.ref-banner__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	text-align: center;
}
.ref-badge {
	background: linear-gradient(180deg, var(--gold-hi), var(--gold));
	color: var(--gold-ink);
	padding: 0.1rem 0.55rem;
	border-radius: 4px;
	font-weight: 800;
	letter-spacing: 0.05em;
}

/* ==========================================================================
   CABEÇALHO FIXO (SITE HEADER)
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(5, 9, 24, 0.82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(224, 176, 77, 0.22);
}

.site-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	height: 74px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

.brand__logo {
	width: auto;
	height: 46px;
	object-fit: contain;
	filter: drop-shadow(0 2px 10px rgba(224, 176, 77, 0.35));
}

.brand__text {
	display: flex;
	flex-direction: column;
}

.brand__name {
	font-size: 1.08rem;
	letter-spacing: 0.08em;
	line-height: 1.05;
}

.brand__sub {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	color: var(--accent-soft);
	text-transform: uppercase;
	margin-top: 2px;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

/* Textos do topo sempre em uma linha so ("Como funciona", "Hall da Fama", "1 Online") */
.nav__link,
.header-meta,
.header-meta * {
	white-space: nowrap;
}

@media (max-width: 1360px) and (min-width: 1041px) {
	.nav-links {
		gap: 1rem;
	}
	.nav__link {
		font-size: 0.86rem;
	}
	.header-meta {
		gap: 0.6rem;
	}
}

/* Sem quebrar linha, o menu completo nao cabe em telas medias: some o texto ao lado da logo
   (a imagem fica) e o relogio. Abaixo de 1040px o menu vira sanduiche (ver RESPONSIVIDADE). */
@media (max-width: 1260px) and (min-width: 1041px) {
	.brand__text,
	.pill--clock {
		display: none;
	}
}

.nav__link {
	position: relative;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--text-soft);
	padding: 0.35rem 0;
	transition: color 0.2s ease;
}

.nav__link:hover,
.nav__link.active {
	color: var(--gold-hi);
}

.nav__link::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--gold), transparent);
	transform: scaleX(0);
	transition: transform 0.25s var(--ease);
}

.nav__link:hover::after,
.nav__link.active::after {
	transform: scaleX(1);
}

.header-meta {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.server-pills {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 0.42rem;
	padding: 0.3rem 0.72rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-variant-numeric: tabular-nums;
	background: rgba(12, 23, 56, 0.85);
	border: 1px solid rgba(115, 167, 224, 0.22);
	color: var(--text-soft);
}

.pill--online {
	border-color: var(--emerald-a25);
	background: rgba(14, 48, 42, 0.55);
	color: #9ef0cc;
}

.pill__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--emerald);
	box-shadow: 0 0 8px var(--emerald);
	animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.55; transform: scale(1.25); }
}

.pill__icon {
	width: 13px;
	height: 13px;
	color: var(--gold);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.55rem;
}

.menu-toggle {
	display: none;
	width: 40px;
	height: 40px;
	border-radius: var(--r-sm);
	border: 1px solid var(--border-gold);
	align-items: center;
	justify-content: center;
}

.menu-toggle__bars {
	position: relative;
	width: 18px;
	height: 2px;
	background: var(--gold-hi);
}
.menu-toggle__bars::before,
.menu-toggle__bars::after {
	content: '';
	position: absolute;
	left: 0;
	width: 18px;
	height: 2px;
	background: var(--gold-hi);
}
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }

/* ==========================================================================
   HERO (STICKY STAGE + EFEITO DE FOLHA QUE COBRE NA ROLAGEM)
   ========================================================================== */
.hero {
	position: sticky;
	top: 74px;
	z-index: 1;
	min-height: calc(100vh - 74px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2.5rem 0 4rem;
	overflow: hidden;
}

.hero__stage {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.hero__bg {
	position: absolute;
	inset: 0;
	background: url('../assets/images/hero-bg.jpg') center top / cover no-repeat;
	filter: saturate(1.08) brightness(0.68);
	transform: scale(1.03);
}

.hero__aurora {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 55% 45% at 50% 34%, rgba(58, 110, 165, 0.35) 0%, transparent 70%),
		radial-gradient(ellipse 40% 35% at 50% 42%, rgba(224, 176, 77, 0.22) 0%, transparent 65%);
}

.hero__particles {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.hero__veil {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 75% 65% at 50% 45%, rgba(5, 9, 24, 0.25) 0%, rgba(5, 9, 24, 0.85) 90%),
		linear-gradient(180deg, rgba(5, 9, 24, 0.45) 0%, rgba(5, 9, 24, 0.25) 45%, var(--bg-void) 100%);
}

.hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 820px;
	opacity: calc(1 - var(--hero-fade, 0) * 1.15);
	transform: translate3d(0, calc(var(--hero-fade, 0) * -36px), 0);
}

.hero__emblem {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.5rem;
}

.hero__ring {
	position: absolute;
	width: clamp(230px, 34vw, 350px);
	height: clamp(230px, 34vw, 350px);
	color: var(--gold);
	animation: spinRuneRing 48s linear infinite;
	pointer-events: none;
}

@keyframes spinRuneRing {
	to { transform: rotate(360deg); }
}

.hero__logo {
	position: relative;
	z-index: 1;
	width: clamp(250px, 36vw, 410px);
	height: auto;
	filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.78));
}

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gold-hi);
	background: rgba(9, 17, 43, 0.72);
	border: 1px solid var(--border-gold);
	padding: 0.38rem 1rem;
	border-radius: 999px;
	margin-bottom: 1rem;
	backdrop-filter: blur(8px);
}

.hero__headline {
	font-size: clamp(2rem, 4.4vw, 3.35rem);
	margin-bottom: 1rem;
	filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.85));
}

.hero__lead {
	font-size: clamp(0.98rem, 1.35vw, 1.12rem);
	color: var(--text-soft);
	max-width: 670px;
	margin-bottom: 1.85rem;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.75rem;
}

.hero__platforms {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5rem 1.4rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--text-muted);
}

.hero__platforms li {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.hero__platforms li::before {
	content: '';
	width: 5px;
	height: 5px;
	transform: rotate(45deg);
	background: var(--gold);
}

.hero__scroll {
	position: absolute;
	bottom: 1.15rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--border-gold);
	background: rgba(9, 17, 43, 0.75);
	color: var(--gold-hi);
	display: flex;
	align-items: center;
	justify-content: center;
	animation: floatArrow 2.4s ease-in-out infinite;
}

.hero__scroll svg {
	width: 18px;
	height: 18px;
}

@keyframes floatArrow {
	0%, 100% { transform: translate(-50%, 0); }
	50% { transform: translate(-50%, 6px); }
}

/* ==========================================================================
   A FOLHA DE CONTEÚDO (.pagina) QUE SOBE SOBRE O HERO
   ========================================================================== */
.pagina {
	position: relative;
	z-index: 5;
	background:
		radial-gradient(ellipse 70% 30% at 50% 0%, rgba(58, 110, 165, 0.16) 0%, transparent 70%),
		linear-gradient(180deg, var(--bg-900) 0%, var(--bg-void) 100%);
	border-top: 1px solid var(--border-gold);
	box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.85);
}

.pagina::before {
	content: '';
	position: absolute;
	top: -7px;
	left: calc(50% - 7px);
	width: 13px;
	height: 13px;
	transform: rotate(45deg);
	background: linear-gradient(135deg, var(--gold-pale), var(--gold) 55%, var(--gold-dk));
	border: 1px solid #fff;
	box-shadow: 0 0 16px var(--gold);
}

/* ==========================================================================
   SEÇÕES E CABEÇALHOS
   ========================================================================== */
.section {
	padding: clamp(3.75rem, 6vw, 5.75rem) 0;
	position: relative;
}

.section--tight {
	padding: clamp(2.75rem, 4.5vw, 4.25rem) 0;
}

.section + .section {
	border-top: 1px solid rgba(115, 167, 224, 0.1);
}

.section__head {
	margin-bottom: 2.75rem;
}

.section__head--center {
	text-align: center;
	max-width: 700px;
	margin-inline: auto;
}

.section__eyebrow {
	display: inline-block;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 0.55rem;
}

.section__title {
	font-size: clamp(1.75rem, 3.2vw, 2.55rem);
	margin-bottom: 0.75rem;
}

.section__lead {
	font-size: 1.02rem;
	color: var(--text-soft);
}

/* ==========================================================================
   1. FAIXA DE DESTAQUES (HIGHLIGHTS)
   ========================================================================== */
.highlights {
	padding: 2.25rem 0 1rem;
}

.highlights__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.1rem;
}

.highlight-tile {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.2rem 1.25rem;
}

.highlight-tile__ico {
	width: 46px;
	height: 46px;
	border-radius: var(--r-sm);
	background: rgba(224, 176, 77, 0.12);
	border: 1px solid var(--border-gold);
	color: var(--gold-hi);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.highlight-tile__ico svg {
	width: 22px;
	height: 22px;
}

.highlight-tile__body {
	display: flex;
	flex-direction: column;
}

.highlight-tile__val {
	font-family: 'Marcellus', serif;
	font-size: 1.45rem;
	line-height: 1.1;
}

.highlight-tile__label {
	font-size: 0.82rem;
	color: var(--text-muted);
	margin-top: 2px;
}

/* ==========================================================================
   2. VITRINE INTERATIVA DO CLIENTE (.showcase) + 4 PILARES
   ========================================================================== */
.showcase {
	padding: 0.65rem;
	margin-bottom: 2.25rem;
}

.showcase__topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.55rem 0.9rem 0.8rem;
	border-bottom: 1px solid rgba(224, 176, 77, 0.2);
	flex-wrap: wrap;
}

.showcase__dots {
	display: flex;
	gap: 6px;
}
.showcase__dots span {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(224, 176, 77, 0.35);
	border: 1px solid var(--border-gold);
}

.showcase__tabs {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.showcase__tab {
	padding: 0.4rem 0.95rem;
	border-radius: 999px;
	font-size: 0.84rem;
	font-weight: 600;
	color: var(--text-muted);
	border: 1px solid transparent;
	transition: all 0.2s ease;
}

.showcase__tab:hover {
	color: var(--text);
}

.showcase__tab.active {
	background: rgba(224, 176, 77, 0.16);
	border-color: var(--border-gold);
	color: var(--gold-hi);
}

.showcase__launch {
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--gold);
}
.showcase__launch:hover {
	color: var(--gold-pale);
	text-decoration: underline;
}

.showcase__viewport {
	padding: 0.6rem;
}

.showcase__pane {
	display: none;
}
.showcase__pane.active {
	display: block;
	animation: fadeSlide 0.35s var(--ease);
}

@keyframes fadeSlide {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

.showcase__pane img {
	width: 100%;
	max-height: 540px;
	object-fit: cover;
	object-position: center;
	border-radius: var(--r-sm);
	border: 1px solid rgba(115, 167, 224, 0.25);
}

.showcase__callouts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.85rem;
	margin-top: 0.85rem;
}

.showcase__callout {
	background: var(--sunken);
	border: 1px solid rgba(115, 167, 224, 0.16);
	border-radius: var(--r-sm);
	padding: 0.85rem 1rem;
}

.showcase__callout strong {
	display: block;
	font-size: 0.9rem;
	color: var(--gold-hi);
	margin-bottom: 0.2rem;
}

.showcase__callout span {
	font-size: 0.83rem;
	color: var(--text-muted);
}

/* 4 Pilares */
.pillars-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.15rem;
}

.pillar-card {
	padding: 1.55rem 1.35rem;
	transition: transform 0.25s var(--ease), border-color 0.25s ease;
}

.pillar-card:hover {
	transform: translateY(-4px);
	border-color: var(--border-gold);
}

.pillar-card__icon {
	width: 44px;
	height: 44px;
	border-radius: var(--r-sm);
	background: rgba(58, 110, 165, 0.2);
	border: 1px solid rgba(115, 167, 224, 0.35);
	color: var(--gold-hi);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
}

.pillar-card__icon svg {
	width: 22px;
	height: 22px;
}

.pillar-card__title {
	font-size: 1.18rem;
	color: var(--gold-pale);
	margin-bottom: 0.5rem;
}

.pillar-card__text {
	font-size: 0.9rem;
	color: var(--text-muted);
}

/* ==========================================================================
   3. QUEM FAZ O QUÊ (SPLIT SECTION)
   ========================================================================== */
.split-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

.split-card {
	padding: 2rem 1.85rem;
}

.split-card--player {
	border-color: var(--border-gold);
	background: linear-gradient(180deg, rgba(22, 36, 82, 0.95) 0%, rgba(10, 18, 44, 0.96) 100%);
}

.split-card__head {
	margin-bottom: 1.4rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(115, 167, 224, 0.16);
}

.split-card__tag {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	padding: 0.2rem 0.65rem;
	border-radius: 999px;
	background: rgba(58, 110, 165, 0.25);
	color: var(--accent-soft);
	border: 1px solid rgba(115, 167, 224, 0.3);
	margin-bottom: 0.55rem;
}

.split-card__tag--gold {
	background: var(--gold-a12);
	color: var(--gold-hi);
	border-color: var(--border-gold);
}

.split-card__title {
	font-size: 1.45rem;
	margin-bottom: 0.25rem;
}

.split-card__sub {
	font-size: 0.9rem;
	color: var(--text-muted);
}

.split-list {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.split-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 0.94rem;
	color: var(--text-soft);
}

.split-list__ico {
	width: 18px;
	height: 18px;
	color: var(--emerald);
	flex-shrink: 0;
	margin-top: 3px;
}

.split-card--player .split-list li .rune-gem {
	margin-top: 6px;
}

/* ==========================================================================
   4. PALCO INTERATIVO DE CLASSES (.class-explorer)
   ========================================================================== */
.class-explorer {
	padding: 1.75rem;
	border-color: color-mix(in srgb, var(--stage-color) 45%, rgba(224, 176, 77, 0.35));
	background:
		radial-gradient(ellipse 55% 50% at 20% 25%, color-mix(in srgb, var(--stage-color) 16%, transparent) 0%, transparent 70%),
		linear-gradient(180deg, rgba(13, 24, 58, 0.95) 0%, rgba(7, 13, 34, 0.98) 100%);
}

.class-branches {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0.65rem;
	margin-bottom: 1.75rem;
}

.branch-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.75rem 0.8rem;
	border-radius: var(--r-sm);
	background: var(--sunken);
	border: 1px solid rgba(115, 167, 224, 0.2);
	color: var(--text-soft);
	font-weight: 700;
	font-size: 0.9rem;
	transition: all 0.2s var(--ease);
}

.branch-btn svg {
	width: 18px;
	height: 18px;
	color: var(--gold);
}

.branch-btn:hover {
	border-color: var(--border-gold);
	color: #fff;
}

.branch-btn.active {
	background: linear-gradient(180deg, rgba(224, 176, 77, 0.24) 0%, rgba(224, 176, 77, 0.08) 100%);
	border-color: var(--gold);
	color: var(--gold-pale);
	box-shadow: 0 4px 18px rgba(224, 176, 77, 0.22);
}

.class-stage__body {
	display: grid;
	grid-template-columns: 1fr 1.35fr;
	gap: 1.75rem;
	align-items: stretch;
}

.class-stage__left {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1.25rem;
	background: var(--sunken);
	border: 1px solid rgba(224, 176, 77, 0.2);
	border-radius: var(--r-md);
	padding: 1.5rem;
}

.class-role-pill {
	display: inline-block;
	font-size: 0.74rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: rgba(224, 176, 77, 0.14);
	border: 1px solid var(--border-gold);
	color: var(--gold-hi);
	margin-bottom: 0.6rem;
}

.class-main-name {
	font-size: 1.85rem;
	margin-bottom: 0.25rem;
}

.class-lineage {
	font-size: 0.85rem;
	color: var(--text-muted);
	margin-bottom: 1.15rem;
}

.class-evolutions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.evo-pill {
	padding: 0.5rem 0.95rem;
	border-radius: var(--r-sm);
	font-size: 0.85rem;
	font-weight: 700;
	background: rgba(15, 28, 66, 0.85);
	border: 1px solid rgba(115, 167, 224, 0.28);
	color: var(--text-soft);
	transition: all 0.2s ease;
}

.evo-pill:hover {
	border-color: var(--gold);
	color: #fff;
}

.evo-pill.active {
	background: linear-gradient(180deg, var(--gold-hi), var(--gold));
	color: var(--gold-ink);
	border-color: var(--gold-pale);
}

.class-attributes {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.65rem 1rem;
}

.attr-row {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.attr-row__head {
	display: flex;
	justify-content: space-between;
	font-size: 0.76rem;
	font-weight: 700;
	color: var(--text-soft);
}

.attr-row__track {
	height: 7px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 99px;
	overflow: hidden;
}

.attr-row__fill {
	height: 100%;
	background: linear-gradient(90deg, var(--accent), var(--gold));
	border-radius: 99px;
	transition: width 0.35s var(--ease);
}

.class-stage__right {
	background: var(--sunken);
	border: 1px solid rgba(115, 167, 224, 0.18);
	border-radius: var(--r-md);
	padding: 1.65rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.class-spec-heading {
	font-size: 1.35rem;
	color: var(--gold-hi);
	margin-bottom: 0.65rem;
}

.class-description {
	font-size: 0.96rem;
	color: var(--text-soft);
	margin-bottom: 1.35rem;
}

.class-meta-boxes {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.85rem;
	margin-bottom: 1.35rem;
}

.class-meta-item {
	background: rgba(14, 26, 62, 0.75);
	border: 1px solid rgba(115, 167, 224, 0.2);
	border-radius: var(--r-sm);
	padding: 0.75rem 0.95rem;
}

.class-meta-item__label {
	display: block;
	font-size: 0.74rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-muted);
	margin-bottom: 0.2rem;
}

.class-meta-item__val {
	font-size: 0.92rem;
	color: #fff;
}

.class-skills-block__title {
	display: block;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--text-muted);
	margin-bottom: 0.55rem;
}

.class-skill-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.skill-tag {
	padding: 0.32rem 0.78rem;
	border-radius: var(--r-sm);
	font-size: 0.82rem;
	font-weight: 600;
	background: rgba(224, 176, 77, 0.12);
	border: 1px solid var(--border-gold);
	color: var(--gold-pale);
}

/* ==========================================================================
   5. SISTEMAS DO SERVIDOR (9 CARDS)
   ========================================================================== */
.systems-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.system-card {
	padding: 1.6rem 1.45rem;
	transition: transform 0.25s var(--ease), border-color 0.25s ease;
}

.system-card:hover {
	transform: translateY(-4px);
	border-color: var(--border-gold);
}

.system-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.system-card__ico {
	width: 42px;
	height: 42px;
	border-radius: var(--r-sm);
	background: var(--gold-a12);
	border: 1px solid var(--border-gold);
	color: var(--gold-hi);
	display: flex;
	align-items: center;
	justify-content: center;
}

.system-card__ico svg {
	width: 20px;
	height: 20px;
}

.system-card__tag {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent-soft);
	background: rgba(58, 110, 165, 0.2);
	border: 1px solid rgba(115, 167, 224, 0.25);
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
}

.system-card__title {
	font-size: 1.2rem;
	color: var(--gold-pale);
	margin-bottom: 0.5rem;
}

.system-card__text {
	font-size: 0.9rem;
	color: var(--text-muted);
}

/* ==========================================================================
   6. HALL DA FAMA AO VIVO + FICHA TÉCNICA
   ========================================================================== */
.ranking-rates-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 1.5rem;
	align-items: start;
}

.ranking-panel,
.specs-panel {
	padding: 1.75rem;
}

.panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid rgba(224, 176, 77, 0.2);
}

.panel-header__eyebrow {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gold);
}

.panel-header__title {
	font-size: 1.45rem;
}

.ranking-table-wrap {
	overflow-x: auto;
}

.ranking-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
	font-variant-numeric: tabular-nums;
}

.ranking-table th {
	text-align: left;
	padding: 0.65rem 0.75rem;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-muted);
	border-bottom: 1px solid rgba(115, 167, 224, 0.2);
}

.ranking-table td {
	padding: 0.8rem 0.75rem;
	border-bottom: 1px solid rgba(115, 167, 224, 0.1);
	color: var(--text-soft);
}

.ranking-table tbody tr:hover {
	background: rgba(224, 176, 77, 0.06);
}

.rank-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	padding: 0.15rem 0.45rem;
	border-radius: 4px;
	font-weight: 800;
	font-size: 0.8rem;
}
.rank-1 {
	background: linear-gradient(180deg, var(--gold-hi), var(--gold));
	color: var(--gold-ink);
}
.rank-2 {
	background: rgba(203, 213, 225, 0.25);
	color: #f1f5f9;
	border: 1px solid rgba(203, 213, 225, 0.5);
}
.rank-3 {
	background: rgba(217, 119, 6, 0.25);
	color: #fde68a;
	border: 1px solid rgba(217, 119, 6, 0.5);
}
.rank-other {
	background: rgba(255, 255, 255, 0.06);
	color: var(--text-muted);
}

/* Ficha Técnica */
.rates-badges {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.65rem;
	margin-bottom: 1.25rem;
}

.rate-box {
	background: var(--sunken);
	border: 1px solid rgba(224, 176, 77, 0.25);
	border-radius: var(--r-sm);
	padding: 0.7rem 0.5rem;
	text-align: center;
}

.rate-box__val {
	display: block;
	font-family: 'Marcellus', serif;
	font-size: 1.2rem;
}

.rate-box__label {
	font-size: 0.72rem;
	color: var(--text-muted);
}

.specs-list {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.specs-list__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.55rem 0.75rem;
	background: var(--sunken);
	border-radius: var(--r-sm);
	font-size: 0.86rem;
}

.specs-list__row dt {
	color: var(--text-muted);
}

.specs-list__row dd {
	font-weight: 700;
	color: var(--text);
	text-align: right;
}

/* ==========================================================================
   7. DIÁRIO DE ATUALIZAÇÕES (PATCH NOTES EXPANSÍVEIS)
   ========================================================================== */
.news-list {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
	max-width: 900px;
	margin-inline: auto;
}

.news-card {
	padding: 1.65rem 1.75rem;
}

.news-card__meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.news-card__tag {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	padding: 0.2rem 0.65rem;
	border-radius: 999px;
	background: var(--gold-a12);
	border: 1px solid var(--border-gold);
	color: var(--gold-hi);
}

.news-card__date {
	font-size: 0.82rem;
	color: var(--text-muted);
}

.news-card__title {
	font-size: 1.35rem;
	margin-bottom: 0.45rem;
}

.news-card__excerpt {
	font-size: 0.94rem;
	color: var(--text-soft);
	margin-bottom: 0.9rem;
}

.news-card__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--gold);
}

.news-card__toggle svg {
	width: 16px;
	height: 16px;
	transition: transform 0.25s ease;
}

.news-card.is-open .news-card__toggle svg {
	transform: rotate(180deg);
}

.news-card__body {
	margin-top: 1.15rem;
	padding-top: 1.15rem;
	border-top: 1px solid rgba(224, 176, 77, 0.2);
}

.news-card__body h4 {
	font-size: 1.05rem;
	color: var(--gold-hi);
	margin-bottom: 0.65rem;
}

.news-card__body ul {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	padding-left: 1.1rem;
	color: var(--text-soft);
	font-size: 0.9rem;
}

/* ==========================================================================
   8. PROGRAMA DE INDICAÇÃO (REFERRAL BANNER)
   ========================================================================== */
.referral-banner {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 2rem;
	padding: 2.25rem;
	align-items: center;
}

.referral-banner__title {
	font-size: 1.75rem;
	margin-bottom: 0.65rem;
}

.referral-banner__desc {
	font-size: 0.95rem;
	color: var(--text-soft);
	margin-bottom: 1.15rem;
}

.referral-perks {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	font-size: 0.9rem;
	color: var(--text-soft);
}

.referral-perks li {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

.referral-banner__box {
	background: var(--sunken);
	border: 1px solid var(--border-gold);
	border-radius: var(--r-md);
	padding: 1.5rem;
}

.referral-banner__label {
	display: block;
	font-family: 'Marcellus', serif;
	font-size: 1.15rem;
	color: var(--gold-hi);
	margin-bottom: 0.25rem;
}

.referral-banner__hint {
	font-size: 0.84rem;
	color: var(--text-muted);
	margin-bottom: 0.9rem;
}

.referral-copy-row {
	display: flex;
	gap: 0.55rem;
}

/* ==========================================================================
   9. PERGUNTAS FREQUENTES (FAQ)
   ========================================================================== */
.faq-list {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	max-width: 860px;
	margin-inline: auto;
}

.faq-item {
	overflow: hidden;
}

.faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 1.4rem;
	text-align: left;
	font-weight: 700;
	font-size: 0.98rem;
	color: var(--text);
}

.faq-chevron {
	width: 18px;
	height: 18px;
	color: var(--gold);
	transition: transform 0.25s ease;
	flex-shrink: 0;
}

.faq-item.active .faq-chevron {
	transform: rotate(180deg);
}

.faq-answer {
	display: none;
	padding: 0 1.4rem 1.2rem;
	font-size: 0.92rem;
	color: var(--text-soft);
	border-top: 1px solid rgba(115, 167, 224, 0.12);
	padding-top: 0.9rem;
}

.faq-item.active .faq-answer {
	display: block;
}

/* ==========================================================================
   10. CHAMADA FINAL (FINAL CTA)
   ========================================================================== */
.final-cta__card {
	text-align: center;
	padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
	max-width: 880px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.final-cta__title {
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

.final-cta__text {
	max-width: 580px;
	color: var(--text-soft);
	margin-bottom: 0.5rem;
}

.final-cta__actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: center;
}

/* ==========================================================================
   RODAPÉ (SITE FOOTER)
   ========================================================================== */
.site-footer {
	position: relative;
	z-index: 5;
	background: #030611;
	border-top: 1px solid var(--border-gold);
	padding: 3.5rem 0 2rem;
	color: var(--text-muted);
	font-size: 0.88rem;
}

.footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 2rem;
	margin-bottom: 2.25rem;
}

.footer__tagline {
	margin-top: 0.85rem;
	max-width: 340px;
	color: var(--text-muted);
}

.footer__col h3 {
	font-size: 0.95rem;
	color: var(--gold-hi);
	margin-bottom: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.footer__col ul {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.footer__col a:hover {
	color: var(--gold-hi);
}

.footer__legal {
	padding: 1.25rem 0;
	border-top: 1px solid rgba(115, 167, 224, 0.12);
	border-bottom: 1px solid rgba(115, 167, 224, 0.12);
	font-size: 0.78rem;
	color: var(--text-dim);
	margin-bottom: 1.25rem;
}

.footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.footer__top-link {
	color: var(--gold);
	font-weight: 700;
}

/* ==========================================================================
   TRILHO SOCIAL FLUTUANTE (SOCIAL RAIL)
   ========================================================================== */
.social-rail {
	position: fixed;
	right: 1.1rem;
	bottom: 1.5rem;
	z-index: 90;
}

.social-rail__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
	padding: 0.65rem 0.45rem;
}

.social-rail__btn {
	width: 38px;
	height: 38px;
	border-radius: var(--r-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gold-hi);
	background: rgba(15, 28, 66, 0.8);
	border: 1px solid rgba(224, 176, 77, 0.28);
	transition: all 0.2s ease;
}

.social-rail__btn:hover {
	background: var(--gold);
	color: var(--gold-ink);
	transform: scale(1.06);
}

.social-rail__btn svg {
	width: 18px;
	height: 18px;
}

/* ==========================================================================
   CAMPOS E MODAL RÚNICO DE CADASTRO (#register-modal)
   ========================================================================== */
.rune-label {
	display: block;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--gold-hi);
	margin-bottom: 0.35rem;
}

.rune-input {
	width: 100%;
	padding: 0.68rem 0.9rem;
	border-radius: var(--r-sm);
	background: rgba(4, 8, 22, 0.85);
	border: 1px solid rgba(115, 167, 224, 0.28);
	color: var(--text);
	font-size: 0.92rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rune-input:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(224, 176, 77, 0.18);
}

.modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(3, 6, 17, 0.82);
	backdrop-filter: blur(8px);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.modal-overlay.active {
	display: flex;
}

.modal-box {
	width: min(100%, 480px);
	max-height: 92vh;
	overflow-y: auto;
	border-color: var(--border-gold);
}

.rune-titlebar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.95rem 1.25rem;
	border-bottom: 1px solid rgba(224, 176, 77, 0.25);
	background: rgba(5, 10, 26, 0.65);
}

.rune-titlebar__left {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.rune-titlebar__title {
	font-size: 1.15rem;
	color: var(--gold-hi);
}

.modal-close {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid rgba(224, 176, 77, 0.3);
	color: var(--gold-hi);
	display: flex;
	align-items: center;
	justify-content: center;
}
.modal-close:hover {
	background: rgba(224, 82, 74, 0.25);
	border-color: var(--danger);
	color: #fff;
}

.modal-body {
	padding: 1.35rem 1.4rem 1.5rem;
}

.modal-brand {
	text-align: center;
	margin-bottom: 1.1rem;
}

.modal-brand__logo {
	width: 170px;
	height: auto;
	margin-inline: auto;
}

.modal-brand__sub {
	font-size: 0.86rem;
	color: var(--text-muted);
	margin-top: 0.25rem;
}

.form-group {
	margin-bottom: 0.9rem;
}

.form-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
}

.form-feedback {
	display: none;
	margin-top: 0.85rem;
	padding: 0.7rem 0.9rem;
	border-radius: var(--r-sm);
	font-size: 0.86rem;
	font-weight: 600;
	text-align: center;
}

.form-feedback.error {
	background: rgba(224, 82, 74, 0.16);
	border: 1px solid var(--danger);
	color: #fca5a5;
}

.form-feedback.success {
	background: rgba(63, 200, 144, 0.16);
	border: 1px solid var(--emerald);
	color: #a7f3d0;
}

/* ==========================================================================
   RESPONSIVIDADE (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
	.highlights__grid,
	.pillars-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.systems-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.class-branches {
		grid-template-columns: repeat(3, 1fr);
	}
	.class-stage__body,
	.ranking-rates-grid,
	.referral-banner {
		grid-template-columns: 1fr;
	}
	.footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.pill--clock {
		display: none;
	}
}

/* Menu sanduiche em tablet e celular (o menu completo so cabe acima de 1040px) */
@media (max-width: 1040px) {
	.menu-toggle {
		display: inline-flex;
	}
	.nav-links {
		display: none;
		position: absolute;
		top: 74px;
		left: 0;
		right: 0;
		flex-direction: column;
		background: rgba(5, 9, 24, 0.97);
		border-bottom: 1px solid var(--border-gold);
		padding: 1.25rem;
		gap: 0.9rem;
	}
	.nav-links.mobile-active {
		display: flex;
	}
}

@media (max-width: 768px) {
	.hero {
		position: relative;
		top: 0;
		min-height: auto;
		padding: 2.5rem 0 3.5rem;
	}
	.split-grid,
	.showcase__callouts,
	.systems-grid,
	.highlights__grid,
	.pillars-grid,
	.form-row {
		grid-template-columns: 1fr;
	}
	.class-branches {
		grid-template-columns: repeat(2, 1fr);
	}
	.rates-badges {
		grid-template-columns: repeat(2, 1fr);
	}
	.referral-copy-row {
		flex-direction: column;
	}
	.footer__grid {
		grid-template-columns: 1fr;
	}
	.social-rail {
		display: none;
	}

	/* Topo no celular: logo + Cadastre-se + menu. Os selos (online/relogio) e o "Jogar"
	   saem do topo; o "Jogar no Navegador" do inicio da pagina continua. */
	.server-pills,
	.header-actions .rune-btn--ghost {
		display: none;
	}
	.brand__logo {
		height: 40px;
	}

	/* Paineis lado a lado viram uma coluna que pode encolher: a tabela do ranking rola por
	   dentro (.ranking-table-wrap) em vez de alargar a pagina. */
	.ranking-rates-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.ranking-rates-grid > *,
	.class-stage__body > *,
	.split-grid > *,
	.systems-grid > *,
	.highlights__grid > *,
	.pillars-grid > * {
		min-width: 0;
	}
	.ranking-panel,
	.specs-panel {
		padding: 1.25rem 1rem;
	}
	.ranking-table th,
	.ranking-table td {
		white-space: nowrap;
		padding-inline: 0.55rem;
	}
	.panel-header {
		flex-wrap: wrap;
	}
	.specs-list__row {
		flex-wrap: wrap;
		gap: 0.25rem 1rem;
	}
	.specs-list__row dd {
		text-align: left;
	}
}

@media (max-width: 480px) {
	/* a logo ja traz o nome do jogo: o texto ao lado sai para caber o botao e o menu */
	.brand__text {
		display: none;
	}
	.rates-badges {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.rate-box__val {
		font-size: 1.05rem;
		overflow-wrap: anywhere;
	}
	.class-stage__body {
		grid-template-columns: minmax(0, 1fr);
	}
	.class-stage__left,
	.class-stage__right {
		padding: 1.1rem;
	}
}
