/**
 * Tema cyan: botões primários como <a> no .theme-content-shell herdavam
 * --theme-link-color (ciano claro) sobre --theme-button-primary-background (ciano forte),
 * com contraste ilegível. Forçar a cor de texto do token do botão.
 */
.theme-content-shell .theme-btn--primary,
.theme-content-shell a.theme-btn--primary,
.theme-content-shell a.theme-btn--primary:hover,
.theme-content-shell a.theme-btn--primary:visited,
.theme-content-shell a.theme-btn--primary:focus {
	color: var(--theme-button-primary-text, #0a2540) !important;
}

.theme-layout-surface .theme-btn--primary,
.theme-layout-surface a.theme-btn--primary,
.theme-layout-surface a.theme-btn--primary:hover,
.theme-layout-surface a.theme-btn--primary:visited,
.theme-layout-surface a.theme-btn--primary:focus {
	color: var(--theme-button-primary-text, #0a2540) !important;
}

/* Poke Scar — arte no lugar da promo cyan + CTA Discord chamativo */
.scar-home-hero {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	margin: 0 0 0.25rem;
}
.scar-home-hero__art {
	display: block;
	width: min(100%, 30rem);
	margin: 0 auto;
	border-radius: 1rem;
	overflow: hidden;
	border: 3px solid #d4a017;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
	line-height: 0;
}
.scar-home-hero__art img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 30rem;
	object-fit: contain;
}
.scar-discord-cta {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	gap: 0.65rem;
	width: 100%;
	padding: 0.7rem 0.9rem;
	border-radius: 0.75rem;
	text-decoration: none !important;
	color: #fff !important;
	background: linear-gradient(90deg, #5865F2 0%, #7289da 45%, #ed4245 100%);
	border: 3px solid #f0c14b;
	box-shadow: 0 0 0 0 rgba(88, 101, 242, 0.7), 0 12px 28px rgba(0, 0, 0, 0.4);
	animation: scar-discord-glow 1.4s ease-in-out infinite;
}
.scar-discord-cta__pulse {
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
	transform: translateX(-120%);
	animation: scar-discord-shine 2.2s ease-in-out infinite;
	pointer-events: none;
}
.scar-discord-cta__icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 2.65rem;
	height: 2.65rem;
	border-radius: 0.65rem;
	background: #fff;
	color: #5865F2;
	font-size: 1.45rem;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}
.scar-discord-cta__copy {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	z-index: 1;
}
.scar-discord-cta__kicker {
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 800;
	color: #ffe27a;
}
.scar-discord-cta__title {
	font-size: clamp(1.05rem, 3.2vw, 1.45rem);
	line-height: 1.05;
	font-weight: 900;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
.scar-discord-cta__sub {
	font-size: 0.78rem;
	font-weight: 700;
	color: #fff8d6;
}
.scar-discord-cta__go {
	flex: 0 0 auto;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.45rem 0.75rem;
	border-radius: 999px;
	background: #111;
	color: #ffe27a;
	font-weight: 900;
	letter-spacing: 0.06em;
	font-size: 0.78rem;
}
.scar-discord-cta:hover,
.scar-discord-cta:focus-visible {
	filter: brightness(1.08);
	transform: translateY(-2px);
}
.scar-discord-cta:focus-visible {
	outline: 3px solid #ffe27a;
	outline-offset: 3px;
}
@keyframes scar-discord-glow {
	0%, 100% { box-shadow: 0 0 0 0 rgba(240, 193, 75, 0.15), 0 12px 28px rgba(0, 0, 0, 0.4); }
	50% { box-shadow: 0 0 0 8px rgba(240, 193, 75, 0.28), 0 16px 32px rgba(88, 101, 242, 0.45); }
}
@keyframes scar-discord-shine {
	0% { transform: translateX(-120%); }
	40%, 100% { transform: translateX(120%); }
}
@media (max-width: 640px) {
	.scar-discord-cta {
		flex-wrap: wrap;
		justify-content: center;
		text-align: center;
	}
	.scar-discord-cta__copy { align-items: center; }
	.scar-discord-cta__go { width: 100%; justify-content: center; }
}

/* Poke Scar — reforço Scarface (só .theme-body--pokescar) */
.theme-body--pokescar .theme-header {
	box-shadow: 0 0 24px rgba(155, 27, 46, 0.35);
}
.theme-body--pokescar .theme-nav-link.is-active {
	color: #f0c14b;
	box-shadow: inset 0 -2px 0 #9b1b2e;
}
.theme-body--pokescar .theme-panel {
	border-color: rgba(212, 160, 23, 0.35);
}
.theme-body--pokescar .theme-panel__title {
	color: #f8e6b0;
}
