/* RESET GENERAL */
html, body{
  margin:0;
  padding:0;
  border:0;
  width:100%;
  min-width:1000px;
  overflow-x:auto;
  scroll-behavior:smooth;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Courier New', monospace;
}

body{
  cursor:none;
  background:#050505;
  color:#f4d9ff;
  background-image:
    linear-gradient(rgba(255,140,0,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128,0,255,0.08) 1px, transparent 1px);
  background-size:40px 40px;
  min-height:100vh;
}

/* CURSOR PRINCIPAL */
.custom-cursor{
  position:fixed;
  width:96px;
  height:96px;
  background:url('Evilgura.png') center/contain no-repeat;
  pointer-events:none;
  z-index:200000;
  transform:translate(-20%, -15%);
}

/* TRAIL */
.cursor-trail{
  position:fixed;
  width:96px;
  height:96px;
  background:url('Evilgura.png') center/contain no-repeat;
  pointer-events:none;
  z-index:199999;
  opacity:0.8;
  transform:translate(-20%, -15%);
  animation:fadeTrail 1s linear forwards;
}

@keyframes fadeTrail{
  0%{
    opacity:0.8;
    transform:translate(-20%, -15%) scale(1);
  }
  100%{
    opacity:0;
    transform:translate(-20%, -15%) scale(0.3);
  }
}

/* HEADER */
header{
  background:#120912;
  border-top:none;
  border-bottom:3px solid #ff7a00;
  padding:15px 0;
  margin:0;
  position:sticky;
  top:0;
  z-index:999;
  width:100%;
  min-width:1000px;
}

nav{
  width:100%;
}

nav ul{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  flex-wrap:wrap;
  list-style:none;
  position:relative;
  min-height:140px;
  width:100%;
  max-width:1200px;
  margin:0 auto;
}

nav ul li{
  position:relative;
}

.logo-box{
  position:absolute;
  left:20px;
  top:50%;
  transform:translateY(-50%);
}

.logo-box img{
  height:130px;
  width:auto;
  max-width:220px;
  display:block;
}

nav a{
  text-decoration:none;
  color:#ffd580;
  background:#2a133d;
  padding:14px 24px;
  border:2px solid #ff7a00;
  border-radius:10px;
  display:block;
  font-weight:bold;
  font-size:1.05rem;
  transition:all 0.3s ease;
}

nav a:hover{
  background:#ff7a00;
  color:black;
  box-shadow:0 0 15px rgba(255,122,0,0.5);
}

/* DROPDOWN */
.dropdown-content{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  background:#120912;
  min-width:220px;
  border:2px solid #ff7a00;
  z-index:1000;
}

.dropdown-content a{
  border:none;
  border-bottom:1px solid rgba(255,122,0,0.25);
  border-radius:0;
}

.dropdown:hover .dropdown-content{
  display:block;
}

/* GENERAL */
.container{
  width:80%;
  max-width:1200px;
  min-width:900px;
  margin:0 auto;
  padding:20px 0;
}

/* BANNER */
.banner-container{
  width:100%;
}

.banner-container img{
  width:100%;
  height:auto;
  display:block;
  border:3px solid #ff7a00;
  border-radius:12px;
}

/* VENTANAS */
.window{
  background:#120912;
  border:3px solid #ff7a00;
  margin:30px auto 0 auto;
  border-radius:14px;
  overflow:hidden;
  width:100%;
}

