/* SYSLF Studio — estilos da página inicial */
/* CSS Reset & Global Variables */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	--bg-dark: #000000;
	--bg-card: #0f101d;
	--purple-main: #6924ff;
	--purple-hover: #5216db;
	--purple-light: #bc9cff;
	--text-white: #ffffff;
	--text-gray: #bcbdd0;
	--text-muted: #7e8092;
	--border-color: rgba(255, 255, 255, 0.08);
	--font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
	overflow-x: hidden;
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-family);
	background-color: var(--bg-dark);
	color: var(--text-white);
	line-height: 1.6;
	padding-top: 77px;
}

a {
	text-decoration: none;
	color: inherit;
}

.container {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Header / Navigation Menu */
header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	z-index: 100;
	-webkit-user-select: none;
	user-select: none;
}

.header-wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 65px;
	gap: 24px;
}

/* Brand Logo Settings */
.brand-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	position: relative;
	padding: 6px 0;
}

.brand-icon {
	width: 36px;
	height: 36px;
	object-fit: contain;
	filter: drop-shadow(2px 2px 2px var(--text-muted));
}

.brand-social {
	width: 36px;
	height: 36px;
	object-fit: contain;
}

.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1;
	transition: color 0.2s ease;
}

.brand-syslf {
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: 1px;
	color: var(--text-white);
	text-transform: uppercase;
	transition: color 0.2s ease;
}

.brand-studio {
	font-size: 0.7rem;
	font-weight: 400;
	letter-spacing: 4px;
	color: var(--text-gray);
	text-transform: uppercase;
	margin-top: 2px;
	transition: color 0.2s ease;
}

/* Navigation Links with Purple Underline Effect */
nav ul {
	display: flex;
	gap: 32px;
}

nav ul li {
	list-style: none;
}

nav ul li a {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-gray);
	text-transform: uppercase;
	letter-spacing: 1.5px;
	transition: color 0.2s ease;
	cursor: pointer;
	padding: 6px 0;
	display: inline-block;
	position: relative;
}

/* .active controlado por JS — funciona em todos os dispositivos */
nav ul li a.active {
	color: var(--text-white);
}

nav ul li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--purple-hover);
	transition: width 0.2s ease;
}

nav ul li a.active::after {
	width: 100%;
}

/* A rolagem pelo menu para exatamente onde o menu fixo termina (mesma altura do .header-wrap) */
section {
	scroll-margin-top: 65px;
}

@media (max-width: 768px) {
	section { scroll-margin-top: 60px; }
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.header-primary-actions {
	display: flex;
	align-items: center;
	gap: 20px;
}

/* Social Icons */
.social-icon {
	color: var(--text-gray);
	display: inline-flex;
	align-items: center;
	padding: 6px 0;
	position: relative;
}

.social-icon::after {
	content: '';
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--purple-hover);
	transition: width 0.2s ease;
}

/* Contact Us Button */
.btn-sm {
	background-color: transparent;
	color: var(--text-white);
	padding: 8px 16px;
	border-radius: 6px;
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	border: 1px solid var(--text-white);
	transition: background-color 0.2s ease, color 0.2s ease;
}

/* SPA Section Control */
.page-content {
	display: none;
	animation: fadeIn 0.8s ease forwards;
}

.page-content.active-page {
	display: block;
}

/* Hero Section — jogo em destaque */
.hero {
	position: relative;
	margin-top: -12px;
	min-height: clamp(460px, 72vh, 720px);
	display: flex;
	align-items: flex-end;
	text-align: center;
	overflow: hidden;
	isolation: isolate;
}

.hero-media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.hero-bg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 40%;
	display: block;
}

/* Escurece a arte para o texto e os botões ficarem legíveis */
.hero-media::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 30%, rgba(0,0,0,0.35) 60%, #000 100%),
		radial-gradient(ellipse at 50% 60%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 60%);
}

.hero-center {
	max-width: 820px;
	margin: 0 auto;
	padding-top: 40px;
	padding-bottom: 48px;
	display: flex;
	flex-direction: column;
	align-items: center;
	animation: slideUp 0.8s ease forwards;
}

