/* ============================================================
   EmperiumBR — Página provisória (antes da inauguração)
   Página solta, sem build: é só subir esta pasta inteira para o
   Gerenciador de Arquivos da Hostinger enquanto o site de verdade
   fica guardado (pasta frontend/).
   ============================================================ */

:root {
	--emp-bg: #0a0e1a;
	--emp-blue: #4f7fe8;
	--emp-blue-dark: #3a63c4;
	--emp-blue-light: #7ba3f0;
	--emp-purple: #9c6bf0;
	--emp-lime: #c6f03c;
	--emp-gold: #f0c95a;
	--emp-text: #f0f3fa;
	--emp-text-muted: #a3adc7;
	--emp-card: rgba(15, 18, 34, 0.7);
	--emp-border: rgba(255, 255, 255, 0.1);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
	color: var(--emp-text);
	background: var(--emp-bg);
	line-height: 1.55;
}

/* Arte do servidor ao fundo, escurecida e desfocada. */
.bg {
	position: fixed;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(10, 14, 26, 0.5) 0%, rgba(10, 14, 26, 0.92) 38%, var(--emp-bg) 60%),
		radial-gradient(60% 50% at 15% 10%, rgba(156, 107, 240, 0.25), transparent 60%),
		url('img/fundo.jpg') center top / cover no-repeat;
	filter: saturate(1.1);
}

.wrap {
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
	padding: 32px 16px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
}

/* ---- topo */
.top {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.logo {
	width: min(360px, 80vw);
	height: auto;
	filter: drop-shadow(0 6px 18px rgba(156, 107, 240, 0.45));
}

.badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.badge {
	font-family: 'Baloo 2', sans-serif;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.5px;
	padding: 6px 16px;
	border-radius: 999px;
	border: 1px solid;
}

.badge-dev {
	color: #ffcc1a;
	border-color: rgba(255, 204, 26, 0.6);
	background: rgba(255, 204, 26, 0.1);
}

.badge-gold {
	color: var(--emp-lime);
	border-color: rgba(198, 240, 60, 0.6);
	background: rgba(198, 240, 60, 0.1);
}

/* ---- vídeo no centro */
.player {
	width: 100%;
	max-width: 960px;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid rgba(156, 107, 240, 0.45);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 60px rgba(156, 107, 240, 0.25);
	background: #000;
}

.player video {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
}

/* ---- votos (logo abaixo do vídeo) */
.vote {
	width: 100%;
	max-width: 960px;
	text-align: center;
}

.vote h2 {
	margin-bottom: 2px;
	font-size: 24px;
}

.vote-sub {
	margin: 0 0 14px;
	color: var(--emp-text-muted);
	font-size: 14px;
}

.vote-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.vote-link {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	width: 320px;
	max-width: 100%;
	padding: 10px 12px 10px 10px;
	border-radius: 16px;
	text-decoration: none;
	color: var(--emp-text);
	text-align: left;
	background: var(--emp-card);
	border: 1.5px solid rgba(240, 201, 90, 0.5);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
	transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.vote-link:hover {
	transform: translateY(-2px);
	border-color: var(--emp-gold);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45), 0 0 24px rgba(240, 201, 90, 0.25);
}

.vote-icon {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: radial-gradient(circle at 50% 40%, rgba(240, 201, 90, 0.28), rgba(240, 201, 90, 0.06) 70%);
	border: 1px solid rgba(240, 201, 90, 0.35);
}

/* Ícones de item do Ragnarok (24x24) ampliados sem borrar. */
.vote-icon img {
	width: 40px;
	height: 40px;
	image-rendering: pixelated;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5));
}

.vote-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1;
	line-height: 1.2;
}

.vote-text strong {
	font-family: 'Baloo 2', sans-serif;
	font-weight: 800;
	font-size: 17px;
	color: var(--emp-gold);
}

.vote-text small {
	font-size: 12px;
	font-weight: 700;
	color: var(--emp-text-muted);
}

