@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&family=Fira+Code:wght@400;600&display=swap');
:root {
--green-neon: #00ff41; --green-dim: #00cc33; --green-logo: #7fff00;
--yellow-logo: #eaff42; --cyan: #00ffff; --magenta: #ff00ff;
--yellow: #ffff00; --blue-win: #000080; --gray-win: #c0c0c0;
--bg-dark: #0a0a0a; --bg-terminal: #0d1117; --bg-card: #111827;
--border-retro: #333333; --text-primary: #e0e0e0; --text-secondary: #888888;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; background-color: var(--bg-dark); color: var(--text-primary); font-family: 'VT323', monospace; font-size: 18px; line-height: 1.6; overflow-x: hidden; }
#pixel-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0.15; }
body::before { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.35) 2px, rgba(0,0,0,0.35) 4px); } .hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.35) 2px, rgba(0,0,0,0.35) 4px); }
body::after { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9998; background: radial-gradient(ellipse at center, transparent 70%, rgba(0,0,0,0.4) 100%); }
.cursor-blink { animation: blink 1s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0;} }
@keyframes glitch { 0%{transform:translate(0)} 20%{transform:translate(-2px,2px)} 40%{transform:translate(-2px,-2px)} 60%{transform:translate(2px,2px)} 80%{transform:translate(2px,-2px)} 100%{transform:translate(0)} }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.7} }
@keyframes loadBar { 0%{width:0%} 100%{width:85%} }
.glitch:hover { animation: glitch 0.3s ease-in-out; }
.neon-green { }
.neon-cyan { text-shadow: 0 0 10px var(--cyan), 0 0 20px var(--cyan), 0 0 40px var(--cyan); }
.neon-magenta { text-shadow: 0 0 10px var(--magenta), 0 0 20px var(--magenta); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg-dark); border: 1px solid var(--border-retro); }
::-webkit-scrollbar-thumb { background: var(--green-dim); border: 2px solid var(--bg-dark); }
::-webkit-scrollbar-thumb:hover { background: var(--green-neon); }
header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: #000000; border-bottom: 2px solid var(--green-neon); }
nav { max-width: 1200px; margin: 0 auto; padding: 0.8rem 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.nav-logo { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.nav-header-img { height: 80px; width: auto; object-fit: contain; display: block; transition: filter 0.3s; }
.nav-header-img:hover { animation: vhsGlitch 3s steps(2) infinite; }
.nav-logo-img { width: 120px; height: 120px; border-radius: 8px; image-rendering: pixelated; border: 2px solid var(--green-neon); box-shadow: 0 0 10px rgba(0,255,65,0.3); transition: all 0.3s; object-fit: cover; }
.nav-logo-img:hover { box-shadow: 0 0 20px rgba(0,255,65,0.5); transform: scale(1.05); }
.nav-logo-text-group { display: flex; flex-direction: column; gap: 0; line-height: 1.1; }
.nav-logo-main { font-family: 'Press Start 2P', cursive; font-size: clamp(12px, 2vw, 18px); color: var(--yellow-logo); letter-spacing: 2px; text-shadow: 0 0 8px rgba(234,255,66,0.5); }
.nav-logo-sub { font-family: 'VT323', monospace; font-size: clamp(16px, 2vw, 22px); color: var(--green-logo); letter-spacing: 1px; text-shadow: 0 0 6px rgba(127,255,0,0.4); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; align-items: center; }
.nav-links li { display: flex; }
.nav-links a { text-decoration: none; }
.hero-loader-anim { display: flex; flex-direction: column; align-items: center; margin-bottom: 2.5rem; }
.hla-label { font-family: 'VT323', monospace; font-size: 1.3rem; letter-spacing: 0.3em; color: #ffffff; text-transform: uppercase; margin-bottom: 1.2rem; }
.hla-title { font-family: 'Press Start 2P', cursive; font-size: clamp(3rem, 10vw, 7rem); letter-spacing: -0.05em; line-height: 1; display: flex; align-items: baseline; gap: 0; }
.hla-letter { color: var(--yellow-logo); text-shadow: 0 0 8px rgba(234,255,66,0.5); opacity: 0; transform: translateY(10px); animation: hlaReveal 0.3s ease forwards; }
.hla-letter:nth-child(1) { animation-delay: 0.4s; }
.hla-letter:nth-child(2) { animation-delay: 0.9s; }
.hla-letter:nth-child(3) { animation-delay: 1.4s; }
.hla-letter:nth-child(4) { animation-delay: 1.9s; }
.hla-letter:nth-child(5) { animation-delay: 2.4s; margin-left: -0.18em; }
.hla-letter:nth-child(6) { animation-delay: 2.9s; }
.hla-letter:nth-child(7) { animation-delay: 3.4s; }
@keyframes hlaReveal { to { opacity: 1; transform: translateY(0); } }
.hla-cursor { color: var(--yellow-logo); opacity: 0; animation: hlaReveal 0.1s ease forwards 4.0s, blink 1s step-end infinite 4.0s; }
.hla-sub { font-family: 'VT323', monospace; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: 0.15em; color: var(--green-neon); margin-top: 0.4rem; margin-bottom: 1.8rem; }
.hla-progress-wrap { width: clamp(280px, 50vw, 520px); display: flex; flex-direction: column; gap: 0.8rem; }
.hla-track { width: 100%; height: 22px; background: #0a1a0a; position: relative; border: 2px solid var(--green-dim); border-radius: 3px; overflow: hidden; }
.hla-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: var(--green-neon); box-shadow: 0 0 10px var(--green-neon), inset 0 0 6px rgba(0,255,65,0.3); transition: width 0.6s ease; }
.hla-fill::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0px, transparent 14px, #0a1a0a 14px, #0a1a0a 16px); }
.hla-meta { display: flex; justify-content: space-between; }
.hla-status { font-family: 'Fira Code', monospace; font-size: 13px; color: #ffffff; letter-spacing: 0.15em; text-transform: uppercase; }
.hla-pct { font-family: 'Fira Code', monospace; font-size: 13px; color: var(--green-neon); }
.hero-nav { display: flex; gap: 3rem; justify-content: center; margin: 1.5rem 0 2rem; flex-wrap: wrap; }
.hero-nav a { color: #00ff41; text-decoration: none; font-family: 'Press Start 2P', cursive; font-size: 0.7rem; padding: 0.8rem 2rem; transition: all 0.3s; display: inline-block; letter-spacing: 0.15em; position: relative; overflow: hidden; border: 2px solid #00cc33; border-radius: 30px; background: rgba(0, 40, 0, 0.7); box-shadow: 0 0 8px #00ff41, 0 0 20px rgba(0,255,65,0.3), inset 0 0 10px rgba(0,255,65,0.1); text-shadow: 0 0 8px #00ff41; }
.hero-nav a:hover { background: rgba(0, 80, 0, 0.9); box-shadow: 0 0 15px #00ff41, 0 0 40px rgba(0,255,65,0.5), inset 0 0 20px rgba(0,255,65,0.2); color: #ffffff; transform: scale(1.08); }
.hero-nav a::before { display: none; }
.hero-nav a::after { display: none; }
.hero-nav a .halo { content: ''; position: absolute; top: 0; right: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); pointer-events: none; border-radius: 30px; }
.hero-nav a.halo-out .halo { animation: haloRTL 0.5s ease forwards; }
.hero-nav-btn.halo-out .halo { animation: haloRTL 0.5s ease forwards; }
@keyframes haloRTL { from { right: 100%; } to { right: -100%; } }
.nav-menu-btn { display: none; background: none; border: 2px solid var(--green-neon); color: var(--green-neon); padding: 0.4rem 0.8rem; font-family: 'Press Start 2P', cursive; font-size: 10px; cursor: pointer; }
.hero { min-height: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10rem 1.5rem 2rem; position: relative; overflow: hidden; }
.hero-bg-pattern { display: none; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; }
.hero-logo-container { margin-bottom: 1.5rem; }
.hero-logo-img { width: clamp(200px, 50vw, 400px); image-rendering: pixelated; filter: drop-shadow(0 0 30px rgba(127,255,0,0.3)); transition: all 0.5s; }
.hero-logo-img:hover { filter: drop-shadow(0 0 50px rgba(127,255,0,0.5)); transform: scale(1.03); }
.hero-title { font-family: 'Fira Code', monospace; font-size: clamp(1.1rem, 3vw, 2rem); color: #ffffff; margin-top: 2.5rem; margin-bottom: 0.4rem; line-height: 1.5; letter-spacing: 0.02em; }
.hero-error404 { font-family: 'Press Start 2P', cursive; font-size: clamp(0.85rem, 2.2vw, 1.5rem); color: #ff4444 !important; text-shadow: 0 0 8px #ff4444, 0 0 20px rgba(255,68,68,0.6), 0 0 40px rgba(255,68,68,0.3) !important; display: inline !important; vertical-align: middle !important; line-height: 1 !important; }
.hero-error-msg { font-family: 'Fira Code', monospace; font-size: clamp(0.85rem, 1.8vw, 1.15rem); color: #ffffff !important; text-shadow: none !important; letter-spacing: 0.02em; display: inline !important; vertical-align: middle !important; line-height: 1 !important; }
.hero-subtitle { font-family: 'Press Start 2P', cursive; font-size: clamp(1.2rem, 4vw, 2.8rem); color: #00ff41 !important; text-shadow: 0 0 12px #00ff41, 0 0 30px rgba(0,255,65,0.6), 0 0 60px rgba(0,255,65,0.3) !important; margin-bottom: 2rem; line-height: 1.4; letter-spacing: 0.05em; }
.hero-description { font-size: 1.6rem; color: #ffffff; max-width: 600px; margin: 0 auto 2.5rem; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-retro { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 2rem; font-family: 'Press Start 2P', cursive; font-size: 0.7rem; text-decoration: none; border: 2px solid #00cc33; border-radius: 30px; cursor: pointer; transition: all 0.3s; text-transform: uppercase; letter-spacing: 0.15em; position: relative; overflow: hidden; }
.btn-retro::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s; border-radius: 30px; }
.btn-retro:hover::after { left: 100%; }
.blink-text { animation: blink 1s step-end infinite; }
.btn-primary { background: rgba(0,40,0,0.7); color: #00ff41; border-color: #00cc33; box-shadow: 0 0 8px #00ff41, 0 0 20px rgba(0,255,65,0.3), inset 0 0 10px rgba(0,255,65,0.1); text-shadow: 0 0 8px #00ff41; }
.btn-primary:hover { background: rgba(0,80,0,0.9); color: #ffffff; box-shadow: 0 0 15px #00ff41, 0 0 40px rgba(0,255,65,0.5), inset 0 0 20px rgba(0,255,65,0.2); }
.btn-secondary { background: rgba(0,20,40,0.7); color: #00ffff; border-color: #00cccc; box-shadow: 0 0 8px #00ffff, 0 0 20px rgba(0,255,255,0.3), inset 0 0 10px rgba(0,255,255,0.1); text-shadow: 0 0 8px #00ffff; }
.btn-secondary:hover { background: rgba(0,40,80,0.9); color: #ffffff; box-shadow: 0 0 15px #00ffff, 0 0 40px rgba(0,255,255,0.5), inset 0 0 20px rgba(0,255,255,0.2); }
/* GAME BOY SCREEN */
/* GAME BOY FOOTER */
.gb-footer { background: #000; padding: 1.5rem 1.5rem; display: flex; justify-content: center; border-top: 2px solid var(--green-neon); }
.gb-footer-screen { width: clamp(260px, 90vw, 420px); aspect-ratio: 10 / 9; background: #306230; border: 10px solid #1a3a1a; border-radius: 2px; padding: 4px; box-shadow: 0 0 0 2px #0f380f, 6px 6px 0px #0a1a0a; position: relative; z-index: 51; }
.gb-footer-inner { background: #8bac0f; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem; overflow: hidden; padding: 0.5rem; }
.gb-i { margin-left: -0.18em; } .gb-footer-logo { font-family: 'Press Start 2P', cursive; font-size: clamp(1.8rem, 5vw, 3rem); color: #0f380f; letter-spacing: -0.05em; opacity: 0; transform: translateY(-20px); animation: gbDrop 1s cubic-bezier(0.34, 1.8, 0.64, 1) forwards 0.5s; animation-play-state: paused; width: 100%; text-align: center; display: flex; justify-content: center; }
.gb-footer-sub { font-family: 'Press Start 2P', cursive; text-align: center; font-size: clamp(0.65rem, 1.8vw, 0.9rem); color: #306230; letter-spacing: 0.05em; opacity: 0; animation: gbFade 0.8s ease forwards 1.8s; animation-play-state: paused; }
.gb-footer-links { display: flex; gap: 0.8rem; align-items: center; opacity: 0; animation: gbFade 0.4s ease forwards 1.3s; animation-play-state: paused; }
.gb-footer-links a { font-family: 'Press Start 2P', cursive; font-size: 0.45rem; color: #1a4a1a; text-decoration: none; }
.gb-footer-links a:hover { color: #0f380f; }
.gb-footer-copy { font-family: 'Press Start 2P', cursive; font-size: 0.38rem; color: #306230; text-align: center; padding: 0 0.5rem; opacity: 0; animation: gbFade 0.4s ease forwards 1.6s; animation-play-state: paused; }
.gb-footer-dots { display: flex; gap: 0.5rem; margin-top: 0.5rem; opacity: 0; animation: gbFade 0.8s ease forwards 3.8s; animation-play-state: paused; }
.gb-footer-dot { width: 10px; height: 10px; border-radius: 50%; background: #306230; animation: dotGlow 1.8s ease-in-out infinite; animation-play-state: paused; }
.gb-footer-dot:nth-child(1) { animation-delay: 0s; }
.gb-footer-dot:nth-child(2) { animation-delay: 0.6s; }
.gb-footer-dot:nth-child(3) { animation-delay: 1.2s; }
@keyframes dotGlow { 0%,100% { background: #306230; box-shadow: none; } 50% { background: #0f380f; box-shadow: 0 0 6px #0f380f; } } aspect-ratio: 10 / 9; margin-left: auto; margin-right: auto; background: #306230; border: 10px solid #1a3a1a; border-radius: 2px; padding: 4px; box-shadow: 0 0 0 2px #0f380f, 6px 6px 0px #0a1a0a; position: relative; z-index: 100; }
.gb-screen-inner { background: #8bac0f; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; position: relative; }
.gb-logo { font-family: 'Press Start 2P', cursive; font-size: clamp(1.2rem, 3.5vw, 1.8rem); color: #0f380f; letter-spacing: -0.05em; opacity: 0; transform: translateY(-30px); animation: gbDrop 0.5s cubic-bezier(0.34, 1.8, 0.64, 1) forwards 0.4s; animation-play-state: paused; }
.gb-sub { font-family: 'Press Start 2P', cursive; font-size: clamp(0.4rem, 1.2vw, 0.6rem); color: #306230; letter-spacing: 0.05em; line-height: 2; opacity: 0; text-align: center; padding: 0 0.5rem; animation: gbFade 0.4s ease forwards 1.1s; animation-play-state: paused; }
.gb-copy { font-family: 'Press Start 2P', cursive; font-size: 0.45rem; color: #306230; opacity: 0; animation: gbFade 0.4s ease forwards 1.5s; animation-play-state: paused; }
.gb-dot-row { display: flex; gap: 0.5rem; margin-top: 0.5rem; opacity: 0; animation: gbFade 0.8s ease forwards 3.8s; animation-play-state: paused; }
.gb-dot { width: 8px; height: 8px; background: #0f380f; border-radius: 50%; animation: gbPulse 0.8s ease-in-out infinite; animation-play-state: paused; }
.gb-dot:nth-child(2) { animation-delay: 0.25s; }
.gb-dot:nth-child(3) { animation-delay: 0.5s; }
@keyframes gbDrop { 0% { opacity: 0; transform: translateY(-30px); } 60% { transform: translateY(4px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes gbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes gbPulse { 0%,100% { background: #0f380f; transform: scale(1); } 50% { background: #306230; transform: scale(0.6); } }
.terminal-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border-retro); }
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot.red { background: #ff5f56; } .terminal-dot.yellow { background: #ffbd2e; } .terminal-dot.green { background: #27c93f; }
.terminal-title { font-family: 'Press Start 2P', cursive; font-size: 8px; color: var(--text-secondary); margin-left: 0.5rem; }
.terminal-body { font-family: 'Fira Code', monospace; font-size: 13px; line-height: 1.8; }
.terminal-line { opacity: 0; animation: fadeInLine 0.5s forwards; }
@keyframes fadeInLine { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
.terminal-line .prompt { color: var(--green-neon); } .terminal-line .command { color: var(--cyan); } .terminal-line .output { color: var(--text-secondary); } .terminal-line .success { color: var(--green-neon); } .terminal-line .highlight { color: var(--magenta); }
.terminal-line:nth-child(1) { animation-delay: 0.5s; } .terminal-line:nth-child(2) { animation-delay: 1.2s; } .terminal-line:nth-child(3) { animation-delay: 1.9s; } .terminal-line:nth-child(4) { animation-delay: 2.6s; } .terminal-line:nth-child(5) { animation-delay: 3.3s; } .terminal-line:nth-child(6) { animation-delay: 4.0s; }
.terminal-load-bar { display: inline-block; width: 0%; height: 14px; background: var(--green-neon); border: 1px solid var(--green-dim); border-radius: 2px; animation: loadBar 1.5s 2s forwards; vertical-align: middle; margin-left: 0.5rem; position: relative; overflow: hidden; }
.terminal-load-bar::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0px, transparent 10px, rgba(0,0,0,0.5) 10px, rgba(0,0,0,0.5) 12px); }
section { padding: 3rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag { font-family: 'Press Start 2P', cursive; font-size: 10px; color: var(--magenta); letter-spacing: 3px; margin-bottom: 0.8rem; display: block; }
.section-title { font-family: 'Press Start 2P', cursive; font-size: clamp(1.2rem, 3vw, 2rem); color: var(--green-neon); margin-bottom: 1rem; line-height: 1.5; }
.section-subtitle { font-size: 1.3rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.section-divider { width: 80px; height: 4px; background: linear-gradient(90deg, var(--cyan), var(--magenta)); margin: 1.5rem auto 0; }
.player-container { background: var(--bg-card); border: 3px solid var(--green-neon); border-radius: 8px; overflow: hidden; max-width: 800px; margin: 0 auto; box-shadow: 0 0 30px rgba(0,255,65,0.2), inset 0 0 30px rgba(0,0,0,0.5); }
.player-header { background: linear-gradient(135deg, var(--blue-win), #0000aa); padding: 0.6rem 1rem; display: flex; justify-content: space-between; align-items: center; font-family: 'Press Start 2P', cursive; font-size: 10px; color: white; }
.player-header-controls { display: flex; gap: 0.3rem; }
.player-header-btn { width: 14px; height: 14px; border: 1px solid white; background: var(--gray-win); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 8px; color: black; }
.player-body { padding: 2rem; }
.now-playing { text-align: center; margin-bottom: 1.5rem; }
.now-playing-label { font-family: 'Press Start 2P', cursive; font-size: 9px; color: var(--green-neon); letter-spacing: 2px; margin-bottom: 0.5rem; }
.now-playing-title { font-size: 1.5rem; color: var(--cyan); margin-bottom: 0.3rem; }
.now-playing-episode { font-size: 1.1rem; color: var(--text-secondary); }
.custom-player { background: var(--bg-terminal); border: 2px solid var(--border-retro); border-radius: 4px; padding: 1.5rem; margin-bottom: 1.5rem; }
.player-progress-container { margin-bottom: 1rem; }
.player-progress-bar { width: 100%; height: 8px; background: var(--border-retro); border-radius: 4px; cursor: pointer; position: relative; overflow: hidden; }
.player-progress-fill { height: 100%; background: linear-gradient(90deg, var(--green-neon), var(--cyan)); border-radius: 4px; width: 0%; transition: width 0.1s linear; position: relative; }
.player-progress-fill::after { content: ''; position: absolute; right: 0; top: -4px; width: 16px; height: 16px; background: var(--cyan); border-radius: 50%; border: 2px solid var(--bg-dark); box-shadow: 0 0 10px var(--cyan); }
.player-time { display: flex; justify-content: space-between; font-family: 'Fira Code', monospace; font-size: 12px; color: var(--text-secondary); margin-top: 0.3rem; }
.player-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1rem; }
.player-btn { background: none; border: 2px solid var(--green-neon); color: var(--green-neon); cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; font-family: 'VT323', monospace; }
.player-btn:hover { background: var(--green-neon); color: var(--bg-dark); box-shadow: 0 0 15px var(--green-neon); }
.player-btn.small { width: 36px; height: 36px; font-size: 16px; border-radius: 4px; }
.player-btn.play-btn { width: 64px; height: 64px; font-size: 28px; border-radius: 50%; background: var(--green-neon); color: var(--bg-dark); border-color: var(--green-neon); border-width: 3px; }
.player-btn.play-btn:hover { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 25px var(--cyan); }
.player-volume { display: flex; align-items: center; gap: 0.5rem; justify-content: center; }
.player-volume label { color: var(--text-secondary); font-size: 14px; }
.volume-slider { -webkit-appearance: none; appearance: none; width: 100px; height: 4px; background: var(--border-retro); border-radius: 2px; outline: none; cursor: pointer; }
.volume-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; background: var(--green-neon); border-radius: 50%; cursor: pointer; }
.player-speed { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1rem; flex-wrap: wrap; }
.speed-btn { padding: 0.3rem 0.8rem; font-family: 'Press Start 2P', cursive; font-size: 8px; background: none; border: 1px solid var(--border-retro); color: var(--text-secondary); cursor: pointer; transition: all 0.2s; }
.speed-btn:hover, .speed-btn.active { border-color: var(--cyan); color: var(--cyan); background: rgba(0,255,255,0.1); }
.player-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.episodes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; min-height: 0; }
.episode-card { background: var(--bg-card); border: 2px solid var(--border-retro); border-radius: 6px; overflow: hidden; transition: all 0.3s; cursor: pointer; position: relative; }
.episode-card:hover { border-color: var(--cyan); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,255,255,0.15); }
.episode-card.new::before { content: 'NUEVO'; position: absolute; top: 10px; right: -30px; background: var(--magenta); color: white; font-family: 'Press Start 2P', cursive; font-size: 7px; padding: 0.3rem 2rem; transform: rotate(45deg); z-index: 5; animation: pulse 2s infinite; }
.episode-card-image { width: 100%; height: 160px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.episode-card-image::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,255,255,0.03) 2px, rgba(0,255,255,0.03) 4px); }
.episode-card-play { width: 50px; height: 50px; background: rgba(0,255,65,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--bg-dark); z-index: 2; transition: transform 0.3s; }
.episode-card:hover .episode-card-play { transform: scale(1.15); }
.episode-card-content { padding: 1.2rem; }
.episode-card-number { font-family: 'Press Start 2P', cursive; font-size: 9px; color: var(--magenta); margin-bottom: 0.5rem; }
.episode-card-title { font-size: 1.2rem; color: var(--cyan); margin-bottom: 0.5rem; line-height: 1.3; }
.episode-card-desc { font-size: 1rem; color: var(--text-secondary); margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.episode-card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; color: var(--text-secondary); border-top: 1px solid var(--border-retro); padding-top: 0.8rem; }
.episode-card-date { font-family: 'Fira Code', monospace; font-size: 11px; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.about-card { background: var(--bg-card); border: 2px solid var(--border-retro); border-radius: 6px; padding: 2rem; text-align: center; transition: all 0.3s; }
.about-card:hover { border-color: var(--green-neon); box-shadow: 0 0 20px rgba(0,255,65,0.1); }
.about-icon { font-size: 3rem; margin-bottom: 1rem; display: block; }
.about-card h3 { font-family: 'Press Start 2P', cursive; font-size: 11px; color: var(--cyan); margin-bottom: 1rem; line-height: 1.6; }
.about-card p { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; }
.platforms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.platform-card { background: var(--bg-card); border: 2px solid var(--border-retro); border-radius: 6px; padding: 1.5rem; text-align: center; text-decoration: none; color: var(--text-primary); transition: all 0.3s; display: block; }
.platform-card:hover { border-color: var(--magenta); transform: translateY(-4px); box-shadow: 0 8px 25px rgba(255,0,255,0.15); }
.platform-icon { font-size: 2.5rem; margin-bottom: 0.8rem; display: block; }
.platform-name { font-family: 'Press Start 2P', cursive; font-size: 9px; color: var(--cyan); margin-bottom: 0.3rem; }
.platform-action { font-size: 0.9rem; color: var(--text-secondary); }
.newsletter-section { background: var(--bg-card); border: 3px solid var(--magenta); border-radius: 8px; padding: 3rem 2rem; text-align: center; max-width: 600px; margin: 0 auto; box-shadow: 0 0 30px rgba(255,0,255,0.1); }
.newsletter-title { font-family: 'Press Start 2P', cursive; font-size: 14px; color: var(--magenta); margin-bottom: 1rem; line-height: 1.6; }
.newsletter-desc { color: var(--text-secondary); margin-bottom: 1.5rem; font-size: 1.1rem; }
.newsletter-form { display: flex; gap: 0.8rem; max-width: 450px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter-input { flex: 1; min-width: 200px; padding: 0.8rem 1rem; background: var(--bg-terminal); border: 2px solid var(--border-retro); border-radius: 4px; color: var(--text-primary); font-family: 'VT323', monospace; font-size: 1.1rem; outline: none; transition: border-color 0.3s; }
.newsletter-input:focus { border-color: var(--magenta); }
.newsletter-input::placeholder { color: var(--text-secondary); }
.newsletter-btn { padding: 0.8rem 1.5rem; background: var(--magenta); color: white; border: 2px solid var(--magenta); border-radius: 4px; font-family: 'Press Start 2P', cursive; font-size: 10px; cursor: pointer; transition: all 0.3s; }
.newsletter-btn:hover { background: transparent; color: var(--magenta); box-shadow: 0 0 20px var(--magenta); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; max-width: 800px; margin: 0 auto; }
.stat-card { text-align: center; padding: 1.5rem; border: 2px solid var(--border-retro); border-radius: 6px; background: var(--bg-card); }
.stat-number { font-family: 'Press Start 2P', cursive; font-size: clamp(1.2rem, 2.5vw, 1.8rem); color: var(--green-neon); display: block; margin-bottom: 0.5rem; }
.stat-label { font-size: 1rem; color: var(--text-secondary); }
.auto-update-bar { background: linear-gradient(90deg, var(--bg-terminal), var(--bg-card)); border: 1px solid var(--green-dim); border-radius: 4px; padding: 0.8rem 1.2rem; display: flex; align-items: center; gap: 0.8rem; max-width: 800px; margin: 2rem auto 0; font-family: 'Fira Code', monospace; font-size: 12px; }
.auto-update-dot { width: 8px; height: 8px; background: var(--green-neon); border-radius: 50%; animation: blink 1.5s infinite; }
.auto-update-text { color: var(--green-neon); }
.auto-update-time { color: var(--text-secondary); margin-left: auto; }
footer { background: var(--bg-terminal); border-top: 2px solid var(--green-neon); padding: 3rem 1.5rem 1.5rem; margin-top: 0; }
.footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-section h4 { font-family: 'Press Start 2P', cursive; font-size: 13px; color: var(--green-neon); margin-bottom: 1rem; }
.footer-section p, .footer-section a { font-size: 1rem; color: var(--text-secondary); text-decoration: none; line-height: 1.8; }
.footer-section a:hover { color: var(--cyan); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a::before { content: '> '; color: var(--green-neon); }
.footer-bottom { text-align: center; padding-top: 1.5rem; border-top: 1px solid var(--border-retro); font-family: 'Press Start 2P', cursive; font-size: 8px; color: var(--text-secondary); line-height: 2; }
.sticky-player { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(13,17,23,0.98); border-top: 2px solid var(--green-neon); padding: 0.8rem 1.5rem; z-index: 1001; backdrop-filter: blur(10px); transform: translateY(100%); transition: transform 0.4s ease; }
.sticky-player.active { transform: translateY(0); }
.sticky-player-content { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.sticky-info { flex: 1; min-width: 150px; }
.sticky-title { font-size: 1rem; color: var(--cyan); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-subtitle { font-size: 0.85rem; color: var(--text-secondary); }
.sticky-controls { display: flex; align-items: center; gap: 0.5rem; }
.sticky-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--green-neon); color: var(--bg-dark); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all 0.2s; }
.sticky-btn:hover { background: var(--cyan); box-shadow: 0 0 15px var(--cyan); }
.sticky-progress { flex: 2; min-width: 200px; height: 4px; background: var(--border-retro); border-radius: 2px; cursor: pointer; position: relative; }
.sticky-progress-fill { height: 100%; background: linear-gradient(90deg, var(--green-neon), var(--cyan)); border-radius: 2px; width: 0%; transition: width 0.1s linear; }
.sticky-time { font-family: 'Fira Code', monospace; font-size: 11px; color: var(--text-secondary); min-width: 80px; text-align: right; }
.sticky-close { background: none; border: none; color: var(--text-secondary); cursor: pointer; font-size: 18px; padding: 0.3rem; transition: color 0.2s; }
.sticky-close:hover { color: var(--magenta); }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.modal-overlay.show { display: flex; }
.modal-content { background: var(--bg-card); border: 3px solid var(--cyan); border-radius: 8px; max-width: 700px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; }
.modal-header { background: linear-gradient(135deg, var(--blue-win), #0000aa); padding: 0.6rem 1rem; display: flex; justify-content: space-between; align-items: center; font-family: 'Press Start 2P', cursive; font-size: 10px; color: white; }
.modal-close { background: none; border: none; color: white; cursor: pointer; font-size: 16px; padding: 0 0.3rem; }
.modal-body { padding: 2rem; }
.modal-episode-title { font-family: 'Press Start 2P', cursive; font-size: 14px; color: var(--green-neon); margin-bottom: 1rem; line-height: 1.6; }
.modal-episode-desc { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 1.5rem; }
.modal-meta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.modal-meta-item { font-family: 'Fira Code', monospace; font-size: 12px; color: var(--cyan); background: var(--bg-terminal); padding: 0.5rem 1rem; border-radius: 4px; border: 1px solid var(--border-retro); }
.easter-egg-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 10000; display: none; align-items: center; justify-content: center; flex-direction: column; }
.easter-egg-overlay.show { display: flex; }
.easter-egg-text { font-family: 'Press Start 2P', cursive; font-size: clamp(1rem, 3vw, 2rem); color: var(--green-neon); text-align: center; animation: glitch 0.5s infinite; line-height: 2; }
.easter-egg-close { margin-top: 2rem; padding: 0.8rem 2rem; background: var(--magenta); color: white; border: none; font-family: 'Press Start 2P', cursive; font-size: 10px; cursor: pointer; }
.toast { position: fixed; top: 80px; right: 20px; background: var(--bg-card); border: 2px solid var(--green-neon); border-radius: 6px; padding: 1rem 1.5rem; z-index: 3000; display: flex; align-items: center; gap: 0.8rem; transform: translateX(120%); transition: transform 0.4s ease; box-shadow: 0 4px 20px rgba(0,255,65,0.3); }
.toast.show { transform: translateX(0); }
.toast-icon { font-size: 1.5rem; }
.toast-message { font-size: 1rem; color: var(--text-primary); }
.toast-message strong { color: var(--green-neon); }
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
@media (max-width: 768px) {
.nav-links { display: flex; width: 100%; flex-direction: column; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--border-retro); max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; padding-top: 0; }
.nav-links.open { max-height: 300px; padding-top: 1rem; position: absolute; top: 100%; left: 0; right: 0; background: #000; padding: 1rem; z-index: 999; border-bottom: 2px solid var(--green-neon); }
.nav-menu-btn { display: block; }
.hero { padding-top: 5rem; }
.nav-logo-text-group { display: none; }
.nav-logo { gap: 0.5rem; }
.nav-logo-img { width: 44px; height: 44px; }
.episodes-grid { grid-template-columns: 1fr; }
.player-body { padding: 1.2rem; }
.sticky-progress { display: none; }
.sticky-time { display: none; }
}
@media (max-width: 480px) {
.hero-buttons { flex-direction: column; align-items: center; }
.btn-retro { width: 100%; justify-content: center; }
.platforms-grid { grid-template-columns: repeat(2, 1fr); }
.stats-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Nav buttons — mismo estilo que hero-nav a */
.hero-nav-btn { color: #00ff41 !important; text-decoration: none !important; font-family: 'Press Start 2P', cursive !important; font-size: 0.6rem !important; padding: 0.55rem 1.3rem !important; transition: all 0.2s ease !important; display: inline-block !important; letter-spacing: 0.15em !important; position: relative !important; overflow: hidden !important; border-radius: 5px !important; border-top: 1px solid rgba(0,255,65,0.6) !important; border-left: 1px solid rgba(0,255,65,0.4) !important; border-right: 1px solid rgba(0,40,0,0.9) !important; border-bottom: 2px solid rgba(0,40,0,0.95) !important; background: linear-gradient(180deg, rgba(0,80,0,0.55) 0%, rgba(0,40,0,0.85) 48%, rgba(0,20,0,0.95) 52%, rgba(0,60,0,0.75) 100%) !important; box-shadow: 0 2px 6px rgba(0,0,0,0.7), 0 0 8px rgba(0,255,65,0.2), inset 0 1px 0 rgba(0,255,65,0.35) !important; text-shadow: 0 0 8px #00ff41, 0 1px 2px rgba(0,0,0,0.8) !important; }
.hero-nav-btn::before { display: none !important; }
.hero-nav-btn::after { content: '' !important; display: block !important; position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; height: 45% !important; background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.01) 100%) !important; border-radius: 4px 4px 50% 50% / 4px 4px 8px 8px !important; pointer-events: none !important; }
.hero-nav-btn:hover { background: linear-gradient(180deg, rgba(0,120,0,0.65) 0%, rgba(0,70,0,0.9) 48%, rgba(0,40,0,0.98) 52%, rgba(0,90,0,0.8) 100%) !important; box-shadow: 0 2px 8px rgba(0,0,0,0.8), 0 0 14px rgba(0,255,65,0.4), inset 0 1px 0 rgba(0,255,65,0.5) !important; color: #ffffff !important; transform: translateY(1px) !important; border-bottom-width: 1px !important; }
.hero-nav-btn .halo { position: absolute; top: 0; right: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); pointer-events: none; border-radius: 5px; }
/* MS-DOS FOOTER */
.dos-footer { background: #000; border-top: 2px solid var(--green-neon); padding: 1.5rem 1.5rem 1rem; position: relative; z-index: 55; }
.dos-terminal { max-width: 700px; margin: 0 auto; font-family: 'Fira Code', monospace; font-size: clamp(0.75rem, 1.5vw, 0.95rem); line-height: 2; }
.dos-line { color: #ffffff; min-height: 1.5em; }
.dos-line .prompt { color: var(--green-neon); }
.dos-line .cmd { color: var(--cyan); }
.dos-line .output { color: #ffffff; }
.dos-line .output-dim { color: #ffffff; }
.dos-cursor { color: var(--green-neon); animation: blink 1s step-end infinite; display: inline; }
.footer-cover { position: fixed; bottom: -1px; left: 0; right: 0; z-index: 9999; background: #000; height: 100vh; transform: translateY(100%); }
.dos-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; max-width: 1000px; margin: 0 auto; }
.dos-footer-logo img { width: auto; max-width: 620px; height: 160px; object-fit: contain; opacity: 0.85; transition: opacity 0.3s, transform 0.3s; }
.dos-footer-logo img:hover { opacity: 1; animation: vhsGlitch 3s steps(2) infinite; }
@keyframes vhsGlitch {
0%   { transform: scale(1.12) translate(0,0); filter: none; clip-path: none; }
8%   { transform: scale(1.12) translate(-4px, 0); filter: blur(0.5px) brightness(1.3); clip-path: inset(20% 0 60% 0); }
10%  { transform: scale(1.12) translate(4px, 0);  filter: blur(0.5px) brightness(0.8); clip-path: inset(20% 0 60% 0); }
13%  { transform: scale(1.12) translate(0,0); filter: none; clip-path: none; }
38%  { transform: scale(1.12) translate(0,0); filter: none; clip-path: none; }
40%  { transform: scale(1.12) translate(3px,-2px); filter: blur(1px) brightness(1.5) hue-rotate(30deg); clip-path: inset(50% 0 30% 0); }
43%  { transform: scale(1.12) translate(-3px, 2px); filter: blur(0.5px); clip-path: inset(50% 0 30% 0); }
46%  { transform: scale(1.12) translate(0,0); filter: none; clip-path: none; }
68%  { transform: scale(1.12) translate(0,0); filter: none; clip-path: none; }
70%  { transform: scale(1.12) translate(-5px,1px); filter: blur(1.5px) brightness(1.8) saturate(2); clip-path: inset(70% 0 10% 0); }
73%  { transform: scale(1.12) translate(5px,-1px); filter: blur(0.5px); clip-path: inset(70% 0 10% 0); }
76%  { transform: scale(1.12) translate(0,0); filter: none; clip-path: none; }
100% { transform: scale(1.12) translate(0,0); filter: none; clip-path: none; }
}
@keyframes vhsGlitch {
0%   { transform: scale(1.12) translate(0,0); filter: none; clip-path: none; }
10%  { transform: scale(1.12) translate(-4px, 0); filter: blur(0.5px) brightness(1.3); clip-path: inset(20% 0 60% 0); }
11%  { transform: scale(1.12) translate(4px, 0);  filter: blur(0.5px) brightness(0.8); clip-path: inset(20% 0 60% 0); }
12%  { transform: scale(1.12) translate(0,0); filter: none; clip-path: none; }
40%  { transform: scale(1.12) translate(0,0); filter: none; clip-path: none; }
41%  { transform: scale(1.12) translate(3px,-2px); filter: blur(1px) brightness(1.5) hue-rotate(30deg); clip-path: inset(50% 0 30% 0); }
42%  { transform: scale(1.12) translate(-3px, 2px); filter: blur(0.5px); clip-path: inset(50% 0 30% 0); }
43%  { transform: scale(1.12) translate(0,0); filter: none; clip-path: none; }
70%  { transform: scale(1.12) translate(0,0); filter: none; clip-path: none; }
71%  { transform: scale(1.12) translate(-5px,1px); filter: blur(1.5px) brightness(1.8) saturate(2); clip-path: inset(70% 0 10% 0); }
72%  { transform: scale(1.12) translate(5px,-1px); filter: blur(0.5px); clip-path: inset(70% 0 10% 0); }
73%  { transform: scale(1.12) translate(0,0); filter: none; clip-path: none; }
100% { transform: scale(1.12) translate(0,0); filter: none; clip-path: none; }
}
/* Effect 1: Glitch */
@keyframes logoGlitch {
0%   { transform: scale(1.12) translate(0,0); filter: none; }
10%  { transform: scale(1.12) translate(-3px, 1px); filter: hue-rotate(90deg); }
20%  { transform: scale(1.12) translate(3px,-1px); filter: none; }
30%  { transform: scale(1.12) translate(-2px, 2px); filter: brightness(1.5); }
40%  { transform: scale(1.12) translate(2px,-2px); filter: none; }
50%  { transform: scale(1.12) translate(-1px, 1px); filter: hue-rotate(-90deg); }
60%  { transform: scale(1.12) translate(1px,-1px); filter: none; }
70%  { transform: scale(1.12) translate(-3px, 0px); filter: brightness(0.8); }
80%  { transform: scale(1.12) translate(3px, 0px); filter: none; }
90%  { transform: scale(1.12) translate(0px, 2px); filter: hue-rotate(45deg); }
100% { transform: scale(1.12) translate(0,0); filter: none; }
}
/* Effect 2: Scanlines (add class .logo-scanlines to activate) */
@keyframes logoScanlines {
0%   { background-position: 0 0; opacity: 1; transform: scale(1.12); }
100% { background-position: 0 100%; opacity: 1; transform: scale(1.12); }
}
/* Effect 3: CRT Flicker (add class .logo-flicker to activate) */
@keyframes logoFlicker {
0%,100% { opacity: 1; transform: scale(1.12); }
5%  { opacity: 0.8; }
10% { opacity: 1; }
15% { opacity: 0.6; transform: scale(1.12) translateX(1px); }
20% { opacity: 1; transform: scale(1.12); }
85% { opacity: 1; }
90% { opacity: 0.7; transform: scale(1.12) translateX(-1px); }
95% { opacity: 1; transform: scale(1.12); }
}
.dos-terminal { flex: 1; }
.rrss-link { color: var(--cyan); text-decoration: none; } .rrss-link:hover { text-decoration: underline; }
/* Running light animation on nav buttons */
.hero-nav a { position: relative; overflow: hidden; }
.hero-nav a::before { content: ''; position: absolute; top: -2px; left: -100%; width: 40%; height: calc(100% + 4px); background: linear-gradient(90deg, transparent, rgba(0,255,65,0.8), transparent); border-radius: 30px; animation: runLight 2.5s linear infinite; pointer-events: none; }
@keyframes runLight { 0% { left: -40%; } 100% { left: 140%; } }

/* ═══════════════════════════════════════════════
   ACCESIBILIDAD — WCAG 2.1 AA
   ═══════════════════════════════════════════════ */

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -9999px;
  left: -9999px;
  z-index: 99999;
  background: #000;
  color: var(--green-neon);
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--green-neon);
  text-decoration: none;
  letter-spacing: 0.1em;
}
.skip-link:focus {
  top: 0.5rem;
  left: 0.5rem;
}

/* Focus visible — estilo retro coherente */
*:focus-visible {
  outline: 3px solid var(--green-neon);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(0,255,65,0.25);
}
/* Eliminar outline por defecto en no-teclado */
*:focus:not(:focus-visible) {
  outline: none;
}

/* Texto de solo lectura para lectores de pantalla */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Reducir animaciones para prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .cursor-blink,
  .blink-text,
  .hla-fill,
  .achievements-track,
  .gb-footer-dot,
  .gb-dot,
  .auto-update-dot {
    animation: none !important;
  }
  .hla-letter, .hla-cursor { opacity: 1 !important; transform: none !important; }
  .hla-title { visibility: visible !important; }
}

/* Contraste mínimo en texto secundario */
.text-secondary, .output, .bio-photo-label, .auto-update-time {
  color: #aaaaaa; /* mejora ligeramente del #888888 */
}

/* Nav links — hacer visible el elemento activo con aria-current */
.nav-links a[aria-current="page"] {
  color: var(--green-neon);
  text-shadow: 0 0 8px var(--green-neon);
  border-bottom: 2px solid var(--green-neon);
}

/* Modal — asegurar fondo oscuro suficiente */
.modal-overlay[aria-hidden="false"],
.modal-overlay.show {
  display: flex;
}

/* Player buttons focus */
.player-btn:focus-visible,
.sticky-btn:focus-visible,
.modal-close:focus-visible,
.sticky-close:focus-visible,
.nav-menu-btn:focus-visible {
  outline: 3px solid var(--green-neon);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(0,255,65,0.25);
}

/* Contact form focus */
.contact-input:focus-visible {
  outline: 3px solid var(--green-neon);
  outline-offset: 2px;
  border-color: var(--green-neon);
}

/* Carousel — pausa con prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .achievements-track { animation: none !important; }
}

/* Live region para toast (accesible) */
#toast { /* ya existente */ }

/* Botón menú móvil — estado expandido visible */
.nav-menu-btn[aria-expanded="true"] {
  background: rgba(0,255,65,0.1);
  color: var(--green-neon);
}

/* Error de formulario visible para lector */
.contact-error[aria-live] { /* ya existente */ }

/* Asegura que el canvas decorativo no recibe foco */
canvas[aria-hidden="true"] { pointer-events: none; }
