:root {
  /* Colores principales */
  --neon-cyan: #00ffff;
  --neon-green: #00ff6a;
  --neon-magenta: #ff00ff;
  --neon-gold: #ffcc00;
  --neon-purple: #9e06bd;
  --neon-yellow: #ffe608;
  
  /* Gradientes */
  --gradient-header: linear-gradient(90deg, 
    rgba(183, 0, 255, 0.65), 
    rgba(62, 210, 255, 0.25), 
    rgba(183, 0, 255, 0.65));
  
  --gradient-retro-purple: linear-gradient(to bottom, 
    #9300fc 0%, #853aff 25%, 
    #8820de 26%, #9e16ff 50%, 
    #8416df 51%, #7a00dd 75%, 
    #6500a9 76%, #4600a2 100%);

     --gradient-retro: linear-gradient(to bottom, 
    #ead2ff 0%, #ffe23a 25%, 
    #fdbe29 26%, #ffb916 50%, 
    #ff9901 51%, #ff9901 75%, 
    #eb8900 76%, #ff7b00 100%);

  --gradient-nav: linear-gradient(0deg, 
    rgb(153, 77, 6), rgba(194, 110, 0, 0.952), 
    rgba(255, 181, 21, 0.856), rgb(255, 214, 138), rgb(255, 236, 199));
  
  --gradient-blue: linear-gradient(0deg, 
    rgba(28, 5, 155, 0.75), rgba(43, 10, 190, 0.7), 
    rgba(49, 12, 216, 0.8), rgba(67, 53, 255, 0.85));
  
  --gradient-purple: linear-gradient(0deg, 
    rgba(79, 3, 151, 0.7), rgba(103, 10, 179, 0.7), 
    rgba(136, 24, 211, 0.7), rgba(164, 6, 255, 0.7));
  
  --gradient-green: linear-gradient(0deg, 
    rgba(3, 128, 69, 0.7), rgba(3, 151, 77, 0.7), 
    rgba(8, 170, 108, 0.7), rgba(11, 241, 126, 0.7));
  
  /* Sombras */
  --shadow-neon-cyan: 0 0 20px rgba(0, 255, 255, 0.7);
  --shadow-neon-magenta: 0 0 15px rgba(255, 0, 255, 0.8);
  --shadow-deep: 0 8px 20px rgba(12, 12, 12, 0.5),
                 0 4px 8px rgba(47, 10, 90, 0.5),
                 0 2px 4px rgba(209, 23, 255, 0.1);
  --shadow-inner: inset 0 5px 15px rgba(255, 255, 255, 0.5);
  --shadow-inner-dark: inset 0 -5px 10px rgba(0, 0, 0, 0.3);
  
  /* Bordes */
  --border-cyan: 3px solid var(--neon-cyan);
  --border-magenta: 3px solid var(--neon-magenta);
  --border-purple: 3px solid var(--neon-purple);
  --border-green: 3px solid #00ff6a;
  
  /* Fondos */
  --bg-dark-blue: rgba(22, 9, 204, 0.616);
  --bg-dark-purple: rgba(34, 0, 62, 0.4);
  
  /* Fuentes */
  --font-audiowide: "Audiowide", sans-serif;
  --font-press-start: "Press Start 2P", monospace;
  --font-helvetica: Helvetica, sans-serif;
  --font-verdana: Verdana, sans-serif;
  
  /* PATRONES */
  --pattern-horizontal: repeating-linear-gradient(0deg, 
    rgba(190, 186, 186, 0.6), rgba(82, 82, 82, 0.5) 3px, 
    rgba(155, 152, 152, 0.8) 4px);
  
  --pattern-diagonal-light: repeating-linear-gradient(140deg, 
    rgb(0, 0, 0), rgb(255, 255, 255) 2px, 
    rgb(10, 1, 63) 3px, rgb(0, 0, 0) 4px);
  
  --pattern-diagonal-dark: repeating-linear-gradient(140deg, 
    rgb(51, 51, 51), rgb(0, 0, 0) 2px, 
    rgb(240, 240, 240) 3px, rgb(255, 255, 255) 4px);
  
  --pattern-crt: repeating-linear-gradient(0deg, 
    rgba(210, 206, 206, 0.9), rgba(42, 42, 42, 0.9) 3px, 
    rgba(184, 184, 184, 0.9) 4px);
  
  --pattern-soft: repeating-linear-gradient(0deg, 
    rgb(82, 82, 80), rgba(0, 0, 0, 0.80) 2px, 
    rgb(199, 199, 199) 4px, rgb(252, 252, 252) 5px);
}

/* ESTILOS GENERALES */
* {
  cursor: url(https://cur.cursors-4u.net/games/gam-13/gam1282.cur), auto;
}

/* SCROLLBAR */
body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track {
  background: rgba(2, 10, 48, 0.8);
  box-shadow: inset 0 0 10px #2919ff;
  border-radius: 20px;
}

body::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #00ffff, #ff00ff);
  border-radius: 20px;
}

html, body {
  place-items: center;
}

body {
  margin: 20px 0 0 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: url("https://biblioteca-pikawaiier.neocities.org/Imagenes/Fondo%20pikawaii-01.jpg") no-repeat center center fixed;
  background-size: cover;
  transform-origin: center;
  max-width: 100%;
  height: auto;
  display: grid;
  padding: 20px;
}

/* ANIMACIONES */
@keyframes floating {
  0%, 100% { transform: perspective(1000px) translateY(0); }
  50% { transform: perspective(1000px) translateY(-10px); }
}

/* HEADER */
header {
  background: url("https://i.pinimg.com/originals/fb/12/f3/fb12f36620ba8b19fb86af375e6afd2e.gif") repeat, 
              var(--gradient-header);
  background-blend-mode: overlay;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 20px;
  box-shadow: var(--shadow-inner),
              var(--shadow-inner-dark),
              var(--shadow-neon-cyan),
              0 0 40px rgba(0, 255, 255, 0.4);
  overflow: hidden;
  width: 1050px;
  margin: 0 auto;
  filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.7));
  animation: neon-border 3s linear infinite, floating 4s ease-in-out infinite;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://i.pinimg.com/originals/fb/12/f3/fb12f36620ba8b19fb86af375e6afd2e.gif") repeat;
  opacity: 0.2;
  filter: hue-rotate(180deg) brightness(1.2) contrast(1.5);
  background-size: 250px 250px;
  margin-left: -50px;
  z-index: -2;
}

