@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', sans-serif;
  --bg-space: #050508;
  --color-primary: #0a1128;
  --color-accent: #00f2ff;
  --color-accent-purple: #8b5cf6;
  --color-accent-pink: #ff007f;
  --color-text: #f3f4f6;
  --color-text-muted: #9ca3af;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  overflow: hidden !important;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-space);
  color: var(--color-text);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 242, 255, 0.4);
}

/* Glassmorphism utility classes */
.glass {
  background: rgba(10, 17, 40, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-premium {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.5) 0%, rgba(88, 28, 135, 0.15) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
}

.glass-input:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-accent);
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.25);
  outline: none;
}

#form-login .glass-input:focus,
#form-admin-login .glass-input:focus {
  border-color: var(--color-accent-pink);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.35);
}

/* Typography helper */
.serif-title {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: 0.05em;
}

/* Space Background Canvas */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

#nebula-glow {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vmax;
  height: 80vmax;
  background: radial-gradient(circle, rgba(255, 0, 127, 0.06) 0%, rgba(139, 92, 246, 0.04) 35%, rgba(6, 182, 212, 0.02) 65%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  pointer-events: none;
  filter: blur(40px);
}

/* Page Section Management */
.page-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.page-section.active {
  opacity: 1;
  pointer-events: all;
  position: absolute;
}

/* Polaroid museum style */
.polaroid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2.5rem;
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
}

.polaroid-card {
  background: #fff;
  padding: 12px 12px 24px 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transform: rotate(var(--rotation, 0deg));
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.polaroid-card:hover {
  transform: scale(1.08) rotate(0deg) translateY(-10px) !important;
  box-shadow: 0 20px 40px rgba(0, 242, 255, 0.25);
  z-index: 50;
}

.polaroid-img-wrapper {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #111;
  position: relative;
}

.polaroid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.polaroid-card:hover .polaroid-img {
  transform: scale(1.05);
}

/* Interactive Constellation */
.constellation-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 100px);
  cursor: grab;
  overflow: hidden;
}

.constellation-container:active {
  cursor: grabbing;
}

#constellation-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.constellation-ui {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  pointer-events: all;
}

/* Audio Player styling */
.custom-audio-player {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Typewriter animation support */
.cursor-blink::after {
  content: '|';
  animation: blink 0.8s infinite;
  color: var(--color-accent);
}

@keyframes blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* Floating Navigation Controls */
.nav-controls {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 99;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-btn {
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(10, 17, 40, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-btn:hover {
  background: var(--color-accent);
  color: var(--bg-space);
  border-color: var(--color-accent);
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
  transform: translateY(-2px);
}

.nav-btn.disabled {
  opacity: 0;
  pointer-events: none;
}

/* Ambient Music Widget */
.music-widget {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 99;
}

/* Custom Customizations */
.btn-glow {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
}

.btn-glow:hover::before {
  left: 100%;
}

/* Custom Netflix-style video card */
.video-card {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  background: #111;
}

.video-card:hover {
  transform: scale(1.05) translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: 0 10px 25px rgba(0, 242, 255, 0.2);
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.video-card:hover .video-thumbnail {
  opacity: 1;
}

.video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 1rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  transition: transform 0.3s ease;
}

/* Floating interactive star decoration */
.neon-star-glow {
  filter: drop-shadow(0 0 6px var(--color-accent));
}

/* Museum Background (Louvre Gallery Crimson & Polished Floor Wall) */
.theme-museum {
  background: 
    /* Bóvedas y sombras del techo */
    radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.15) 0%, transparent 75%),
    /* Foco de luz cálido */
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.35) 0%, transparent 60%),
    /* Suelo pulido oscuro, zócalo de bronce y pared de yeso clara */
    linear-gradient(to top, #0a0b0d 0%, #15171a 28%, #302b23 28%, #3d372e 28.5%, #f4f2eb 28.6%, #eae7dc 100%) !important;
  transition: background 1.2s ease-in-out;
}

/* Luxury Wood Wall Effect for Museum */
.museum-wall {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255, 0.003) 0px, rgba(255,255,255, 0.003) 1px, transparent 1px, transparent 10px);
  opacity: 0.6;
}

