@charset "utf-8";
/* CSS Document */
   body {
  background: linear-gradient(rgba(1,6,13,0.6), rgba(1,6,13,0.6)), 
              url('../efectos/b1.jpg') center center / cover no-repeat fixed;
  
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}

.contenedor {
    animation: respirar 5s ease-in-out infinite;
    transform-origin: center;
	
}



.contenedor {
    transform-origin: center;
    text-align: center;
    margin: 0 auto;
    position: relative;
    margin-top: 0 !important;
    padding-top: 3px !important;   
	min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 3.6s ease;    
	
	/* ← importante */
}

#contenedorMedia {
  margin-top: 0 !important;
  padding-top: 3px !important;
}
	.contenedor::before {
	  content: "";
	  position: absolute;
	  top: 0; left: 0; right: 0; bottom: 0;
	  z-index: 1000;
	  pointer-events: none;
		
	}
.contenedor.zoom-activo {
    transform: scale(1.8);               /* Ajusta este valor (1.6 ~ 2.0) */
    z-index: 2050;
}


.imagen.zoom-activo {
    transform: scale(1.6);               /* La imagen se hace un poco más grande */
}


.imagen {
  width: auto;
  height: 100vh;
  object-fit: contain;
  cursor: pointer;
  transition: all 3.6s ease;
  border: 2px solid var(--accent);
  border-radius: 10px;
  z-index: 200 !important;
  position: relative;
  margin: 5px 0;
  display: block;	

	

}

/* Placeholder cuando la imagen falla */
.imagen-error {
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.85)), 
                url('../images/loading2.gif') center/cover no-repeat; /* Cambia por tu GIF */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff3366;
    font-size: 24px;
    text-shadow: 0 0 15px rgba(255,51,102,0.8);
 }

/* ==================== RESPONSIVE ==================== */

/* Para tablets y celulares */
@media (max-width: 1000px) {
  .imagen {
	  
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 10px auto;
  }
}

/* Para celulares pequeños (más ajustado) */
@media (max-width: 768px) {
  .imagen {
    width: 100%;
    height: auto;
    border-radius: 5px;
  }
}

/* Para pantallas muy grandes (PC) */
/* Animación solo en PC */
@media (min-width: 1200px) {
    .imagen {
        animation: respirar 5s ease-in-out infinite;
    }
}

@keyframes respirar {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(0.99);   /* Un poco más suave */
    }
}


.sin-respiracion {
    animation: none !important;
}

    .cierre{
		  float: right;
		  right: 5px;
		  top: 5px;
		  position:absolute;
		  padding: 5px;
		  margin: 5px;
		  
	  }

#chatWindow {
    position: fixed;
    bottom: 3px;
    right: 0px; 
	height: 480px;
    border-radius: 22px 22px 0 0;
    border: 1px solid #000;
      box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 10002;
    transition: all 0.4s ease;
}


.message {
    max-width: 99%;
    width: auto;
    min-width: 60px;                   /* Evita que queden demasiado pequeños */
    padding: 12px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
    line-height: 1.45;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}
    .message.user { background: #3E3E3E; align-self: flex-start; margin-left: auto; border-bottom-right-radius: 6px;   /* Esquina más redonda a la derecha */
    border-bottom-left-radius: 20px; }
    .message.bot { background: #FFFFFF; align-self: flex-end; color: #1D1C1C; border: 1px solid #1D1C1C; border-bottom-left-radius: 6px;
    border-bottom-right-radius: 20px; }
	.escribiendo { background: none; align-self:center; color: white; animation: parpadeo 0.9s infinite alternate; }

/* ==================== RESPONSIVE ==================== */

/* Celulares (móviles) - Ocupa casi toda la pantalla */
@media (max-width: 600px) {
    #chatWindow {
        width: 100% !important;
        height: 100% !important;
        bottom: 0 !important;
        right: 0 !important;
        border-radius: 0 !important;           /* Sin bordes redondeados en full screen */
        box-shadow: none;
        border: none;
		 display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 10002;
    }
	
	
	
}

/* Tablets pequeñas */
@media (min-width: 601px) and (max-width: 1008px) {
    #chatWindow {
        width: 300px;
        height: 350px;
    }
	        .chat-messages { flex: 1; padding: 18px; overflow-y: auto; background:none; }

}

/* PC y pantallas grandes - se mantiene como estaba */
@media (min-width: 1009px) {
    #chatWindow {
        width: 300px;
        height: 430px;
    }
}

    @keyframes slideUp { from { transform: translateY(120%); } to { transform: translateY(0); } }

    .chat-header {
      background: #0f0f0f;
      padding: 16px;
      display: flex;
      align-items: center;
      gap: 12px;
		border-bottom: 1px solid rgba(212, 175, 55, 0.5);
    }

