:root {
	/* ==========================================================================
     1. PALETA PRINCIPAL
     ========================================================================== */
	--bg-main: #0c0d10; /* Cor de fundo principal do site */
	--bg-sidebar: #07080a; /* Fundo da barra lateral */
	--bg-card: #12151b; /* Fundo dos cards de jogos e posts */
	--bg-card-hover: #171b24; /* Fundo dos cards ao passar o mouse */
	--bg-alt: #161920; /* Fundo alternativo para campos de formulário */

	/* ==========================================================================
     2. COR DE DESTAQUE (ACCENT)
     ========================================================================== */
	--accent: #f59e0b;
	--accent-secondary: #fbbf24;
	--accent-glow: rgba(245, 158, 11, 0.4);
	--accent-subtle: rgba(245, 158, 11, 0.12);

	--highlight: #e50914;
	--highlight-secondary: #ff3344;
	--highlight-glow: rgba(229, 9, 20, 0.4);

	/*
   * PLATINUM:        --accent: #e50914; --accent-secondary: #ff3344; --accent-glow: rgba(229, 9, 20, 0.4); --accent-subtle: rgba(229, 9, 20, 0.12);
   * CYBER CYAN:      --accent: #00f0ff; --accent-secondary: #38bdf8; --accent-glow: rgba(0, 240, 255, 0.4); --accent-subtle: rgba(0, 240, 255, 0.12);
   * ELECTRIC PURPLE: --accent: #a855f7; --accent-secondary: #c084fc; --accent-glow: rgba(168, 85, 247, 0.4); --accent-subtle: rgba(168, 85, 247, 0.12);
   * ACID GREEN:      --accent: #10b981; --accent-secondary: #34d399; --accent-glow: rgba(16, 185, 129, 0.4); --accent-subtle: rgba(16, 185, 129, 0.12);
   * AMBER GOLD:      --accent: #f59e0b; --accent-secondary: #fbbf24; --accent-glow: rgba(245, 158, 11, 0.4); --accent-subtle: rgba(245, 158, 11, 0.12);
   * MONOCHROME:      --accent: #ffffff; --accent-secondary: #d1d5db; --accent-glow: rgba(255, 255, 255, 0.3); --accent-subtle: rgba(255, 255, 255, 0.12);
   */

	/* ==========================================================================
     3. TIPOGRAFIA
     ========================================================================== */
	--font-heading:
		"Rajdhani", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		sans-serif;
	--font-body:
		"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		sans-serif;
	--font-mono: "JetBrains Mono", "Fira Code", monospace;

	/* ==========================================================================
     4. TEXTO E BORDAS
     ========================================================================== */
	--text-main: #f3f4f6; /* Texto principal (quase branco) */
	--text-muted: #9ca3af; /* Texto secundário e legendas */
	--text-dim: #6b7280; /* Texto desativado/sutil */
	--border-color: #1e2430; /* Linhas e bordas sutis */
	--border-highlight: #2f3747; /* Bordas ao interagir */

	/* ==========================================================================
     5. ESTRUTURA E TRANSIÇÕES
     ========================================================================== */
	--sidebar-width: 270px;
	--transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & ESTILOS GLOBAIS
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	color-scheme: dark;
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	background-color: var(--bg-main);
	color: var(--text-main);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	min-height: 100vh;
	min-height: 100dvh;
	width: 100%;
	max-width: 100%;
	display: flex;
	overflow-x: hidden;
	position: relative;
	background-image:
		radial-gradient(
			circle at 15% 15%,
			rgba(229, 9, 20, 0.05) 0%,
			transparent 40%
		),
		radial-gradient(
			circle at 85% 75%,
			rgba(229, 9, 20, 0.03) 0%,
			transparent 45%
		),
		linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
	background-size:
		100% 100%,
		100% 100%,
		40px 40px,
		40px 40px;
	background-position:
		0 0,
		0 0,
		0 0,
		0 0;
}

a {
	color: var(--text-main);
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: var(--accent);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	line-height: 1.2;
	color: #ffffff;
}

/* ==========================================================================
   BARRA LATERAL
   ========================================================================== */
.sidebar {
	width: var(--sidebar-width);
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	background-color: var(--bg-sidebar);
	border-right: 1px solid var(--border-color);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 2.2rem 1.8rem;
	z-index: 1000;
	box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
}