/* Elegant Classical Gallery Frame */
.museum-frame {
  background: #fdfbf7; /* Paper/cotton passpartout color */
  padding: 24px 24px 36px 24px;
  border-radius: 4px;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.65), 
    inset 0 0 10px rgba(0, 0, 0, 0.05),
    0 0 0 8px #1e1b15, /* Elegant dark wooden frame border */
    0 0 0 9px #d4af37; /* Thin outer gold border */
  transform: rotate(var(--rotation, 0deg));
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.museum-frame:hover {
  transform: scale(1.08) rotate(0deg) translateY(-15px) !important;
  box-shadow: 
    0 25px 50px rgba(212, 175, 55, 0.35), 
    inset 0 0 10px rgba(0, 0, 0, 0.05),
    0 0 0 8px #1a1712, 
    0 0 0 10px #d4af37;
  z-index: 50;
}

.museum-img-wrapper {
  width: 100%;
  aspect-ratio: 4/3; /* Traditional horizontal frame aspect ratio */
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.museum-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.museum-frame:hover .museum-img {
  transform: scale(1.06);
}

/* Videos Background (Cinema Screen Ambient Light) */
.theme-videos {
  background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.06) 0%, rgba(5, 5, 8, 0) 70%),
              #050508 !important;
  transition: background 1.2s ease-in-out;
}

/* 3D Louvre Viewport & Scene (Square Room) */
#sec-museo {
  padding: 0 !important;
  margin: 0 !important;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
  background: 
    /* Bóvedas y sombras del techo */
    radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.15) 0%, transparent 75%),
    /* Foco de luz cálido */
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.35) 0%, transparent 60%),
    /* Suelo pulido oscuro, zócalo de bronce y pared de yeso clara */
    linear-gradient(to top, #0a0b0d 0%, #15171a 28%, #302b23 28%, #3d372e 28.5%, #f4f2eb 28.6%, #eae7dc 100%) !important;
}

#sec-museo > .text-center {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: 90%;
  max-width: 600px;
  pointer-events: none;
  margin-bottom: 0 !important;
}

#sec-museo > .text-center h2 {
  color: #1a1715 !important;
  text-shadow: 0 1px 3px rgba(255,255,255,0.9);
}

#sec-museo > .text-center p {
  color: #5d5446 !important;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(255,255,255,0.7);
}

.louvre-viewport {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  perspective: 1000px; /* Lente gran angular inmersiva */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0;
  background: transparent;
  z-index: 1;
}

.louvre-scene {
  position: relative;
  width: 100vw;
  height: 100vh;
  transform-style: preserve-3d;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 3D Wall of the Square Room */
.museum-wall-3d {
  position: absolute;
  width: 100vw;
  height: 100vh;
  background: 
    /* Techo / Sombra superior suave */
    radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, 0.15) 0%, transparent 80%),
    /* Foco de luz sobre la pared */
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.35) 0%, transparent 60%),
    /* Suelo pulido oscuro, zócalo de bronce y pared de yeso hueso/beige claro */
    linear-gradient(to top, #0a0b0d 0%, #15171a 20%, #302b23 20%, #3d372e 20.5%, #f4f2eb 20.6%, #eae7dc 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
}

/* Posicionar dinámicamente cada pared formando la habitación cuadrada */
.museum-wall-3d[data-wall="0"] {
  transform: rotateY(0deg) translateZ(-50vw);
}
.museum-wall-3d[data-wall="1"] {
  transform: rotateY(90deg) translateZ(-50vw);
}
.museum-wall-3d[data-wall="2"] {
  transform: rotateY(180deg) translateZ(-50vw);
}
.museum-wall-3d[data-wall="3"] {
  transform: rotateY(270deg) translateZ(-50vw);
}

