/* =========================================================
   SYSLF Studio — Press pages
   Mesmas variáveis, header e footer do index.html
   ========================================================= */
* { 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;
}

main { animation: fadeIn 0.8s ease forwards; }

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

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

/* ---------- Header (igual ao site) ---------- */
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 { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 6px 0; }
.brand-icon { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(2px 2px 2px var(--text-muted)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-syslf { font-size: 1.2rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.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; }

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; padding: 6px 0; display: inline-block; position: relative;
}
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%; }

/* ---------- Buttons (iguais ao site) ---------- */
.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; cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-outline {
	border: 1px solid var(--text-white); background-color: transparent; color: var(--text-white);
	padding: 14px 24px; border-radius: 8px; font-size: 1rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.5px;
	display: inline-flex; align-items: center; gap: 8px;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.google-play-icon { width: 24px; height: 24px; object-fit: contain; }
.google-play-icon.dark { display: none; }

/* ---------- Page titles ---------- */
.press-hero { padding: 30px 0 10px 0; text-align: center; }
.press-hero h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.15; letter-spacing: -1px; text-transform: uppercase; animation: slideUp 0.8s ease forwards; }
.press-hero p { color: var(--text-gray); max-width: 760px; margin: 12px auto 0 auto; }

.section { padding: 32px 0; }
.section h2 {
	font-size: 1.6rem; font-weight: 700; margin-bottom: 16px;
	border-left: 3px solid var(--purple-hover); padding-left: 13px;
}
.section p { color: var(--text-gray); margin-bottom: 12px; }
.section p:last-child { margin-bottom: 0; }
.section strong { color: var(--text-white); }