.vote-go {
	flex-shrink: 0;
	padding: 7px 16px;
	border-radius: 999px;
	font-family: 'Baloo 2', sans-serif;
	font-weight: 800;
	font-size: 15px;
	color: #16300a;
	background: linear-gradient(#dcff6e, #79c81c);
	animation: vote-pulse 1.8s ease-out infinite;
}

.vote-pixel {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

@keyframes vote-pulse {
	0% { box-shadow: 0 0 0 0 rgba(198, 240, 60, 0.55); }
	70% { box-shadow: 0 0 0 10px rgba(198, 240, 60, 0); }
	100% { box-shadow: 0 0 0 0 rgba(198, 240, 60, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.vote-go {
		animation: none;
	}
}

/* ---- informações */
.info {
	width: 100%;
}

h2 {
	font-family: 'Baloo 2', sans-serif;
	font-weight: 800;
	font-size: 28px;
	text-align: center;
	margin: 0 0 16px;
	background: linear-gradient(135deg, #fff 0%, var(--emp-gold) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
	margin-bottom: 14px;
}

.stat,
.card {
	background: var(--emp-card);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--emp-border);
	border-radius: 16px;
}

.stat {
	padding: 16px 14px;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.stat-value {
	font-family: 'Baloo 2', sans-serif;
	font-weight: 800;
	font-size: 26px;
	color: var(--emp-text);
}

.stat-label {
	font-size: 13px;
	color: var(--emp-text-muted);
}

.grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.card {
	padding: 20px 22px;
}

.card-wide {
	grid-column: span 2;
}

@media (max-width: 900px) {
	.grid {
		grid-template-columns: 1fr 1fr;
	}

	.stats {
		grid-template-columns: 1fr 1fr;
	}
}

h3 {
	font-family: 'Baloo 2', sans-serif;
	font-weight: 800;
	font-size: 20px;
	margin: 0 0 8px;
	color: var(--emp-blue-light);
}

.card p {
	margin: 0 0 8px;
	font-size: 15px;
}

.card p:last-child {
	margin-bottom: 0;
}

.muted {
	color: var(--emp-text-muted);
	font-size: 14px !important;
}

.hl {
	color: var(--emp-lime);
	font-weight: 800;
}

.rates,
.woe {
	list-style: none;
	margin: 12px 0 8px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.rates li,
.woe li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 8px 14px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
}

.rates strong,
.woe strong {
	font-family: 'Baloo 2', sans-serif;
	font-size: 18px;
}

.rates span {
	color: var(--emp-lime);
	font-weight: 800;
}

.rates small {
	font-family: 'Nunito', sans-serif;
	font-size: 12px;
	font-weight: 800;
	color: var(--emp-text-muted);
	margin-left: 4px;
}

.rates span.off {
	color: var(--emp-text-muted);
}

.woe span {
	color: var(--emp-gold);
	font-weight: 800;
}

.list {
	margin: 0;
	padding-left: 18px;
	font-size: 15px;
}

.list li + li {
	margin-top: 4px;
}

.tags {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tags li {
	font-size: 14px;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(79, 127, 232, 0.14);
	border: 1px solid rgba(123, 163, 240, 0.35);
}

/* ---- rodapé */
.foot {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.social {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.social-link {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	font-family: 'Baloo 2', sans-serif;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	color: #fff;
	transition: filter 0.15s ease, transform 0.15s ease;
}

.social-link:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.social-link img {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	padding: 2px;
}

.social-link.discord {
	background: linear-gradient(135deg, var(--emp-blue-light), var(--emp-blue-dark));
}

.social-link.instagram {
	background: linear-gradient(135deg, #f09433, #dc2743, #bc1888);
}

.copy {
	font-family: 'Baloo 2', sans-serif;
	font-weight: 600;
	font-size: 12px;
	color: var(--emp-text-muted);
	margin: 0;
}

@media (max-width: 520px) {
	.wrap {
		padding-top: 24px;
		gap: 22px;
	}

	.player {
		border-radius: 12px;
	}

	.grid {
		grid-template-columns: 1fr;
	}

	.card-wide {
		grid-column: auto;
	}

	.stats {
		grid-template-columns: 1fr 1fr;
	}

	.stat-value {
		font-size: 22px;
	}
}
