/*!
Theme Name: eduardoveiga
Theme URI: https://eduardoveiga.com
Author: Eduardo Veiga
Author URI: https://eduardoveiga.com
Description: Tema de WordPress en estilo Retro 1-Bit Game UI diseñado para un diario personal de desarrollo de videojuegos, con borde de ventana de 4px (8px total) para encaje matemático exacto e impecable de la trama dithered.
Version: 3.2.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: eduardoveiga
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
1.0 Font-Face & Design Tokens
2.0 Global Reset, Pixel Cursors & Retro Scrollbars
3.0 Retro 1-Bit Window System (4px Border / 8px Total Math Lock)
4.0 Sprite Icon System
5.0 Beveled Retro Buttons
6.0 Header & Site Branding
7.0 Navigation Menu
8.0 Content, Post Cards & Code Snippets
9.0 Comments & Form Controls
10.0 Sidebar & Widgets
11.0 Footer & Status Bar
12.0 Responsive Layout & Symmetrical Margins
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Font-Face & Design Tokens
--------------------------------------------------------------*/
@font-face {
	font-family: 'EnterCommand';
	src: url('fonts/EnterCommand.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'EnterCommand';
	src: url('fonts/EnterCommand-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'EnterCommand';
	src: url('fonts/EnterCommand-Italic.ttf') format('truetype');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

:root {
	--bg-dark: #081418;
	--bg-dark-deep: #040a0d;
	--window-bg: #d8f0c2;
	--window-bg-light: #e6f8d3;
	--text-dark: #08171a;
	--border-dark: #08171a;
	--dither-dark: #08171a;
	--dither-light: #a0c98e;
	--font-main: 'EnterCommand', monospace, sans-serif;
	--pixel-border: 4px solid #08171a; /* 4px left + 4px right = 8px border (1 exact tile) */
	--pixel-shadow: 4px 4px 0px #030a0c;
	--sprite-url: url('images/game_ui_1_bit.png');
}

/*--------------------------------------------------------------
2.0 Global Reset, Pixel Cursors & Retro Scrollbars
--------------------------------------------------------------*/
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-family: var(--font-main);
	font-size: 22px;
	line-height: 1.25;
	background-color: var(--bg-dark);
	color: var(--text-dark);
	-webkit-font-smoothing: none;
	-moz-osx-font-smoothing: unset;
	font-smooth: never;
	image-rendering: pixelated;
	letter-spacing: 0.5px;
	overflow-x: hidden;
}

body {
	margin: 0;
	padding: 1.5rem 0;
	min-height: 100vh;
	background: var(--bg-dark);
	background-image: 
		radial-gradient(rgba(216, 240, 194, 0.05) 1px, transparent 0);
	background-size: 8px 8px;
	color: var(--text-dark);
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

/* Custom 1-Bit Pixel Scrollbars */
::-webkit-scrollbar {
	width: 14px;
	height: 14px;
	background: var(--window-bg);
	border: 2px solid var(--border-dark);
}

::-webkit-scrollbar-track {
	background: var(--window-bg);
	background-image: repeating-linear-gradient(
		45deg,
		var(--border-dark) 0,
		var(--border-dark) 1px,
		transparent 0,
		transparent 4px
	);
}

::-webkit-scrollbar-thumb {
	background: var(--window-bg);
	border: 2px solid var(--border-dark);
	box-shadow: inset 1px 1px 0px #ffffff, inset -1px -1px 0px var(--border-dark);
}

::-webkit-scrollbar-thumb:hover {
	background: var(--border-dark);
}

/* Main Page Container: Perfectly centered with 100% symmetrical left/right margins */
#page {
	width: min(1040px, calc(100vw - 32px - mod(100vw - 32px, 8px)));
	margin-left: auto !important;
	margin-right: auto !important;
	align-self: center;
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}

/* Fallback for browsers without CSS mod() support */
@supports not (width: mod(100vw, 8px)) {
	#page {
		width: min(1040px, calc(100vw - 32px));
		max-width: 1040px;
	}
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-main);
	font-weight: 700;
	margin: 0 0 0.75rem 0;
	color: var(--text-dark);
	line-height: 1.15;
	text-transform: uppercase;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

p {
	margin: 0 0 1rem 0;
}

p:last-child {
	margin-bottom: 0;
}

a {
	color: var(--text-dark);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	transition: background-color 0.1s ease, color 0.1s ease;
}

a:hover,
a:focus {
	background-color: var(--border-dark);
	color: var(--window-bg);
	text-decoration: none;
}

/* Accessibility */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/*--------------------------------------------------------------
3.0 Retro 1-Bit Window System
--------------------------------------------------------------*/
.retro-window {
	background-color: var(--window-bg);
	border: var(--pixel-border);
	box-shadow: var(--pixel-shadow);
	display: flex;
	flex-direction: column;
	position: relative;
	margin-bottom: 1.5rem;
	width: 100%;
}

.retro-window:last-child {
	margin-bottom: 0;
}

/* Titlebar Container: Continuous 100% dither background layer */
.retro-window-header-3part {
	display: flex;
	align-items: center;
	height: 26px;
	user-select: none;
	width: 100%;
	position: relative;
	background-color: var(--window-bg);
	background-image: url('images/header_tile_mid.png');
	background-size: 8px 26px;
	background-repeat: repeat-x;
	overflow: hidden;
	image-rendering: pixelated;
	padding-left: 16px;
	padding-right: 32px;
}

/* Left rounded corner cap overlay (4x13 at 2x -> 8x26) */
.header-part-left {
	position: absolute;
	left: 0;
	top: 0;
	width: 8px;
	height: 26px;
	background-image: url('images/header_corner_left.png');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	pointer-events: none;
	z-index: 2;
	image-rendering: pixelated;
}

/* Middle title text wrapper */
.header-part-mid {
	flex: 1;
	height: 26px;
	display: flex;
	align-items: center;
	overflow: hidden;
	z-index: 1;
}

/* Right close button [X] & rounded corner overlay (13x13 at 2x -> 26x26) */
.header-part-right {
	position: absolute;
	right: 0;
	top: 0;
	width: 26px;
	height: 26px;
	background-image: url('images/header_corner_right.png');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	z-index: 2;
	image-rendering: pixelated;
}

.retro-window-btn-close {
	position: absolute;
	top: 3px;
	right: 4px;
	width: 20px;
	height: 20px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
}

.retro-window-btn-close:active {
	transform: translate(1px, 1px);
}

/* Title Badge: Clean light green cutout WITHOUT BLACK BORDER */
.retro-window-title {
	background-color: var(--window-bg);
	border: none;
	box-shadow: none;
	padding: 2px 10px 2px 4px;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--text-dark);
	text-transform: uppercase;
	letter-spacing: 1px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	overflow: hidden;
	height: 22px;
	z-index: 3;
}