.hero-tag {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--text-white);
	background-color: rgba(105, 36, 255, 0.85);
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 18px;
}

.hero-title {
	margin: 0 0 12px 0;
	line-height: 0;
}

.hero-logo {
	width: min(440px, 78vw);
	height: auto;
	filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6));
}

.hero-lead {
	color: var(--text-white);
	font-size: 1.15rem;
	line-height: 1.5;
	max-width: 620px;
	margin-bottom: 26px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 0;
	padding: 0;
}

.btn-icon {
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.btn-outline-hero {
	background-color: rgba(0, 0, 0, 0.45);
	color: var(--text-white);
	border: 1px solid rgba(255, 255, 255, 0.85);
	padding: 14px 26px;
	border-radius: 8px;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}


/* Faixa de selos */
.promise {
	border-top: 1px solid var(--border-color);
	border-bottom: 1px solid var(--border-color);
	background-color: var(--bg-card);
}

.promise-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 36px;
	padding-top: 24px;
	padding-bottom: 24px;
}

.promise-list li {
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--text-white);
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.promise-list li::before {
	content: '◆';
	color: var(--purple-main);
	font-size: 0.75rem;
}

.btn-lg {
	background-color: var(--purple-main);
	color: var(--text-white);
	border: 1px solid var(--purple-main);
	padding: 14px 32px;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	cursor: pointer;
}

/* Games Section */
.games-section {
	padding: 40px 0 35px 0;
	text-align: center;
}

.section-title {
	font-size: 2rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 20px;
}

.games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
	gap: 24px;
	max-width: 1440px;
	margin: 0 auto 24px auto;
}

/* Game Card */
.game-card {
	background-color: var(--bg-card);
	border: 3px solid var(--text-muted);
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	cursor: pointer;
	transition: border-color 0.25s ease;
}

.game-thumb-wrap {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	background-color: #121324;
	overflow: hidden;
}

.game-thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.game-info {
	padding: 0;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	gap: 0;
}

.game-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 3px 0 0 0;
	padding: 0;
	line-height: 1.2;
}

.game-meta {
	font-size: 0.8rem;
	color: var(--purple-light);
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.5px;
	margin: 0;
	padding: 0;
}

.game-desc {
	color: var(--text-gray);
	font-size: 0.9rem;
	line-height: 1.1;
	flex-grow: 1;
	margin: 0;
	padding: 0;
	margin-top: 6px;
	padding-inline: 12px;
}

.btn-card-store {
	margin-left: auto;
	margin-right: auto;
	margin-top: 9px;
	margin-bottom: 18px;
	border: 1px solid var(--text-white);
	background-color: transparent;
	color: var(--text-white);
	padding: 8px 18px;
	border-radius: 6px;
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: fit-content;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-card-store + .btn-card-store {
	margin-top: 0;
}

.btn-card-store:has(+ .btn-card-store) {
	margin-bottom: 8px;
}

.google-play-icon,
.steam-icon {
	display: block;
	width: 24px;
	height: 24px;
	object-fit: contain;
	transition: opacity 0.2s ease;
}

/* Transição para os novos cards de jogos quando aparecem */
[data-game-card] {
	transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1),
				transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
				border-color 0.25s ease;
}

.game-card-hidden {
	opacity: 0 !important;
	transform: translateY(12px) scale(0.98);
}

/* About Us Section */
.about-section {
	padding: 40px 0;
}

.about-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 24px;
	align-items: center;
}

.about-logo-frame {
	width: 100%;
	max-width: 260px;
	aspect-ratio: 1 / 1;
	margin: 0 auto;
	background-color: var(--bg-card);
	border: 3px solid var(--border-color);
	border-radius: 16px;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	transition: border-color 0.25s ease;
}

.about-logo-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.about-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	max-width: 440px;
	margin: 0 auto;
}

.stat {
	background-color: var(--bg-card);
	border: 3px solid var(--border-color);
	border-radius: 16px;
	padding: 18px 16px;
	text-align: center;
	display: flex;
	flex-direction: column-reverse;
	gap: 4px;
}