/* 3D Frame - Gilded Walnut Classical Frame */
.museum-frame-3d {
  position: relative;
  width: 25vw;
  height: 35vw;
  min-width: 280px;
  min-height: 380px;
  max-width: 360px;
  max-height: 500px;
  background: #f4f0e6; /* Archival cotton/rag passepartout */
  padding: 24px 24px 28px 24px; /* Generous margins typical of museum framing */
  
  /* Physical wood frame border with dark gradient simulating shadows and carvings */
  border: 14px solid #1c140f; 
  border-image: linear-gradient(135deg, #2d2018 0%, #17100b 50%, #0d0906 100%) 14;
  
  box-shadow: 
    /* Deep wall drop shadow for depth */
    0 35px 70px rgba(0, 0, 0, 0.75), 
    /* Subtler secondary soft shadow */
    0 10px 20px rgba(0, 0, 0, 0.4),
    /* Inner frame carving highlight/shadow */
    inset 0 0 15px rgba(0,0,0,0.85);
    
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

/* Gilded Fillet / Inner Gold Trim (Filo de Oro) */
.museum-frame-3d::before {
  content: '';
  position: absolute;
  inset: 0px;
  border: 3px solid #d4af37; /* Metallic gold inner accent */
  pointer-events: none;
  box-shadow: 0 0 5px rgba(0,0,0,0.6);
  z-index: 10;
}

.museum-frame-3d:hover {
  transform: scale(1.04) translateZ(25px); /* Emerge de la pared hacia el usuario */
  box-shadow: 
    /* Gilded glow and deeper shadow when floating */
    0 45px 90px rgba(0, 0, 0, 0.85),
    0 15px 30px rgba(212, 175, 55, 0.15),
    inset 0 0 15px rgba(0,0,0,0.85);
}

/* 3D Image Wrapper simulating Recessed Canvas */
.museum-img-wrapper-3d {
  width: 100%;
  height: calc(100% - 50px); /* Deja espacio abajo para el título */
  overflow: hidden;
  position: relative;
  box-shadow: 
    /* Bevel and shadow indicating the artwork is set back behind the matte */
    inset 5px 5px 12px rgba(0, 0, 0, 0.6),
    0 0 0 2px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #000;
}

/* Canvas Paint Overlay Texture */
.museum-img-wrapper-3d::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    repeating-linear-gradient(90deg, rgba(0,0,0,0.12) 0px, rgba(0,0,0,0.12) 1px, transparent 1px, transparent 3px),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.12) 0px, rgba(0,0,0,0.12) 1px, transparent 1px, transparent 3px);
  opacity: 0.45;
  mix-blend-mode: overlay;
  z-index: 5;
}

.museum-img-3d {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.museum-frame-3d:hover .museum-img-3d {
  transform: scale(1.04);
}

/* Elegant Title Below Photo on the Frame Card */
.museum-frame-title-3d {
  width: 100%;
  text-align: center;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #332b21; /* Faded archival ink print */
  margin-top: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.8;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 10px;
}

/* Empty Frame Sign */
.empty-frame-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(212, 175, 55, 0.3);
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 10px;
}

.louvre-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.45); /* Light glassmorphism */
  padding: 8px 18px;
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: 0 !important;
}

.louvre-controls button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #332b21 !important;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.louvre-controls button:hover {
  background: #ffffff;
  color: #000000 !important;
  border-color: rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.louvre-controls span {
  color: #332b21 !important;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Hide global prev/next chapter buttons as requested */
.nav-controls {
  display: none !important;
}

/* Custom styles for tracker arrow navigation buttons */
.nav-arrow-btn {
  background: none !important;
  border: none !important;
  outline: none !important;
  cursor: pointer;
  z-index: 50;
}

/* ==========================================================================
   NEON ROSA FOSFORITO (LOGIN CUSTOMIZATION)
   ========================================================================== */

/* Glassmorphism premium neon pink card */
.glass-premium-neon {
  background: linear-gradient(135deg, rgba(5, 5, 8, 0.9) 0%, rgba(255, 0, 127, 0.06) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 0, 127, 0.35);
  box-shadow: 
    0 0 35px rgba(255, 0, 127, 0.15),
    0 25px 60px rgba(0, 0, 0, 0.75),
    inset 0 0 20px rgba(255, 0, 127, 0.08);
  position: relative;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.glass-premium-neon:hover {
  border-color: rgba(255, 0, 127, 0.65);
  box-shadow: 
    0 0 55px rgba(255, 0, 127, 0.35),
    0 35px 70px rgba(0, 0, 0, 0.85),
    inset 0 0 30px rgba(255, 0, 127, 0.15);
  transform: scale(1.01) translateY(-2px);
}

/* Neon Sign Flicker Animations */
@keyframes neon-text-flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow: 
      0 0 6px #fff,
      0 0 12px var(--color-accent-pink),
      0 0 25px var(--color-accent-pink),
      0 0 45px var(--color-accent-pink);
    color: #fff;
  }
  20%, 24%, 55% {
    text-shadow: 0 0 2px rgba(255, 0, 127, 0.3);
    color: rgba(255, 255, 255, 0.75);
  }
}

