/**
 * Poke Scar — Sunset Boulevard (theme-factory).
 * Barra brutal, sans condensada, listras diagonais, cantos afiados.
 */

body.theme-body--pokescar {
	margin: 0;
	min-height: 100vh;
	color: var(--theme-text-color);
	font-family: var(--theme-font-family-base);
	background-color: #264653;
	background-image:
		repeating-linear-gradient(
			-28deg,
			rgba(231, 111, 81, 0.07) 0 12px,
			transparent 12px 28px
		),
		linear-gradient(160deg, #1b3038 0%, #264653 38%, #e76f51 140%);
	background-attachment: fixed;
}

body.theme-body--pokescar .theme-main-area { background: transparent; }

body.theme-body--pokescar .theme-header-bar {
	background: #1b3038 !important;
	border-bottom: 4px solid #e9c46a;
	box-shadow: 0 8px 0 #e76f51, 0 18px 32px rgba(0, 0, 0, 0.4);
}

body.theme-body--pokescar .theme-chrome-header-inner { padding: 0.4rem 1rem; }

body.theme-body--pokescar .theme-chrome-header-row {
	align-items: stretch;
	gap: 0.5rem;
}

body.theme-body--pokescar .theme-chrome-brand img {
	max-height: 3.1rem;
	max-width: 280px;
}

body.theme-body--pokescar .theme-nav-link {
	font-family: var(--theme-font-family-heading);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.82rem;
	font-weight: 600;
	color: #fff6e8;
}

body.theme-body--pokescar .theme-nav-link.is-active {
	color: #1a1210;
	background: #e9c46a;
	padding: 0.35rem 0.6rem;
	box-shadow: none;
}

body.theme-body--pokescar .theme-content-shell {
	background: var(--theme-content-shell-background);
	border: 2px solid #e76f51;
	border-left-width: 10px;
	border-radius: 2px;
	box-shadow: var(--theme-shadow-style);
}

body.theme-body--pokescar h1,
body.theme-body--pokescar h2,
body.theme-body--pokescar h3,
body.theme-body--pokescar .theme-panel__title {
	font-family: var(--theme-font-family-heading);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--theme-heading-color);
	font-weight: 700;
}

body.theme-body--pokescar .theme-btn--primary {
	border-radius: 2px;
	background: #e76f51;
	color: #1a1210 !important;
	border: 2px solid #e9c46a;
	font-family: var(--theme-font-family-heading);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

body.theme-body--pokescar .theme-btn--primary:hover {
	background: #f4a261;
	color: #1a1210 !important;
}

body.theme-body--pokescar .theme-footer {
	border-top: 4px solid #e9c46a;
}

body.theme-body--pokescar select { color-scheme: dark; }
body.theme-body--pokescar select option {
	background-color: #264653 !important;
	color: #e9c46a !important;
}

/* Home Scar — arte + CTA Discord (antes viviam só no CSS do template cyan) */
.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: 0.2rem;
	overflow: hidden;
	border: 3px solid #e9c46a;
	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.2rem;
	text-decoration: none !important;
	color: #fff !important;
	background: linear-gradient(90deg, #e76f51 0%, #264653 45%, #e9c46a 100%);
	border: 3px solid #e9c46a;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}
.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.2rem;
	background: #fff;
	color: #264653;
	font-size: 1.45rem;
}
.scar-discord-cta__copy {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	z-index: 1;
}
.scar-discord-cta__kicker {
	font-family: var(--theme-font-family-heading);
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 700;
	color: #e9c46a;
}
.scar-discord-cta__title {
	font-family: var(--theme-font-family-heading);
	font-size: clamp(1.05rem, 3.2vw, 1.45rem);
	line-height: 1.05;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.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: 0;
	background: #1a1210;
	color: #e9c46a;
	font-family: var(--theme-font-family-heading);
	font-weight: 700;
	letter-spacing: 0.08em;
	font-size: 0.78rem;
	text-transform: uppercase;
}
@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; }
}
