/* =========================================================
   MUNDO DE MEDIZ — tema moderno (dark + dourado)
   ========================================================= */

:root {
	--bg: #0a0705;
	--bg-alt: #120c08;
	--panel: #17110c;
	--panel-2: #1d150e;
	--border: rgba(248, 205, 75, 0.16);
	--border-strong: rgba(248, 205, 75, 0.35);
	--gold: #f0c24b;
	--gold-bright: #ffd873;
	--red: #8b1a1a;
	--red-bright: #c0392b;
	--green: #3ecf6e;
	--text: #ece3d4;
	--text-muted: #a99a83;
	--text-dim: #7a6d5c;
	--radius: 10px;
	--radius-sm: 6px;
	--shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
	--maxw: 1180px;
	--header-h: 68px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: radial-gradient(1200px 600px at 50% -10%, #241a10 0%, var(--bg) 55%) fixed, var(--bg);
	color: var(--text);
	font-family: "Segoe UI", Verdana, Arial, Helvetica, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
	font-family: Georgia, "Times New Roman", serif;
	margin: 0 0 .5em;
	color: var(--gold-bright);
	letter-spacing: .02em;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

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

/* =========================================================
   Header / Navegação
   ========================================================= */

#site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(10, 7, 5, 0.9);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--border);
}

.nav-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
	gap: 16px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: Georgia, serif;
	font-size: 22px;
	font-weight: bold;
	color: var(--gold-bright);
	white-space: nowrap;
}

.brand img { width: 46px; height: 46px; object-fit: contain; }

.brand small {
	display: block;
	font-family: "Segoe UI", Verdana, sans-serif;
	font-size: 10px;
	font-weight: normal;
	letter-spacing: .12em;
	color: var(--text-dim);
	text-transform: uppercase;
}

#nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	color: var(--gold);
	width: 42px;
	height: 38px;
	font-size: 18px;
	cursor: pointer;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1;
	justify-content: center;
}

.nav-links a {
	display: block;
	padding: 10px 14px;
	border-radius: var(--radius-sm);
	color: var(--text);
	font-size: 14px;
	font-weight: 600;
	transition: background .15s, color .15s;
}

.nav-links a:hover,
.nav-links a.current {
	background: rgba(248, 205, 75, 0.1);
	color: var(--gold-bright);
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.nav-social {
	display: flex;
	gap: 8px;
}

.nav-social a {
	width: 30px; height: 30px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: rgba(255,255,255,0.04);
	border: 1px solid var(--border);
}

.nav-social img { width: 16px; height: 16px; }

.btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 18px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 13px;
	border: 1px solid transparent;
	cursor: pointer;
	white-space: nowrap;
	transition: transform .12s, box-shadow .12s, background .15s;
}

.btn:hover { transform: translateY(-1px); }

.btn-gold {
	background: linear-gradient(180deg, var(--gold-bright), var(--gold));
	color: #241705;
	box-shadow: 0 4px 14px rgba(240, 194, 75, 0.25);
}
.btn-gold:hover { color: #241705; box-shadow: 0 6px 18px rgba(240, 194, 75, 0.4); }

.btn-outline {
	background: transparent;
	color: var(--gold);
	border-color: var(--border-strong);
}
.btn-outline:hover { color: var(--gold-bright); border-color: var(--gold); }

/* =========================================================
   Hero
   ========================================================= */

#hero {
	position: relative;
	overflow: hidden;
	background-color: #050302;
	padding: 68px 0 46px;
	text-align: center;
}

#hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url('../imagens/fundo-top.jpg') center 22% / cover no-repeat;
	z-index: 0;
}

.hero-bg-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 22%;
	z-index: 1;
}

#hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(120% 90% at 50% 40%, rgba(10,7,5,0) 45%, rgba(10,7,5,.55) 100%),
		linear-gradient(180deg, rgba(10,7,5,.45) 0%, rgba(10,7,5,0) 16%, rgba(10,7,5,0) 70%, var(--bg) 97%),
		linear-gradient(90deg, rgba(10,7,5,.75), rgba(10,7,5,.35) 45%, rgba(10,7,5,.75));
	z-index: 2;
}

#hero-fx {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 3;
	pointer-events: none;
}

#hero .container { position: relative; z-index: 4; }

.hero-logo {
	width: 120px;
	height: 120px;
	object-fit: contain;
	margin: 0 auto 14px;
	filter: drop-shadow(0 6px 18px rgba(0,0,0,.6));
}

#hero .eyebrow {
	display: inline-block;
	font-size: 12px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--gold);
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	padding: 5px 14px;
	margin-bottom: 18px;
	background: rgba(0,0,0,0.35);
}