.window-title{
  background:linear-gradient(90deg,#ff7a00,#7b2cff);
  color:white;
  text-align:center;
  padding:14px;
  font-size:1.3rem;
  font-weight:bold;
}

.window-content{
  padding:25px;
}

/* SOBRE MÍ */
.about-section{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:20px;
}

.text-box,
.image-box{
  border:2px dashed #ff7a00;
  min-height:250px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  color:#ffd580;
}

.image-box img{
  width:250px;
  max-width:100%;
  height:auto;
}

/* GIF DESTACADOS */
.featured-gifs{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:25px;
  justify-items:center;
  align-items:center;
  width:100%;
  padding:20px;
}

.featured-gif-box{
  width:170px;
  height:170px;
  max-width:170px;
  max-height:170px;
  display:flex;
  justify-content:center;
  align-items:center;
  background:#120912;
  border:3px solid #ff7a00;
  padding:10px;
  border-radius:14px;
  box-shadow:
    0 0 12px rgba(255,122,0,0.45),
    0 0 24px rgba(128,0,255,0.25);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-gif-box:hover{
  transform:scale(1.05);
  box-shadow:
    0 0 20px rgba(255,122,0,0.7),
    0 0 35px rgba(128,0,255,0.45);
}

.featured-gif-box img{
  width:130px;
  max-width:130px;
  height:auto;
  max-height:140px;
  display:block;
  object-fit:contain;
  border-radius:8px;
  cursor:pointer;
}

/* GALERÍA */
.gallery-slider{
  overflow:hidden;
  width:100%;
  border:2px solid #ff7a00;
  position:relative;
}

.gallery-track{
  display:flex;
  width:max-content;
  animation:scrollGallery 35s linear infinite;
}

.gallery-slider:hover .gallery-track{
  animation-play-state:paused;
}

.gallery-item{
  flex:0 0 300px;
  width:300px;
  height:220px;
  border-right:2px solid #ff7a00;
}

.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  cursor:pointer;
  display:block;
}

@keyframes scrollGallery{
  from{
    transform:translateX(0);
  }
  to{
    transform:translateX(-50%);
  }
}

/* VIDEO DESTACADO */
.video-box{
  position:relative;
  border:2px dashed #ff7a00;
  display:flex;
  justify-content:center;
  align-items:center;
  cursor:pointer;
  width:360px;
  max-width:360px;
  margin:0 auto;
  overflow:hidden;
}

.video-box img{
  width:100%;
  height:auto;
  display:block;
}

.play-button{
  position:absolute;
  width:90px;
  height:90px;
  background:url('Jkagura.png') center/contain no-repeat;
}

/* CONTENEDOR DEL VIDEO */
#videoContainer{
  display:none;
  margin-top:20px;
  text-align:center;
  position:relative;
  overflow:hidden;
  padding:25px 10px;
  border-radius:16px;
  background:rgba(255,122,0,0.12);
}

/* ESCENARIO DEL VIDEO */
.video-stage{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  flex-wrap:nowrap;
  z-index:2;
}

/* VIDEO CENTRAL */
#mainVideo{
  width:420px;
  max-width:420px;
  height:auto;
  border:3px solid #ff7a00;
  border-radius:14px;
  box-shadow:
    0 0 12px #ff7a00,
    0 0 35px rgba(255,122,0,.45);
}

/* GIFS LATERALES DEL VIDEO */
.side-dance{
  width:170px;
  max-width:170px;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 0 10px #ff7a00);
}

.left-dance{
  animation:danceLeft .6s infinite alternate ease-in-out;
}

.right-dance{
  transform:scaleX(-1);
  animation:danceRight .6s infinite alternate ease-in-out;
}

/* FOOTER */
footer{
  margin-top:40px;
  padding:15px;
  border-top:2px solid #ff7a00;
  display:flex;
  justify-content:center;
  gap:15px;
  flex-wrap:wrap;
}

footer a{
  color:#ffd580;
  text-decoration:none;
  border:1px solid #ff7a00;
  padding:6px 10px;
  background:#2a133d;
}

footer a:hover{
  background:#ff7a00;
  color:black;
}

/* LIGHTBOX */
.image-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.94);
  justify-content:center;
  align-items:center;
  z-index:100000;
}

.image-modal.open{
  display:flex;
}

.image-modal img{
  max-width:92vw;
  max-height:88vh;
  width:auto;
  height:auto;
  object-fit:contain;
  border:3px solid #ff7a00;
  border-radius:12px;
  box-shadow:0 0 25px rgba(255,122,0,.45);
}

.image-modal .close{
  position:absolute;
  top:18px;
  right:26px;
  width:52px;
  height:52px;
  font-size:34px;
  line-height:1;
  color:#fff;
  background:#120912;
  border:2px solid #ff7a00;
  border-radius:12px;
  cursor:pointer;
  z-index:100001;
  transition:.2s;
}

.image-modal .close:hover{
  background:#ff7a00;
  color:#000;
  transform:scale(1.08);
}

/* IMÁGENES CAYENDO */
.falling-bg{
  position:fixed;
  top:0;
  left:0;
  width:100vw;
  height:100vh;
  pointer-events:none;
  z-index:-4;
  overflow:hidden;
}

.falling-img{
  position:absolute;
  top:-150px;
  user-select:none;
  pointer-events:none;
  animation:fall linear forwards;
  opacity:0.78;
}