/* Marca / Logo */
.brand {
	margin-bottom: 2rem;
}

.brand-logo-link {
	display: block;
	text-decoration: none;
	transition: var(--transition);
}

.sidebar-logo-img {
	width: 100%;
	max-width: 200px;
	height: auto;
	display: block;
	filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
	transition: var(--transition);
}

.brand-logo-link:hover .sidebar-logo-img {
	filter: drop-shadow(0 0 18px var(--accent-glow)) brightness(1.1);
	transform: translateY(-2px);
}

.brand-logo {
	font-family: var(--font-heading);
	font-size: 1.85rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: #ffffff;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
}

.brand-logo .dot {
	color: var(--accent);
	display: inline-block;
	animation: pulse-glow 2.5s infinite ease-in-out;
}

.brand-sub {
	font-size: 0.72rem;
	font-family: var(--font-mono);
	color: var(--text-dim);
	text-transform: uppercase;
	letter-spacing: 0.18em;
	margin-top: 0.35rem;
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.brand-sub::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	background-color: var(--accent);
	border-radius: 50%;
}

/* Links de Navegação */
.nav-menu {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: auto 0;
}

.nav-item {
	position: relative;
}

.nav-link {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.05rem 1.15rem;
	font-family: var(--font-heading);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	color: var(--text-muted);
	background-color: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--border-color);
	border-left: 3px solid transparent;
	border-radius: 4px;
	transition: var(--transition);
}

.nav-number {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--text-dim);
	letter-spacing: 0.05em;
	transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
	color: #ffffff;
	background: linear-gradient(
		90deg,
		var(--accent-subtle) 0%,
		rgba(255, 255, 255, 0.01) 100%
	);
	border-color: rgba(229, 9, 20, 0.35);
	border-left-color: var(--highlight);
	padding-left: 1.45rem;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.nav-link:hover .nav-number,
.nav-link.active .nav-number {
	color: var(--accent);
	font-weight: 700;
}

/* Decoração estética lateral */
.sidebar-decor {
	font-family: var(--font-mono);
	font-size: 0.65rem;
	color: var(--text-dim);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	opacity: 0.35;
	margin: 1rem 0;
	user-select: none;
	display: none; /* Ativado em monitores ultra wide */
}

/* Redes Sociais no Rodapé da Sidebar */
.sidebar-footer {
	border-top: 1px solid var(--border-color);
	padding-top: 1.4rem;
}

.social-links {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	flex-wrap: wrap;
}

.social-btn {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--bg-card);
	border: 1px solid var(--border-color);
	color: var(--text-muted);
	border-radius: 4px;
	transition: var(--transition);
	font-size: 0.95rem;
}

.social-btn:hover {
	color: #ffffff;
	background-color: var(--accent);
	border-color: var(--accent);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px var(--accent-glow);
}

.sidebar-copy {
	font-size: 0.7rem;
	color: var(--text-dim);
	margin-top: 1rem;
	font-family: var(--font-mono);
}

/* Botão Mobile Hamburger */
.mobile-header {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 64px;
	background-color: var(--bg-sidebar);
	border-bottom: 1px solid var(--border-color);
	z-index: 1100;
	padding: 0 1.2rem;
	align-items: center;
	justify-content: space-between;
}

.mobile-brand-link {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.mobile-logo-img {
	height: 38px;
	width: auto;
	max-width: 150px;
	display: block;
	object-fit: contain;
}

.mobile-toggle {
	background: transparent;
	border: 1px solid var(--border-color);
	color: var(--text-main);
	width: 40px;
	height: 40px;
	border-radius: 4px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 8px;
	transition: var(--transition);
}

.mobile-toggle span {
	width: 22px;
	height: 2px;
	background-color: var(--text-main);
	transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
	opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.sidebar-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(4px);
	z-index: 950;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
	display: block;
	opacity: 1;
}

/* ==========================================================================
   CONTEÚDO PRINCIPAL (LAYOUT)
   ========================================================================== */
.main-content {
	margin-left: var(--sidebar-width);
	flex: 1;
	min-height: 100vh;
	min-height: 100dvh;
	padding: 3.5rem 4rem;
	max-width: 1300px;
	display: flex;
	flex-direction: column;
}

.section-wrapper {
	margin-bottom: 6rem;
}

/* Cabeçalhos de Seção com Estilo Gamer/High-tech */
.section-header {
	margin-bottom: 2.5rem;
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 1rem;
}

.section-title {
	font-size: 2.2rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.section-tag {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	color: var(--accent);
	letter-spacing: 0.1em;
}

.section-subtitle {
	color: var(--text-muted);
	font-size: 0.95rem;
	margin-top: 0.4rem;
}

.section-link {
	font-family: var(--font-heading);
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	color: var(--accent);
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 600;
}

.section-link:hover {
	text-decoration: underline;
	transform: translateX(4px);
}

/* ==========================================================================
   HERO / BANNER DE APRESENTAÇÃO
   ========================================================================== */
.hero {
	padding: 3rem 0 5rem;
	position: relative;
}

.hero-brand-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0 auto 2.5rem auto;
	text-align: center;
	width: 100%;
}

.hero-brand-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0 auto 2.5rem auto;
	text-align: center;
	width: 100%;
}

