.page-hd {
	background-image: none!important;
	border-bottom: 1px solid #191432;
	margin-top: 5px;
	margin-bottom: 10px;
}
.fade {
	opacity: 1!important;
}
.jumbotron, .modal-content, .list-group-item {
	background-color: #0c0c0c;
}
.list-group-item:hover {
	background-color: black;
}
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 21px 0;
  border-radius: 4px;
}
.pagination > li {
  display: inline;
}
.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 10px 15px;
  line-height: 1.42857143;
  text-decoration: none;
  color: #ffffff;
  background-color: #000;
  border: 1px solid transparent;
  margin-left: -1px;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
}
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
  z-index: 2;
  color: white;
  background-color: #0d0c0c;
  border-color: #0d0c0c
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  z-index: 3;
  color: #ffffff;
  background-color: #140b48;
  border-color: transparent;
  cursor: default;
}
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  color: #ffffff;
  background-color: #007053;
  border-color: transparent;
  cursor: not-allowed;
}
.pagination-lg > li > a,
.pagination-lg > li > span {
  padding: 18px 27px;
  font-size: 19px;
  line-height: 1.3333333;
}
.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
  border-bottom-left-radius: 6px;
  border-top-left-radius: 6px;
}
.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
  border-bottom-right-radius: 6px;
  border-top-right-radius: 6px;
}
.pagination-sm > li > a,
.pagination-sm > li > span {
  padding: 6px 9px;
  font-size: 13px;
  line-height: 1.5;
}
.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
  border-bottom-left-radius: 3px;
  border-top-left-radius: 3px;
}
.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
}
.pager {
  padding-left: 0;
  margin: 21px 0;
  list-style: none;
  text-align: center;
}
.pager li {
  display: inline;
}
.pager li > a,
.pager li > span {
  display: inline-block;
  padding: 5px 14px;
  background-color: #00bc8c;
  border: 1px solid transparent;
  border-radius: 15px;
}
.pager li > a:hover,
.pager li > a:focus {
  text-decoration: none;
  background-color: #00dba3;
}
.pager .next > a,
.pager .next > span {
  float: right;
}
.pager .previous > a,
.pager .previous > span {
  float: left;
}
.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
  color: #dddddd;
  background-color: #00bc8c;
  cursor: not-allowed;
}

/* OusadiaMT2 - barra social */
.topbar {
	min-height: 32px;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.topbar .container {
	min-height: 32px;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #1e172e;
}

/* A barra superior deve exibir apenas o bloco social. */
.topbar .container > *:not(.social-links) {
	display: none !important;
}

.topbar .social-links {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	line-height: 1;
}

.topbar .social-links .social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin: 0 !important;
	font-size: 14px;
	text-decoration: none !important;
}

.topbar .social-links .tiktok {
	color: #ffffff;
}

.topbar .social-links .social:hover {
	transform: translateY(-1px);
	text-decoration: none !important;
}

/* OusadiaMT2 - correção definitiva da faixa superior.
   Cobre qualquer elemento legado que esteja vazando para dentro da topbar,
   mantendo somente os ícones sociais visíveis. */
.topbar {
	position: relative !important;
	z-index: 10000 !important;
	height: 32px !important;
	min-height: 32px !important;
	max-height: 32px !important;
	overflow: hidden !important;
	background: #1e172e !important;
}

.topbar::after {
	content: "" !important;
	position: absolute !important;
	inset: 0 !important;
	z-index: 1 !important;
	background: #1e172e !important;
	pointer-events: none !important;
}

.topbar .container {
	position: static !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 32px !important;
	min-height: 32px !important;
	padding: 0 !important;
	margin: 0 auto !important;
	background: transparent !important;
	box-shadow: none !important;
}

.topbar .social-links {
	position: absolute !important;
	left: 50% !important;
	top: 50% !important;
	transform: translate(-50%, -50%) !important;
	z-index: 2 !important;
	width: auto !important;
	height: 32px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 14px !important;
	white-space: nowrap !important;
}

.topbar .social-links .social {
	position: relative !important;
	z-index: 3 !important;
}

/* =========================================================
   OusadiaMT2 - feedback visual / hover geral
   ========================================================= */

/* Menu principal */
.navbar-dark .navbar-nav .nav-link {
	position: relative;
	transition:
		transform 160ms ease,
		color 160ms ease,
		text-shadow 160ms ease,
		filter 160ms ease;
}

