* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background-color: #000;
  font-family: 'Oswald', sans-serif;
  overflow: hidden; 
}

/* Configuración de las pantallas */
.pantalla {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  z-index: 1;
}

.pantalla.activa {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

/* Fotos de fondo */
.imagen-fondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Oscurecemos la foto de Leon para que el botón resalte */
#pantalla-leon .imagen-fondo {
  filter: brightness(0.65);
}

/* --- PANTALLA 1: EL BOTÓN --- */
.contenedor-boton {
  position: absolute;
  bottom: 15%;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  animation: flotar 2s infinite ease-in-out;
}

.btn-resident {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: 2px solid #b30000; 
  padding: 15px 40px;
  font-size: 1.6rem;
  font-family: 'Teko', sans-serif; 
  letter-spacing: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 15px rgba(179, 0, 0, 0.5);
  transition: all 0.2s;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); 
}

.btn-resident:hover {
  background: rgba(179, 0, 0, 0.8);
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
  transform: scale(1.05);
  color: #ffcccc;
}

.icono {
  font-size: 1.5rem;
}

/* --- PANTALLA 2: LA VITRINA Y LA NOTIFICACIÓN --- */
/* Oscurecemos un poco la vitrina para que la notificación resalte más */
#pantalla-vitrina .imagen-fondo {
  filter: brightness(0.6);
}

/* La notificación idéntica a la de la consola */
.notificacion-ps {
  position: absolute;
  top: 15%; /* Un poco más abajo del borde superior */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 30, 30, 0.95); /* Gris oscuro casi opaco */
  padding: 25px 30px;
  border-radius: 8px; /* Bordes redondeados sutiles */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 255, 255, 0.1); /* Sombra y brillo */
  width: 90%;
  max-width: 500px;
  opacity: 0;
  animation: aparecer-notificacion 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 0.8s; /* Aparece justo después de cambiar de foto */
}

.fila-notificacion {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

/* Espaciado entre las secciones */
.mt-15 {
  margin-top: 20px;
}

.icono-ps {
  font-size: 1.8rem;
  line-height: 1;
}

.texto-notificacion {
  display: flex;
  flex-direction: column;
}

.titulo-logro {
  color: #b0b0b0; /* Gris claro para el título */
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.subtitulo-logro {
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.2;
}

.texto-normal {
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

/* Animaciones */
@keyframes flotar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes aparecer-notificacion {
  from { 
    opacity: 0; 
    transform: translateX(-50%) translateY(-20px); 
  }
  to { 
    opacity: 1; 
    transform: translateX(-50%) translateY(0); 
  }
}

/* Ajustes para móviles */
@media (max-width: 480px) {
  .btn-resident { font-size: 1.3rem; padding: 12px 25px; }
  .notificacion-ps { padding: 20px; top: 10%; }
  .subtitulo-logro { font-size: 1.4rem; }
  .texto-normal { font-size: 1.1rem; }
}