.hero-brand-badge {
	margin-bottom: 1rem;
	display: flex;
	justify-content: center;
	width: 100%;
}

.hero-logo-img {
	max-width: 320px;
	width: 100%;
	height: auto;
	display: block;
	filter: drop-shadow(0 0 25px var(--accent-glow));
	transition: var(--transition);
}

.hero-logo-img:hover {
	filter: drop-shadow(0 0 35px var(--accent)) brightness(1.1);
	transform: translateY(-2px) scale(1.02);
}

.hero-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0.85rem;
	background-color: var(--accent-subtle);
	border: 1px solid rgba(229, 9, 20, 0.3);
	color: var(--accent);
	font-family: var(--font-mono);
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	border-radius: 4px;
	margin-bottom: 0;
	text-transform: uppercase;
}

.hero-title {
	font-size: 3.8rem;
	line-height: 1.05;
	letter-spacing: 0.04em;
	margin-bottom: 1.25rem;
	font-weight: 800;
}

.hero-title span {
	color: var(--accent);
	position: relative;
	display: inline-block;
}

.hero-bio {
	font-size: 1.25rem;
	color: var(--text-muted);
	max-width: 720px;
	margin-bottom: 2.2rem;
	line-height: 1.7;
}

.hero-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.hero-actions .btn {
	min-width: 180px;
	justify-content: center;
	text-align: center;
}

/* Botões Estilizados */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.85rem 1.8rem;
	font-family: var(--font-heading);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: 3px;
	cursor: pointer;
	transition: var(--transition);
	border: 1px solid transparent;
	position: relative;
	overflow: hidden;
}

.btn-primary {
	background-color: var(--accent);
	color: #ffffff;
	box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-highlight {
	background-color: var(--highlight);
	color: #ffffff;
	box-shadow: 0 4px 20px var(--highlight-glow);
}

.btn-highlight:hover {
	background-color: var(--highlight-secondary);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 6px 28px var(--highlight-glow);
}

.btn-primary:hover {
	background-color: var(--accent-secondary);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 6px 28px var(--accent-glow);
}

.btn-outline {
	background-color: transparent;
	border-color: var(--border-highlight);
	color: var(--text-main);
}

.btn-outline:hover {
	border-color: var(--accent);
	color: #ffffff;
	background-color: var(--accent-subtle);
	transform: translateY(-2px);
}

/* ==========================================================================
   BOTÕES DE FILTRO DE PROJETOS (WORK) & BARRA DE STATUS
   ========================================================================== */
.filter-btn {
	font-family: var(--font-heading);
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	padding: 0.65rem 1.35rem;
	border-radius: 4px;
	background-color: var(--bg-card);
	border: 1px solid var(--border-color);
	color: var(--text-muted);
	cursor: pointer;
	transition: var(--transition);
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	user-select: none;
	font-weight: 600;
	text-transform: uppercase;
}

.filter-btn:hover {
	border-color: var(--border-highlight);
	color: var(--text-main);
	background-color: var(--bg-card-hover);
	transform: translateY(-2px);
}

/* Indicador Ativo com Alta Visibilidade e Efeito Neon */
.filter-btn.active {
	background-color: var(--accent);
	border-color: var(--accent);
	color: #ffffff;
	box-shadow: 0 4px 20px var(--accent-glow);
	font-weight: 800;
	transform: translateY(-2px);
}

.filter-btn.active::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: #ffffff;
	box-shadow: 0 0 8px #ffffff;
}

