/* ------------------------------------------------------------------------------------------------

     |  ___|  __ \  |   |  _ \   _ \   
     | |      |   | |   | |   | |   |  
 \   | |      |   | |   | __ <  |   |  
\___/ \____| ____/ \___/ _| \_\\___/   
                                       
  ___|  _ \  __ \  ____|    _ )   _ _| __ \  ____|    \     ___|  
 |     |   | |   | __|     _ \ \   |  |   | __|     _ \  \___ \  
 |     |   | |   | |      ( `  <   |  |   | |      ___ \       | 
\____|\___/ ____/ _____| \___/\/ ___|____/ _____|_/    _\_____/  

  https://jcduro.bexartideas.com/index.php | 2026 | JC Duro Code & Ideas

------------------------------------------------------------------------------------------------ */
  /* Reseteo básico para evitar margenes extra */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');
/* Para que la cabecera sea visible sobre fondo negro */

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


:root {

  --glass-border: rgba(58,158,255,.33);
  --main-shadow: #53e7ff38;
  --main-background: #0c243cdd;
  --glass-border: rgba(58,158,255,.33);
  --white-white: #fff;
  --black-black: #000;
  --abc-abecedario:#39ff14;
  --landing-neon:#04d9ff;
  --verde-neon: #00ff7f; 
  --rojo-neon: #f01440;
   --primary-color: #5e6c84;
   --carrito-color: #ff00ff;


}

      /* COLORES NEÓN */
    .cyan { --clr: #00ffe1; }
    .pink { --clr: #ff00f7; }
    .green { --clr: #00ff85; }
    .yellow { --clr: #ffea00; }


     
    h1,
h3 {
	text-transform: uppercase;
}

h1 {
    text-align: center;
    color: var(--landing-neon);
    text-shadow: 0 0 10px var(--landing-neon);
    margin-bottom: 25px;
    font-size: 1.5rem;
      text-shadow: 0 1px 0 #ccc,
               0 2px 0 #c9c9c9,
               0 3px 0 #bbb,
               0 4px 0 #b9b9b9,
               0 5px 0 #aaa,
               0 6px 1px rgba(0,0,0,.1),
               0 0 5px rgba(0,0,0,.1),
               0 1px 3px rgba(0,0,0,.3),
               0 3px 5px rgba(0,0,0,.2),
               0 5px 10px rgba(0,0,0,.25),
               0 10px 10px rgba(0,0,0,.2),
               0 20px 20px rgba(0,0,0,.15);
}


h2 {
  text-align: center;
  color: var(--landing-neon);
  text-shadow: 0 0 10px var(--landing-neon);
  margin-bottom: 20px;
  font-size: 1.3rem;
}


h3 {
	font-size: 1em;
	line-height: 1.25em;
	margin-top: 0;
	margin-bottom: .5em;
}

p {
	font-size: .875em;
	line-height: 1.4;
	margin: 0 0 1em;
}





main {
  flex: 1 1 auto;
      width: 100%;
  margin: 30px auto 30px auto;
background-color: var(--main-background);
 border-radius: 12px;
  border: 2px solid var(--glass-border);
  box-shadow: 0 0 44px var(--main-shadow);
  padding: 40px 0;       /* Espacio arriba y abajo del grupo de botones */
  align-items: center;
  justify-content: space-between;
  min-height: 200px;
text-align: center;
}


    
.super-container {
  display: flex;
  flex-wrap: wrap;       /* Para filas y columnas, si tienes muchos */
  gap: 24px;             /* Espacio entre botones horizontal/vertical */
  justify-content: center;

}



    .super-button {
      border: none;
      color: var(--white-white);
        width: 160px;
      font-size: 18px;
      padding: 14px 36px;
      cursor: pointer;
      position: relative;
      transition: 0.3s;
      border-radius: 6px;
      background: transparent;
      overflow: hidden;
    }



    /* 1. Brillo simple */
    .btn1 {
      border: 2px solid var(--clr);
      box-shadow: 0 0 10px var(--clr);
    }
    .btn1:hover {
      background: var(--clr);
      color: var(--black-black);
      box-shadow: 0 0 25px var(--clr);
    }

    /* 2. Glow interno */
    .btn2 {
      border: 2px solid var(--clr);
      box-shadow: inset 0 0 15px var(--clr);
    }
    .btn2:hover {
      background: var(--clr);
      color: var(--black-black);
      box-shadow: 0 0 25px var(--clr), inset 0 0 25px var(--clr);
    }

    /* 3. Borde animado */
    .btn3 {
      border: 2px solid transparent;
      background: linear-gradient(#0a0a0a, #0a0a0a) padding-box,
                  linear-gradient(45deg, var(--clr), transparent) border-box;
      box-shadow: 0 0 10px var(--clr);
    }
    .btn3:hover {
      box-shadow: 0 0 25px var(--clr);
      transform: scale(1.05);
      color: var(--white-white);
    }

    /* 4. Glow pulsante */
    .btn4 {
      border: 2px solid var(--clr);
      animation: pulse 1.5s infinite;
    }
    @keyframes pulse {
      0%, 100% { box-shadow: 0 0 10px var(--clr); }
      50% { box-shadow: 0 0 25px var(--clr); }
    }

    .btn4:hover {
     color: var(--white-white);
    }


    /* 5. Fondo en transición */
    .btn5 {
      border: 2px solid var(--clr);
      background: linear-gradient(90deg, transparent 50%, var(--clr) 50%);
      background-size: 200%;
      transition: background-position 0.4s;
    }
    .btn5:hover {
      background-position: -100%;
      color: var(--black-black);
    }

    /* 6. Rotación 3D (nuevo) */
    .btn6 {
      border: 2px solid var(--clr);
      perspective: 500px;
    }
    .btn6:hover {
      transform: rotateY(360deg);
      background: var(--clr);
      color: var(--black-black);
      box-shadow: 0 0 25px var(--clr);
    }

    /* 7. Ondulación (nuevo) */
    .btn7 {
      border: 2px solid var(--clr);
      position: relative;
      overflow: hidden;
    }
    .btn7::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      background: var(--clr);
      opacity: 0.6;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      transition: 0.5s;
    }
    .btn7:hover::after {
      width: 300%;
      height: 300%;
      color: #f7da03;
    }

    /* 8. Texto con resplandor */
    .btn8 {
      border: 2px solid var(--clr);
      text-shadow: 0 0 8px var(--clr);
    }
    .btn8:hover {
      box-shadow: 0 0 25px var(--clr);
    }

    /* 9. Contorno cambiante */
    .btn9 {
      border: 2px dashed var(--clr);
    }
    .btn9:hover {
      border-style: solid;
      background: var(--clr);
      color: var(--black-black);
    }

    /* 10. Halo */
    .btn10 {
      border: 2px solid var(--clr);
    }
    .btn10:hover {
      box-shadow: 0 0 10px var(--clr), 0 0 40px var(--clr);
      color: var(--white-white);
    }

    /* 11. Lluvia de brillo (nuevo) */
    .btn11 {
      border: 2px solid var(--clr);
      background: rgba(255,255,255,0.05);
      overflow: hidden;
    }
    .btn11::before {
      content: "";
      position: absolute;
      top: -100%;
      left: 0;
      width: 100%;
      height: 300%;
      background: linear-gradient(180deg, transparent, var(--clr), transparent);
      animation: shine 2s linear infinite;
    }
    @keyframes shine {
      0% { transform: translateY(0); }
      100% { transform: translateY(100%); }
    }
        .btn11:hover {
      color: var(--white-white);
    }


/* 12. Borde líquido amarillo */
.btn12 {
  border: 2px solid var(--clr);
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: transparent;
  transition: 0.4s;
}

.btn12::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background: linear-gradient(120deg, transparent, var(--clr), transparent);
  background-size: 200% 100%;
  z-index: -1;
  animation: flow 2s linear infinite;
}

.btn12:hover {
  background: var(--clr);
  color: var(--black-black);
  box-shadow: 0 0 25px var(--clr);
}

@keyframes flow {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}



/* ------------------------------------------------------------------------------------------------

Juego de HangMan 

------------------------------------------------------------------------------------------------ */








h1.titulo {
  margin: 50px auto 80px auto;
  text-align: center;
  font-family: Cambria, Cochin, Georgia, Times, Times New Roman, serif;
}


h1#msg-final {
  text-align: center;
  color: var(--black-black);
  transition: all .5s ease;
  transform: scale(0);
  min-height: 50px;
  margin-bottom: 0;
}
.zoom-in {
  transform: scale(1) !important;
}


.ahorcado-box {
  width: 225px;
  height: 225px;
  margin: 0 auto 20px auto; /* centrado + espacio debajo */
  position: relative;
}

.ahorcado-box picture {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

.ahorcado-box picture img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}



#acierto {
  text-align: center;
  min-height: 24px;
  transform: scale(0);
}
.acierto {
  animation: zoomInOut 1s ease;
}
.rojo {
  color: red;
}
.verde {
  color: green;
}
@keyframes zoomInOut {
  0% { transform: scale(0); }
  50% { transform: scale(1); }
  70% { transform: scale(1); }
  100% { transform: scale(0); }
}

.hangman-panel {
  border: 2px solid var(--landing-neon);
  border-radius: 12px;
  padding: 16px 24px;
  margin: 20px auto;
  max-width: 90px;
  box-shadow:
    0 0 12px rgba(0, 255, 255, 0.5),
    0 0 26px rgba(0, 255, 255, 0.2);
}


.palabra {
  margin: 0 auto 25px auto;
  text-align: center;
  color: royalblue;
  text-transform: uppercase;
  letter-spacing: 6px;
}


.flex-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;              /* separación uniforme */
  margin: 20px auto;
  max-width: 900px;       /* ancho máximo del juego */
}