/* ---------- Hub: game cards (iguais aos da home) ---------- */
.games-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
	gap: 24px; max-width: 1100px; margin: 0 auto;
}
.game-card {
	background-color: var(--bg-card); border: 3px solid var(--text-muted); border-radius: 16px;
	overflow: hidden; display: flex; flex-direction: column; text-align: center;
	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-title { font-size: 1.5rem; font-weight: 700; margin: 3px 0 0 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; }
.game-desc { color: var(--text-gray); font-size: 0.9rem; line-height: 1.3; flex-grow: 1; margin-top: 6px; padding-inline: 12px; }
.btn-card {
	margin: 12px auto 18px auto; border: 1px solid var(--text-white); background-color: transparent;
	padding: 8px 18px; border-radius: 6px; font-size: 0.9rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.5px; width: fit-content;
	transition: background-color 0.2s ease, color 0.2s ease;
}

/* ---------- Game press page ---------- */
.back-link { display: inline-block; color: var(--purple-light); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-top: 10px; }

.game-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding: 20px 0 10px 0; }
.keyart-frame { border: 3px solid var(--text-muted); border-radius: 16px; overflow: hidden; background-color: #121324; aspect-ratio: 16 / 9; }
.keyart-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.game-hero h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.1; letter-spacing: -1px; text-transform: uppercase; }
.game-hero .game-meta { display: block; margin: 6px 0 14px 0; font-size: 0.9rem; }
.game-hero .lead { color: var(--text-gray); font-size: 1.05rem; margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.fact-sheet { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.fact { background-color: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; padding: 12px 16px; }
.fact dt { font-size: 0.75rem; color: var(--purple-light); text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }
.fact dd { color: var(--text-white); font-size: 0.95rem; }
.fact dd a { text-decoration: underline; }
.fact-sep { color: var(--purple-light); margin: 0 8px; }

.features { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.features li {
	background-color: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px;
	padding: 12px 16px 12px 40px; color: var(--text-gray); position: relative;
}
.features li::before { content: '◆'; position: absolute; left: 16px; color: var(--purple-main); }

.video-frame { position: relative; width: 100%; padding-top: 56.25%; border-radius: 16px; overflow: hidden; border: 3px solid var(--text-muted); background-color: #121324; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(480px, 100%), 1fr)); gap: 12px; }
.gallery a { display: block; border: 2px solid var(--border-color); border-radius: 10px; overflow: hidden; background-color: #121324; aspect-ratio: 16 / 9; transition: border-color 0.2s ease; }
.gallery img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hint { font-size: 0.85rem; color: var(--text-muted) !important; margin-top: 10px; }

.contact-email { color: var(--purple-light); transition: color 0.2s ease; }

.fact summary { cursor: pointer; color: var(--text-white); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.fact summary::-webkit-details-marker { display: none; }
.fact summary::after { content: '▾'; font-size: 1.5em; color: var(--purple-light); transition: transform 0.25s ease; }
.fact details[open] summary { color: var(--purple-light); }
.fact details[open] summary::after { transform: rotate(180deg); }
.fact .lang-list { color: var(--text-gray); font-size: 0.9rem; line-height: 1.5; margin: 6px 0 0 0; }
.fact .lang-list.is-opening { animation: langOpen 0.35s ease both; }
@keyframes langOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Footer (igual ao site) ---------- */
footer { background-color: #000000; border-top: 1px solid var(--border-color); padding: 20px 0; text-align: center; margin-top: 24px; }
.footer-bottom { font-size: 0.9rem; color: var(--text-muted); }
.footer-bottom a { color: var(--purple-light); transition: color 0.2s ease; }

@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) {
	.game-hero { grid-template-columns: 1fr; text-align: center; }
	.hero-actions { justify-content: center; }
	.press-hero h1, .game-hero h1 { font-size: 2rem; }
}
@media (max-width: 768px) {
	.games-grid { grid-template-columns: 1fr; }
	.header-wrap { height: 60px; gap: 14px; }
	nav ul { gap: 16px; }
	nav ul li a { font-size: 0.8rem; letter-spacing: 1px; }
	.container { padding: 0 18px; }
	.btn-lg, .btn-outline { width: 100%; justify-content: 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; }
}

/* ---------- Hover (desktop) ---------- */
@media (hover: hover) and (pointer: fine) {
	.brand-logo:hover .brand-icon { filter: drop-shadow(2px 2px 2px var(--purple-hover)); }
	.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%; }
	.btn-lg:hover { background-color: var(--text-white); color: var(--bg-dark); border-color: var(--text-white); }
	.btn-outline:hover { background-color: var(--text-white); color: var(--bg-dark); }
	.btn-outline:hover .google-play-icon.light { display: none; }
	.btn-outline:hover .google-play-icon.dark { display: block; }
	.game-card:hover { border-color: rgba(105, 36, 255, 0.7); }
	.game-card:hover .btn-card { background-color: var(--text-white); color: var(--bg-dark); }
	.gallery a:hover:hover { border-color: rgba(105, 36, 255, 0.7); }
	.back-link:hover a:hover, .contact-email:hover, .footer-bottom a:hover { color: var(--purple-light); text-decoration: underline; }
	.fact summary:hover { color: var(--purple-light); }
	.fact dd a:hover { color: var(--purple-light); }
	.back-link:hover { color: var(--purple-light); text-decoration: underline; }
}

/* ---------- Toque (mobile) ---------- */
@media (hover: none) {
	.btn-outline:active { background-color: var(--text-white); color: var(--bg-dark); }
	.btn-outline:active .google-play-icon.light { display: none; }
	.btn-lg:active { background-color: var(--text-white); color: var(--bg-dark); border-color: var(--text-white); }
	.fact summary:active { color: var(--purple-light); }
	.fact dd a:active { color: var(--purple-light); }
	.btn-outline:active .google-play-icon.dark { display: block; }
	.game-card:active { border-color: rgba(105, 36, 255, 0.7); }
	.game-card:active .btn-card { background-color: var(--text-white); color: var(--bg-dark); }
	.back-link:active { color: var(--purple-light); text-decoration: underline; }
}

/* 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; }

/* Botões do topo: mesma largura e mesmo estilo de texto */
.hero-actions .btn-lg,
.hero-actions .btn-outline {
	flex: 1 1 240px;
	justify-content: center;
	white-space: nowrap;
	padding: 14px 24px;
	letter-spacing: 0.5px;
}

/* Foco pelo teclado: mesmo destaque do hover */
.btn-lg:focus-visible { background-color: var(--text-white); color: var(--bg-dark); border-color: var(--text-white); }
.btn-outline:focus-visible { background-color: var(--text-white); color: var(--bg-dark); }
.btn-outline:focus-visible .google-play-icon.light { display: none; }
.btn-outline:focus-visible .google-play-icon.dark { display: block; }
.fact dd a:focus-visible { color: var(--purple-light); }
.fact summary:focus-visible { color: var(--purple-light); }
/* Bloco do desenvolvedor (foto + texto) */
.dev-block { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.dev-photo { margin: 0; text-align: center; }
.dev-photo img { width: 100%; height: auto; display: block; border-radius: 12px; border: 3px solid var(--border-color); }
.dev-photo figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; font-size: 0.9rem; }
.dev-photo figcaption strong { color: var(--text-white); }
.dev-photo figcaption span { color: var(--text-muted); }
@media (max-width: 768px) {
	.dev-block { grid-template-columns: 1fr; }
	.dev-photo { max-width: 220px; margin: 0 auto; }
}

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

/* Link do logo com miniatura */
.logo-dl { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.logo-dl img { width: 22px; height: 22px; border-radius: 50%; }