/* Barra de Status com Contagem e Indicador do Filtro Ativo */
.filter-status-bar {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--font-mono);
	font-size: 0.85rem;
	color: var(--text-dim);
	margin-bottom: 2.2rem;
	padding: 0.65rem 1.1rem;
	background-color: rgba(255, 255, 255, 0.02);
	border-left: 3px solid var(--accent);
	border-radius: 0 4px 4px 0;
	border-top: 1px solid var(--border-color);
	border-bottom: 1px solid var(--border-color);
	border-right: 1px solid var(--border-color);
}

.filter-status-bar .highlight-count {
	color: #ffffff;
	font-weight: 700;
}

.filter-status-bar .filter-type-badge {
	color: var(--accent);
	font-weight: 700;
	letter-spacing: 0.06em;
}

/* ==========================================================================
   GRID DE PROJETOS & WORK
   ========================================================================== */
.work-grid,
.games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
	gap: 2rem;
}

.work-card,
.game-card {
	background-color: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: 6px;
	overflow: hidden;
	transition: var(--transition);
	display: flex;
	flex-direction: column;
	position: relative;
}

.work-card:hover,
.game-card:hover {
	transform: translateY(-6px);
	border-color: var(--border-highlight);
	background-color: var(--bg-card-hover);
	box-shadow:
		0 12px 30px rgba(0, 0, 0, 0.5),
		0 0 15px var(--accent-subtle);
}

.work-card:hover .work-cover img,
.game-card:hover .game-cover img {
	transform: scale(1.05);
}

.work-cover,
.game-cover {
	position: relative;
	height: 220px;
	overflow: hidden;
	background-color: #1a1e27;
}

.work-cover img,
.game-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.work-badge-status,
.game-badge-status {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 0.25rem 0.65rem;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 3px;
	backdrop-filter: blur(8px);
	background-color: rgba(12, 13, 16, 0.85);
	border: 1px solid var(--border-color);
	color: #fff;
}

.work-badge-status.released,
.game-badge-status.released {
	border-color: #10b981;
	color: #34d399;
}

.work-badge-status.in-development,
.game-badge-status.in-development {
	border-color: #f59e0b;
	color: #fbbf24;
}

.work-badge-status.tool,
.game-badge-status.tool {
	border-color: var(--accent);
	color: var(--accent);
}

.work-body,
.game-body {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.work-genre,
.game-genre {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: var(--accent);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 0.4rem;
}

.work-title,
.game-title {
	font-size: 1.45rem;
	margin-bottom: 0.65rem;
	color: #ffffff;
}

.work-desc,
.game-desc {
	font-size: 0.95rem;
	color: var(--text-muted);
	line-height: 1.55;
	margin-bottom: 0.75rem;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.25s ease;
}

.work-desc.expanded {
	-webkit-line-clamp: unset !important;
	line-clamp: unset !important;
	display: block !important;
	overflow: visible !important;
	color: var(--text-main);
}

.desc-toggle-btn {
	background: transparent;
	border: 1px solid var(--border-color);
	color: var(--text-dim);
	width: 32px;
	height: 24px;
	border-radius: 3px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
	margin-bottom: 1.25rem;
	align-self: flex-start;
	padding: 0;
}

.desc-toggle-btn:hover {
	border-color: var(--accent);
	color: #ffffff;
	background-color: var(--accent-subtle);
	box-shadow: 0 0 10px var(--accent-glow);
}

.desc-toggle-btn.expanded {
	border-color: var(--accent);
	color: var(--accent);
	background-color: var(--accent-subtle);
}

.desc-toggle-btn svg {
	transition: transform 0.25s ease;
}

.desc-toggle-btn.expanded svg {
	transform: rotate(180deg);
}

.work-tech-tags,
.game-tech-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 1.25rem;
}

.tag {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	padding: 0.2rem 0.55rem;
	background-color: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--border-color);
	border-radius: 3px;
	color: var(--text-dim);
}

.work-actions,
.game-actions {
	display: flex;
	gap: 0.75rem;
	border-top: 1px solid var(--border-color);
	padding-top: 1rem;
	margin-top: auto; /* Alinha os botões sempre na base do card */
}