.stat dd {
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--text-white);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	white-space: nowrap;
}

.stat dd span {
	font-size: 1.7rem;
	font-weight: 800;
	color: var(--purple-light);
}

.stat dt {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	color: var(--text-muted);
}

.about-content h2 {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.15;
	text-transform: uppercase;
	margin-bottom: 14px;
	letter-spacing: -0.5px;
}

.about-content p {
	color: var(--text-gray);
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 12px;
}

.about-content p:last-child {
	margin-bottom: 0;
}

/* Contact Section */
.contact-section {
	padding: 40px 0 32px 0;
	text-align: center;
}

.contact-intro {
	color: var(--text-gray);
	margin: -8px 0 24px 0;
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	text-align: left;
}

.contact-card {
	background-color: var(--bg-card);
	border: 3px solid var(--border-color);
	border-radius: 16px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: border-color 0.25s ease;
}

.contact-label {
	font-size: 1rem;
	font-weight: 700;
	color: var(--text-white);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.contact-card p {
	color: var(--text-gray);
	font-size: 0.95rem;
	line-height: 1.5;
	flex-grow: 1;
}

.contact-email {
	color: var(--purple-light);
	font-weight: normal;
	font-size: 1rem;
	word-break: break-word;
	transition: color 0.2s ease;
}

.contact-link {
	color: var(--purple-light);
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: color 0.2s ease;
}

.community {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px 16px;
	margin-top: 28px;
}

.community-label {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.community-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--border-color);
	border-radius: 999px;
	padding: 6px 16px 6px 8px;
	color: var(--text-gray);
	font-size: 0.9rem;
	font-weight: 600;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.community-link img {
	width: 26px;
	height: 26px;
	object-fit: contain;
}

/* Privacy */
.privacy-container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto !important;
	padding: 0 clamp(20px, 4vw, 40px) 40px clamp(20px, 4vw, 40px) !important;
}

.privacy-title-block {
	text-align: center;
	margin: 0 !important;
	padding: 0 !important;
}