#hero h1 {
	font-size: clamp(32px, 5vw, 54px);
	margin-bottom: 10px;
	text-shadow: 0 4px 24px rgba(0,0,0,.7);
}

#hero p.tagline {
	color: var(--text-muted);
	max-width: 560px;
	margin: 0 auto 26px;
	font-size: 16px;
}

.hero-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.hero-actions .btn { padding: 12px 26px; font-size: 14px; }

/* =========================================================
   Layout principal (3 colunas)
   ========================================================= */

#contents { padding: 34px 0 10px; }

.dashboard {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr) 260px;
	gap: 20px;
	align-items: start;
}

.col-side { display: flex; flex-direction: column; gap: 18px; }
.col-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

/* =========================================================
   Card (componente base)
   ========================================================= */

.card {
	background: linear-gradient(180deg, var(--panel-2), var(--panel));
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--border);
	background: rgba(255,255,255,0.02);
}

.card-head h3 {
	margin: 0;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--gold);
}

.card-head a.more { font-size: 12px; color: var(--text-muted); }
.card-head a.more:hover { color: var(--gold); }

.card-body { padding: 14px 16px; }
.card-body.no-pad { padding: 0; }
.card-body + .card-body.no-pad { padding-top: 0; }

/* Card de destaque (feature) */
.feature-card { border-color: var(--border-strong); box-shadow: var(--shadow), 0 0 0 1px rgba(240,194,75,0.06) inset; }
.badge-new {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #241705;
	background: linear-gradient(180deg, var(--gold-bright), var(--gold));
	border-radius: 999px;
	padding: 2px 8px;
	margin-left: 6px;
	vertical-align: middle;
}
.feature-text { margin: 0; font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }
.feature-text strong { color: var(--gold-bright); }
.feature-text + .feature-text { margin-top: 10px; }
.feature-hype strong { color: #ff8f6b; }

/* Minha conta */

.account-actions { display: flex; flex-direction: column; gap: 10px; }

.account-actions a {
	display: block;
	padding: 11px 14px;
	border-radius: var(--radius-sm);
	font-weight: 700;
	font-size: 13.5px;
	text-align: center;
}

.account-actions a.primary {
	background: linear-gradient(180deg, var(--gold-bright), var(--gold));
	color: #241705;
}
.account-actions a.primary small { display: block; font-weight: 400; font-size: 11px; opacity: .75; }

.account-actions a.secondary {
	border: 1px solid var(--border-strong);
	color: var(--text);
}
.account-actions a.secondary:hover { border-color: var(--gold); color: var(--gold-bright); }

/* Status */

.status-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.status-list li {
	display: flex; align-items: center; justify-content: space-between;
	font-size: 13px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.status-list li:last-child { border-bottom: none; padding-bottom: 0; }

.status-dot { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12px; }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--text-dim); }
.status-dot.online { color: var(--green); }
.status-dot.online::before { background: var(--green); box-shadow: 0 0 8px var(--green); }
.status-dot.offline { color: #e05a5a; }
.status-dot.offline::before { background: #e05a5a; box-shadow: 0 0 8px #e05a5a; }

.status-frame-wrap { min-height: 14px; }
.status-frame-wrap iframe { display: block; }

.online-count-wrap { margin-top: 12px; }
.online-count-wrap iframe { display: block; }

.maintenance-note {
	margin-top: 12px;
	padding: 10px 12px;
	background: rgba(139, 26, 26, 0.18);
	border: 1px solid rgba(192, 57, 43, 0.35);
	border-radius: var(--radius-sm);
	font-size: 12px;
	text-align: center;
}
.maintenance-note strong { display: block; color: var(--gold-bright); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }

/* Ranking / widgets em iframe (dados vivos do banco) */

.iframe-card iframe { width: 100%; border: 0; display: block; }

/* Banner rotativo */

.banner-rotativo { position: relative; }
.banner-rotativo .slides { position: relative; aspect-ratio: 346 / 157; overflow: hidden; }
.banner-rotativo .slides a { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.banner-rotativo .slides a.active { opacity: 1; }
.banner-rotativo .slides img { width: 100%; height: 100%; object-fit: cover; }

.slide-card {
	width: 100%; height: 100%;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center;
	padding: 20px;
	background:
		linear-gradient(180deg, rgba(10,7,5,.35), rgba(10,7,5,.75)),
		url('../imagens/fundo-top.jpg') center 15% / cover no-repeat;
}
.slide-card.slide-br {
	background:
		linear-gradient(180deg, rgba(10,7,5,.35), rgba(10,7,5,.75)),
		url('../imagens/banners/battle-royale.jpg') center 15% / cover no-repeat;
}

.slide-card .eyebrow {
	font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
	color: var(--gold); margin-bottom: 8px;
}
.slide-card h4 {
	margin: 0 0 6px; color: var(--gold-bright); font-size: 22px;
}
.slide-card p {
	margin: 0 0 14px; color: var(--text-muted); font-size: 13px; max-width: 320px;
}

.banner-controls {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: space-between;
	padding: 0 8px; pointer-events: none;
}
.banner-controls button {
	pointer-events: auto;
	width: 34px; height: 34px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.25);
	background: rgba(0,0,0,0.45);
	color: #fff;
	font-size: 16px;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.banner-controls button:hover { background: rgba(0,0,0,0.7); }

.banner-dots {
	display: flex; gap: 6px; justify-content: center;
	padding: 10px 0 12px;
}
.banner-dots button {
	width: 7px; height: 7px; border-radius: 50%;
	border: none; background: var(--border-strong); cursor: pointer; padding: 0;
}
.banner-dots button.active { background: var(--gold); }

/* Novidades */

.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li {
	display: flex; align-items: baseline; gap: 8px;
	padding: 9px 0; border-bottom: 1px solid var(--border);
	font-size: 13px;
}
.news-list li:last-child { border-bottom: none; }
.news-list .tag {
	flex-shrink: 0; font-size: 10px; font-weight: 700; text-transform: uppercase;
	color: var(--gold); background: rgba(240,194,75,0.1); border-radius: 4px; padding: 2px 6px;
}
.news-list a { color: var(--text); flex: 1; }
.news-list a:hover { color: var(--gold-bright); }
.news-list .date { flex-shrink: 0; font-size: 11px; color: var(--text-dim); }

.news-empty { font-size: 13px; color: var(--text-muted); text-align: center; padding: 6px 0; }

.news-cats { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); }
.news-cats a {
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
	padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text-muted);
}
.news-cats a:hover { color: var(--gold-bright); border-color: var(--gold); }

/* Loja */

.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.shop-grid a {
	display: block; border: 1px solid var(--border); border-radius: var(--radius-sm);
	overflow: hidden; background: rgba(255,255,255,0.02);
}
.shop-grid a:hover { border-color: var(--border-strong); }
.shop-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #000; padding: 6px; }

/* Multimídia */

.media-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.media-links a {
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	padding: 16px 8px; border-radius: var(--radius-sm);
	border: 1px solid var(--border); font-size: 12px; font-weight: 700; color: var(--text);
	text-align: center;
}
.media-links a:hover { border-color: var(--gold); color: var(--gold-bright); }
.media-links .ico { font-size: 20px; }

/* Comunidades / footer social */

.community-grid { display: flex; justify-content: center; gap: 16px; padding: 4px 0; }
.community-grid a {
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	font-size: 11px; color: var(--text-muted); font-weight: 600;
}
.community-grid img { width: 30px; height: 30px; }
.community-grid a:hover { color: var(--gold-bright); }

/* Última atualização */

.update-box { text-align: center; }
.update-box .date { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; }
.update-box p { margin: 6px 0 12px; font-size: 13px; color: var(--text-muted); }

/* =========================================================
   Páginas internas (Downloads, etc.)
   ========================================================= */

.page-narrow { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.page-head { text-align: center; }
.page-head h1 { font-size: 32px; margin-bottom: 6px; }
.page-head p { color: var(--text-muted); margin: 0; }

.callout .card-body { border-left: 3px solid var(--gold); }
.callout-title { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--gold-bright); }
.callout-text { margin: 0 0 14px; color: var(--text-muted); font-size: 13.5px; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: baseline; font-size: 13.5px; color: var(--text); }
.steps li::before {
	counter-increment: step;
	content: counter(step);
	flex-shrink: 0;
	width: 22px; height: 22px;
	border-radius: 50%;
	background: rgba(240,194,75,0.12);
	color: var(--gold);
	font-size: 12px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
}
.mono { font-family: "Consolas", monospace; background: rgba(255,255,255,0.06); padding: 2px 8px; border-radius: 4px; color: #9fd8ff; }
.mono.highlight { color: #4ee69a; background: #000; }

.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.req-col h4 { margin: 0 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); }
.req-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.req-col li { font-size: 13px; color: var(--text-muted); padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.req-col li strong { color: var(--text); }
.req-col li:last-child { border-bottom: none; }

.age-rating { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-muted); }
.age-rating img { width: 40px; height: 40px; border-radius: 6px; }

.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.download-item { text-align: center; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.download-item .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.download-item p { margin: 0; font-size: 12.5px; color: var(--text-muted); }

@media (max-width: 600px) {
	.req-grid, .download-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Footer
   ========================================================= */

#site-footer {
	margin-top: 50px;
	border-top: 1px solid var(--border);
	padding: 28px 0;
	text-align: center;
	color: var(--text-dim);
	font-size: 12px;
}
#site-footer a { color: var(--text-muted); }
#site-footer a:hover { color: var(--gold); }

/* =========================================================
   Responsivo
   ========================================================= */

@media (max-width: 980px) {
	.dashboard { grid-template-columns: 1fr 1fr; }
	.col-main { grid-column: 1 / -1; order: -1; }
}

@media (max-width: 760px) {
	#nav-toggle { display: block; }
	.nav-links {
		position: absolute; top: var(--header-h); left: 0; right: 0;
		flex-direction: column; align-items: stretch;
		background: rgba(10,7,5,0.98); border-bottom: 1px solid var(--border);
		padding: 8px 16px 14px;
		display: none;
	}
	.nav-links.open { display: flex; }
	.nav-links a { padding: 12px 10px; }
	.nav-social { display: none; }
	.dashboard { grid-template-columns: 1fr; }
	.shop-grid, .media-links { grid-template-columns: repeat(3, 1fr); }
	#hero { padding: 44px 0 34px; }
	.hero-logo { width: 84px; height: 84px; }

	.container { padding: 0 14px; }
	.nav-bar { gap: 8px; }
	.brand { font-size: 16px; gap: 6px; }
	.brand img { width: 34px; height: 34px; }
	.brand small { display: none; }
	.nav-actions .btn { padding: 8px 14px; font-size: 12px; }
}

@media (max-width: 400px) {
	.brand span { display: none; }
}

/* ------------------------------------------------------------------
   Card de dungeon/evento com banner (2026-10-03) - mesmo estilo da
   janela da Nadia no jogo: arte em cima com moldura dourada, titulo
   em serifa dourada, selos de regra e botao vermelho com borda dourada.
   ------------------------------------------------------------------ */
.dungeon-card { overflow: hidden; }
.dungeon-hero {
	position: relative;
	height: 220px;
	background: #0a0705 center 30% / cover no-repeat;
	border-bottom: 1px solid var(--border-strong);
}
.dungeon-hero::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(10,7,5,0) 30%, rgba(10,7,5,.55) 70%, rgba(10,7,5,.95) 100%);
	box-shadow: inset 0 0 0 1px rgba(240,194,75,.28), inset 0 0 60px rgba(0,0,0,.55);
	pointer-events: none;
}
.dungeon-hero-title {
	position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 1;
}
.dungeon-hero-title .eyebrow {
	display: block;
	font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
	color: var(--gold); margin-bottom: 4px;
	text-shadow: 0 1px 2px #000;
}
.dungeon-hero-title h3 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 26px; font-weight: 700; letter-spacing: .04em;
	color: var(--gold-bright);
	text-shadow: 0 2px 4px #000, 0 0 18px rgba(0,0,0,.8);
}
.dungeon-chips {
	list-style: none; margin: 0 0 14px; padding: 0;
	display: flex; flex-wrap: wrap; gap: 8px;
}
.dungeon-chips li {
	border: 1px solid var(--border-strong);
	background: rgba(240,194,75,.07);
	border-radius: 999px;
	padding: 5px 12px;
	font-size: 12px; color: var(--text-muted);
}
.dungeon-chips li strong { color: var(--gold-bright); }
.dungeon-rules {
	margin: 12px 0 0; padding: 12px 14px;
	border-left: 3px solid var(--red-bright);
	background: rgba(139,26,26,.12);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-size: 13px; color: var(--text-muted); line-height: 1.6;
}
.dungeon-rules strong { color: #ff8f6b; }
.dungeon-cta { margin-top: 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dungeon-cta small { color: var(--text-dim); font-size: 12px; }
.btn-crimson {
	display: inline-block;
	padding: 10px 26px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 14px; font-weight: 700; letter-spacing: .08em;
	color: #f0ce82;
	background: linear-gradient(180deg, #681a12, #2e0808);
	border: 1px solid #ba8e3e;
	box-shadow: 0 0 0 1px #1a1006, inset 0 1px 0 rgba(220,120,80,.25);
	border-radius: 3px;
	text-shadow: 0 1px 0 #000;
	text-decoration: none;
}
.btn-crimson:hover {
	color: #ffecaa;
	background: linear-gradient(180deg, #96281a, #4a0e0a);
	border-color: #ffd66e;
}
.slide-card.slide-ilha {
	background:
		linear-gradient(180deg, rgba(10,7,5,.30), rgba(10,7,5,.78)),
		url('../imagens/banners/ilha-tropical.jpg') center 30% / cover no-repeat;
}
@media (max-width: 640px) {
	.dungeon-hero { height: 160px; }
	.dungeon-hero-title h3 { font-size: 21px; }
}