.btn-work,
.btn-game {
	font-size: 0.85rem;
	padding: 0.55rem 1rem;
	flex: 1;
	justify-content: center;
	text-align: center;
}

/* ==========================================================================
   BLOG / DEVLOG
   ========================================================================== */
.blog-controls {
	margin-bottom: 2.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.search-box {
	position: relative;
	max-width: 520px;
}

.search-box .form-input {
	width: 100%;
	padding-left: 2.85rem;
}

.search-icon {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-dim);
	pointer-events: none;
}

.tags-filter-bar {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	align-items: center;
}

.tag-filter-btn {
	font-family: var(--font-mono);
	font-size: 0.78rem;
	padding: 0.35rem 0.85rem;
	background-color: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: 4px;
	color: var(--text-muted);
	cursor: pointer;
	transition: var(--transition);
}

.tag-filter-btn:hover,
.tag-filter-btn.active {
	color: #ffffff;
	background-color: var(--accent);
	border-color: var(--accent);
	box-shadow: 0 2px 10px var(--accent-glow);
}

.series-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	padding: 0.2rem 0.6rem;
	background-color: rgba(229, 9, 20, 0.15);
	border: 1px solid var(--accent);
	border-radius: 3px;
	color: #ffffff;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* Caixa de Série de Posts dentro do Artigo */
.post-series-box {
	background-color: var(--bg-card);
	border: 1px solid var(--border-highlight);
	border-left: 4px solid var(--accent);
	border-radius: 6px;
	padding: 1.5rem 1.8rem;
	margin: 2rem 0 2.5rem;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.series-header {
	font-family: var(--font-heading);
	font-size: 1.15rem;
	letter-spacing: 0.08em;
	color: #ffffff;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.series-header strong {
	color: var(--accent);
}

.series-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding-left: 0.5rem;
}

.series-list li {
	font-family: var(--font-body);
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--text-muted);
}

.series-list li.active-part {
	color: #ffffff;
	font-weight: 600;
}

.series-part-num {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--accent);
	font-weight: 700;
}

.current-badge {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	background-color: var(--accent-subtle);
	color: var(--accent);
	padding: 0.15rem 0.5rem;
	border-radius: 3px;
	border: 1px solid rgba(229, 9, 20, 0.3);
}

.posts-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.post-card {
	background-color: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: 6px;
	padding: 1.6rem 2rem;
	transition: var(--transition);
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	position: relative;
}

.post-card:hover {
	border-color: var(--accent);
	background-color: var(--bg-card-hover);
	transform: translateX(6px);
}

.post-meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--text-dim);
}

.post-meta time {
	color: var(--accent);
}

.post-title {
	font-size: 1.5rem;
	color: #ffffff;
	transition: var(--transition);
}

.post-card:hover .post-title {
	color: var(--accent);
}

.post-summary {
	color: var(--text-muted);
	font-size: 0.98rem;
	line-height: 1.6;
}

/* Layout Interno do Artigo (Post Completo) */
.article-container {
	max-width: 820px;
}

.article-header {
	margin-bottom: 2.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--border-color);
}

.article-title {
	font-size: 3rem;
	margin-bottom: 1rem;
	line-height: 1.15;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1.2rem;
	font-family: var(--font-mono);
	font-size: 0.85rem;
	color: var(--text-muted);
	align-items: center;
}

.article-content {
	font-size: 1.1rem;
	line-height: 1.8;
	color: #e5e7eb;
}

.article-content h2 {
	font-size: 1.85rem;
	margin: 2.5rem 0 1rem;
	border-left: 3px solid var(--accent);
	padding-left: 0.75rem;
}

.article-content h3 {
	font-size: 1.45rem;
	margin: 2rem 0 0.85rem;
}

.article-content p {
	margin-bottom: 1.4rem;
}

.article-content ul,
.article-content ol {
	margin: 1.2rem 0 1.5rem 1.8rem;
}

.article-content li {
	margin-bottom: 0.5rem;
}

.article-content blockquote {
	border-left: 3px solid var(--accent);
	background-color: var(--bg-card);
	padding: 1.2rem 1.5rem;
	margin: 1.8rem 0;
	font-style: italic;
	color: var(--text-muted);
}

.article-content pre,
.article-content code {
	font-family: var(--font-mono);
}