@keyframes fall{
  to{
    transform:translateY(120vh) rotate(25deg);
  }
}

/* MODO NEÓN */
.neon-mode{
  background:#0c030f !important;
}

.neon-mode header{
  background:#1a0d22 !important;
  border-bottom-color:#ff7a00 !important;
}

.neon-mode .window{
  background:#140a1f !important;
  border:3px solid #ff7a00;
  box-shadow:
    0 0 20px #ff7a00,
    0 0 40px rgba(255,122,0,0.6),
    inset 0 0 20px rgba(180,0,255,0.4);
  animation:neonOrangePurple 5s ease-in-out infinite alternate;
}

.neon-mode .window-title{
  background:linear-gradient(90deg,#ff7a00,#b400ff,#ff7a00);
  background-size:200% 100%;
  animation:neonTitle 6s linear infinite;
  color:#fff;
  text-shadow:0 0 12px #ff7a00;
}

@keyframes neonOrangePurple{
  from{
    box-shadow:
      0 0 20px #ff7a00,
      0 0 40px rgba(255,122,0,0.6),
      inset 0 0 20px rgba(180,0,255,0.3);
  }
  to{
    box-shadow:
      0 0 30px #b400ff,
      0 0 50px rgba(180,0,255,0.7),
      inset 0 0 25px rgba(255,122,0,0.5);
  }
}

@keyframes neonTitle{
  0%{
    background-position:0% 50%;
  }
  100%{
    background-position:200% 50%;
  }
}

/* BOTÓN ??? */
.neon-secret-btn{
  position:fixed;
  bottom:30px;
  right:30px;
  z-index:10000;
  padding:14px 24px;
  font-size:1.5rem;
  background:rgba(30,10,50,0.95);
  color:#ff7a00;
  border:2px solid #ff7a00;
  border-radius:50px;
  cursor:pointer;
  transition:all 0.4s ease;
  box-shadow:0 0 15px rgba(255,122,0,0.6);
}

.neon-secret-btn:hover{
  transform:scale(1.08);
  box-shadow:0 0 25px #ff7a00;
}

.neon-secret-btn.active{
  background:#b400ff;
  color:white;
  border-color:#b400ff;
  box-shadow:0 0 25px #b400ff;
}

/* ANIMACIONES VIDEO */
@keyframes danceLeft{
  0%{
    transform:translateY(0) rotate(-3deg);
  }
  100%{
    transform:translateY(-15px) rotate(3deg);
  }
}

@keyframes danceRight{
  0%{
    transform:scaleX(-1) translateY(0) rotate(-3deg);
  }
  100%{
    transform:scaleX(-1) translateY(-15px) rotate(3deg);
  }
}

/* RESPONSIVE CONTROLADO */
@media(max-width:1000px){
  html, body{
    min-width:1000px;
    overflow-x:auto;
  }

  .container{
    width:900px;
    min-width:900px;
  }
}

/* OCULTAR CURSOR PERSONALIZADO EN PANTALLAS MUY PEQUEÑAS */
@media(max-width:700px){
  .custom-cursor,
  .cursor-trail{
    display:none;
  }

  body{
    cursor:auto;
  }
  /* ========================= */
/* FIX FINAL OPERA GX */
/* ========================= */

.featured-gifs{
  display:grid !important;
  grid-template-columns:repeat(3, 1fr) !important;
  gap:25px !important;
  justify-items:center !important;
  align-items:center !important;
  width:100% !important;
}

.featured-gif-box{
  width:170px !important;
  height:170px !important;
  max-width:170px !important;
  max-height:170px !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  overflow:hidden !important;
}

.featured-gif-box img{
  width:130px !important;
  max-width:130px !important;
  height:auto !important;
  max-height:140px !important;
  object-fit:contain !important;
  display:block !important;
}

/* VIDEO DESTACADO FIJO EN OPERA GX */
.video-stage{
  display:flex !important;
  flex-direction:row !important;
  justify-content:center !important;
  align-items:center !important;
  gap:22px !important;
  flex-wrap:nowrap !important;
}

#mainVideo{
  width:420px !important;
  max-width:420px !important;
  height:auto !important;
}

.side-dance{
  width:170px !important;
  max-width:170px !important;
  height:auto !important;
  object-fit:contain !important;
}

.video-box{
  width:360px !important;
  max-width:360px !important;
}
}