.navbar-dark .navbar-nav .nav-link::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -2px;
	width: 0;
	height: 1px;
	background: #e6bd58;
	transform: translateX(-50%);
	transition: width 180ms ease;
	opacity: .9;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus-visible {
	transform: translateY(-2px);
	color: #f4c85d !important;
	text-shadow: 0 0 7px rgba(244, 200, 93, .38);
	filter: brightness(1.08);
	text-decoration: none !important;
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link:focus-visible::after {
	width: 72%;
}

.navbar-dark .navbar-nav .nav-link:hover .font-special-red,
.navbar-dark .navbar-nav .nav-link:focus-visible .font-special-red {
	filter: brightness(1.12);
}

/* Menu lateral da conta/admin */
.list-group-item-action {
	transition:
		transform 150ms ease,
		background-color 150ms ease,
		color 150ms ease,
		box-shadow 150ms ease;
}

.list-group-item-action:hover,
.list-group-item-action:focus-visible {
	transform: translateX(4px);
	background-color: #171717 !important;
	color: #e7c56a !important;
	box-shadow: inset 3px 0 0 #b58b2e;
	text-decoration: none !important;
}

/* Banners laterais: Download / Coin Shop / Community */
.btn-hover {
	display: block;
	overflow: hidden;
}

.btn-hover img {
	transition:
		transform 180ms ease,
		filter 180ms ease,
		opacity 180ms ease;
}

.btn-hover:hover img,
.btn-hover:focus-visible img {
	transform: scale(1.018);
	filter: brightness(1.10) contrast(1.02);
	opacity: .97;
}

/* Links do rodapé */
.footer-link {
	display: inline-block;
	position: relative;
	transition:
		transform 150ms ease,
		color 150ms ease,
		text-shadow 150ms ease;
}

.footer-link:hover,
.footer-link:focus-visible {
	transform: translateY(-2px);
	color: #b50000 !important;
	text-shadow: 0 0 6px rgba(181, 0, 0, .22);
	text-decoration: none !important;
}

/* Redes sociais */
.topbar .social-links .social {
	transition:
		transform 150ms ease,
		filter 150ms ease,
		opacity 150ms ease;
}

.topbar .social-links .social:hover,
.topbar .social-links .social:focus-visible {
	transform: translateY(-2px) scale(1.12) !important;
	filter: brightness(1.25);
	opacity: 1;
}

/* Botões de formulário / administração */
.btn,
button,
input[type="submit"],
input[type="button"] {
	transition:
		transform 140ms ease,
		filter 140ms ease,
		box-shadow 140ms ease;
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.btn:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible {
	transform: translateY(-1px);
	filter: brightness(1.08);
	box-shadow: 0 3px 9px rgba(0, 0, 0, .20);
}

/* Inputs e selects: feedback claro de foco */
.form-control {
	transition:
		border-color 150ms ease,
		box-shadow 150ms ease,
		background-color 150ms ease;
}

.form-control:focus {
	box-shadow: 0 0 0 2px rgba(181, 139, 46, .22);
}

/* Acessibilidade: remove animações quando o sistema pedir */
@media (prefers-reduced-motion: reduce) {
	.navbar-dark .navbar-nav .nav-link,
	.navbar-dark .navbar-nav .nav-link::after,
	.list-group-item-action,
	.btn-hover img,
	.footer-link,
	.topbar .social-links .social,
	.btn,
	button,
	input[type="submit"],
	input[type="button"],
	.form-control {
		transition: none !important;
		transform: none !important;
	}
}

/* OusadiaMT2 - centralização exata dos links do rodapé */
footer .list-inline {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 52px !important;
	padding-left: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

footer .list-inline-item,
footer .list-inline-item:not(:last-child) {
	margin: 0 !important;
}

footer .footer-link {
	margin-right: 0 !important;
}

/* OusadiaMT2 - seletor de idiomas premium e vetorial */
.language-menu-slot {
	width: 200px !important;
	min-width: 200px !important;
	height: 68px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	position: relative !important;
	z-index: 30 !important;
}

.language-dropdown {
	position: relative;
	width: 172px;
	margin: 0;
	font-family: "Segoe UI", Arial, sans-serif !important;
}

.language-dropdown > summary {
	list-style: none;
}

.language-dropdown > summary::-webkit-details-marker {
	display: none;
}

.language-dropdown-current {
	height: 36px;
	padding: 0 10px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 9px;
	border: 1px solid rgba(190, 151, 72, .52);
	border-radius: 5px;
	background: linear-gradient(180deg, rgba(34,24,24,.96), rgba(24,17,18,.97));
	color: #e8dcc7;
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: .1px;
	line-height: 1;
	cursor: pointer;
	user-select: none;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.035),
		0 3px 10px rgba(0,0,0,.2);
	transition:
		border-color 150ms ease,
		background 150ms ease,
		box-shadow 150ms ease,
		transform 150ms ease;
}

.language-dropdown-current:hover,
.language-dropdown-current:focus-visible {
	border-color: rgba(224, 183, 92, .85);
	background: linear-gradient(180deg, rgba(43,30,28,.98), rgba(28,19,19,.98));
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.05),
		0 4px 12px rgba(0,0,0,.26);
	transform: translateY(-1px);
	outline: none;
}

.language-dropdown[open] .language-dropdown-current {
	border-color: #c59b4e;
	background: linear-gradient(180deg, rgba(43,30,28,.99), rgba(28,19,19,.99));
}

.language-flag-svg {
	display: inline-block;
	width: 25px;
	height: 17px;
	flex: 0 0 25px;
	border-radius: 2px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	box-shadow:
		0 0 0 1px rgba(255,255,255,.12),
		0 1px 3px rgba(0,0,0,.35);
	image-rendering: auto;
}

.language-flag-svg.flag-br { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2032'%3E%0A%3Crect%20width='48'%20height='32'%20rx='2'%20fill='%23009739'/%3E%0A%3Cpath%20d='M24%204%2044%2016%2024%2028%204%2016Z'%20fill='%23FEDD00'/%3E%0A%3Ccircle%20cx='24'%20cy='16'%20r='7.7'%20fill='%23012169'/%3E%0A%3Cpath%20d='M16.8%2014.8c5.2-1.1%2010.2-.2%2014.4%202.2'%20fill='none'%20stroke='%23fff'%20stroke-width='1.6'/%3E%0A%3C/svg%3E"); }
.language-flag-svg.flag-pt { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2032'%3E%0A%3Crect%20width='19'%20height='32'%20rx='2'%20fill='%23046A38'/%3E%0A%3Cpath%20d='M17%200h29a2%202%200%200%201%202%202v28a2%202%200%200%201-2%202H17Z'%20fill='%23DA291C'/%3E%0A%3Ccircle%20cx='19'%20cy='16'%20r='6.1'%20fill='none'%20stroke='%23F4C430'%20stroke-width='1.7'/%3E%0A%3Cpath%20d='M16%2012.5h6v7h-6z'%20fill='%23fff'%20stroke='%23C8102E'%20stroke-width='1.1'/%3E%0A%3Ccircle%20cx='18'%20cy='14.5'%20r='.65'%20fill='%23003399'/%3E%3Ccircle%20cx='20'%20cy='14.5'%20r='.65'%20fill='%23003399'/%3E%0A%3Ccircle%20cx='19'%20cy='16.5'%20r='.65'%20fill='%23003399'/%3E%3Ccircle%20cx='18'%20cy='18.2'%20r='.65'%20fill='%23003399'/%3E%3Ccircle%20cx='20'%20cy='18.2'%20r='.65'%20fill='%23003399'/%3E%0A%3C/svg%3E"); }
.language-flag-svg.flag-es { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2032'%3E%0A%3Crect%20width='48'%20height='32'%20rx='2'%20fill='%23AA151B'/%3E%0A%3Crect%20y='8'%20width='48'%20height='16'%20fill='%23F1BF00'/%3E%0A%3Cpath%20d='M13%2012h4v8h-4z'%20fill='%23AA151B'/%3E%0A%3Cpath%20d='M14%2010.7h2v2h-2z'%20fill='%23F1BF00'%20stroke='%23AA151B'%20stroke-width='.5'/%3E%0A%3C/svg%3E"); }
.language-flag-svg.flag-en { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2032'%3E%0A%3Crect%20width='48'%20height='32'%20rx='2'%20fill='%23012169'/%3E%0A%3Cpath%20d='M0%200%2048%2032M48%200%200%2032'%20stroke='%23fff'%20stroke-width='7'/%3E%0A%3Cpath%20d='M0%200%2048%2032M48%200%200%2032'%20stroke='%23C8102E'%20stroke-width='3.2'/%3E%0A%3Cpath%20d='M24%200v32M0%2016h48'%20stroke='%23fff'%20stroke-width='10'/%3E%0A%3Cpath%20d='M24%200v32M0%2016h48'%20stroke='%23C8102E'%20stroke-width='5.4'/%3E%0A%3C/svg%3E"); }

.language-dropdown-name {
	flex: 1 1 auto;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-align: left;
	color: #e2d5c0;
}

.language-dropdown-chevron {
	flex: 0 0 auto;
	color: #bda67f;
	font-size: 12px;
	line-height: 1;
	margin-left: 2px;
	transition: transform 150ms ease, color 150ms ease;
}

.language-dropdown-current:hover .language-dropdown-chevron {
	color: #e0bd70;
}

.language-dropdown[open] .language-dropdown-chevron {
	transform: rotate(180deg);
	color: #e0bd70;
}

.language-dropdown-list {
	position: absolute;
	top: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	width: 188px;
	padding: 6px;
	border: 1px solid rgba(190,151,72,.5);
	border-radius: 6px;
	background: rgba(29,20,20,.985);
	box-shadow: 0 10px 24px rgba(0,0,0,.36);
	z-index: 9999;
}

.language-dropdown-item {
	min-height: 38px;
	padding: 7px 9px;
	display: flex;
	align-items: center;
	gap: 10px;
	border-radius: 4px;
	color: #d8cab6 !important;
	font-family: "Segoe UI", Arial, sans-serif !important;
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: .08px;
	text-align: left;
	text-transform: none !important;
	text-decoration: none !important;
	transition:
		background 140ms ease,
		color 140ms ease,
		transform 140ms ease;
}

.language-dropdown-item:hover,
.language-dropdown-item:focus-visible {
	background: rgba(255,255,255,.055);
	color: #ffffff !important;
	transform: translateX(2px);
	outline: none;
}

.language-dropdown-item.active {
	background: linear-gradient(90deg, rgba(181,139,46,.18), rgba(181,139,46,.07));
	color: #efd89f !important;
}

.language-dropdown-item.active::after {
	content: "✓";
	margin-left: auto;
	color: #d9ad55;
	font-size: 11px;
}

.language-dropdown-item-name {
	flex: 1 1 auto;
	white-space: nowrap;
}

@media (max-width: 991.98px) {
	.language-menu-slot {
		width: 100% !important;
		min-width: 100% !important;
		height: auto !important;
		padding: 10px 0 !important;
	}

	.language-dropdown {
		width: 176px;
	}
}

/* =========================================================
   OusadiaMT2 - contraste premium do menu sobre o novo BG
   ========================================================= */

/* Faixa discreta atrás do menu principal para estabilizar o contraste. */
.container > .navbar.navbar-dark {
	position: relative;
	background:
		linear-gradient(
			to bottom,
			rgba(23, 14, 12, .34) 0%,
			rgba(23, 14, 12, .24) 58%,
			rgba(23, 14, 12, .14) 100%
		);
	border-bottom: 1px solid rgba(238, 203, 130, .14);
	box-shadow:
		0 3px 12px rgba(0, 0, 0, .12),
		inset 0 -1px 0 rgba(255, 255, 255, .035);
}

/* Texto principal: troca o vermelho pelo marfim/dourado claro. */
.container > .navbar.navbar-dark .navbar-nav .nav-link {
	color: #f3e5c6 !important;
	font-weight: 700;
	text-shadow:
		0 1px 2px rgba(0, 0, 0, .92),
		0 0 5px rgba(0, 0, 0, .48);
	filter: none;
}

/* Caracteres chineses continuam dourados, mas com mais definição. */
.container > .navbar.navbar-dark .navbar-nav .nav-link .font-special-red {
	background-image: linear-gradient(
		to bottom,
		#fff0a8 0%,
		#ffc928 35%,
		#e6a300 100%
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #f4bf1f;
	text-shadow:
		0 1px 1px rgba(73, 38, 5, .72),
		0 0 4px rgba(255, 193, 37, .24);
	filter: drop-shadow(0 1px 1px rgba(0,0,0,.28));
}

/* Item ativo ganha um pequeno destaque sem ficar chamativo demais. */
.container > .navbar.navbar-dark .navbar-nav .nav-item.active .nav-link {
	color: #fff2cf !important;
	text-shadow:
		0 1px 2px rgba(0, 0, 0, .95),
		0 0 7px rgba(238, 192, 92, .25);
}

/* Hover mais evidente e coerente com a logo dourada. */
.container > .navbar.navbar-dark .navbar-nav .nav-link:hover,
.container > .navbar.navbar-dark .navbar-nav .nav-link:focus-visible {
	color: #fff4cf !important;
	text-shadow:
		0 1px 2px rgba(0, 0, 0, .95),
		0 0 8px rgba(255, 211, 113, .48);
	filter: brightness(1.06);
}

.container > .navbar.navbar-dark .navbar-nav .nav-link:hover .font-special-red,
.container > .navbar.navbar-dark .navbar-nav .nav-link:focus-visible .font-special-red {
	background-image: linear-gradient(
		to bottom,
		#fff8d5 0%,
		#ffd95a 40%,
		#f0b318 100%
	);
	filter:
		brightness(1.05)
		drop-shadow(0 1px 1px rgba(0,0,0,.32));
}

/* Linha animada do hover passa a usar ouro claro. */
.container > .navbar.navbar-dark .navbar-nav .nav-link::after {
	background: #f0c968;
	box-shadow: 0 0 5px rgba(240, 201, 104, .28);
}

/* Mantém o seletor de idioma legível dentro da nova faixa. */
.container > .navbar.navbar-dark .language-dropdown-current {
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.045),
		0 3px 10px rgba(0,0,0,.28);
}

/* Metin2 Invictus - logo original e brilho vermelho no hover */
.invictus-hero-logo {
	display: block;
	width: min(520px, 86vw);
	height: auto;
	max-height: none;
	object-fit: contain;
	margin: 0 auto;
	transition:
		transform 220ms ease,
		filter 220ms ease;
	transform-origin: center center;
	will-change: auto;
}

.hero-logo-content a:hover .invictus-hero-logo,
.hero-logo-content a:focus-visible .invictus-hero-logo {
	transform: scale(1.06);
	filter:
		drop-shadow(0 4px 10px rgba(0,0,0,.40))
		drop-shadow(0 0 7px rgba(255,25,25,.92))
		drop-shadow(0 0 19px rgba(195,0,0,.68));
}

@media (prefers-reduced-motion: reduce) {
	.invictus-hero-logo {
		transition: none !important;
	}

	.hero-logo-content a:hover .invictus-hero-logo,
	.hero-logo-content a:focus-visible .invictus-hero-logo {
		transform: none !important;
	}
}

/* =========================================================
   Metin2 Invictus - pétalas / brasas animadas na área principal
   ========================================================= */
.hero-logo-area {
	position: relative;
	overflow: visible;
	isolation: isolate;
	min-height: 390px;
	margin-bottom: 0 !important;
}

/* Mantém os painéis próximos da posição anterior e deixa o halo livre. */
.hero-logo-area + .wrapper {
	margin-top: 12px !important;
}

.hero-logo-content {
	position: relative;
	overflow: visible;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-logo-content > a {
	max-width: 100%;
	overflow: visible;
}

.hero-energy-effects {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	overflow: hidden;
}

/* Pétalas e partículas carmesim */
.hero-shard {
	position: absolute;
	left: var(--x);
	top: 112%;
	width: var(--w, 4px);
	height: var(--h, 22px);
	border-radius: 2px;
	opacity: 0;
	background:
		linear-gradient(
			to bottom,
			rgba(255, 110, 98, .98) 0%,
			rgba(255, 35, 35, .96) 28%,
			rgba(184, 0, 15, .84) 72%,
			rgba(100, 0, 9, 0) 100%
		);
	box-shadow:
		0 0 5px rgba(255, 25, 25, .82),
		0 0 11px rgba(180, 0, 0, .52);
	transform: rotate(var(--r, 28deg));
	animation: invictusShardRise var(--d, 6s) linear infinite;
	animation-delay: var(--delay, 0s);
}

@keyframes invictusShardRise {
	0% {
		opacity: 0;
		transform:
			translate3d(0, 20px, 0)
			rotate(var(--r, 28deg))
			scale(.55);
	}
	12% {
		opacity: .88;
	}
	68% {
		opacity: .64;
	}
	100% {
		opacity: 0;
		transform:
			translate3d(var(--drift, 70px), -330px, 0)
			rotate(calc(var(--r, 28deg) + 210deg))
			scale(1.05);
	}
}

/* Brasas/bolinhas luminosas pequenas */
.hero-ember {
	position: absolute;
	left: var(--x);
	top: 108%;
	width: var(--size, 5px);
	height: var(--size, 5px);
	border-radius: 50%;
	opacity: 0;
	background: #ff3939;
	box-shadow:
		0 0 5px #ff2020,
		0 0 12px rgba(200, 0, 0, .85);
	animation:
		invictusEmberFloat var(--d, 7s) ease-in infinite,
		invictusEmberPulse 900ms ease-in-out infinite alternate;
	animation-delay: var(--delay, 0s);
}

@keyframes invictusEmberFloat {
	0% {
		opacity: 0;
		transform: translate3d(0, 15px, 0) scale(.5);
	}
	15% {
		opacity: .95;
	}
	72% {
		opacity: .68;
	}
	100% {
		opacity: 0;
		transform:
			translate3d(var(--drift, -45px), -300px, 0)
			scale(.9);
	}
}

@keyframes invictusEmberPulse {
	from { filter: brightness(.88); }
	to   { filter: brightness(1.35); }
}

/* Distribuição dos estilhaços */
.hero-shard.s1  { --x: 4%;  --d: 5.8s; --delay: -4.2s; --drift: 95px;  --r: 21deg; --h: 18px; }
.hero-shard.s2  { --x: 13%; --d: 7.1s; --delay: -1.7s; --drift: -55px; --r: -34deg; --h: 13px; }
.hero-shard.s3  { --x: 24%; --d: 6.4s; --delay: -5.3s; --drift: 68px;  --r: 42deg; --h: 25px; }
.hero-shard.s4  { --x: 34%; --d: 8.0s; --delay: -3.4s; --drift: -42px; --r: 16deg; --h: 15px; }
.hero-shard.s5  { --x: 44%; --d: 6.7s; --delay: -6.0s; --drift: 48px;  --r: -28deg; --h: 20px; }
.hero-shard.s6  { --x: 57%; --d: 7.8s; --delay: -2.5s; --drift: -65px; --r: 36deg; --h: 12px; }
.hero-shard.s7  { --x: 67%; --d: 5.9s; --delay: -4.8s; --drift: 76px;  --r: -18deg; --h: 22px; }
.hero-shard.s8  { --x: 77%; --d: 7.3s; --delay: -1.2s; --drift: -48px; --r: 31deg; --h: 17px; }
.hero-shard.s9  { --x: 87%; --d: 6.1s; --delay: -5.5s; --drift: 53px;  --r: -39deg; --h: 14px; }
.hero-shard.s10 { --x: 95%; --d: 8.3s; --delay: -3.1s; --drift: -88px; --r: 24deg; --h: 23px; }

/* Distribuição das brasas */
.hero-ember.e1 { --x: 8%;  --size: 4px; --d: 6.4s; --delay: -2.2s; --drift: 37px; }
.hero-ember.e2 { --x: 19%; --size: 6px; --d: 8.2s; --delay: -6.1s; --drift: -42px; }
.hero-ember.e3 { --x: 31%; --size: 3px; --d: 5.6s; --delay: -3.3s; --drift: 54px; }
.hero-ember.e4 { --x: 42%; --size: 5px; --d: 7.5s; --delay: -1.4s; --drift: -31px; }
.hero-ember.e5 { --x: 59%; --size: 4px; --d: 6.9s; --delay: -5.1s; --drift: 46px; }
.hero-ember.e6 { --x: 71%; --size: 6px; --d: 8.6s; --delay: -4.0s; --drift: -55px; }
.hero-ember.e7 { --x: 83%; --size: 3px; --d: 5.9s; --delay: -2.8s; --drift: 40px; }
.hero-ember.e8 { --x: 92%; --size: 5px; --d: 7.2s; --delay: -6.5s; --drift: -38px; }

/* Mantém o efeito elegante em telas menores. */
@media (max-width: 767.98px) {
	.hero-shard:nth-child(even),
	.hero-ember:nth-child(even) {
		display: none;
	}

	.hero-logo-area {
		min-height: 190px;
	}
	.invictus-hero-logo {
		width: min(420px, 82vw);
	}
	.hero-logo-area + .wrapper {
		margin-top: 20px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero-shard,
	.hero-ember {
		display: none !important;
	}
}

/* =========================================================
   OusadiaMT2 - Coin Shop / Mercado Pago
   ========================================================= */
.coin-shop-page { padding-bottom: 18px; }
.coin-shop-balance {
    display:flex; justify-content:space-between; align-items:center;
    margin:0 0 16px; padding:13px 16px;
    border:1px solid rgba(151,107,35,.35);
    background:linear-gradient(90deg, rgba(117,50,13,.11), rgba(235,180,62,.08));
    color:#7b2e18;
}
.coin-shop-balance strong { color:#8a4b0d; font-size:20px; }
.coin-shop-intro { margin-bottom:18px; color:#8b5128; line-height:1.5; }
.coin-package-grid {
    display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:12px 0 24px;
}
.coin-package-card {
    position:relative; padding:18px 14px; text-align:center;
    border:1px solid #c9a25c; border-radius:5px;
    background:linear-gradient(180deg,#f9e8b7 0%,#efd28b 100%);
    box-shadow:0 5px 14px rgba(67,35,7,.14), inset 0 1px 0 rgba(255,255,255,.6);
    transition:transform .17s ease, box-shadow .17s ease, filter .17s ease;
    overflow:hidden;
}
.coin-package-card::before {
    content:""; position:absolute; inset:0; pointer-events:none;
    background:radial-gradient(circle at 50% 0%,rgba(255,255,255,.55),transparent 45%);
}
.coin-package-card:hover { transform:translateY(-3px); filter:brightness(1.02); box-shadow:0 8px 18px rgba(67,35,7,.22); }
.coin-package-icon { position:relative; color:#b46610; font-size:28px; margin-bottom:6px; text-shadow:0 1px 0 #fff2c8; }
.coin-package-card h3 { position:relative; margin:5px 0 7px; color:#7a2d18; font-size:18px; }
.coin-package-card p { position:relative; min-height:36px; margin:0 0 8px; color:#91613b; font-size:12px; }
.coin-package-amount { position:relative; color:#a34b10; font-weight:700; font-size:19px; }
.coin-package-price { position:relative; margin:7px 0 13px; color:#683015; font-weight:700; font-size:22px; }
.coin-buy-btn {
    position:relative; width:100%; color:#fff3cf !important;
    border:1px solid #ad6f18 !important;
    background:linear-gradient(180deg,#be7416,#86400c) !important;
    text-shadow:0 1px 1px rgba(0,0,0,.45);
}
.coin-buy-btn:hover { background:linear-gradient(180deg,#d2871e,#963f09) !important; }
.coin-buy-btn:disabled { opacity:.55; cursor:not-allowed; }
.coin-orders-block { margin-top:20px; }
.coin-orders-block h3 { color:#8a3c21; border-bottom:1px solid #9f7348; padding-bottom:7px; }
.coin-orders-table { color:#8a4a2e; background:rgba(255,248,222,.38); }
.coin-orders-table th { color:#73331d; border-top:0; }
.coin-order-status { display:inline-block; padding:3px 7px; border-radius:3px; font-size:11px; font-weight:700; text-transform:uppercase; }
.coin-order-status.status-credited { background:#d8efc9; color:#315b22; }
.coin-order-status.status-pending { background:#f4e7b2; color:#715c16; }
.coin-order-status.status-processing { background:#d7e7f3; color:#305d77; }
.coin-order-status.status-rejected,
.coin-order-status.status-cancelled,
.coin-order-status.status-error { background:#f4cccc; color:#8e2424; }
.coin-order-status.status-review { background:#efcf9f; color:#79410a; }
.coin-admin-package-row { padding:10px 0; border-bottom:1px solid rgba(140,100,55,.2); }
@media (max-width: 900px) { .coin-package-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .coin-package-grid { grid-template-columns:1fr; } .coin-shop-balance { align-items:flex-start; flex-direction:column; gap:4px; } }



/* Cursor normal original do client Metin2 (32x32, hotspot 0,0). */
@media (any-pointer: fine) {
	html, body, body * {
		cursor: url('../images/metin2_cursor.cur') 0 0, url('../images/metin2_cursor.png') 0 0, auto !important;
	}
	/* Campos de edição e elementos desabilitados preservam o feedback nativo. */
	input:not([type]), input[type="text"], input[type="password"],
	input[type="email"], input[type="search"], input[type="url"],
	input[type="tel"], input[type="number"], textarea, [contenteditable="true"] {
		cursor: text !important;
	}
	button:disabled, input:disabled, select:disabled, textarea:disabled,
	[aria-disabled="true"], [aria-disabled="true"] *, .disabled, .disabled * {
		cursor: not-allowed !important;
	}
}
