/* PROJETO EXILE — landing. Sem frameworks e sem recursos de terceiros (só arquivos do próprio domínio). */
:root {
	--bg: #0b0b0f;
	--bg2: #111118;
	--panel: #16161d;
	--line: #2a2833;
	--gold: #ffd980;
	--gold2: #b8913f;
	--gold3: #7a5a22;
	--text: #e8e6f0;
	--muted: #a8a4b8;
	--ok: #4fd18b;
	--bad: #ff6b6b;
	--radius: 12px;
	--display: "Bahnschrift", "DIN Alternate", "Segoe UI", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
	--body: "Segoe UI", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.6 var(--body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- botões ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	font: 700 1rem/1 var(--display); letter-spacing: .04em;
	padding: .8em 1.4em; border-radius: 10px; border: 1px solid transparent;
	cursor: pointer; text-decoration: none !important; white-space: nowrap;
	transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-gold { background: linear-gradient(180deg, #ffe39e, #e0a948); color: #1a1205; border-color: #ffe7a8; }
.btn-gold:hover { box-shadow: 0 0 18px rgba(255, 200, 90, .35); }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }
.btn-play {
	position: relative; isolation: isolate;
	font-size: clamp(1.25rem, 2.6vw, 1.6rem); letter-spacing: .12em;
	padding: .85em 2.1em; border-radius: 14px;
	color: #1a1205; border: 1px solid #fff0c4;
	background: linear-gradient(180deg, #fff0bf 0%, #ffd673 45%, #d8962f 100%);
	box-shadow: 0 0 0 4px rgba(184, 145, 63, .25), 0 10px 30px rgba(0, 0, 0, .55), 0 0 40px rgba(255, 190, 80, .25);
	text-shadow: 0 1px 0 rgba(255, 255, 255, .45);
}
.btn-play::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
	box-shadow: 0 0 0 0 rgba(255, 210, 120, .55); animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 210, 120, .5); } 80%, 100% { box-shadow: 0 0 0 18px rgba(255, 210, 120, 0); } }
.btn-play:hover { transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(255, 217, 128, .45), 0 14px 34px rgba(0, 0, 0, .6), 0 0 60px rgba(255, 190, 80, .4); }
.btn-play-sm { font-size: 1.15rem; margin-top: 36px; }
.btn-social { background: rgba(22, 22, 29, .78); color: var(--text); border-color: #3a3746; backdrop-filter: blur(4px); min-width: 150px; }
.btn-social:hover { border-color: var(--gold2); color: var(--gold); }
.btn-discord:hover { color: #b9c0ff; border-color: #5865f2; }
.btn-insta:hover { color: #ffb3d1; border-color: #d6249f; }
.btn-social.soon { opacity: .55; cursor: default; }
.btn-social.soon:hover { color: var(--text); border-color: #3a3746; }
.btn-social .soon-tag { font: 600 .7rem/1 var(--body); letter-spacing: .02em; color: var(--muted); margin-left: -.2em; }

/* ---------- topo ---------- */
.topbar {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	background: rgba(11, 11, 15, 0); border-bottom: 1px solid transparent;
	transition: background-color .25s, border-color .25s, backdrop-filter .25s;
}
.topbar.solid { background: rgba(11, 11, 15, .88); border-bottom-color: #22202a; backdrop-filter: blur(8px); }
.topbar-in { display: flex; align-items: center; gap: 24px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold); font: 700 1.05rem/1 var(--display); letter-spacing: .14em; text-decoration: none !important; }
.brand img { border-radius: 6px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: #cfcbdc; font-size: .95rem; }
.nav a:hover { color: var(--gold); text-decoration: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: grid; place-items: center; overflow: hidden; padding: 96px 0 72px; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg img { transform: scale(1.04); animation: drift 30s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.12) translate(-1.5%, -1%); } }
.hero-shade {
	position: absolute; inset: 0;
	background:
		radial-gradient(ellipse 60% 50% at 50% 42%, rgba(255, 190, 90, .10), transparent 70%),
		radial-gradient(ellipse at center, rgba(11, 11, 15, .25) 0%, rgba(11, 11, 15, .82) 75%),
		linear-gradient(180deg, rgba(11, 11, 15, .55) 0%, rgba(11, 11, 15, .1) 30%, rgba(11, 11, 15, .5) 75%, var(--bg) 100%);
}
.hero-in { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.logo { margin: 0; line-height: 0; }
.logo img { width: min(760px, 92vw); height: auto; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .7)); }
.tagline { margin-top: 10px; font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: #f1eef8; text-shadow: 0 2px 10px rgba(0, 0, 0, .9); max-width: 52ch; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.chips span {
	font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--gold);
	padding: 5px 12px; border: 1px solid rgba(184, 145, 63, .55); border-radius: 999px; background: rgba(11, 11, 15, .6);
}
.cta { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 34px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.mobile-note {
	margin-top: 22px; max-width: 460px; padding: 12px 16px; border-radius: 10px; font-size: .92rem; line-height: 1.45;
	background: rgba(42, 30, 10, .85); border: 1px solid var(--gold2); color: #f5e9cc;
}
.mobile-note strong { color: var(--gold); }
.status-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.status, .players {
	display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: #d8d4e4;
	padding: 6px 14px; border-radius: 999px; background: rgba(11, 11, 15, .7); border: 1px solid #2c2a36;
}
.players b { color: var(--gold); font-variant-numeric: tabular-nums; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #77748a; flex: none; }
.status[data-state="online"] { border-color: rgba(79, 209, 139, .45); }
.status[data-state="online"] .dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(79, 209, 139, .6); animation: live 2s infinite; }
.status[data-state="online"] .txt { color: #b7f3d0; }
.status[data-state="offline"] { border-color: rgba(255, 107, 107, .45); }
.status[data-state="offline"] .dot { background: var(--bad); }
.status[data-state="checking"] .dot { animation: blink 1s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(79, 209, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 209, 139, 0); } }
@keyframes blink { 50% { opacity: .3; } }
.scroll-hint { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; color: rgba(255, 217, 128, .7); animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- seções ---------- */
.section { padding: 88px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 12%, var(--bg2) 88%, var(--bg) 100%); }
.sec-title { text-align: center; font-size: clamp(1.7rem, 3.6vw, 2.4rem); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.sec-title span { display: inline-flex; align-items: center; gap: 18px; }
.sec-title span::before, .sec-title span::after { content: ""; width: 54px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold2)); }
.sec-title span::after { transform: scaleX(-1); }
.sec-sub { text-align: center; color: var(--muted); margin: 12px auto 40px; max-width: 60ch; }

/* trailer */
.video-frame {
	max-width: 960px; margin: 0 auto; border-radius: var(--radius); overflow: hidden;
	border: 1px solid var(--gold3); background: #000;
	box-shadow: 0 0 0 4px rgba(184, 145, 63, .12), 0 24px 60px rgba(0, 0, 0, .6);
}
.video-frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }

/* recursos */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
	position: relative; padding: 26px 24px 24px; border-radius: var(--radius);
	background: linear-gradient(180deg, #191920, #121218); border: 1px solid var(--line);
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-3px); border-color: var(--gold3); box-shadow: 0 12px 30px rgba(0, 0, 0, .45), 0 0 24px rgba(255, 190, 80, .07); }
.ficon {
	width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 16px;
	color: var(--gold); background: radial-gradient(circle at 30% 25%, rgba(255, 217, 128, .2), rgba(255, 217, 128, .04)); border: 1px solid rgba(184, 145, 63, .45);
}
.ficon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.2rem; letter-spacing: .02em; color: #fff3d6; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .97rem; }

/* galeria */
.carousel { outline: none; }
.car-stage { position: relative; max-width: 1000px; margin: 0 auto; }
.car-figure {
	margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: #000;
	border: 1px solid var(--gold3); box-shadow: 0 0 0 4px rgba(184, 145, 63, .12), 0 24px 60px rgba(0, 0, 0, .6);
}
.car-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; cursor: zoom-in; transition: opacity .25s ease; }
.car-img.fading { opacity: .15; }
.car-cap {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 20px 14px;
	background: linear-gradient(180deg, transparent, rgba(5, 5, 8, .88)); color: #f6efdc; font: 600 1.05rem/1.3 var(--display); letter-spacing: .03em;
}
.car-nav {
	position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 46px; height: 46px; border-radius: 50%;
	border: 1px solid var(--gold2); background: rgba(11, 11, 15, .75); color: var(--gold); font-size: 30px; line-height: 1; cursor: pointer;
	display: grid; place-items: center; padding-bottom: 4px; transition: background-color .2s, transform .15s;
}
.car-nav:hover { background: rgba(40, 30, 12, .9); }
.car-nav.prev { left: -23px; }
.car-nav.next { right: -23px; }
.car-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 18px 4px 8px; max-width: 1000px; margin: 0 auto; scrollbar-width: thin; scrollbar-color: var(--gold3) transparent; }
.car-thumbs button { flex: none; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #000; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.car-thumbs button:hover { opacity: .85; }
.car-thumbs button[aria-selected="true"] { opacity: 1; border-color: var(--gold); }
.car-thumbs img { width: 128px; height: 72px; object-fit: cover; }

/* passos */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 34px 24px 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); text-align: center; }
.step .num {
	display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 14px;
	font: 800 1.5rem/1 var(--display); color: #1a1205; background: linear-gradient(180deg, #fff0bf, #d8962f); box-shadow: 0 0 0 4px rgba(184, 145, 63, .25);
}
.step h3 { font-size: 1.2rem; color: #fff3d6; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .97rem; }

/* ranking */
/* Mural de Fundadores */
.founders { display: grid; gap: 14px; margin-top: 26px; }
.founders-tier { border: 1px solid #9a6a3a; border-radius: 10px; padding: 12px 16px; background: var(--panel); }
.founders-tier h3 { margin: 0 0 8px; font-size: 1.05rem; color: #d98c4d; }
.founders-tier ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.founders-tier li { font-weight: 600; }
.founders-tier.tier-prata { border-color: #b8c2d2; }
.founders-tier.tier-prata h3 { color: #cfd8e6; }
.founders-tier.tier-ouro { border-color: var(--gold2); background: linear-gradient(90deg, rgba(255, 217, 128, .14), var(--panel) 70%); }
.founders-tier.tier-ouro h3 { color: var(--gold2); font-size: 1.25rem; }
.founders-tier.tier-ouro li { color: var(--gold2); font-size: 1.08rem; }
.rank { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 8px; }
.rank-row {
	display: grid; grid-template-columns: 52px 1.3fr 1.3fr auto; align-items: center; gap: 12px;
	padding: 12px 18px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line);
}
.rank-row.top1 { border-color: var(--gold2); background: linear-gradient(90deg, rgba(255, 217, 128, .12), var(--panel) 60%); }
.rank-row.top2 { border-color: #8d8aa0; }
.rank-row.top3 { border-color: #9a6a3a; }
.rk { font: 800 1.15rem/1 var(--display); color: var(--gold); }
.who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #f4f1fa; }
.vip { font: 700 .68rem/1 var(--body); font-style: normal; letter-spacing: .05em; color: #1a1205; background: linear-gradient(180deg, #fff0bf, #d8962f); padding: 3px 6px; border-radius: 5px; }
.mon { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shiny { font-style: normal; color: var(--gold); margin-right: 4px; }
.prog { color: var(--muted); font-size: .92rem; text-align: right; white-space: nowrap; }
.atlas { color: var(--gold); }
.rank-empty { text-align: center; color: var(--gold); margin-top: 20px; font-weight: 600; }
@media (max-width: 760px) {
	.rank-row { grid-template-columns: 40px 1fr auto; gap: 4px 10px; padding: 10px 12px; }
	.rank-row .mon { grid-column: 2 / 3; grid-row: 2; font-size: .88rem; }
	.rank-row .prog { grid-row: 1 / 3; grid-column: 3; }
	.rank-row .rk { grid-row: 1 / 3; }
}

/* faq */
.faq { display: grid; gap: 10px; margin-top: 36px; }
.faq details { border-radius: 10px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: var(--gold3); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 600; position: relative; color: #f4f1fa; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; font-size: 1.4rem; color: var(--gold); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 20px 18px; color: var(--muted); }
.faq b { color: var(--gold); }

/* cta final */
.final { padding: 90px 0 100px; background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(255, 190, 90, .09), transparent 70%); border-top: 1px solid #1c1b23; }
.final h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--gold); letter-spacing: .06em; }
.final p { color: var(--muted); margin: 10px 0 30px; }

/* rodapé */
.footer { border-top: 1px solid #22202a; background: #08080b; padding: 34px 0 40px; }
.footer-in { display: grid; grid-template-columns: auto 1fr; gap: 14px 30px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--gold); font: 700 .95rem/1 var(--display); letter-spacing: .14em; }
.foot-brand img { border-radius: 5px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; }
.foot-links a { color: #cfcbdc; font-size: .93rem; }
.foot-links a:hover { color: var(--gold); }
.foot-links a.soon { color: #6f6b80; pointer-events: none; }
.disclaimer { grid-column: 1 / -1; color: #7d7990; font-size: .82rem; line-height: 1.5; border-top: 1px solid #1a1920; padding-top: 16px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .92); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1600px, 100%); max-height: 100%; border-radius: 8px; box-shadow: 0 0 60px rgba(0, 0, 0, .8); }
.lb-close { position: absolute; top: 14px; right: 18px; font-size: 38px; line-height: 1; color: var(--gold); background: none; border: 0; cursor: pointer; }

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
	.features { grid-template-columns: repeat(2, 1fr); }
	.car-nav.prev { left: 8px; }
	.car-nav.next { right: 8px; }
}
@media (max-width: 760px) {
	.nav { display: none; }
	.topbar-in { justify-content: space-between; }
	.brand span { font-size: .95rem; }
	.section { padding: 64px 0; }
	.features, .steps { grid-template-columns: 1fr; }
	.footer-in { grid-template-columns: 1fr; text-align: center; }
	.foot-brand, .foot-links { justify-content: center; }
	.car-cap { font-size: .92rem; padding: 26px 14px 10px; }
	.car-nav { width: 38px; height: 38px; font-size: 24px; }
	.car-thumbs img { width: 96px; height: 54px; }
	.sec-title span::before, .sec-title span::after { width: 24px; }
	.hero { padding-top: 84px; }
	.btn-social { min-width: 0; padding: .7em 1em; font-size: .92rem; }
	.cta-row { gap: 10px; flex-wrap: nowrap; }
	.btn-social .soon-tag { display: none; }
}