header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--pattern-horizontal);
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.8;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
}

.logo img {
  width: 500px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 55px rgb(5, 247, 255));
  padding: 30px;
}

/* NAVEGACIÓN */
.nav {
  justify-content: flex-start;
  align-items: center;
  margin-top: 20px;
  display: flex;
  font-family: var(--font-audiowide);
  list-style-type: none;
  gap: 0;
  background: var(--gradient-nav);
  border: var(--border-purple);
  border-radius: 5px;
  width: 1000px;
  height: 40px;
  position: relative;
  box-shadow: inset 0 0 18px rgba(255, 177, 9, 0.719),
              inset 0 0 5px rgb(255, 213, 135),
              0 8px 20px rgba(101, 2, 158, 0.5),
              0 4px 8px rgba(92, 1, 196, 0.5),
              0 2px 4px rgba(25, 0, 31, 0.1);
}

.nav a {
  align-items: center;
  white-space: nowrap;
  font-size: 0.9em;
  letter-spacing: 1px;
  text-shadow: 1px 1px 3px #ffeea4;
  color: black;
  font-weight: bold;
  padding: 11px 15px 11px 15px;
  margin: 0px 40px 0px -40px;
  text-decoration: none;
}

.nav a:hover {
  gap: 5px;
  text-shadow: 1px 1px 3px #fc4f74;
  color: #ffb005;
  padding: 11px 15px 11px 15px;
  background-color: #8a0ab1;
  transform: scale(1.05);
  box-shadow: inset 0 0 10px 5px rgba(43, 34, 43, 0.7);
  border-radius: 3px;
}

.separador {
  border-left: 2px solid #996521;
  height: 36px;
  opacity: 0.8;
  margin: 0px 40px 0px -40px;
  z-index: 10;
}

.nav::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: var(--pattern-diagonal-light);
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.2;
}

.nav::after { width: 100%; height: 40px; }

/* HORIZONTAL SECTION */
.horizontal-section {
  background: rgba(20, 3, 15, 0.596);
  padding: 20px 0;
  border: 3px solid var(--neon-magenta);
  border-radius: 5px;
  width: 1040px;
  position: relative;
  overflow: hidden;
  height: 30px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-deep);
}

.stamps-container {
  display: flex;
  gap: 5px;
  animation: scroll-left 40s linear infinite;
  padding: 14px 0;
  width: max-content;
  will-change: transform;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
}
}

.stamps-container:hover {
  animation-play-state: paused;
}

.stampa {
  width: 100px;
  height: auto;
  transition: all 0.3s ease;
  flex-shrink: 0; 
}

.stamp-mitski {
  width: 60px;
  height: auto;
  transition: all 0.3s ease;
  flex-shrink: 0; 
}

.stampa:hover,
.stamp-mitski:hover {
  transform: scale(1.25);
  z-index: 10;
}

/* FOOTER */
footer {
  position: relative;
  width: 1000px;
  padding: 20px 0 0 0;
  color: #ccc;
  justify-content: center;
  font-family: var(--font-audiowide);
  text-align: center;
  font-size: 1.0rem;
}