/* ============================================================
   L2 Aeternum - visual do site
   Cores e fontes nas variaveis abaixo.
   ============================================================ */
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel.woff") format("woff"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/sourcesans3.woff") format("woff"); font-weight: 200 900; font-display: swap; }

:root {
	--bg: #0b0c0f;
	--bg-2: #101217;
	--surface: #15171d;
	--surface-2: #1b1e25;
	--line: #2a2d36;
	--line-soft: #20232b;
	--text: #ebe6da;
	--muted: #a19b8f;
	--faint: #6f6a61;
	--gold: #d8b36a;
	--gold-2: #f0d39a;
	--gold-deep: #9c7535;
	--ok: #74c690;
	--bad: #e2766a;
	--radius: 10px;
	--radius-lg: 16px;
	--shadow: 0 18px 40px rgba(0, 0, 0, .45);
	--font-display: "Cinzel", "Trajan Pro", Georgia, "Times New Roman", serif;
	--font-body: "Source Sans 3", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 17px/1.6 var(--font-body);
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; letter-spacing: .02em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
b, strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: #1a1406; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.wrap--narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #1a1406; padding: 8px 14px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.strong { font-weight: 600; color: var(--text); }
.center { text-align: center; }
.eyebrow { font: 600 13px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { color: var(--gold-2); }
.lead { color: var(--muted); font-size: 19px; max-width: 62ch; }
.link { color: var(--gold); text-decoration: none; font-weight: 600; }
.link:hover { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.fineprint { color: var(--faint); font-size: 14px; margin-top: 18px; }

/* ---------- botoes ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 42px; padding: 0 20px; border-radius: 8px; border: 1px solid transparent;
	font: 600 15px/1 var(--font-body); letter-spacing: .03em; text-decoration: none; cursor: pointer;
	transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn--gold { background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-deep)); color: #1c1507; box-shadow: 0 6px 18px rgba(216, 179, 106, .18), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--gold:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(216, 179, 106, .28), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--ghost { background: rgba(255, 255, 255, .02); border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--gold-deep); color: var(--gold-2); }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }

/* ---------- topo ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(11, 12, 15, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
.topbar__inner { display: flex; align-items: center; gap: 28px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gold); flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; }
.brand__name { font: 500 20px/1 var(--font-display); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.brand__name b { color: var(--text); font-weight: 700; }
.menu { display: flex; align-items: center; gap: 4px; flex: 1; }
.menu > a { position: relative; padding: 10px 14px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 6px; transition: color .2s; }
.menu > a:hover { color: var(--text); }
.menu > a.is-active { color: var(--gold-2); }
.menu > a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--gold); border-radius: 2px; }
.menu__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.burger span:not(.sr) { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.account { position: relative; }
.account summary { list-style: none; display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 15px; }
.account summary::-webkit-details-marker { display: none; }
.account__avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--gold-2), var(--gold-deep)); color: #1c1507; font-weight: 700; }
.account__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px; display: grid; }
.account__menu a { padding: 10px 12px; border-radius: 6px; text-decoration: none; color: var(--text); font-size: 15px; }
.account__menu a:hover { background: rgba(255, 255, 255, .05); color: var(--gold-2); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.hero__art {
	position: absolute; inset: 0;
	background:
		radial-gradient(60% 70% at 78% 30%, rgba(216, 179, 106, .16), transparent 70%),
		radial-gradient(40% 50% at 10% 90%, rgba(156, 117, 53, .12), transparent 70%),
		linear-gradient(180deg, rgba(11, 12, 15, .2), var(--bg) 96%),
		url("../img/hero.jpg") center / cover no-repeat,
		var(--bg);
}
.hero__art::after {
	content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
	background-image: 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='.9' 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='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .8fr); gap: 56px; align-items: center; padding-block: clamp(64px, 11vw, 132px); }
.hero__title { font-size: clamp(48px, 7.4vw, 96px); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 20px; line-height: 1; color: var(--text); }
.hero__title span { display: block; background: linear-gradient(180deg, var(--gold-2) 10%, var(--gold) 50%, var(--gold-deep) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 46ch; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.status { background: linear-gradient(180deg, rgba(27, 30, 37, .92), rgba(21, 23, 29, .92)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); position: relative; }
.status::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(216, 179, 106, .55), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.status__title { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.status__list { list-style: none; margin: 0 0 20px; padding: 0; }
.status__list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
.status__list li span { color: var(--muted); }
.status__list b.is-on, .status__list b.is-off { display: inline-flex; align-items: center; gap: 8px; }
.status__list b.is-on { color: var(--ok); }
.status__list b.is-off { color: var(--bad); }
.status__list b.is-on::before, .status__list b.is-off::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent); }
.status__rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.status__rates div { text-align: center; background: rgba(255, 255, 255, .025); border: 1px solid var(--line-soft); border-radius: 8px; padding: 12px 6px; }
.status__rates strong { display: block; font: 700 22px/1.1 var(--font-display); color: var(--gold-2); }
.status__rates span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- secoes ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.section__head { margin-bottom: 36px; }
.section__head h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0; }
.section__head--row { display: flex; align-items: end; justify-content: space-between; gap: 16px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); }
.card__title { font-size: 20px; margin-bottom: 16px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; display: flex; flex-direction: column; }
.step h3 { font-size: 21px; }
.step p { color: var(--muted); flex: 1; }
.step__n { font: 700 16px/1 var(--font-display); width: 40px; height: 40px; display: grid; place-items: center; color: var(--gold); border: 1px solid var(--gold-deep); transform: rotate(45deg); border-radius: 6px; margin: 6px 0 22px 6px; background: rgba(216, 179, 106, .06); }
.step__n > span { transform: rotate(-45deg); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.features--wide { margin-block: 28px 32px; }
.feature { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.feature svg { width: 26px; height: 26px; color: var(--gold); margin-bottom: 14px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 16px; margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 28px; align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }

.news { display: grid; gap: 16px; }
.news__item { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 16px; }
.news__item:not(:has(.news__img)) { grid-template-columns: 1fr; padding: 22px 24px; }
.news__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; background: var(--bg); }
.news__body time { color: var(--gold); font-size: 14px; font-weight: 600; }
.news__body h3 { font-size: 20px; margin: 6px 0 8px; }
.news__body h3 a { text-decoration: none; }
.news__body h3 a:hover { color: var(--gold-2); }
.news__body p { color: var(--muted); margin: 0; font-size: 16px; }

.empty-state { text-align: center; padding-block: 36px; }
.empty-state h3 { font-size: 19px; }
.empty-state p { color: var(--muted); margin: 0; }

.mini-rank { padding: 0; overflow: hidden; position: sticky; top: 90px; }
.mini-rank__tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.mini-rank__tabs button { background: none; border: 0; color: var(--muted); font: 600 15px/1 var(--font-body); padding: 16px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.mini-rank__tabs button[aria-selected="true"] { color: var(--gold-2); border-color: var(--gold); }
.mini-rank__list { list-style: none; margin: 0; padding: 8px 20px; }
.mini-rank__list li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.mini-rank__list li:last-child { border-bottom: 0; }
.mini-rank__list li.empty { display: block; color: var(--muted); text-align: center; padding: 28px 0; }
.mini-rank__list .pos { font: 700 15px/1 var(--font-display); color: var(--gold); }
.mini-rank__list .who { display: flex; flex-direction: column; font-weight: 600; min-width: 0; }
.mini-rank__list .who small { color: var(--faint); font-weight: 400; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-rank__list b { color: var(--gold-2); font-variant-numeric: tabular-nums; }
.mini-rank__more { display: block; padding: 14px 20px; border-top: 1px solid var(--line); text-align: center; }

.cta { border-top: 1px solid var(--line-soft); background: radial-gradient(60% 120% at 50% 0%, rgba(216, 179, 106, .12), transparent 70%), var(--bg-2); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 56px; }
.cta h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.cta p { color: var(--muted); margin: 0; }

/* ---------- paginas internas ---------- */
.page-head { padding-block: clamp(44px, 6vw, 72px) 32px; background: radial-gradient(50% 100% at 20% 0%, rgba(216, 179, 106, .08), transparent 70%); }
.page-head h1 { font-size: clamp(32px, 4.4vw, 50px); margin-bottom: 12px; }
.page-head .lead { margin: 0; }
.page-head--center { text-align: center; padding-block: 120px; }
.page-head--center .lead { margin: 0 auto 28px; }
main > .wrap { padding-bottom: 80px; }

.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; margin-bottom: 24px; scrollbar-width: thin; border-bottom: 1px solid var(--line); }
.tabs a { flex-shrink: 0; padding: 12px 16px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--text); }
.tabs a.is-active { color: var(--gold-2); border-color: var(--gold); }
.subtabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 18px; }
.subtabs a { padding: 8px 14px; border-radius: 7px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14px; }
.subtabs a.is-active { background: var(--surface-2); color: var(--gold-2); }

