/* Reset */ 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.fondo {
  width: 100%;
  height: 100%;
  background-image: url('fondo.png');
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Celulares */
.cel {
  position: absolute;
  width: 600px;
  z-index: 2;
  opacity: 0;
  transition: transform 0.3s ease;
}

.cel.izq {
  left: -700px;
  bottom: 0;
  animation: entradaIzq 1.5s ease-out forwards;
  animation-delay: 3.2s;
}

.cel.der {
  right: -700px;
  bottom: 0;
  animation: entradaDer 1.5s ease-out forwards;
  animation-delay: 3.2s;
}

.cel:hover {
  transform: scale(1.05);
}

@keyframes entradaIzq {
  to { left: 0; opacity: 1; }
}

@keyframes entradaDer {
  to { right: 0; opacity: 1; }
}

/* Click Here */
.clickheretoenter {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 550px;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease;
}

.clickheretoenter:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Mira */
.mira {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 830px;
  z-index: 2;
  animation: respiracionMira 3s ease-in-out infinite;
}

@keyframes respiracionMira {
  0%,100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.03); }
}

/* Hardsoul */
.hardsoul {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  z-index: 4;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.hardsoul:hover {
  transform: translateX(-50%) scale(1.1);
}

/* Otros elementos */
.ojos, .gclargo, .bienvenida, .logoleon, .worldwide, .cigarrillo,
.cruzgif, .cruzgif2, .gclargo2 {
  position: absolute; z-index: 2;
}

.ojos { top: -250px; left: 500px; width: 800px; height: 90%; object-fit: cover; z-index: 5; }
.gclargo { top: -499px; left: 50%; transform: translateX(-50%); width: 1000px; }
.bienvenida { top: -30%; left: 50%; transform: translateX(-50%); width: 650px; }
.logoleon { top: 20px; left: 50%; transform: translateX(-50%); width: 200px; }
.worldwide { top: 11%; left: 50%; transform: translate(-50%,-50%); width: 520px; }
.cigarrillo { top: 86%; left: 50%; transform: translate(-50%,-50%); width: 959px; }
.chica {
  position: absolute;
  top: 38%;
  left: 75%;
  transform: translate(-50%, -50%);
  width: 700px;
  z-index: 2;
  opacity: 0;
  animation: entradaChica 1.5s ease-out forwards;
  animation-delay: 3.2s;
  transition: transform 0.3s ease;
}

.chica:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

@keyframes entradaChica {
  to {
    opacity: 1;
  }
}

.cruzgif { bottom: 125px; left: 680px; transform: translateX(-50%); width: 95px; }
.cruzgif2 { bottom: 125px; right: 590px; transform: translateX(-50%); width: 95px; }
.gclargo2 { bottom: -485px; left: 50%; transform: translateX(-50%); width: 1000px; }

/* Cruces en órbita */
.cruces-orbita {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.cruces {
  width: 600px;
  transition: transform 0.3s ease;
}

.cruces-orbita.animate {
  animation: orbitar 1.2s ease-in-out;
}

@keyframes orbitar {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  25% { transform: translate(-50%, -50%) rotate(90deg); }
  50% { transform: translate(-50%, -50%) rotate(180deg); }
  75% { transform: translate(-50%, -50%) rotate(270deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Cursor fantasma */
.cursor-trail {
  position: absolute;
  width: 8px; height: 8px;
  background: white; border-radius: 50%;
  pointer-events: none; opacity: 0.4;
  animation: fadeOut 0.3s forwards; z-index: 9999;
}

@keyframes fadeOut {
  to { opacity: 0; transform: scale(2); }
}

/* Intro consola */
.intro-console {
  position: fixed;
  top:50%; left:50%;
  transform: translate(-50%, -50%);
  background: black;
  color: #00ff99;
  font-family: 'Courier New', monospace;
  font-size: 20px;
  padding: 40px;
  z-index: 99999;
  width: 600px;
  max-width: 90%;
  line-height: 1.5;
  white-space: pre-line;
}