.col {
  flex: 1 1 100%;
  text-align: center;
}

#abcdario {
  display: grid;
  grid-template-columns: repeat(3, auto); /* 3 columnas */
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
}


#abcdario .letra {
  background: transparent;
  border: 2px solid var(--verde-neon);
  color: var(--verde-neon);
  padding: 8px 12px;
  margin: 4px;
  min-width: 34px;
  font-size: 16px;
  font-family: 'Orbitron', system-ui, sans-serif;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  text-shadow: 0 0 6px var(--verde-neon);
  box-shadow:
    0 0 6px var(--verde-neon),
    0 0 14px rgba(57, 255, 20, 0.7);
  transition: 0.15s ease-in-out;
}

#abcdario .letra:hover {
  background: var(--verde-neon);
  color: #050816;
  box-shadow:
    0 0 12px var(--verde-neon),
    0 0 24px rgba(57, 255, 20, 0.9);
}

#abcdario .letra:disabled {
  opacity: 0.2;
  box-shadow: none;
  cursor: default;
}



.no-wrap {
  flex-wrap: nowrap !important;
}


#turnos h3 {
  margin: auto;
}
h3 span {
   color: orangered;
}
.letra:disabled {
  color: var(--rojo-neon);
}
picture {
  position: relative;
}
picture img {
  position: absolute;
  top: -203px;
  left: -205px;
  height: 225px;
}
#image5, #image4, #image3,
#image2, #image1, #image0 {
  opacity: 0;
  transition: opacity .3s ease;
}
.fade-in {
  opacity: 1 !important;
}
.encuadre {

  border: 2px dashed var(--black-black);
  padding: 3px 2px 2px 6px;
}




/* ------------------------------------------------------------------------------------------------

LANDING

------------------------------------------------------------------------------------------------ */




/* Fondo general de la landing */
.neon-page {
  min-height: 100vh;
  background-color: var(--black-black);
  color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Sección central */
.neon-section {
  max-width: 768px;
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

/* Glow de fondo */
.neon-glow {
  pointer-events: none;
  position: absolute;
  inset: -8rem;
  background: radial-gradient(circle at top, rgba(4, 217, 255, 0.18), transparent 60%);
}

/* Contenido */
.neon-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Logo */
.neon-logo-wrapper {
  display: flex;
  justify-content: center;
}


.neon-logo {
  height: 10rem;
  width: auto;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 18px var(--landing-neon));
}

/* Texto superior */
.neon-kicker {
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--landing-neon);
}

/* Título */
.neon-title {
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 700;
}

@media (min-width: 768px) {
  .neon-title {
    font-size: 3rem;
  }
}

.neon-title-highlight {
  color: var(--landing-neon);
  text-shadow: 0 0 25px var(--landing-neon);
}