/* Window Body & Inset Frame */
.retro-window-body {
	background-color: var(--window-bg);
	padding: 6px;
	flex: 1;
}

.retro-window-inset {
	position: relative;
	border: 2px solid var(--border-dark);
	background-color: var(--window-bg-light);
	padding: 1.25rem 1.5rem;
	height: 100%;
}

/*--------------------------------------------------------------
4.0 Sprite Icon System (from game_ui_1_bit.png)
--------------------------------------------------------------*/
.pixel-icon {
	display: inline-block;
	vertical-align: middle;
	background-image: var(--sprite-url);
	background-repeat: no-repeat;
	image-rendering: pixelated;
	width: 16px;
	height: 16px;
}

.pixel-icon-folder {
	background-image: url('images/icon_folder.png');
	background-position: 0 0;
	width: 16px;
	height: 16px;
}

.pixel-icon-calendar {
	background-image: url('images/icon_calendar.png');
	background-position: 0 0;
	width: 16px;
	height: 16px;
}

.pixel-icon-file {
	background-position: -74px -935px;
	width: 16px;
	height: 16px;
}

.pixel-icon-page {
	background-image: url('images/icon_page.png');
	background-position: 0 0;
	width: 16px;
	height: 16px;
}

.pixel-icon-floppy {
	background-position: -102px -935px;
	width: 16px;
	height: 16px;
}

.pixel-icon-computer {
	background-image: url('images/icon_computer.png');
	background-position: 0 0;
	width: 16px;
	height: 16px;
}

.pixel-icon-controller {
	background-position: -426px -967px;
	width: 18px;
	height: 16px;
}

.pixel-icon-heart {
	background-position: -314px -967px;
	width: 16px;
	height: 16px;
}

.pixel-icon-lightning {
	background-position: -342px -967px;
	width: 16px;
	height: 16px;
}