.table-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow-x: auto; background: var(--surface); }
.table-wrap--scroll { max-height: 640px; overflow-y: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th, .table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.table thead th { position: sticky; top: 0; background: var(--surface-2); color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; z-index: 1; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: rgba(255, 255, 255, .02); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table a:not(.btn) { text-decoration: none; }
.table a:not(.btn):hover { text-decoration: underline; text-underline-offset: 3px; color: var(--gold-2); }
.table td.pos { font: 700 15px/1 var(--font-display); color: var(--gold); text-align: center; width: 64px; }
.table tbody tr:nth-child(-n+3) td.pos { color: var(--gold-2); }
.table td.empty { text-align: center; color: var(--muted); padding: 40px 18px; white-space: normal; }
.table--compact th, .table--compact td { padding: 9px 10px; font-size: 15px; white-space: normal; }
.table--compact tbody th { color: var(--muted); font-weight: 600; text-align: left; }
.table-title { font-size: 20px; margin-bottom: 14px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--faint); margin-right: 10px; vertical-align: middle; }
.dot--on { background: var(--ok); box-shadow: 0 0 0 3px rgba(116, 198, 144, .18); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-right: 6px; }
.tag--ok { background: rgba(116, 198, 144, .12); color: var(--ok); }
.tag--bad { background: rgba(226, 118, 106, .12); color: var(--bad); }

.castles { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.castle h2 { font-size: 22px; color: var(--gold-2); }
.dl { margin: 0; display: grid; gap: 0; }
.dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.dl > div:last-child { border-bottom: 0; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; text-align: right; font-weight: 600; }

.rates { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.rate { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; text-align: center; background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.rate strong { display: block; font: 700 38px/1.1 var(--font-display); color: var(--gold-2); }
.rate span { color: var(--muted); font-size: 15px; }

.download__head { display: flex; gap: 18px; align-items: center; margin-bottom: 24px; }
.download__head svg { width: 52px; height: 52px; color: var(--gold); flex-shrink: 0; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.download__head h2 { font-family: var(--font-body); font-size: 22px; letter-spacing: 0; margin: 0 0 2px; }
.download__head p { margin: 0; color: var(--muted); font-size: 15px; }
.numbered { margin: 26px 0 0; padding-left: 22px; display: grid; gap: 12px; color: var(--muted); }
.numbered li::marker { color: var(--gold); font-weight: 700; }
.numbered b { color: var(--text); }

.prose h2 { font-size: 22px; margin: 28px 0 12px; color: var(--gold-2); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; color: var(--muted); display: grid; gap: 8px; margin: 0 0 12px; }
.prose p { color: var(--muted); }
.prose__cover { border-radius: 10px; margin-bottom: 24px; }

/* ---------- formularios ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.field label, .choices legend { font-weight: 600; font-size: 15px; }
.field small { color: var(--faint); font-size: 14px; }
.field input, .field textarea, .field select, .captcha input {
	width: 100%; min-height: 48px; padding: 0 14px; border-radius: 8px;
	background: var(--bg-2); border: 1px solid var(--line); color: var(--text); font: 400 16px var(--font-body);
	transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; padding: 12px 14px; line-height: 1.55; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input[type="file"] { padding: 10px; min-height: 0; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #3a3e49; }
.field textarea:focus, .field select:focus,
.field input:focus, .captcha input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216, 179, 106, .16); }
.field input:user-invalid { border-color: var(--bad); }
.captcha { display: grid; grid-template-columns: auto 44px minmax(120px, 1fr); gap: 10px; align-items: center; }
.captcha__img { height: 48px; width: auto; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.captcha__refresh { width: 44px; height: 48px; display: grid; place-items: center; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); cursor: pointer; }
.captcha__refresh:hover { color: var(--gold); border-color: var(--gold-deep); }
.captcha input { text-transform: uppercase; letter-spacing: .2em; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; border: 1px solid var(--line); border-radius: 5px; background: var(--bg-2); display: grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s; }
.check input:hover { border-color: var(--gold-deep); }
.check input:checked { background: var(--gold); border-color: var(--gold); }
.check input:checked::after { content: ""; width: 5px; height: 10px; border: solid #1c1507; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.choices { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.choices legend { margin-bottom: 10px; }
.choice { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: var(--bg-2); font-weight: 600; }
.choice:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216, 179, 106, .12); }
.choice input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); display: grid; place-items: center; flex-shrink: 0; }
.choice input:checked { border-color: var(--gold); }
.choice input:checked::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.notice { border: 1px solid rgba(216, 179, 106, .35); background: rgba(216, 179, 106, .07); color: var(--text); padding: 16px 18px; border-radius: 10px; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(5, 6, 8, .72); backdrop-filter: blur(4px); }
.modal[hidden] { display: none; }
.modal__box { width: min(460px, 100%); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); text-align: center; animation: pop .18s ease-out; }
.modal__box.is-ok { border-color: rgba(116, 198, 144, .45); }
.modal__box.is-error { border-color: rgba(226, 118, 106, .45); }
.modal__msg { margin-bottom: 22px; font-size: 17px; white-space: pre-line; overflow-wrap: anywhere; }
.modal__msg b { color: var(--gold-2); }
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } }

/* ---------- rodape ---------- */
.footer { border-top: 1px solid var(--line-soft); background: var(--bg-2); padding-top: 56px; margin-top: auto; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding-bottom: 40px; }
.footer__brand p { color: var(--faint); margin-top: 14px; max-width: 36ch; font-size: 15px; }
.footer__col { display: grid; align-content: start; gap: 10px; }
.footer__col h2 { font: 600 13px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.footer__col a { color: var(--muted); text-decoration: none; font-size: 15px; width: fit-content; }
.footer__col a:hover { color: var(--text); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px; border-top: 1px solid var(--line-soft); color: var(--faint); font-size: 13px; }

/* ---------- aviso no topo ---------- */
.notice-bar { background: linear-gradient(90deg, rgba(156, 117, 53, .35), rgba(216, 179, 106, .22), rgba(156, 117, 53, .35)); border-bottom: 1px solid rgba(216, 179, 106, .35); color: var(--gold-2); font-size: 15px; font-weight: 600; text-align: center; padding-block: 9px; }

/* ---------- menu da conta: botao sair ---------- */
.account__menu form { margin: 0; border-top: 1px solid var(--line-soft); margin-top: 4px; padding-top: 4px; }
.account__menu button { width: 100%; text-align: left; padding: 10px 12px; border-radius: 6px; background: none; border: 0; color: var(--muted); font: 400 15px var(--font-body); cursor: pointer; }
.account__menu button:hover { background: rgba(255, 255, 255, .05); color: var(--bad); }

.btn--sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.modal__actions { display: flex; gap: 10px; justify-content: center; }
.modal__actions .btn { min-width: 120px; }
.auth-card { max-width: 520px; margin-inline: auto; }
.tag--idle { background: rgba(255, 255, 255, .05); color: var(--muted); }
.table td.bad { color: var(--bad); }

/* ---------- area do jogador ---------- */
.page-head--account { padding-bottom: 28px; }
.acc-head { display: flex; align-items: center; gap: 22px; }
.acc-head__avatar { width: 68px; height: 68px; flex-shrink: 0; display: grid; place-items: center; border-radius: 18px; font: 700 30px/1 var(--font-display); color: #1c1507; background: linear-gradient(160deg, var(--gold-2), var(--gold) 50%, var(--gold-deep)); box-shadow: 0 10px 30px rgba(216, 179, 106, .2); transform: rotate(-4deg); }
.acc-head h1 { margin-bottom: 6px; }
.acc-head .lead { font-size: 17px; }
.acc-head .lead b { color: var(--text); }
.acc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.acc-nav { position: sticky; top: 90px; display: grid; gap: 4px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.acc-nav a, .acc-nav button { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font: 600 15px var(--font-body); background: none; border: 0; width: 100%; text-align: left; cursor: pointer; }
.acc-nav svg { width: 20px; height: 20px; flex-shrink: 0; }
.acc-nav a:hover, .acc-nav button:hover { color: var(--text); background: rgba(255, 255, 255, .03); }
.acc-nav a.is-active { color: var(--gold-2); background: rgba(216, 179, 106, .08); box-shadow: inset 2px 0 0 var(--gold); }
.acc-nav form { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--line-soft); }
.acc-nav button:hover { color: var(--bad); }
.acc-main { display: grid; gap: 28px; min-width: 0; }
.acc-section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.acc-section__head h2 { font-size: 22px; margin: 0; }
.acc-section__head p { margin: 0; font-size: 15px; }
.acc-split { align-items: start; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; min-width: 0; }
.stat span { display: block; color: var(--muted); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.stat strong { display: block; font: 700 26px/1.15 var(--font-display); color: var(--gold-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat strong.stat__small { font: 600 18px/1.5 var(--font-body); color: var(--text); }

.welcome { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-color: rgba(216, 179, 106, .45); background: radial-gradient(80% 140% at 0% 0%, rgba(216, 179, 106, .12), transparent 60%), var(--surface); }
.welcome h2 { font-size: 22px; margin-bottom: 6px; }
.welcome p { margin: 0; color: var(--muted); }

.chars { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.char { padding: 20px; display: grid; gap: 16px; align-content: start; }
.char__head { display: flex; align-items: center; gap: 14px; }
.char__crest { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; font: 700 16px/1 var(--font-display); color: var(--gold-2); border: 1px solid var(--gold-deep); border-radius: 12px; background: rgba(216, 179, 106, .07); }
.char__id { flex: 1; min-width: 0; }
.char__id h3 { font-size: 19px; margin: 0 0 2px; overflow: hidden; text-overflow: ellipsis; }
.char__id p { margin: 0; color: var(--muted); font-size: 15px; }
.char__head .tag { margin: 0; }
.char__stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.char__stats div { min-width: 0; }
.char__stats dt { color: var(--faint); font-size: 13px; }
.char__stats dd { margin: 0; font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.char__actions { display: flex; align-items: center; gap: 12px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.char__actions small { font-size: 13px; }
.btn[disabled] { opacity: .45; }

.form-card { max-width: 720px; }
.tip { max-width: 720px; border: 1px dashed var(--line); border-radius: var(--radius); padding: 14px 18px; color: var(--muted); font-size: 15px; }
.tip b { color: var(--text); }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
	.features { grid-template-columns: repeat(2, 1fr); }
	.hero__grid { grid-template-columns: 1fr; gap: 40px; }
	.status { max-width: 520px; }
}
@media (max-width: 920px) {
	.burger { display: flex; }
	.menu { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 24px 22px; max-height: calc(100vh - 70px); overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
	.menu.is-open { opacity: 1; transform: none; visibility: visible; }
	.menu > a { padding: 14px 4px; border-bottom: 1px solid var(--line-soft); border-radius: 0; font-size: 17px; }
	.menu > a.is-active::after { display: none; }
	.menu__actions { margin: 18px 0 0; flex-wrap: wrap; }
	.menu__actions .btn { flex: 1; }
	.account { width: 100%; }
	.account summary { justify-content: flex-start; }
	.account__menu { position: static; margin-top: 8px; box-shadow: none; }
	.split, .split--even { grid-template-columns: 1fr; }
	.acc-layout { grid-template-columns: 1fr; }
	.acc-nav { position: static; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
	.acc-nav form { margin: 0; padding: 0; border: 0; }
	.stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mini-rank { position: static; }
	.steps { grid-template-columns: 1fr; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.wrap { padding-inline: 18px; }
	.features { grid-template-columns: 1fr; }
	.field-row { grid-template-columns: 1fr; }
	.news__item { grid-template-columns: 1fr; }
	.cta__inner { flex-direction: column; align-items: flex-start; }
	.hide-sm { display: none; }
	.table th, .table td { padding: 12px; }
	.captcha { grid-template-columns: 1fr 44px; }
	.captcha input { grid-column: 1 / -1; }
	.acc-head__avatar { width: 52px; height: 52px; font-size: 24px; border-radius: 14px; }
	.welcome { flex-direction: column; align-items: flex-start; }
	.chars { grid-template-columns: 1fr; }
	.acc-nav { grid-template-columns: 1fr 1fr; }
	.brand__name { font-size: 17px; }
	.hero__cta .btn { flex: 1 1 100%; }
	.status__rates strong { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