@keyframes icon-neon-flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    filter: drop-shadow(0 0 12px rgba(255, 0, 127, 0.85)) drop-shadow(0 0 25px rgba(255, 0, 127, 0.45));
    color: var(--color-accent-pink);
  }
  20%, 24%, 55% {
    filter: drop-shadow(0 0 2px rgba(255, 0, 127, 0.2));
    color: rgba(255, 0, 127, 0.4);
  }
}

.animate-neon-text {
  animation: neon-text-flicker 4s infinite alternate;
}

.animate-icon-neon {
  animation: icon-neon-flicker 5s infinite alternate;
}

.text-neon-glow-pink {
  text-shadow: 
    0 0 8px rgba(255, 0, 127, 0.7),
    0 0 20px rgba(255, 0, 127, 0.3);
}

/* Cyberpunk Corner Ornaments */
.tech-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--color-accent-pink);
  border-style: solid;
  pointer-events: none;
  opacity: 0.7;
  transition: all 0.4s ease;
}

.glass-premium-neon:hover .tech-corner {
  width: 24px;
  height: 24px;
  opacity: 1;
}

.tech-corner-tl {
  top: 14px;
  left: 14px;
  border-width: 2px 0 0 2px;
}

.tech-corner-tr {
  top: 14px;
  right: 14px;
  border-width: 2px 2px 0 0;
}

.tech-corner-bl {
  bottom: 14px;
  left: 14px;
  border-width: 0 0 2px 2px;
}

.tech-corner-br {
  bottom: 14px;
  right: 14px;
  border-width: 0 2px 2px 0;
}

/* High-tech fluorescent input fields */
.glass-input-neon {
  background: rgba(255, 0, 127, 0.01) !important;
  border: 1px solid rgba(255, 0, 127, 0.25) !important;
  color: #fff !important;
  caret-color: var(--color-accent-pink) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.glass-input-neon::placeholder {
  color: rgba(255, 255, 255, 0.3) !important;
  font-weight: 300;
}

.glass-input-neon:hover {
  border-color: rgba(255, 0, 127, 0.5) !important;
  background: rgba(255, 0, 127, 0.03) !important;
}

.glass-input-neon:focus {
  background: rgba(255, 0, 127, 0.06) !important;
  border-color: var(--color-accent-pink) !important;
  box-shadow: 
    0 0 22px rgba(255, 0, 127, 0.45),
    inset 0 0 12px rgba(255, 0, 127, 0.15) !important;
  outline: none !important;
}

/* Glowing Neon Submit Button */
.btn-neon-pink {
  background: linear-gradient(135deg, #ff007f 0%, #ff00a2 50%, #d10068 100%) !important;
  color: #050508 !important;
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.35) !important;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-shadow: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.btn-neon-pink:hover {
  transform: scale(1.02) !important;
  box-shadow: 0 0 30px rgba(255, 0, 127, 0.7) !important;
  background: linear-gradient(135deg, #ff1a8c 0%, #ff1ab3 50%, #e60073 100%) !important;
}

.btn-neon-pink:active {
  transform: scale(0.98) !important;
}

/* Glowing Neon Frame around the viewport for login screens */
#sec-login::before,
#sec-admin-login::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border: 2px solid var(--color-accent-pink);
  border-radius: 16px;
  pointer-events: none;
  z-index: 100;
  box-shadow: 
    0 0 20px rgba(255, 0, 127, 0.45), 
    inset 0 0 20px rgba(255, 0, 127, 0.25);
  animation: border-neon-glow 4s infinite alternate;
}

@keyframes border-neon-glow {
  0%, 100% {
    box-shadow: 
      0 0 15px rgba(255, 0, 127, 0.35), 
      inset 0 0 15px rgba(255, 0, 127, 0.2);
    border-color: rgba(255, 0, 127, 0.7);
  }
  50% {
    box-shadow: 
      0 0 30px rgba(255, 0, 127, 0.65), 
      inset 0 0 25px rgba(255, 0, 127, 0.4);
    border-color: rgba(255, 0, 127, 1);
  }
}