.pixel-icon-star {
	background-position: -286px -967px;
	width: 16px;
	height: 16px;
}

.pixel-icon-search {
	background-position: -230px -935px;
	width: 16px;
	height: 16px;
}

.pixel-icon-gear {
	background-position: -46px -967px;
	width: 16px;
	height: 16px;
}

.pixel-icon-comment {
	background-position: -258px -935px;
	width: 16px;
	height: 16px;
}

.pixel-icon-checkedin {
	background-image: url('images/icon_checkedin.png');
	background-position: 0 0;
	width: 16px;
	height: 16px;
}

.pixel-icon-copyright {
	background-image: url('images/icon_copyright.png');
	background-position: 0 0;
	width: 16px;
	height: 16px;
}

.pixel-icon-joystick {
	background-image: url('images/icon_joystick.png');
	background-position: 0 0;
	width: 16px;
	height: 16px;
}

.pixel-icon-warning {
	background-image: url('images/icon_warning.png');
	background-position: 0 0;
	width: 16px;
	height: 16px;
}

/*--------------------------------------------------------------
5.0 Beveled Retro Buttons
--------------------------------------------------------------*/
.retro-btn,
.read-more-btn,
input[type="submit"],
button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: var(--window-bg);
	border: 3px solid var(--border-dark);
	color: var(--text-dark);
	font-family: var(--font-main);
	font-weight: 700;
	font-size: 1.15rem;
	padding: 6px 18px;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: 3px 3px 0px var(--border-dark);
	cursor: pointer;
	position: relative;
	line-height: 1.1;
}

.retro-btn:hover,
.retro-btn:focus,
.read-more-btn:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
	background-color: var(--border-dark);
	color: var(--window-bg);
	box-shadow: 1px 1px 0px var(--border-dark);
	transform: translate(2px, 2px);
}

.retro-btn:active,
.read-more-btn:active,
input[type="submit"]:active {
	transform: translate(3px, 3px);
	box-shadow: none;
}

/*--------------------------------------------------------------
6.0 Header & Site Branding
--------------------------------------------------------------*/
.site-header {
	margin-bottom: 0.5rem;
}

.site-branding {
	text-align: center;
	padding: 1rem 0 0.5rem 0;
}

.site-title {
	font-size: 3.4rem;
	margin: 0 0 0.25rem 0;
	letter-spacing: 2px;
	line-height: 1;
}

.site-title a {
	color: var(--text-dark);
	text-decoration: none;
	display: inline-block;
}

.site-title a:hover {
	background-color: transparent;
	color: var(--border-dark);
	text-shadow: 3px 3px 0px var(--dither-light);
}

.site-game-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0.5rem auto 0 auto;
	width: 100%;
	max-width: 780px;
}

#retro-runner-canvas {
	width: 100%;
	max-width: 780px;
	height: 140px;
	background-color: transparent;
	border: none;
	image-rendering: pixelated;
	cursor: pointer;
	outline: none;
}


/*--------------------------------------------------------------
6.2 1-Bit Retro Inner Corner Language Badge Box [ ES -> hover EN ]
--------------------------------------------------------------*/
.retro-corner-lang-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 20;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 24px;
	background-color: var(--border-dark);
	color: var(--window-bg-light);
	border: 2px solid var(--border-dark);
	font-family: 'EnterCommand', monospace;
	font-size: 15px;
	font-weight: bold;
	text-decoration: none;
	line-height: 1;
	box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.15);
	transition: all 0.1s ease;
	cursor: pointer;
}

.retro-corner-lang-badge .lang-target {
	display: none;
}

.retro-corner-lang-badge .lang-current {
	display: inline;
}

.retro-corner-lang-badge:hover {
	background-color: var(--window-bg-light);
	color: var(--border-dark);
	border-color: var(--border-dark);
}

.retro-corner-lang-badge:hover .lang-current {
	display: none;
}

.retro-corner-lang-badge:hover .lang-target {
	display: inline;
}

.retro-corner-game-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 20;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 0 8px;
	height: 24px;
	background-color: var(--border-dark);
	color: var(--window-bg-light);
	border: 2px solid var(--border-dark);
	font-family: 'EnterCommand', monospace;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	line-height: 1;
	box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.15);
	transition: all 0.1s ease;
	cursor: pointer;
}

.retro-corner-game-badge:hover {
	background-color: var(--window-bg-light);
	color: var(--border-dark);
	border-color: var(--border-dark);
}