.article-content code:not(pre code) {
	background-color: var(--bg-card);
	padding: 0.2rem 0.45rem;
	border-radius: 3px;
	font-size: 0.9em;
	color: var(--accent);
	border: 1px solid var(--border-color);
}

.article-content pre {
	background-color: #0b0c0e;
	border: 1px solid var(--border-color);
	padding: 1.25rem;
	border-radius: 6px;
	overflow-x: auto;
	margin: 1.8rem 0;
	font-size: 0.95rem;
}

.article-content img {
	border-radius: 6px;
	margin: 2rem 0;
	border: 1px solid var(--border-color);
}

/* ==========================================================================
   PAGINAÇÃO DO BLOG
   ========================================================================== */

.pagination-container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin-top: 3.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--border-color);
	flex-wrap: wrap;
}

.page-btn {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	padding: 0.55rem 1rem;
	background-color: var(--bg-card);
	border: 1px solid var(--border-color);
	color: var(--text-muted);
	border-radius: 4px;
	cursor: pointer;
	transition: var(--transition);
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	user-select: none;
	font-weight: 600;
}

.page-btn:hover:not(:disabled) {
	border-color: var(--accent);
	color: #ffffff;
	background-color: var(--bg-card-hover);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-btn.active {
	background-color: var(--accent);
	border-color: var(--accent);
	color: #ffffff;
	font-weight: 700;
	box-shadow: 0 4px 15px var(--accent-glow);
}

.page-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
	pointer-events: none;
}

/* ==========================================================================
   FORMULÁRIO DE CONTATO (100% ESTÁTICO VIA FORMSPREE)
   ========================================================================== */

.contact-card {
	background-color: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 2.5rem;
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 3rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-info-title {
	font-size: 1.8rem;
	margin-bottom: 1rem;
}

.contact-info-p {
	color: var(--text-muted);
	margin-bottom: 2rem;
	font-size: 1rem;
}

.contact-direct-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.2rem;
	font-family: var(--font-mono);
	font-size: 0.9rem;
}

