/* ==========================================================
   CELIS PLANT - BRUTALIST INTERACTIVE ENVIRONMENT
========================================================== */

:root {
  --morado-oscuro-art: #14071e; 
  --morado-intenso: #200033;
  --azul-electrico: #00ff6a;
  --magenta-neon: #ff007f;
  --lava-naranja: #e65c2e;      
  --amber-glass: rgba(240, 150, 40, 0.05); 
  --amber-border: rgba(240, 150, 40, 0.3); 
  --amber-glow: #ff9d00;                      
  --white-pure: #ffffff;
  --black-void: #000000;
}

/* Ocultar barra de desplazamiento */
::-webkit-scrollbar {
  width: 5px; height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(240, 150, 40, 0.06); border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(240, 150, 40, 0.25);
}

* {
  margin: 0; padding: 0; box-sizing: border-box;
  font-family: 'Impact', 'Arial Black', sans-serif;
}
/* Bloqueo de selección para protección de UI */
body {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none;     /* IE 10 y 11 */
  user-select: none;         /* Estándar */
}
body {
  background-color: var(--morado-oscuro-art); color: var(--white-pure);
  min-height: 180vh; overflow-x: hidden; position: relative;
}

/* --- CONTENEDOR CON TU IMAGEN ORIGINAL DE FONDO FIJA --- */
.atmosphere-container {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; overflow: hidden;
}
.psychedelic-artwork-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('./1.jpg'); /* Tu imagen original */
  background-size: cover; background-position: center; background-repeat: no-repeat;
  transition: filter 0.8s cubic-bezier(0.16, 1, 0.3, 1); /* Transición suave del filtro */
}
.cyber-grid-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image: linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px);
  background-size: 30px 30px; opacity: 0.25;
}