/* Descripción */
.neon-desc {
  color: #94a3b8;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* Botones */
.neon-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.neon-btn-primary,
.neon-btn-secondary {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 150ms ease-out;
  font-weight: 600;
}

/* Primary */
.neon-btn-primary {
  background-color: var(--landing-neon);
  color: #020617;
  border: none;
  box-shadow: 0 0 25px var(--landing-neon);
}

.neon-btn-primary:hover {
  box-shadow: 0 0 40px var(--landing-neon);
  transform: translateY(-2px);
}

/* Secondary */
.neon-btn-secondary {
  background-color: transparent;
  color: var(--landing-neon);
  border: 1px solid var(--landing-neon);
}

.neon-btn-secondary:hover {
  background-color: rgba(4, 217, 255, 0.1);
}

/* Stats */
.neon-stats {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

@media (min-width: 768px) {
  .neon-stats {
    font-size: 0.875rem;
  }
}

.neon-stat-card {
  border-radius: 0.75rem;
  border: 1px solid rgba(30, 41, 59, 0.8);
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(8px);
  padding: 0.75rem;
  transition: border-color 150ms ease-out;
}

.neon-stat-card:hover {
  border-color: rgba(4, 217, 255, 0.6);
}

.neon-stat-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.neon-stat-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--landing-neon);
}




/* ------------------------------------------------------------------------------------------------

Galeria en react

------------------------------------------------------------------------------------------------ */





.galeria {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.galeria-img {
  border-radius: 18px;
  box-shadow: 0 0 25px 5px var(--landing-neon), 0 0 7px 2px var(--white-white);
  border: 2px solid var(--landing-neon);
  transition: transform 0.4s, box-shadow 0.4s;
  width: 270px;
  height: 210px;
  object-fit: cover;
  cursor: pointer;
  filter: brightness(1.15);
}

.galeria-img:hover {
  transform: scale(1.15) rotate(-2deg);
  box-shadow: 0 0 35px 12px var(--white-white), 0 0 60px 4px var(--landing-neon), 0 0 120px #00f;
  filter: brightness(1.3);
}

.titulo {
  color: var(--white-white);
  font-size: 2rem;
  text-shadow: 0 0 8px var(--landing-neon), 0 0 20px #00f;
  text-align: center;
  margin-top: 32px;
  letter-spacing: 2px;
}

.modal-contenido {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-frame {
  position: relative;
  display: inline-block;
}


/* Tus estilos base se mantienen, solo ajustamos posición */
.modal-flecha {
  position: absolute;
  display: block;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;     /* un poco menor que el círculo */
  line-height: 1;        /* evita que suba/baje el símbolo */
  padding: 0;    
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.7);
  border: none;
  color: var(--white-white);
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 20px 4px var(--landing-neon), 0 0 8px #00f;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  z-index: 2; /* suficiente por encima de la imagen */
}

/* Pegadas al borde del frame, no tanto sobre la foto */
.modal-flecha-izq {
  left: 0;
  transform: translate(-80%, -50%);
}

.modal-flecha-der {
  right: 0;
  transform: translate(80%, -50%);
}

.modal-flecha:hover {
  background: var(--landing-neon);
  color: #232649;
  box-shadow: 0 0 50px 10px var(--landing-neon), 0 0 16px var(--white-white);
}


.modal-img {
  border-radius: 25px;
  max-width: 70vw;
  max-height: 70vh;
  box-shadow: 0 0 80px 12px var(--landing-neon), 0 0 32px var(--white-white);
  border: 4px solid var(--landing-neon);
  animation: modalPop 0.4s;
}

@keyframes modalPop {
  from { transform: scale(0.7); opacity: 0.2; }
  to { transform: scale(1); opacity: 1; }
}



.modal-cerrar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;   /* algo más pequeño que el círculo */
  line-height: 1;
  padding: 0;
  position: absolute;
  top: 10px;
  right: 15px;
  background: rgba(0,0,0,0.7);
  border: none;
  color: var(--white-white);
  font-size: 2.2rem;
  cursor: pointer;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  box-shadow: 0 0 20px 4px var(--landing-neon);
  z-index: 103;
}


.modal-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}




/* ------------------------------------------------------------------------------------------------

Form, listado y conver excel

------------------------------------------------------------------------------------------------ */



.form-container {
  width: 100%;
  max-width: 400px;
  padding: 30px;
  border: 1px solid var(--landing-neon);
  border-radius: 15px;
  box-shadow: 0 0 20px var(--landing-neon), inset 0 0 10px var(--landing-neon);
  background: rgba(0, 0, 0, 0.9);

}


label {
  display: block;
  margin-top: 15px;
  color: var(--landing-neon);
  font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  background: #111;
  border: 1px solid var(--landing-neon);
  color: var(--landing-neon);
  border-radius: 5px;
  outline: none;
  font-size: 1rem;
}

input[type="checkbox"] {
  accent-color: var(--landing-neon);
  margin-right: 8px;
}

button {
  margin-top: 25px;
  width: 100%;
  padding: 12px;
  background: var(--landing-neon);
  border: none;
  color: #000;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 0 10px var(--landing-neon);
  font-size: 1rem;
}

button:hover {
  background: var(--landing-neon);
}