/*--------------------------------------------------------------
7.0 Navigation Menu
--------------------------------------------------------------*/
.main-navigation {
	margin-top: 0.75rem;
}

.retro-menu-container {
	display: flex;
	justify-content: center;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

.main-navigation li {
	margin: 0;
}

.main-navigation a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background-color: var(--window-bg);
	border: 2px solid var(--border-dark);
	color: var(--text-dark);
	font-weight: 700;
	font-size: 1.15rem;
	padding: 6px 18px;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: 3px 3px 0px var(--border-dark);
	transition: transform 0.05s ease, background-color 0.1s ease;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	background-color: var(--border-dark);
	color: var(--window-bg);
	box-shadow: none;
	transform: translate(2px, 2px);
}

.menu-toggle {
	display: none;
	background-color: var(--window-bg);
	border: 2px solid var(--border-dark);
	color: var(--text-dark);
	font-family: var(--font-main);
	font-size: 1.2rem;
	font-weight: 700;
	padding: 8px 16px;
	cursor: pointer;
	width: 100%;
	text-transform: uppercase;
	box-shadow: 3px 3px 0px var(--border-dark);
}

.menu-toggle:hover {
	background-color: var(--border-dark);
	color: var(--window-bg);
}

/*--------------------------------------------------------------
8.0 Content, Post Cards & Code Snippets
--------------------------------------------------------------*/
.site-content {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	align-items: start;
	width: 100%;
}

.post-card-window .entry-header {
	margin-bottom: 1rem;
	border-bottom: 2px solid var(--border-dark);
	padding-bottom: 0.75rem;
}

.post-card-window .entry-title {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

.post-card-window .entry-title a {
	color: var(--text-dark);
	text-decoration: none;
}

.post-card-window .entry-title a:hover {
	background-color: var(--border-dark);
	color: var(--window-bg);
}

.entry-meta {
	font-size: 1.05rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	align-items: center;
	color: var(--text-dark);
	font-weight: 700;
}

.meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.meta-sep {
	opacity: 0.5;
}

.entry-thumbnail-wrapper {
	margin-bottom: 1.25rem;
	border: 2px solid var(--border-dark);
	background-color: var(--border-dark);
}

.entry-thumbnail-wrapper img {
	max-width: 100%;
	height: auto;
	display: block;
	filter: grayscale(100%) contrast(150%);
	image-rendering: pixelated;
}

.entry-content {
	font-size: 1.15rem;
	line-height: 1.35;
}

.read-more-container {
	margin-top: 1.25rem;
	text-align: right;
}

/* Code & Preformatted Terminal Boxes */
pre, code, kbd, samp {
	font-family: var(--font-main);
	-webkit-font-smoothing: none;
}

pre {
	background-color: var(--bg-dark-deep);
	color: var(--window-bg);
	border: 3px solid var(--border-dark);
	padding: 1rem 1.25rem;
	overflow-x: auto;
	font-size: 1.05rem;
	line-height: 1.2;
	box-shadow: inset 2px 2px 0px #000000;
	margin: 1rem 0;
	position: relative;
}

code {
	background-color: var(--border-dark);
	color: var(--window-bg);
	padding: 2px 6px;
	font-size: 1rem;
}

pre code {
	background-color: transparent;
	color: inherit;
	padding: 0;
}

blockquote {
	margin: 1rem 0;
	padding: 0.75rem 1.25rem;
	border-left: 6px solid var(--border-dark);
	background-color: rgba(8, 23, 26, 0.06);
	font-style: italic;
}

/*--------------------------------------------------------------
9.0 Comments & Form Controls
--------------------------------------------------------------*/
.comments-area {
	margin-top: 2rem;
	border-top: 2px dashed var(--border-dark);
	padding-top: 1.5rem;
}

.comment-list {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0;
}

.comment-body {
	border: 2px solid var(--border-dark);
	background-color: var(--window-bg);
	padding: 1rem;
	margin-bottom: 1rem;
	box-shadow: 2px 2px 0px var(--border-dark);
}

.comment-meta {
	font-weight: 700;
	margin-bottom: 0.5rem;
	border-bottom: 1px solid var(--border-dark);
	padding-bottom: 0.25rem;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	background-color: var(--window-bg-light);
	border: 2px solid var(--border-dark);
	color: var(--text-dark);
	font-family: var(--font-main);
	font-size: 1.1rem;
	padding: 6px 10px;
	width: 100%;
	outline: none;
}

input:focus,
textarea:focus {
	background-color: #ffffff;
	border-color: var(--border-dark);
	box-shadow: 0 0 0 2px var(--border-dark);
}

/*--------------------------------------------------------------
10.0 Sidebar & Widgets
--------------------------------------------------------------*/
.widget-area {
	width: 100%;
}

.widget-area .widget {
	margin-bottom: 1.5rem;
}

.widget-title {
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
	border-bottom: 2px solid var(--border-dark);
	padding-bottom: 0.25rem;
	letter-spacing: 1px;
}

.widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.widget li {
	margin-bottom: 0.5rem;
	position: relative;
	padding-left: 1.2rem;
}

.widget li::before {
	content: "■";
	position: absolute;
	left: 0;
	top: 0;
	font-size: 0.8rem;
	color: var(--border-dark);
}

.search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 0.5rem;
}