.privacy-title-block h1 {
	font-size: 2rem;
	font-weight: 800;
	margin: 0 !important;
	padding: 0 !important;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.privacy-sub-title {
	color: var(--text-gray) !important;
	margin: 0 !important;
	padding: 0 !important;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.anim-slide-up {
	animation: slideUp 0.8s ease forwards;
}

.privacy-contact-line {
	margin-top: 30px;
}

.privacy-body h2 {
	font-size: 1.4rem;
	font-weight: 700;
	margin: 20px 0 10px 0;
	color: var(--text-white);
	border-left: 3px solid var(--purple-hover);
	padding-left: 12px;
}

.privacy-body p {
	color: var(--text-gray);
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 10px;
}

.privacy-body {
	line-height: 1.8;
}

.privacy-date {
	color: var(--text-gray) !important;
	font-weight: normal;
}

.privacy-body p strong {
	color: var(--text-gray) !important;
}

.support-link {
	color: var(--purple-light) !important;
	text-decoration: none;
	font-weight: normal;
	transition: text-decoration 0.2s ease;
}

/* Footer */
footer {
	background-color: #000000;
	border-top: 1px solid var(--border-color);
	padding: 20px 0;
	text-align: center;
}

.footer-bottom {
	font-size: 0.9rem;
	color: var(--text-muted);
}

.footer-bottom a {
	color: var(--purple-light); transition: color 0.2s ease;
}

.footer-legal {
	font-size: 0.8rem;
	margin-top: 4px;
}

body:has(#privacy-page.active-page) {
	scroll-behavior: auto !important;
	overflow-anchor: none;
}

/* Animations */
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes slideUp {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
	.games-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.hero h1 {
		font-size: 2rem;
	}

	.header-primary-actions {
		display: none;
	}

	.header-more {
		display: flex;
	}
}

@media (max-width: 768px) {
	.games-grid {
		grid-template-columns: 1fr;
	}

	.about-grid {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 24px;
	}

	.about-logo-frame {
		max-width: 200px;
		margin-bottom: 8px;
	}

	.header-wrap {
		height: 60px;
		gap: 14px;
	}

	nav ul {
		gap: 16px;
	}

	nav ul li a {
		font-size: 0.8rem;
		letter-spacing: 1px;
	}

	.about-content h2 {
		font-size: 1.8rem;
	}

	.container {
		padding: 0 18px;
	}

}

/* Contact: tablet e celular */
@media (max-width: 900px) {
	.contact-grid {
		grid-template-columns: 1fr;
		max-width: 600px;
		margin: 0 auto;
		gap: 16px;
	}

	.contact-card {
		padding: 20px;
	}
}

@media (max-width: 360px) {
	.contact-email {
		font-size: 0.9rem;
	}
}

@media (max-width: 640px) {
	.community-label {
		flex-basis: 100%;
		text-align: center;
	}
}

/* Telas muito estreitas (até 400px): cabeçalho compacto */
@media (max-width: 400px) {
	.brand-logo { gap: 8px; }
	.brand-icon { width: 30px; height: 30px; }
	.brand-syslf { font-size: 1rem; }
	.brand-studio { letter-spacing: 3px; }
	nav ul { gap: 12px; }
	nav ul li a { font-size: 0.72rem; letter-spacing: 0.5px; }
	.container { padding: 0 14px; }
}

/* ============================================
   DESKTOP — hover com mouse
   ============================================ */
@media (hover: hover) and (pointer: fine) {
	.contact-email:hover,
	.contact-link:hover {
		color: var(--purple-light);
		text-decoration: underline;
	}

	.community-link:hover {
		border-color: var(--purple-light);
		color: var(--text-white);
	}

	.brand-logo:hover .brand-icon {
		filter: drop-shadow(2px 2px 2px var(--purple-hover));
	}

	.brand-logo:hover .brand-syslf {
		color: var(--text-white);
	}

	.brand-logo:hover .brand-studio {
		color: var(--purple-light);
	}

	nav ul li a:hover {
		color: var(--text-white);
	}

	nav ul li a:hover::after {
		width: 100%;
	}

	.social-icon:hover::after {
		width: 100%;
	}

	.btn-sm:hover {
		background-color: var(--text-white);
		color: var(--bg-dark);
	}

	.btn-lg:hover {
		background-color: transparent;
		color: var(--text-white);
		border-color: rgba(255, 255, 255, 0.4);
	}

	.game-card:hover {
		border-color: rgba(105, 36, 255, 0.7);
	}

	.game-card:hover:not(:has(.btn-steam:hover)) .btn-card-store:not(.btn-steam),
	.btn-steam:hover {
		background-color: var(--text-white);
		color: var(--bg-dark);
		border-color: var(--text-white);
	}

	.game-card:hover:not(:has(.btn-steam:hover)) .google-play-icon {
		content: url("../imgs/google-play black.webp");
	}

	.btn-steam:hover .steam-icon {
		filter: invert(1);
	}

	.about-logo-frame:hover {
		border-color: var(--text-muted);
	}

	.support-link:hover {
		text-decoration: underline !important;
		color: var(--purple-light) !important;
	}

	.footer-bottom a:hover {
		text-decoration: underline !important;
		color: var(--purple-light);
	}
}

/* ============================================
   MOBILE — feedback durante o toque
   ============================================ */
@media (hover: none) {
	.contact-email:active,
	.contact-link:active {
		color: var(--purple-light);
		text-decoration: underline;
	}

	.community-link:active {
		border-color: var(--purple-light);
		color: var(--text-white);
	}

	.brand-logo:active .brand-icon {
		filter: drop-shadow(2px 2px 2px var(--purple-hover));
	}

	.brand-logo:active .brand-syslf {
		color: var(--text-white);
	}

	.brand-logo:active .brand-studio {
		color: var(--purple-light);
	}

	nav ul li a:active {
		color: var(--text-white);
	}

	nav ul li a:active::after {
		width: 100%;
	}

	.social-icon:active::after {
		width: 100%;
	}

	.btn-sm:active {
		background-color: var(--text-white);
		color: var(--bg-dark);
	}

	.btn-lg:active {
		background-color: transparent;
		color: var(--text-white);
		border-color: rgba(255, 255, 255, 0.4);
	}

	.game-card:active {
		border-color: rgba(105, 36, 255, 0.7);
	}

	.game-card:active:not(:has(.btn-steam:active)) .btn-card-store:not(.btn-steam),
	.btn-steam:active {
		background-color: var(--text-white);
		color: var(--bg-dark);
		border-color: var(--text-white);
	}

	.game-card:active:not(:has(.btn-steam:active)) .google-play-icon {
		content: url("../imgs/google-play black.webp");
	}

	.btn-steam:active .steam-icon {
		filter: invert(1);
	}

	.about-logo-frame:active {
		border-color: var(--text-muted);
	}

	.support-link:active {
		text-decoration: underline !important;
		color: var(--purple-light) !important;
	}

	.footer-bottom a:active {
		text-decoration: underline !important;
		color: var(--purple-light);
	}
}

/* Revelar seções ao rolar */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Fade das imagens lazy */
.img-fade { opacity: 0; transition: opacity 0.6s ease; }
.img-fade.is-loaded { opacity: 1; }

/* Telas muito estreitas (até 360px): menu com 4 itens cabe sem cortar */
@media (max-width: 360px) {
	.header-wrap { gap: 10px; }
	.brand-logo { gap: 6px; }
	.brand-icon { width: 26px; height: 26px; }
	.brand-syslf { font-size: 0.9rem; }
	.brand-studio { font-size: 0.5rem; letter-spacing: 2px; }
	nav ul { gap: 9px; }
	nav ul li a { font-size: 0.66rem; letter-spacing: 0.3px; }
}

/* Foco pelo teclado: destaca só o botão focado */
.btn-card-store:focus-visible {
	background-color: var(--text-white);
	color: var(--bg-dark);
	border-color: var(--text-white);
}

.btn-card-store:focus-visible .google-play-icon {
	content: url("../imgs/google-play black.webp");
}

.btn-steam:focus-visible .steam-icon {
	filter: invert(1);
}
/* ============================================
   Topo (jogo em destaque) — estados e celular
   ============================================ */
@media (hover: hover) and (pointer: fine) {
	.btn-outline-hero:hover {
		background-color: var(--text-white);
		color: var(--bg-dark);
	}
	.btn-outline-hero:hover .btn-icon { filter: invert(1); }
}

@media (hover: none) {
	.btn-outline-hero:active {
		background-color: var(--text-white);
		color: var(--bg-dark);
	}
	.btn-outline-hero:active .btn-icon { filter: invert(1); }
}

.btn-outline-hero:focus-visible {
	background-color: var(--text-white);
	color: var(--bg-dark);
}
.btn-outline-hero:focus-visible .btn-icon { filter: invert(1); }

@media (max-width: 768px) {
	.hero { min-height: 0; }
	.hero-center { padding-top: 28px; padding-bottom: 36px; }
	.hero-tag { font-size: 0.68rem; letter-spacing: 1px; padding: 5px 12px; }
	.hero-bg { object-position: 62% 40%; }
	.hero-lead { font-size: 1rem; }
	.hero-buttons { flex-direction: column; width: 100%; max-width: 360px; }
	.hero-buttons .btn-lg,
	.hero-buttons .btn-outline-hero { width: 100%; justify-content: center; }
	.promise-list { gap: 12px 20px; padding-top: 20px; padding-bottom: 20px; }
	.promise-list li { font-size: 0.78rem; }
	.about-stats { max-width: 360px; }
	.stat dd { font-size: 0.95rem; }
	.stat dd span { font-size: 1.45rem; }
	.stat { padding: 16px 10px; }
}

@media (prefers-reduced-motion: reduce) {
	.hero-center { animation: none; }
}

/* Vídeo de gameplay no topo (só computador) */
.hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 55%;
	opacity: 0;
	transition: opacity 1s ease;
}

.hero.has-video .hero-video { opacity: 1; }

/* O gameplay é mais claro e cheio que a arte: escurece mais para o logo e os botões */
.hero.has-video .hero-media::after {
	background:
		linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.45) 35%, rgba(0,0,0,0.6) 70%, #000 100%),
		radial-gradient(ellipse at 50% 55%, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 65%);
}
.hero-media::after { z-index: 1; transition: background 1s ease; }