/* ---------- Listado Neon ---------- */
.listado-neon{
  width:100%;
  max-width:900px;
  margin:50px auto 30px;
  padding:20px;
  border:1px solid var(--landing-neon);
  border-radius:15px;
  box-shadow:0 0 20px var(--landing-neon),inset 0 0 10px var(--landing-neon);
  background:rgba(0,0,0,.85);
}
.listado-neon h3{
  text-align:center;
  color:var(--landing-neon);
  text-shadow:0 0 8px var(--landing-neon);
  margin-bottom:15px;
}
.vacio{
  text-align:center;
  color:#888;
}
.tabla-cont{overflow-x:auto}          /* responsivo */
.neon-table{
  width:100%;
  border-collapse:collapse;
  font-size:.95rem;
  color:var(--white-white);
}
.neon-table th,
.neon-table td{
  padding:8px 10px;
  border:1px solid var(--landing-neon);
  text-align:center;
}
.neon-table th{
  background:#00aabb22;
  color: var(--landing-neon);
  text-shadow:0 0 5px var(--landing-neon);
}
.neon-table tr:nth-child(even){background:#111}
.neon-table tr:hover{background:#003333}


.flash-ok{
  background:#00f3ff22;
  color: var(--landing-neon);
  text-align:center;
  padding:8px;
  margin-bottom:15px;
  border:1px solid var(--landing-neon);
  border-radius:5px;
  text-shadow:0 0 5px var(--landing-neon);
}

/* Responsivo */
@media (max-width: 600px) {
  .form-container {
    padding: 20px;
  }

  h2 {
    font-size: 1.3rem;
  }

  input, select, button {
    font-size: 0.95rem;
  }
}


/* móviles */
@media(max-width:600px){
  .neon-table{font-size:.8rem}
  .neon-table th,
  .neon-table td{padding:6px 8px}
}



/* ------------------------------------------------------------------------------------------------

CRUD

------------------------------------------------------------------------------------------------ */


.crud-form-wrapper {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crud-form {
  width: 100%;
  max-width: 520px;
  padding: 24px 26px;
  border-radius: 12px;
  background: rgba(5, 8, 22, 0.9);
  box-shadow:
    0 0 12px rgba(0, 255, 255, 0.35),
    0 0 30px rgba(0, 255, 255, 0.2);
}



.neon-form {
  max-width: 680px;
  margin: 20px auto;
}

.neon-form-group {
  margin-bottom: 14px;
}

.neon-form-group label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.neon-form-group input[type="text"],
.neon-form-group input[type="email"] {
  width: 100%;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid rgba(0, 229, 255, 0.5);
  background: var(--black-black);
  color: var(--white-white);
  box-sizing: border-box;
}



        .btn-neon {
            display: inline-block;
            padding: 8px 14px;
            font-size: 13px;
            border-radius: 4px;
            border: 1px solid transparent;
            text-decoration: none;
            cursor: pointer;
            margin-right: 6px;
        }
        .btn-neon {
            color: var(--black-black);
            background: var(--landing-neon);
            box-shadow: 0 0 10px rgba(0, 229, 255, 0.7);
        }
        .btn-neon:hover {
            background: var(--landing-neon);
            box-shadow: 0 0 18px rgba(0, 229, 255, 0.9);
                text-decoration: none;
        }
      
        .btn-action {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 4px;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    margin-right: 4px;
    transition: all 0.2s ease-in-out;
}




/* Azul neón (Editar) */
.btn-edit {
    color: var(--black-black);
    background: var(--landing-neon);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.7);
}
.btn-edit:hover {
    background: var(--landing-neon);
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.9);
    transform: translateY(-1px);
        text-decoration: none;
}



/* Verde neón (Ver) */
.btn-view {
    color: var(--black-black);
    background: var(--verde-neon); 
    box-shadow: 0 0 10px rgba(0, 255, 127, 0.7);
}
.btn-view:hover {
    background: var(--verde-neon);
    box-shadow: 0 0 18px rgba(0, 255, 127, 0.9);
    transform: translateY(-1px);
        text-decoration: none;
}

/* Rojo neón (Eliminar) */
.btn-delete {
    color: var(--white-white);
    background: var(--rojo-neon);
    box-shadow: 0 0 10px rgba(255, 23, 68, 0.7);
}
.btn-delete:hover {
    background: var(--rojo-neon);
    box-shadow: 0 0 18px var(--rojo-neon);
    transform: translateY(-1px);
        text-decoration: none;
}


.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 22, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.modal-neon {
    background: var(--black-black);
    border-radius: 10px;
    padding: 20px 24px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 0 24px rgba(255, 23, 68, 0.5);
    border: 1px solid rgba(255, 23, 68, 0.7);
    text-align: center;
}

.modal-neon h2 {
    margin-bottom: 10px;
    color: var(--rojo-neon);
    text-shadow: 0 0 10px var(--rojo-neon);
}

.modal-neon p {
    margin-bottom: 18px;
    font-size: 14px;
    color: var(--white-white);
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
}




/* ------------------------------------------------------------------------------------------------

BUSCADOR DE PAISES

------------------------------------------------------------------------------------------------ */


/* ===== CONTENEDOR PRINCIPAL ===== */
.neon-search-main {
  width: 50vh;
  min-height: 50vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 12px;
  background: radial-gradient(circle at top, #031526 0%, #00030a 55%, #000000 100%);
}

.neon-search-wrapper {
  max-width: 100%;
  margin: 40px auto;
  padding: 24px 20px 28px;
  border-radius: 14px;
  background: radial-gradient(circle at top, #041321 0%, #01040c 55%, #000000 100%);
  box-shadow:
    0 0 18px rgba(0, 255, 255, 0.35),
    0 0 40px rgba(0, 255, 255, 0.25),
    inset 0 0 12px rgba(0, 255, 255, 0.10);
  border: 1px solid rgba(0, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  color: var(--white-white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===== CABECERA ===== */
.neon-search-header {
  text-align: center;
  margin-bottom: 18px;
}

.neon-search-title {
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-white);
  margin-bottom: 4px;
  text-shadow:
    0 0 6px var(--landing-neon),
    0 0 18px rgba(0, 255, 255, 0.4);
}

.neon-search-subtitle {
  font-size: 0.8rem;
  color: var(--landing-neon);
  letter-spacing: 0.04em;
}

/* ===== INPUT BUSCADOR ===== */
.neon-search-input {
  width: 100%;
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--landing-neon);
  background: radial-gradient(circle at top left, #04151f 0%, #020915 60%);
  color: var(--white-white);
  font-size: 0.9rem;
  outline: none;
  box-shadow:
    0 0 10px var(--landing-neon),
    inset 0 0 5px rgba(0, 0, 0, 0.7);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.neon-search-input::placeholder {
  color: #5f9ca8;
}

.neon-search-input:focus {
  border-color: var(--landing-neon);
  box-shadow:
    0 0 16px var(--landing-neon),
    0 0 40px rgba(0, 255, 255, 0.55);
  transform: translateY(-1px);
}


.neon-user-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;

  /* NUEVO: altura fija aproximada para 3 items */
  max-height: 310px;         /* ajusta según el alto real de cada li */
  overflow-y: auto;          /* scroll vertical para ver el resto */
}



.neon-user-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: linear-gradient(120deg, rgba(0, 22, 40, 0.97), rgba(0, 8, 20, 0.95));
  border: 1px solid var(--landing-neon);
  box-shadow:
    0 0 12px var(--landing-neon),
    0 0 26px rgba(0, 120, 255, 0.35);
}

.neon-user-item.hide {
  display: none;
}


/* Bandera */
.neon-flag {
  flex: 0 0 32px;
  width: 32px;
  height: 24px;
  border-radius: 4px;
  box-shadow: 0 0 8px var(--landing-neon);
}

/* Contenedor texto */
.neon-user-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.neon-user-name {
  font-size: 0.95rem;
  color: var(--white-white);
}

.neon-user-location {
  font-size: 0.8rem;
  color: var(--white-white);
}




/* ------------------------------------------------------------------------------------------------

CONVERTIDOR DE IMAGENES

------------------------------------------------------------------------------------------------ */


.file-hidden {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}


.file-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--landing-neon);
  color: var(--black-black);
  cursor: pointer;
  margin: 20px auto 10px;
  box-shadow:
    0 0 6px var(--landing-neon),
    0 0 15px var(--landing-neon);
}

.file-trigger i {
  font-size: 20px;
}

  input[type=file] {
        display: block;
        margin: 20px auto 10px auto;
        padding: 6px;
        background: var(--black-black);
        border: 2px solid var(--landing-neon);
        border-radius: 5px;
        color: var(--landing-neon);
        font-family: monospace;
    }
    select {
        font-size: 16px;
        margin: 10px auto;
        padding: 8px 15px;
        border: 2px solid var(--landing-neon);
        border-radius: 6px;
        background: #002535;
        color: var(--landing-neon);
        font-family: 'Orbitron', monospace;
        display: block;
        cursor: pointer;
    }


  button[type="submit"][name="convertir"][name="crear"] {
  margin: 20px auto 8px;
  background: var(--landing-neon);
  border: 2px solid var(--landing-neon);
  color: var(--black-black);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 10px 32px;
  border-radius: 30px;
  box-shadow:
    0 0 6px var(--landing-neon),
    0 0 15px var(--landing-neon),
    0 0 22px var(--landing-neon),
    0 0 35px var(--landing-neon);
  font-family: 'Orbitron', monospace;
  transition: transform 0.2s ease-in-out,
              box-shadow 0.2s ease-in-out,
              background-color 0.2s ease-in-out,
              color 0.2s ease-in-out;
  cursor: pointer;
  user-select: none;
  display: inline-block;
}

button[type="submit"][name="convertir"]:hover, [name="crear"]:hover,
button[type="submit"][name="convertir"]:focus, [name="crear"]:focus {
  background: var(--white-white);
  color: #008282;
  box-shadow:
    0 0 15px var(--landing-neon),
    0 0 30px var(--landing-neon);
  transform: translateY(-1px);
}

button[type="submit"][name="convertir"]:active, [name="crear"]:active {
  transform: translateY(0);
  box-shadow:
    0 0 8px var(--landing-neon),
    0 0 18px var(--landing-neon);
}

    .info {
        font-size: 16px;
        min-height: 28px;
        margin: 12px 0 8px 0;
        user-select: none;
    }
    .error {
        color: var(--rojo-neon);
        text-shadow: 0 0 7px var(--rojo-neon);
    }
    .success {
        color: var(--landing-neon);
        text-shadow: 0 0 7px var(--landing-neon);
    }
    img {
        margin: 14px auto;
        max-width: 280px;
        border-radius: 12px;
         transition: transform .5s cubic-bezier(0.68, -0.55, 0.265, 1.55); 

    }
    a.download {
        text-decoration: none;
        color: var(--landing-neon);
        font-weight: 700;
        font-family: 'Orbitron', monospace;
        font-size: 16px;
        letter-spacing: 1.2px;
        display: inline-block;
        margin-top: 10px;
        background: #004040cc;
        padding: 7px 20px;
        border-radius: 10px;
        box-shadow:
            0 0 10px var(--landing-neon),
            0 0 20px var(--landing-neon);
        transition: all 0.25s ease-in-out;
    }
    a.download:hover {
        background: #f0ffffcc;
        color: #008080;
        box-shadow:
            0 0 15px var(--landing-neon),
            0 0 30px var(--landing-neon),
            0 0 45px var(--landing-neon);
    }
    


/* Móviles: hasta 576px, ajusta si usas otro breakpoint */
@media (max-width: 576px) {
  main {
    max-width: 100%;
    margin: 15px auto;
    padding: 15px 10px;
  }

  button[type="submit"][name="convertir"][name="crear"] {
    padding: 8px 20px;
    font-size: 0.9rem;
  }

    .file-trigger {
    width: 40px;
    height: 40px;
  }

  h1 {
    font-size: 1.2rem;    /* antes 2.6rem */
    letter-spacing: 1px;
  }

    input[type="file"] {
    color: transparent;   /* oculta el texto, mantiene el botón */
    max-width: 140px;     /* ajusta el ancho para que casi no se vea el label */
  }

  input[type=file],
  select,
  button,
  a.download {
    font-size: 0.9rem;    /* texto un poco más pequeño */
    padding: 8px 16px;    /* menos padding para que no se desborde */
  }

  .info {
    font-size: 14px;
  }

  img {
    max-width: 100%;      /* ocupa todo el ancho disponible sin salirse */
    height: auto;
  }
}




/* ------------------------------------------------------------------------------------------------

FILE UPLOADER1

------------------------------------------------------------------------------------------------ */


.uploader-wrapper {
  margin: 20px auto 0;
  max-width: 620px;
  text-align: center;
}

.neon-button.upload-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 999px;
  border: 2px solid var(--landing-neon);
  background: rgba(4, 10, 24, 0.9);
  color: var(--landing-neon);
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 0 10px rgba(0, 255, 255, 0.7),
    0 0 24px rgba(0, 255, 255, 0.35);
  transition: 0.18s ease-in-out;
}

.neon-button.upload-trigger i {
  font-size: 1.1rem;
}

.neon-button.upload-trigger span {
  font-weight: 600;
}

.neon-button.upload-trigger:hover {
  background: var(--landing-neon);
  color: #050816;
  box-shadow:
    0 0 14px rgba(0, 255, 255, 0.9),
    0 0 32px rgba(0, 255, 255, 0.6);
}





/* ------------------------------------------------------------------------------------------------

CARDS EFFECTS

------------------------------------------------------------------------------------------------ */




/* ---- Layout Containers ---- */

.main-header {
	text-align: center;
	padding: 2.8em 0;
}

.photo-container {
	text-align: center;
	margin-bottom: 2.5em;
}



/* ===============================
   Efecto Neón para el título
================================== */

.name {
  font-size: 2.2em;
  font-weight: 800;
  color: var(--landing-neon);
  text-shadow:
    0 0 5px var(--landing-neon),
    0 0 10px var(--landing-neon),
    0 0 20px var(--landing-neon),
    0 0 40px var(--landing-neon);
  transition: all 0.4s ease-in-out;
}

.name:hover {
  transform: scale(1.3);
  text-shadow:
    0 0 10px var(--landing-neon),
    0 0 20px var(--landing-neon),
    0 0 40px var(--landing-neon),
    0 0 80px var(--landing-neon),
    0 0 120px var(--landing-neon);
}



/* ---- Page Elements ---- */

.name span {
	font-weight: 300;
	margin-left: -7px;
}

img { 
  transition: transform .5s cubic-bezier(0.68, -0.55, 0.265, 1.55); 
}

/* ✅ Sombra neón base */
.photo-container img {
  max-width: 70%;
  position: relative;
  z-index: 100;
  box-shadow: 0 0 10px var(--landing-neon), 0 0 20px var(--landing-neon), 0 0 30px var(--landing-neon); /* Brillo base */
  border-radius: 8px;
}

/* ✅ Efecto de luz neón al pasar el mouse */
.photo-container img:hover {
  box-shadow: 0 0 15px var(--landing-neon),
              0 0 30px var(--landing-neon),
              0 0 45px var(--landing-neon),
              0 0 60px var(--landing-neon);
  filter: brightness(1.2);
  transition: all 0.4s ease-in-out;
}



.photo {
	position: relative;
	line-height: 0;
}

/* ---- Photo Overlay ---- */
.photo-desc {
	color: var(--white-white);
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	padding-left: 20px;
	padding-right: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: rgba(51, 49, 160, 0.8);
	line-height: 0;
}

/* ---- Float clearfix ---- */
.clearfix::after {
	content: " ";
	display: table;
	clear: both;
}

/* =================================
  Photo 3D Transforms & Transitions
==================================== */

.photo-container { perspective: 700px; }

.photo {
	transition: transform 1s cubic-bezier(.55, -.62, .27, 1.2);
	transform-style: preserve-3d;
}

.photo img,
.photo2 img {
	transform-origin: 50% 100%;
}

.photo:hover img,
.photo2:hover img {
	transform: scale(1.2);
}

.side-a,
.side-b,
.side-2a,
.side-2b {
	-webkit-backface-visibility: hidden;
}

/* First Row */
.photo:hover { transform: rotate3d(0, 1, 0, 180deg); }

.side-b { transform: rotate3d(0, 1, 0, 180deg); }

/* Second Row */
.photo2:hover { transform: rotate3d(1, 0, 0, 180deg); }

.side-2b { transform: rotate3d(1, 0, 0, 180deg); }

/* =================================
  Media Queries
==================================== */


/* Móviles: ancho menor o igual a 576px */
@media (max-width: 576px) {
  .header h1 {
    font-size: 1.4rem;   /* Título más pequeño en cel */
  }

  .header .dash-btn {
    font-size: 0.75rem;  /* Texto de los botones más pequeño en cel */
    padding: 6px 10px;   /* Opcional: menos padding para que se vea más compacto */
  }
}




@media (min-width: 769px) {


	.photo-container {
		width: 48%;
		float: left;
		margin-left: 4%;
	}

}

@media (min-width: 769px) and (max-width: 1024px) {
	.photo-container:nth-child(2n+1) {
		margin-left: 0;
		clear: left;
	}
}

@media (min-width: 1025px) {
	.photo-container { width: 30.63973064%; }
	
	.photo-container:nth-child(3n+1) {
		margin-left: 0;
		clear: left;
	}
}



/* ------------------------------------------------------------------------------------------------

SORTEABLE CARDS

------------------------------------------------------------------------------------------------ */




    /* Tablero Kanban */
    .board {
      display: flex;
      gap: 20px;
      align-items: flex-start;
      justify-content: center;
      flex-wrap: wrap;

    }

    .column {
      background: var(--white-white);
      width: 300px;
      border-radius: 12px;
      padding: 10px;
      display: flex;
      flex-direction: column;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .column-header {
      padding: 10px 15px;
      font-weight: 600;
      color: var(--white-white);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .column-content {
      min-height: 100px; /* Zona de drop garantizada */
      padding: 5px;
    }

    /* Estilos de las Tarjetas */
    .item {
      background: var(--primary-color); 
      padding: 15px;
      border-radius: 8px;
      margin-bottom: 10px;
      cursor: grab;
      box-shadow: 0 1px 3px rgba(0,0,0,0.12);
      transition: transform 0.2s, box-shadow 0.2s;
      border-left: 4px solid transparent;
    }

    .item:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px var(--black-black);
    }

    .item:active { cursor: grabbing; }

    /* Estilos internos de tarjeta */
    .tag {
      font-size: 0.75rem;
      padding: 2px 8px;
      border-radius: 10px;
      color: var(--white-white);
      display: inline-block;
      margin-bottom: 8px;
      font-weight: 600;
    }
    .tag-high { background-color: #ff5252; }
    .tag-med { background-color: #ffb142; }
    .tag-low { background-color: #2ccce4; }
    
    .item h4 { margin: 0 0 5px 0; font-size: 1rem; }
    .item p { margin: 0; font-size: 0.85rem; color: var(--white-white);}
    
    .item-footer {
      margin-top: 10px;
      display: flex;
      justify-content: flex-end;
      font-size: 0.8rem;
      color: #aaa;
    }

    /* Clases para Sortable */
    .sortable-ghost { opacity: 0.4; background: #c8ebfb; }
    .sortable-drag { opacity: 1; transform: scale(1.05); }



    /* Responsivo */
    @media (max-width: 768px) {
      .board { flex-direction: column; align-items: center; }
      .column { width: 90%; }
    }
    
    
/* ---- Media Queries ---- */


@media (max-width: 700px) {
  .header-wrap, .footer-wrap, main {width: 99%;}
  nav.nav-menu { gap: 14px; }
  .logo { font-size: 1.26rem; }
}
@media (max-width: 530px) {
  .header-wrap, .footer-wrap {flex-direction: column; align-items: flex-start;}
  .footer-socials {margin-top: 10px;}
  main { padding: 20px 3vw; font-size: 0.99rem; }
}



/* ------------------------------------------------------------------------------------------------

GALLERY SCROLL

------------------------------------------------------------------------------------------------ */





.box {
  background-color: steelblue;
  color: var(--white-white);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  height: 200px;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.3);
  transform: translateX(400%);
  transition: transform 0.4s ease;
}

.box:nth-of-type(even) {
  transform: translateX(-400%);
}

.box.show {
  transform: translateX(0);
}

.box h2 {
  font-size: 45px;
}

/* Estilos base (desktop/tablet) se quedan igual, solo ajustamos en móvil */
@media (max-width: 576px) {
  main {
    max-width: 100%;
    margin: 15px auto;
    padding: 15px 10px;
  }

  .box {
    width: 100%;           /* ocupa todo el ancho del main */
    max-width: 320px;      /* límite opcional para que no se vea gigante */
    height: auto;          /* permite que se adapte al contenido */
    margin: 10px auto;     /* centrado horizontal */
  }

  .box img {
    max-width: 100%;       /* imagen siempre dentro del box */
    height: auto;
    display: block;
  }

  .box h2 {
    font-size: 28px;       /* título más pequeño en móvil */
  }
}



/* ------------------------------------------------------------------------------------------------

CANVAS COLOR

------------------------------------------------------------------------------------------------ */






    .tshirt-module {
      background-color: #0c243cdd;
      border-radius: 12px;
      border: 2px solid var(--landing-neon);
      box-shadow: 0 0 44px #53e7ff38;
      padding: 20px 24px;
      text-align: center;
      max-width: 520px;
      width: 100%;
    }

    .tshirt-module h1 {
      margin-bottom: 16px;
      color: var(--landing-neon);
      text-shadow:
        0 0 5px var(--landing-neon),
        0 0 10px var(--landing-neon),
        0 0 15px var(--landing-neon);
      font-size: 2rem;
      letter-spacing: 1px;
    }

    .neon-select {
      background: var(--black-black);
      border: 2px solid var(--landing-neon);
      color: var(--landing-neon);
      border-radius: 8px;
      padding: 6px 10px;
      font-family: 'Orbitron', monospace;
      box-shadow: 0 0 10px #00eaff55;
      margin-bottom: 16px;
      min-width: 220px;
    }

    .neon-select:focus {
      outline: none;
      box-shadow: 0 0 16px var(--landing-neon);
    }

    .tshirt-wrapper {
      margin: 0 auto;
      padding: 15px;
      border-radius: 12px;
      border: 2px solid var(--landing-neon);
      box-shadow: 0 0 30px #00eaff33;
      display: inline-block;
      background: #f4f5f6bb;
    }

    #tshirtCanvas {
      display: block;
      width: 280px;
      height: auto;
    }

    /* Responsive móviles */
    @media (max-width: 576px) {
      .tshirt-module {
        max-width: 100%;
        padding: 16px 12px;
      }

      .tshirt-module h1 {
        font-size: 1.6rem;
      }

      .neon-select {
        width: 100%;
        font-size: 0.9rem;
        padding: 6px 8px;
      }

      .tshirt-wrapper {
        width: 100%;
        max-width: 320px;
        padding: 10px;
      }

      #tshirtCanvas {
        width: 100%;
        height: auto;
      }
    }



/* ------------------------------------------------------------------------------------------------

DYNAMIC CHART

------------------------------------------------------------------------------------------------ */
/* ---------- GRÁFICAS RESPONSIVE ---------- */
.fila-graficas {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;          /* permite bajar línea */
}

.card-grafica {
  flex: 1 1 320px;          /* crece, encoge, base 320 px */
  min-width: 280px;         /* nunca más angosta que esto */
  background: var(--black-black);
  border: 1px solid var(--landing-neon);
  box-shadow: 0 0 15px var(--landing-neon);
  padding: 10px;
  border-radius: 8px;
}

/* ---------- TABLA RESPONSIVE ---------- */
.tabla-neon-wrapper {        /* nuevo contenedor */
  width: 100%;
  overflow-x: auto;          /* scroll horizontal suave */
  -webkit-overflow-scrolling: touch;
}

/* ---------- BASE (desktop) ---------- */
.tabla-neon {
  width: 100%;
  border-collapse: collapse;
  color: var(--white-white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.tabla-neon th,
.tabla-neon td {
  border: 1px solid var(--landing-neon);
  padding: 6px 8px;
  font-size: 0.95rem;
  white-space: nowrap;
}

.tabla-neon th {
  background: rgba(4, 217, 255, 0.15);
}

/* ---------- FLECHAS RESPONSIVE ---------- */
/* ---------- CONTROLES EN UNA SOLA LÍNEA ---------- */
.neon-arrows {
  display: flex;
  flex-wrap: nowrap;        /* NUNCA bajan */
  width: 30%;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  color: var(--landing-neon);
  white-space: nowrap;      /* texto sin saltos */
}

.neon-arrows span {
  font-size: clamp(0.65rem, 1.4vw, 0.75rem);
     /* mín 10 px */
}

.neon-arrows button {
  background: transparent;
  border: 1px solid var(--landing-neon);
  height: 50px;
  color: var(--landing-neon);
  padding: 1px 6px;                    /* botones ultra-compactos */
  border-radius: 3px;
  cursor: pointer;
  font-size: clamp(0.6rem, 1.2vw, 0.7rem);     /* mín 9 px */
  line-height: 1;
  flex-shrink: 0;
  transition: .2s;
}

.neon-arrows button:hover {
  background: var(--landing-neon);
  color: var(--black-black);
}

/* ---------- TOOLTIP FLOTANTE RESPONSIVE ---------- */
#chartTooltipNeon {
  max-width: 90vw;           /* nunca más ancho que la pantalla */
  word-break: break-word;
}


/* ---------- TABLET PEQUEÑA / NETBOOK ---------- */
@media (max-width: 992px) {
  .tabla-neon th,
  .tabla-neon td {
    padding: 4px 6px;
    font-size: 0.85rem;
  }
  .card-grafica {
    flex: 1 1 45%;          /* dos columnas hasta 768 px */
  }
}

/* ---------- TABLET / MÓVIL GRANDE ---------- */
@media (max-width: 768px) {
  .tabla-neon th,
  .tabla-neon td {
    padding: 3px 5px;
    font-size: 0.75rem;
  }
  .card-grafica {
    flex: 1 1 100%;         /* una columna */
  }
}

/* ---------- AJUSTES FINOS MÓVIL ---------- */
@media (max-width: 600px) {
  .card-grafica {
    padding: 6px;
  }

     .tabla-neon {
      min-width: 300px;  
  }
  .tabla-neon th,
  .tabla-neon td {
    padding: 4px 6px;
    font-size: 0.75rem;
  }
  .neon-arrows {
    justify-content: center; /* centra los botones en móvil */
    font-size: 0.75rem;
  }
  .card-grafica {
    padding: 6px;
  }
  .neon-arrows {
    justify-content: center; /* centra los botones en móvil */
    font-size: 0.75rem;
  }
  /* oculta cabecera y filas originales */
  .tabla-neon thead        { display: none; }
  .tabla-neon tbody tr     {
    display: block;
    background: rgba(4,217,255,.05);
    border: 1px solid var(--landing-neon);
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 10px;
    box-shadow: 0 0 8px var(--landing-neon);
  }
  /* cada celda en su propia línea */
  .tabla-neon td {
    display: flex;
    justify-content: space-between;
    border: none;
    padding: 4px 0;
    font-size: 0.8rem;
  }
  /* etiqueta a la izquierda (solo una vez) */
  .tabla-neon td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--landing-neon);
    margin-right: 8px;
  }
  /* imagen centrada abajo */
  .tabla-neon td:last-child { justify-content: center; margin-top: 6px; }
}




/* ------------------------------------------------------------------------------------------------

PRODUCT01

------------------------------------------------------------------------------------------------ */


.product-container{
  width: 100%;
  max-width: 900px;
  margin: 150px auto 0;
  padding: 0 15px;
}

.list{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 30px;
}



/* IMÁGENES */
.item .img img{
  height:200px;
  transition: 0.5s;
}

/* CARD SUPERIOR (IMG) CON AZUL NEÓN */
.item .img{
  background-image: linear-gradient(to top right,
    var(--landing-neon),
    rgba(4,217,255,0.25)
  );
  padding:20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  box-shadow: 0 0 25px var(--landing-neon);
  border:1px solid var(--glass-border);
}

/* CARD INFERIOR (CONTENT) GLASS NEÓN */
.item .content{
  background-color: rgba(4, 10, 25, 0.8);
  border-radius: 30px;
  padding:50px 30px;
  transform: translate(0,-50px);
  backdrop-filter: blur(20px);
  color: var(--white-white);
  box-shadow: 0 0 25px var(--main-shadow);
  border:1px solid var(--glass-border);
}

.title{
  font-size: x-large;
}

.item .content .des{
  opacity: .7;
  margin:10px 0;
}

.item .content .price{
  font-size: large;
  letter-spacing: 3px;
  margin-bottom:10px;
}

/* BOTÓN PRINCIPAL EN AZUL NEÓN */
.item .content .add{
  background-color: var(--landing-neon);
  padding:20px;
  color: var(--black-black);
  width:100%;
  border:none;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 0 20px var(--landing-neon);
  cursor: pointer;
}

.item .content .add:hover{
  box-shadow: 0 0 30px var(--landing-neon);
  filter: brightness(1.1);
}

/* HOVER IMG */
.item:hover img{
  transform: translate(0,-50px);
}

/* PAGINACIÓN GLASS AZUL */
.listPage{
  padding:10px;
  text-align: center;
  list-style: none;
}

.listPage li{
  background-color: rgba(4, 217, 255, 0.08);
  padding:20px;
  display: inline-block;
  margin:0 10px;
  cursor: pointer;
  border-radius: 12px;
  border:1px solid var(--landing-neon);
  color: var(--white-white);
  box-shadow: 0 0 10px rgba(4,217,255,0.2);
}

.listPage li:hover{
  background-color: rgba(4, 217, 255, 0.2);
}

/* PÁGINA ACTIVA EN AZUL NEÓN */
.listPage .active{
  background-color: var(--landing-neon);
  color: var(--black-black);
  box-shadow: 0 0 20px var(--landing-neon);
}

.cart-toggle {
  position: relative;
  margin: 0 auto 20px auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--black-black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 15px var(--landing-neon), 0 0 30px var(--carrito-color); 
  color: var(--white-white);
  font-size: 24px;
}

.cart-toggle .cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--carrito-color); 
  color: var(--white-white);
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  box-shadow: 0 0 10px var(--carrito-color); 
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  background: var(--main-background);
  box-shadow: -5px 0 20px var(--black-black);
  padding: 20px;
  color: var(--white-white);
  transition: right 0.3s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.active {
  right: 0;
}

.cart-sidebar h2 {
  margin-bottom: 15px;
  text-align: center;
  color: var(--landing-neon);
  text-shadow: 0 0 10px var(--landing-neon);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.cart-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 8px;
}

.cart-item-info {
  flex: 1;
  font-size: 13px;
}

.cart-item-name {
  color: var(--white-white);
}

.cart-item-price {
  color: var(--landing-neon);
}

.cart-item-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cart-item-controls button {
  background: var(--carrito-color); 
  border: none;
  color: var(--white-white);
  width: 26px;
  height: 26px;
  margin: 2px 0;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 0 8px var(--carrito-color); 
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  padding: 0;
}


.cart-item-qty {
  font-size: 13px;
}

.cart-footer {
  border-top: 1px solid rgba(0, 240, 255, 0.3);
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  font-size: 16px;
}

.cart-total {
  color: var(--landing-neon);
  text-shadow: 0 0 8px var(--landing-neon);
}

@media (max-width: 992px) {
  .product-container{
    margin: 120px auto 0;
  }

  .list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .item .content{
    padding: 40px 20px;
  }

  .cart-sidebar{
    width: 280px;
  }
}

@media (max-width: 600px) {
  .product-container{
    margin: 100px auto 0;
    padding: 0 10px;
  }

  .list{
    grid-template-columns: 1fr;
  }

  .item .img img{
    height: 170px;
  }

  .item .content{
    padding: 30px 20px;
    transform: translate(0,-40px);
  }

  .item .content .add{
    padding: 15px;
    font-size: 14px;
  }

  .cart-toggle{
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .cart-sidebar{
    width: 100%;
    right: -100%;
  }

  .cart-sidebar.active{
    right: 0;
  }
}


@media (max-width: 480px) {
  .cart-item{
    padding: 6px;
  }

  .cart-item img{
    width: 42px;
    height: 42px;
  }

  .cart-item-info{
    font-size: 12px;
  }

  .cart-footer{
    font-size: 14px;
  }
}