/* --- HARDWARE NAV --- */
.hardware-nav {
  position: sticky; top: 14px; z-index: 100; margin: 0 auto; width: 94%; max-width: 1100px;
}
.nav-hardware-frame {
  background: rgba(15, 8, 3, 0.85); border: 1px solid rgba(240, 150, 40, 0.25);
  border-bottom: 2px solid var(--amber-glow); border-radius: 6px 6px 0 0; padding: 10px 20px;
  display: flex; justify-content: space-between; align-items: center;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav-system-nodes { display: flex; align-items: center; gap: 8px; width: 25%; }
.node-led { width: 7px; height: 7px; border-radius: 50%; background-color: var(--amber-glow); }
.node-led.amber-pulse { animation: amberBlinking 1.5s infinite; box-shadow: 0 0 8px var(--amber-glow); }
@keyframes amberBlinking { 50% { opacity: 0.3; } }
.node-text { font-family: monospace; font-size: 0.7rem; color: var(--amber-glow); }

.logo-container-brand { height: 48px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.brand-logo-img {
  max-height: 100%; width: auto; object-fit: contain;
  filter: drop-shadow(0px 0px 4px rgba(240, 150, 40, 0.4));
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.brand-logo-img:hover { transform: scale(1.08); }

.nav-interactive-controls { display: flex; gap: 8px; justify-content: flex-end; width: 25%; }
.nav-utility-btn {
  background: rgba(240, 150, 40, 0.03); border: 1px solid rgba(240, 150, 40, 0.2);
  border-radius: 4px; color: #f5f5f5; padding: 6px 12px; font-size: 0.7rem; font-family: monospace;
  font-weight: bold; cursor: pointer; display: flex; align-items: center; gap: 5px; transition: all 0.2s;
}
.nav-utility-btn:hover { border-color: var(--amber-glow); color: var(--amber-glow); background: rgba(240, 150, 40, 0.08); }
.nav-ventilation-grille {
  width: 100%; height: 4px; opacity: 0.3;
  background: repeating-linear-gradient(90deg, var(--amber-glow), var(--amber-glow) 3px, transparent 3px, transparent 6px);
}

/* --- CUADRÍCULA PARA 4 ARTWORKS --- */
.artwork-gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 15px;
}
.artwork-item {
  background: rgba(0,0,0,0.4); border: 1px solid rgba(240, 150, 40, 0.15); padding: 6px; border-radius: 4px;
  display: flex; flex-direction: column; gap: 4px;
}
.gallery-img {
  width: 100%; height: 90px; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.05);
}
.img-spec { font-family: monospace; font-size: 0.65rem; color: var(--amber-glow); opacity: 0.6; }

/* --- PANELES INTERACTIVOS Y CONTENIDOS --- */
.split-creator { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.creator-meta { flex: 1; }
.creator-avatar-box { width: 65px; height: 65px; background: #fff; border-radius: 6px; padding: 4px; flex-shrink: 0; border: 1px solid var(--amber-border); }
.creator-logo-embed { width: 100%; height: 100%; object-fit: contain; }

.retro-window-container { background: var(--amber-glass); border: 1px solid var(--amber-border); border-radius: 10px; margin-bottom: 50px; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); overflow: hidden; transition: opacity 0.3s, transform 0.3s; }
.window-top-bar { background: rgba(18, 9, 2, 0.9); border-bottom: 1px solid var(--amber-border); padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; }
.window-status { font-family: monospace; font-size: 0.78rem; color: var(--amber-glow); }
.window-close-dot { width: 14px; height: 14px; background: #ff4545; border: 1px solid rgba(0,0,0,0.3); border-radius: 50%; cursor: pointer; transition: transform 0.1s; }
.window-close-dot:hover { transform: scale(1.15); filter: brightness(1.2); }

.window-control-panel-layout { display: flex; min-height: 340px; }
.panel-sidebar-buttons { width: 28%; background: rgba(0, 0, 0, 0.35); border-right: 1px solid var(--amber-border); display: flex; flex-direction: column; }
.panel-tab-btn { background: transparent; border: none; border-bottom: 1px solid rgba(240, 150, 40, 0.12); color: rgba(255, 255, 255, 0.6); padding: 16px 15px; font-size: 0.95rem; text-align: left; text-transform: uppercase; cursor: pointer; }
.tab-indicator { font-family: monospace; color: rgba(240, 150, 40, 0.2); margin-right: 6px; }
.panel-tab-btn.active { background: rgba(240, 150, 40, 0.08); color: var(--amber-glow); font-weight: bold; border-left: 4px solid var(--amber-glow); }
.panel-tab-btn.active .tab-indicator { color: var(--amber-glow); }

.panel-display-screen { width: 72%; padding: 22px; background: rgba(0, 0, 0, 0.2); display: flex; flex-direction: column; }
.panel-content-view { display: none; flex-direction: column; height: 100%; }
.panel-content-view.active { display: flex; }
.screen-title { font-family: monospace; font-size: 0.9rem; color: var(--amber-glow); margin-bottom: 15px; border-bottom: 1px solid rgba(240, 150, 40, 0.2); padding-bottom: 4px; }
.story-paragraph { font-family: monospace; font-size: 0.85rem; line-height: 1.5; color: rgba(240, 240, 240, 0.85); margin-bottom: 12px; }
.unique-scrollable { max-height: 250px; overflow-y: auto; padding-right: 4px; }
.creator-node { margin-bottom: 20px; border-left: 2px solid rgba(240, 150, 40, 0.2); padding-left: 10px; }
.creator-node h5 { font-family: monospace; font-size: 0.9rem; color: var(--amber-glow); margin-bottom: 4px; }
.role-tag { font-size: 0.7rem; color: rgba(255, 255, 255, 0.4); margin-left: 4px; }
.highlight-text { color: var(--white-pure) !important; font-size: 0.9rem !important; margin-bottom: 14px; }
.screen-footer-stamp { font-family: monospace; font-size: 0.65rem; color: rgba(240, 150, 40, 0.3); border-top: 1px dashed rgba(240, 150, 40, 0.15); padding-top: 8px; margin-top: auto; }

/* HERO DISPLAY */
.container { max-width: 900px; margin: 0 auto; padding: 35px 4%; position: relative; z-index: 2; }
.hero-display { background: rgba(15, 3, 20, 0.85); border: 4px solid var(--white-pure); padding: 50px 20px; margin-bottom: 50px; box-shadow: 12px 12px 0px var(--magenta-neon); text-align: center; backdrop-filter: blur(10px); }
.album-title { font-size: 4.2rem; line-height: 0.9; color: var(--white-pure); text-shadow: 4px 4px 0px var(--black-void); margin-bottom: 20px; }
.subtitle { font-family: monospace; color: var(--azul-electrico); font-weight: bold; font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 30px; }

.panel-links-grid { display: flex; flex-direction: column; gap: 10px; }
.screen-action-link { display: block; background: rgba(0, 0, 0, 0.4); border: 1px solid var(--amber-border); color: var(--white-pure); text-decoration: none; font-size: 0.85rem; padding: 12px; text-transform: uppercase; font-family: monospace; }
.screen-action-link:hover { background: var(--amber-glow); color: var(--black-void); font-weight: bold; }

.counter-glow-wrapper { display: inline-flex; justify-content: center; align-items: center; gap: 10px; background: rgba(0, 0, 0, 0.9); padding: 20px; border: 2px solid var(--white-pure); box-shadow: 0 0 30px rgba(230, 92, 46, 0.2); }
.counter-block span { display: block; font-size: 3.5rem; font-family: monospace; font-weight: bold; color: var(--white-pure); line-height: 1; text-shadow: 0 0 12px var(--lava-naranja); }
.counter-block label { font-size: 0.75rem; font-family: monospace; text-transform: uppercase; color: var(--lava-naranja); display: block; margin-top: 4px; }
.counter-separator { font-size: 2.8rem; color: var(--magenta-neon); font-family: monospace; line-height: 1; padding-bottom: 18px; animation: pulseBlink 1s infinite; }
@keyframes pulseBlink { 50% { opacity: 0.2; } }

/* MONITOR CRT TELEVISOR */
.tv-retro-container { margin-bottom: 50px; width: 100%; scroll-margin-top: 90px; }
.tv-cabinet { background: rgba(28, 17, 36, 0.9); border: 6px solid var(--white-pure); border-radius: 24px; padding: 25px; display: grid; grid-template-columns: 1fr 100px; gap: 20px; box-shadow: 15px 15px 0px var(--azul-electrico); position: relative; }
.tv-antenna { position: absolute; top: -25px; left: 20%; width: 4px; height: 30px; background: var(--white-pure); transform: rotate(-25deg); }
.tv-screen-border { background: #09030d; padding: 12px; border-radius: 35px; border: 3px solid #231130; }
.tv-glass-curve { position: relative; border-radius: 25px; overflow: hidden; box-shadow: inset 0 0 40px rgba(0,0,0,1); background: var(--black-void); }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; }
.video-container video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.tv-static-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; background: radial-gradient(circle, transparent 50%, rgba(0,0,0,0.6) 100%); }
.tv-controls { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; gap: 20px; padding-top: 10px; border-left: 2px solid #231130; padding-left: 15px; background: rgba(15, 3, 20, 0.4); border-radius: 0 12px 12px 0; }
.tv-dial { width: 45px; height: 45px; background: #180924; border: 3px solid var(--white-pure); border-radius: 50%; position: relative; }
.tv-dial::before { content: ''; position: absolute; top: 5px; left: 50%; width: 3px; height: 12px; background: var(--lava-naranja); transform: translateX(-50%); }
.tv-speaker-grille { width: 100%; height: 80px; background: repeating-linear-gradient(180deg, #09030d, #09030d 4px, transparent 4px, transparent 8px); }
.tv-power-led { width: 12px; height: 12px; background: var(--magenta-neon); border-radius: 50%; box-shadow: 0 0 10px var(--magenta-neon); margin-top: auto; }
.tv-metadata { font-family: monospace; font-size: 0.85rem; color: var(--white-pure); margin-top: 12px; }

/* TRACKLIST BOX */
.tracklist-box { background: rgba(0, 0, 0, 0.93); border: 4px solid var(--white-pure); border-left: 10px solid var(--lava-naranja); padding: 40px; box-shadow: -12px 12px 0px var(--morado-intenso); }
.tracklist-header { font-size: 1.3rem; margin-bottom: 25px; color: var(--azul-electrico); font-family: monospace; }
.track-row { display: flex; align-items: center; padding: 20px 0; border-bottom: 2px dashed rgba(255, 255, 255, 0.15); }
.track-row:last-child { border: none; }
.track-index { font-family: monospace; color: var(--magenta-neon); font-size: 1.2rem; margin-right: 25px; }
.track-title { font-size: 2.3rem; text-transform: uppercase; color: var(--white-pure); }

/* SCROLL INTERACTION ANIMATIONS */
.hidden-scroll { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.1, 0.8, 0.2, 1); }
.show-scroll { opacity: 1; transform: translateY(0); }

.flash-glitch-active { animation: flashTrigger 0.3s steps(2) infinite; }
@keyframes flashTrigger { 0% { filter: invert(0.9) hue-rotate(90deg); } 100% { filter: invert(0) hue-rotate(0deg); } }

.reopen-window-btn { display: none; position: fixed; bottom: 20px; right: 20px; background: rgba(10, 5, 2, 0.95); color: var(--amber-glow); border: 1px solid var(--amber-border); padding: 10px 18px; font-family: monospace; font-weight: bold; cursor: pointer; z-index: 200; box-shadow: 0 0 15px rgba(240, 150, 40, 0.15); }
.reopen-window-btn:hover { background: var(--amber-glow); color: var(--black-void); }

/* --- RESPONSIVE --- */
@media screen and (max-width: 768px) {
  .hardware-nav { width: 95%; top: 8px; }
  .logo-container-brand { height: 36px; }
  .btn-lbl { display: none; }
  .album-title { font-size: 2.3rem; line-height: 1.0; }
  .counter-glow-wrapper { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 12px; }
  .counter-separator { display: none; }
  .counter-block span { font-size: 2.2rem; }
  .window-control-panel-layout { flex-direction: column; }
  .panel-sidebar-buttons { width: 100%; flex-direction: row; border-right: none; border-bottom: 1px solid var(--amber-border); }
  .panel-tab-btn { padding: 12px 6px; font-size: 0.75rem; text-align: center; flex-grow: 1; }
  .panel-tab-btn.active { border-left: none; border-bottom: 3px solid var(--amber-glow); }
  .tab-indicator { display: none; }
  .panel-display-screen { width: 100%; padding: 15px; }
  .artwork-gallery-grid { grid-template-columns: 1fr; }
  .split-creator { flex-direction: column; align-items: flex-start; }
  .tv-cabinet { grid-template-columns: 1fr; padding: 12px; }
  .tv-controls { flex-direction: row; justify-content: space-around; border-left: none; border-top: 1px solid #231130; padding-top: 12px; }
  .tv-speaker-grille { display: none; }
  .track-title { font-size: 1.4rem; }
  .track-item {
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none; /* Complemento al bloqueo global que ya pusimos */
}


}