.search-form label {
	flex: 1;
	min-width: 140px;
	margin: 0;
}

.search-form .search-field {
	height: 38px;
	padding: 4px 10px;
}

.search-form .search-submit {
	height: 38px;
	padding: 0 14px;
	white-space: nowrap;
}

/*--------------------------------------------------------------
11.0 Footer & Status Bar
--------------------------------------------------------------*/
.footer-window {
	margin-top: 1.5rem;
}

.footer-window .footer-inset {
	padding: 1.25rem 1rem;
	text-align: center;
}

.footer-title-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: 'EnterCommand', monospace;
	font-size: 15px;
	font-weight: 700;
	color: var(--text-dark);
}

.footer-title-status .retro-window-sep {
	font-size: 10px;
	margin: 0 2px;
	opacity: 0.7;
}

.site-info-lines {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	align-items: center;
	justify-content: center;
	font-family: 'EnterCommand', monospace;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--text-dark);
}

.site-info-line {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	line-height: 1.2;
}

.site-info-line .pixel-icon {
	vertical-align: middle;
}

/*--------------------------------------------------------------
12.0 Responsive Layout & Symmetrical Margins
--------------------------------------------------------------*/
@media screen and (max-width: 1080px) {
	#page {
		width: calc(100vw - 32px - mod(100vw - 32px, 8px));
		margin-left: auto !important;
		margin-right: auto !important;
	}

	.site-title {
		font-size: 2.4rem;
	}

	.site-description {
		font-size: 1.15rem;
	}

	.menu-toggle {
		display: block;
	}

	.main-navigation ul {
		display: none;
		flex-direction: column;
		width: 100%;
		margin-top: 0.75rem;
	}

	.main-navigation.toggled ul {
		display: flex;
	}

	.main-navigation a {
		width: 100%;
		text-align: center;
	}
}

/*--------------------------------------------------------------
13.0 Retro Window Shake & Glitch Effect
--------------------------------------------------------------*/
@keyframes retroWindowShake {
	0% { transform: translate(0, 0) rotate(0deg); }
	10% { transform: translate(-6px, 3px) rotate(-1deg); }
	20% { transform: translate(6px, -4px) rotate(1deg); }
	30% { transform: translate(-5px, -2px) rotate(-0.5deg); }
	40% { transform: translate(5px, 4px) rotate(1deg); }
	50% { transform: translate(-4px, 2px) rotate(-1deg); }
	60% { transform: translate(4px, -2px) rotate(0.5deg); }
	70% { transform: translate(-2px, 1px) rotate(0deg); }
	80% { transform: translate(2px, -1px) rotate(0deg); }
	90% { transform: translate(-1px, 0) rotate(0deg); }
	100% { transform: translate(0, 0) rotate(0deg); }
}

.retro-window.is-shaking {
	animation: retroWindowShake 0.65s cubic-bezier(.36,.07,.19,.97) both;
	box-shadow: 6px 6px 0px var(--border-dark), -2px -2px 0px var(--border-dark) !important;
}

.retro-window.glitch-flash {
	filter: invert(0.9) contrast(1.6);
}

.retro-glitch-text {
	color: var(--text-dark);
	font-weight: 700;
	letter-spacing: 1px;
	animation: retroTextBlink 0.15s infinite alternate;
}

@keyframes retroTextBlink {
	from { opacity: 1; }
	to { opacity: 0.5; }
}