.chat-messages {
    flex: 1;
    padding: 18px;
    overflow-y: auto;
    background-size: cover;
    background-position: center;
    transition: background 0.4s ease;
	border-bottom: 1px solid rgba(212, 175, 55, 0.5);
}

/* Móvil y Tablet - Fondo transparente */
@media (max-width: 1024px) {
    .chat-messages {
  background-color: rgba(0, 0, 0, 0.7);
    }
}

/* PC y pantallas grandes - Fondo con imagen */
@media (min-width: 1025px) {
    .chat-messages {
		background: #0f0f0f;  /*Fondo del chat para pc*/
        
    }
}

  
@keyframes parpadeo {
    from { opacity: 1; }
    to   { opacity: 0.1; }
}
   .chat-input-area {
      padding: 14px;
      background: #0f0f0f; /* fondo de seccion donde está el text area */
      display: flex;
      gap: 10px;
    }
textarea {
  flex: 1;
  background: #ccc;
  color: #0f0f0f;
  border-radius: 22px;
  padding: 10px 16px;
  resize: none;
  max-height: 60px;           /* Aún más pequeño */
  overflow-y: hidden;
  line-height: 1.35;
  font-size: 15px;
}
    .send-btn { background: #d4af37; color: white;  border-radius: 50%; width: 30px; height: 30px; font-size: 24px; cursor: pointer; }
	.send-btn:hover{
      transform: scale(1.2);
    }
  

    /* Chat sensual y llamativo (restaurado exactamente como antes) */
    .chat-box {
      position: fixed;
      bottom: 5%;
      right: 20px;
      background:#FFFFFF;
      color:#FF0086;
      padding: 18px 24px;
      border-radius: 25px;
      font-size: 16px;
      font-weight: bold;
      border: 3px solid var(--accent);
      max-width: 280px;
      text-align: center;
      animation: chatPop 0.9s ease-out forwards;
      cursor: pointer;
      display: none;
      box-shadow: 0 20px 40px rgba(255, 51, 102, 0.6);
      z-index: 10000;
      line-height: 1.4;
    }

    @keyframes chatPop {
      0% { transform: scale(0.6) translateY(30px); opacity: 0; }
      70% { transform: scale(1.1); }
      100% { transform: scale(1); opacity: 1; }
    }
/* flechita */

    .chat-box::after {
      content: "";
      position: absolute;
      top: 40%;
      left: -18px;
      width: 0;
      height: 0;
      border-top: 12px solid transparent;
      border-bottom: 12px solid transparent;
      border-right: 18px solid var(--accent); 
    }

    .chat-options {
      display: none;
      position: fixed;
      bottom: 1%;
      left: 60px;
      background: var(--card);
      padding: 22px;
      border-radius: 22px;
      border: 3px solid var(--chat);
      box-shadow: 0 20px 45px rgba(255, 51, 102, 0.6);
      width: 300px;
      z-index: 10001;
   }


@keyframes chatDisappear {
    0% {
        transform: scale(1) translateY(0);
        opacity: 1;
        filter: brightness(1);
    }
    50% {
        transform: scale(1.08) translateY(-12px);
        filter: brightness(1.4) drop-shadow(0 0 18px #ff69b4);
    }
    100% {
        transform: scale(0.78) translateY(30px);
        opacity: 0;
    }
}

    textarea:focus {
      border-color: #ff1744;
      box-shadow: 0 0 18px var(--chat);
    }
	  a {
    text-decoration: none;
    transition: all 0.3s ease;
}
	  
	  
	  

a:hover {
    text-decoration: none;   /* por si acaso */
    color: var(--accent);    /* el color que quieras */
}
	  /* Corazones flotando sutiles */
    .heart-particle {
      position: fixed;
      font-size: 30px;
      color: #760001;
      pointer-events: none;
      animation: floatHeart 9s linear forwards;
      opacity: 0.5;
		
    }
  @keyframes floatHeart {
  0% {
    transform: translateY(105vh) scale(0.6);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateY(-120vh) scale(1.5);  /* sube más allá de la parte superior */
    opacity: 0;
  }
}

     .notas-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
      gap: 25px;
      padding: 20px;
      max-width: 1600px;
      margin: 0 auto;
    }
    .nota-item {
      background: #140f1c;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0,0,0,0.6);
      transition: all 0.4s ease;
    }
    .nota-item:hover { transform: scale(1.04); }
    .nota-item img {
      width: 100%;
      height: 320px;
      object-fit: cover;
      cursor: pointer;
    }
    .nota-contenido {
      padding: 18px;
    }
    .nota-texto {
      font-size: 15px;
      line-height: 1.5;
      color: #ff99cc;
      margin-bottom: 15px;
    }
    .btn-abrir {
      background: #ff3366;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 30px;
      width: 100%;
      font-weight: bold;
    }
.btn-eliminar {
      flex: 1;
      background: #4a1a2e;
      color: #ff99cc;
      border: 2px solid #ff3366;
      padding: 10px 15px;
      border-radius: 30px;
      font-weight: bold;
    }
.boton-tiktok {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 55px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(225, 29, 72, 0.5));

  /* Posicionamiento a la derecha */
  position: fixed;
  bottom: 30px;     /* Distancia desde abajo */
  right: 20px;      /* Distancia desde la derecha */
  z-index: 1000;    /* Para que quede por encima de todo */
}

    .boton-tiktok:hover {
      transform: scale(1.15);
    }

    .boton-tiktok .icono {
      font-size: 28px;
      line-height: 1;
      margin-bottom: 3px;
      transition: transform 0.3s;
    }

    .boton-tiktok:hover .icono {
      transform: scale(1.2);
    }

    .boton-tiktok span {
      font-size: 9px;
      font-weight: 600;
      color:#FFFFFF;
      text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    }
	  
	  
	   .boton-tiktok {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 55px;
      color: var(--text);
      text-decoration: none;
      transition: all 0.3s ease;
      filter: drop-shadow(0 4px 8px rgba(225, 29, 72, 0.5));
    }

    .boton-tiktok:hover {
      transform: scale(1.15);
    }

    .boton-tiktok .icono {
      font-size: 28px;
      line-height: 1;
      margin-bottom: 3px;
      transition: transform 0.3s;
    }

    .boton-tiktok:hover .icono {
      transform: scale(1.2);
    }

    .boton-tiktok span {
      font-size: 9px;
      font-weight: 600;
      color:#FFFFFF;
      text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    }


   .hero-title {
      font-size: 3.5rem;
      font-weight: 900;
      background: linear-gradient(90deg, #ff3366, #f4c95d, #ff3366);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      text-shadow: 0 0 40px rgba(255, 51, 102, 0.6);
    }
    .gallery-item {
      position: relative;
      margin-bottom: 24px;
      border-radius: 12px;
      overflow: hidden;
    }
    .gallery-img {
      width: 100%;
      height: 400px;
      object-fit: cover;
      border-radius: 12px;
      transition: all 0.5s ease;
      filter: drop-shadow(0 35px 15px rgba(0, 0, 0, 0.99));
    }
    @media (max-width: 992px) { .gallery-img { height: 280px; } }
    @media (max-width: 768px) { .gallery-img { height: 250px; } }
    @media (max-width: 576px) { .gallery-img { height: 220px; } }

    .gallery-item:hover .gallery-img {
      transform: scale(1.03);
      filter: brightness(1.2) saturate(1.00);
      box-shadow: 0 0 50px rgba(255,10,102,0.8);
    }
    .gallery-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(transparent, rgba(0,0,0,0.9));
      color: white;
      padding: 20px 10px 12px;
      text-align: center;
      font-weight: 700;
      font-size: 1.2rem;
      text-shadow: 0 2px 20px rgba(0,0,0,0.9);
    }

/* Animación del borde de Elisa */
#imagenElisa, img[alt="Elisa"] {
    transition: all 0.6s ease-in-out !important;
    border-radius: 50%;
}

#imagenElisa.cambio-estado, img[alt="Elisa"].cambio-estado {
    transform: scale(1.12);
    box-shadow: 0 0 25px currentColor !important;
} 

#imagenAleatoria {
   
    cursor: pointer;
    border: 2px solid var(--accent);
    border-radius: 10px;
    z-index: 200 !important;
    position: relative;
    margin: 5px 0;
    display: block;

    /* Transición solo para blur y opacidad (sin tocar transform) */
    transition: filter 3.30s ease-in-out, 
                opacity 3.30s ease-in-out,
				all 0.9s ease;
    
    filter: blur(22px);
    opacity: 0;
    visibility: hidden;

}

#imagenAleatoria:hover{
			    transition: all 3.4s ease;
	box-shadow: 0 25px 120px rgba(255, 51, 102, 1.0);


}

/* Estado activo */
#imagenAleatoria.active {
    filter: blur(0px);
    opacity: 1;
    visibility: visible;
}
 