/* About: uma coluna, centralizado */
.about-single {
	max-width: 780px;
	text-align: center;
}
.about-single p {
	color: var(--text-gray);
	font-size: 1.05rem;
	line-height: 1.7;
	margin-bottom: 14px;
}
.about-link {
	display: inline-block;
	margin-top: 6px;
}

/* About no celular: título e link centralizados, texto alinhado à esquerda */
@media (max-width: 768px) {
	.about-single p { text-align: left; font-size: 1rem; }
}

/* Links com hover: sublinhado (a cor já é o lilás) */
@media (hover: hover) and (pointer: fine) {
	.contact-link:hover, .footer-bottom a:hover { color: var(--text-white); }
}

/* ============================================
   Topo no celular EM PÉ: capa vertical em cima, conteúdo embaixo
   ============================================ */
@media (max-width: 768px) and (orientation: portrait) {
	.hero {
		display: block;
		min-height: 0;
		margin-top: -12px;
	}
	.hero-media {
		position: relative;
		inset: auto;
		z-index: 0;
		aspect-ratio: 748 / 896;
		max-height: 62vh;
		margin: 0 auto;
	}
	.hero-bg { object-position: 50% 30%; }
	/* sem escurecer a capa: só um degradê para o preto embaixo */
	.hero-media::after {
		background: linear-gradient(to bottom, rgba(0,0,0,0) 65%, #000 100%);
	}
	/* a capa já tem o logo: o logo separado fica só para leitores de tela e buscadores */
	.hero-title {
		position: absolute;
		width: 1px; height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
	.hero-center {
		padding-top: 4px;
		padding-bottom: 32px;
	}
	.hero-tag { margin-bottom: 12px; }
	.hero-lead { text-shadow: none; margin-bottom: 20px; }
}

/* ============================================
   Topo no celular DEITADO (tela larga e baixa): versão compacta
   ============================================ */
@media (orientation: landscape) and (max-height: 520px) {
	.hero {
		min-height: calc(100vh - 53px);
		min-height: calc(100svh - 53px);
		align-items: center;
	}
	.hero-center { padding-top: 14px; padding-bottom: 18px; }
	.hero-tag { font-size: 0.66rem; letter-spacing: 1px; padding: 4px 10px; margin-bottom: 8px; }
	.hero-logo { width: auto; height: min(30vh, 150px); }
	.hero-title { margin-bottom: 6px; }
	.hero-lead { font-size: 0.9rem; max-width: 560px; margin-bottom: 12px; }
	.hero-buttons { flex-direction: row; flex-wrap: nowrap; width: auto; max-width: none; gap: 8px; }
	.hero-buttons .btn-lg,
	.hero-buttons .btn-outline-hero { width: auto; padding: 9px 14px; font-size: 0.8rem; letter-spacing: 0.5px; }
	.btn-icon { width: 18px; height: 18px; }
}

/* Tablet em pé: a capa não ocupa a largura toda, então as laterais se dissolvem no preto */
@media (min-width: 481px) and (max-width: 768px) and (orientation: portrait) {
	.hero-media {
		-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
		mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
	}
}

/* Celular em pé: selo sobe para dentro da imagem (área escura do chão, abaixo do logo).
   Se a tela for baixa, a capa perde só um pouco da parte de baixo (o chão). */
@media (max-width: 768px) and (orientation: portrait) {
	.hero-media { max-height: 56vh; max-height: 56svh; }
	.hero-bg { object-position: 50% 0%; }
	.hero-center {
		position: relative;
		z-index: 1;
		margin-top: -46px;
	}
	.hero-tag { margin-bottom: 14px; }
}

/* Celular em pé: capa sempre na largura toda; se faltar altura, corta no máximo 10% de baixo (chão escuro) */
@media (max-width: 768px) and (orientation: portrait) {
	.hero-media {
		aspect-ratio: auto;
		width: 100%;
		max-height: none;
		height: clamp(calc(100vw * 896 / 748 * 0.9), 56svh, calc(100vw * 896 / 748));
	}
}
/* Tablet em pé: a capa não precisa ocupar a largura toda (laterais já se dissolvem no preto) */
@media (min-width: 481px) and (max-width: 768px) and (orientation: portrait) {
	.hero-media {
		width: auto;
		height: min(62svh, calc(100vw * 896 / 748));
		aspect-ratio: 748 / 896;
	}
}
/* Celulares muito baixos (ex.: iPhone SE): mantém o logo inteiro, estreita a capa e dissolve as laterais */
@media (max-width: 480px) and (orientation: portrait) and (max-height: 700px) {
	.hero-media {
		width: auto;
		height: 52svh;
		aspect-ratio: 748 / 896;
		-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
		mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
	}
}


/* ============================================
   [2026-11-19] Celular em pé: imagem quadrada (1200×1200, logo embutido)
   Substitui as regras da capa vertical 748×896 (estas vêm por último e prevalecem).
   ============================================ */
@media (max-width: 768px) and (orientation: portrait) {
	.hero-media {
		aspect-ratio: auto;
		width: 100%;
		height: clamp(calc(100vw * 0.9), 56svh, 100vw);
	}
	.hero-bg { object-position: 50% 50%; }
	/* degradê só no finalzinho, para não escurecer o logo, que vai até ~92% da altura */
	.hero-media::after {
		background: linear-gradient(to bottom, rgba(0,0,0,0) 88%, #000 100%);
	}
	/* o selo sobe só um pouco, sem cobrir as pontas das espadas do logo */
	.hero-center { margin-top: -22px; }
}
@media (min-width: 481px) and (max-width: 768px) and (orientation: portrait) {
	.hero-media {
		width: auto;
		height: min(58svh, 100vw);
		aspect-ratio: 1 / 1;
	}
}
@media (max-width: 480px) and (orientation: portrait) and (max-height: 700px) {
	.hero-media {
		width: auto;
		height: min(54svh, 100vw);
		aspect-ratio: 1 / 1;
	}
}

/* ============================================
   [2026-11-19] Link do trailer (abaixo dos botões de loja)
   Hover: muda de cor e o ▶ desliza um pouco. Sem sublinhado.
   ============================================ */
.trailer-link {
	margin-top: 16px;
	background: none;
	border: 0;
	padding: 6px 4px;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: var(--purple-light);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	text-decoration: none;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
	transition: color 0.2s ease;
}
.trailer-link .play-mark {
	font-size: 0.7rem;
	display: inline-block;
	transition: transform 0.2s ease;
}
.trailer-link:focus-visible { color: var(--text-white); outline: none; }
.trailer-link:focus-visible .play-mark { transform: translateX(3px); }
@media (hover: hover) and (pointer: fine) {
	.trailer-link:hover { color: var(--text-white); }
	.trailer-link:hover .play-mark { transform: translateX(3px); }
}
@media (hover: none) {
	.trailer-link:active { color: var(--text-white); }
	.trailer-link:active .play-mark { transform: translateX(3px); }
}
@media (orientation: landscape) and (max-height: 520px) {
	.trailer-link { margin-top: 6px; font-size: 0.82rem; padding: 2px 4px; }
}

/* Janela do trailer */
.trailer-modal {
	position: fixed;
	inset: 0;
	z-index: 300;
	background-color: rgba(0, 0, 0, 0.88);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.trailer-modal.is-open { display: flex; animation: fadeIn 0.25s ease forwards; }
.trailer-frame {
	position: relative;
	width: min(1100px, 100%);
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
	border: 2px solid var(--text-muted);
	background-color: #000;
}
.trailer-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer-close {
	position: absolute;
	top: 16px;
	right: 20px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.4);
	background-color: rgba(0, 0, 0, 0.6);
	color: var(--text-white);
	font-size: 1.8rem;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
	.trailer-close:hover { background-color: var(--text-white); color: var(--bg-dark); }
}
@media (prefers-reduced-motion: reduce) {
	.trailer-modal.is-open { animation: none; }
	.trailer-link .play-mark { transition: none; }
}