.contact-direct-icon {
	width: 40px;
	height: 40px;
	background-color: var(--bg-alt);
	border: 1px solid var(--border-color);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	color: var(--accent);
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.form-label {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.form-input,
.form-textarea {
	background-color: var(--bg-alt);
	border: 1px solid var(--border-color);
	color: var(--text-main);
	padding: 0.85rem 1rem;
	border-radius: 4px;
	font-family: var(--font-body);
	font-size: 1rem; /* 16px exatos evita que o iOS Safari aplique auto-zoom */
	transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 10px var(--accent-glow);
	background-color: #1a1e27;
}

.form-textarea {
	min-height: 140px;
	resize: vertical;
}

.form-status {
	padding: 0.75rem 1rem;
	border-radius: 4px;
	font-size: 0.9rem;
	display: none;
}

.form-status.success {
	display: block;
	background-color: rgba(16, 185, 129, 0.15);
	border: 1px solid #10b981;
	color: #34d399;
}

.form-status.error {
	display: block;
	background-color: rgba(239, 68, 68, 0.15);
	border: 1px solid #ef4444;
	color: #f87171;
}

/* ==========================================================================
   RODAPÉ DO SITE
   ========================================================================== */
.site-footer {
	border-top: 1px solid var(--border-color);
	padding-top: 2rem;
	margin-top: auto; /* Fixa o rodapé no final da página mesmo com pouco conteúdo */
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--text-dim);
	font-family: var(--font-mono);
	font-size: 0.8rem;
	width: 100%;
}

/* ==========================================================================
   ANIMAÇÕES
   ========================================================================== */
@keyframes pulse-glow {
	0%,
	100% {
		text-shadow: 0 0 10px var(--accent-glow);
	}
	50% {
		text-shadow:
			0 0 20px var(--accent-secondary),
			0 0 35px var(--accent-glow);
	}
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE & TABLETS)
   ========================================================================== */
@media (max-width: 1024px) {
	.contact-card {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.main-content {
		padding: 3rem 2rem;
	}
}

@media (max-width: 860px) {
	body {
		display: block;
		width: 100%;
		max-width: 100vw;
		overflow-x: hidden;
	}

	.mobile-header {
		display: flex;
	}

	.sidebar-overlay {
		display: none !important;
	}

	/* Menu Mobile em Tela Cheia (100% do Viewport sem cortes) */
	.sidebar {
		position: fixed !important;
		inset: 0 !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		width: 100% !important;
		width: 100vw !important;
		max-width: 100vw !important;
		min-width: 100vw !important;
		height: 100% !important;
		height: 100vh !important;
		height: 100dvh !important;
		background-color: #07080a !important;
		background-color: rgba(7, 8, 10, 0.98) !important;
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		border: none !important;
		padding: 5.5rem 1.5rem 2.5rem !important;
		z-index: 1050;
		display: flex !important;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		box-shadow: none;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(-16px) scale(0.98);
		transition:
			opacity 0.3s ease,
			transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
			visibility 0.3s ease;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		box-sizing: border-box;
	}

	.sidebar.open {
		opacity: 1 !important;
		visibility: visible !important;
		pointer-events: auto !important;
		transform: translateY(0) scale(1) !important;
	}

	.sidebar-top {
		width: 100%;
		max-width: 480px;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	/* Oculta o título redundante na sidebar do mobile (o cabeçalho superior já exibe a logo) */
	.sidebar .brand {
		display: none;
	}

	/* Lista de links centralizada e ampla em tela cheia */
	.nav-menu {
		width: 100%;
		gap: 0.9rem;
		margin: 1.5rem 0;
	}

	.nav-link {
		font-size: 1.45rem;
		letter-spacing: 0.1em;
		padding: 0.9rem 1.2rem;
		justify-content: center;
		border-left: none;
		border-bottom: 1px solid var(--border-color);
		border-radius: 4px;
		background-color: rgba(255, 255, 255, 0.02);
		width: 100%;
		box-sizing: border-box;
	}

	.nav-link:hover,
	.nav-link.active {
		padding-left: 1.2rem;
		border-bottom-color: var(--accent);
		background: linear-gradient(
			180deg,
			var(--accent-subtle) 0%,
			transparent 100%
		);
	}

	.nav-number {
		font-size: 0.95rem;
		color: var(--accent);
	}

	/* Rodapé do menu mobile */
	.sidebar-footer {
		width: 100%;
		max-width: 480px;
		border-top: 1px solid var(--border-color);
		padding-top: 1.5rem;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 1rem;
	}

	.social-links {
		justify-content: center;
		gap: 1.2rem;
	}

	.social-btn {
		width: 44px;
		height: 44px;
		font-size: 1.15rem;
	}

	.sidebar-copy {
		text-align: center;
		margin-top: 0.5rem;
	}

	.main-content {
		margin-left: 0 !important;
		width: 100% !important;
		max-width: 100vw !important;
		box-sizing: border-box !important;
		overflow-x: hidden !important;
		padding: 5.5rem 1.25rem 3rem !important;
	}

	.hero-title {
		font-size: clamp(2rem, 7.5vw, 2.6rem);
		word-break: break-word;
		overflow-wrap: break-word;
	}

	.hero-bio {
		font-size: 1.05rem;
		word-break: break-word;
	}

	.work-grid,
	.games-grid {
		grid-template-columns: 1fr !important;
		width: 100% !important;
	}

	.work-card,
	.game-card {
		min-width: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.section-header {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 0.75rem !important;
	}

	.section-title {
		font-size: 1.85rem !important;
		word-break: break-word !important;
	}

	.hero-tag {
		font-size: 0.72rem !important;
		letter-spacing: 0.04em !important;
		white-space: normal !important;
		text-align: center !important;
		line-height: 1.4 !important;
		max-width: 100% !important;
		justify-content: center !important;
	}

	.hero-actions {
		flex-direction: column !important;
		width: 100% !important;
		gap: 0.75rem !important;
	}

	.hero-actions .btn {
		width: 100% !important;
		justify-content: center !important;
	}

	.work-actions {
		flex-direction: column !important;
		gap: 0.6rem !important;
	}

	.btn-work {
		width: 100% !important;
	}

	.search-box {
		max-width: 100% !important;
		width: 100% !important;
	}

	.site-footer {
		flex-direction: column !important;
		align-items: center !important;
		text-align: center !important;
		gap: 0.75rem !important;
		width: 100% !important;
	}

	.contact-card {
		padding: 1.5rem 1.2rem !important;
		gap: 2rem !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}
}
