/* ================== */
/* Reset y Body       */
/* ================== */
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family:'Poppins',sans-serif;
  color:#fff;
  background:#000;
  overflow-x:hidden;
}

/* ================== */
/* Header y Navegación */
/* ================== */
header {
  width:100%;
  position:fixed;
  top:0;
  left:0;
  z-index:1000;
  background: rgba(0,0,0,0.6);
  padding:15px 30px;
}
nav {
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.nav-menu {
  list-style:none;
  display:flex;
  gap:25px;
  justify-content:center;
  flex:1;
}
.nav-menu li a {
  color:#fff;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}
.nav-menu li a:hover { color:#ff0095; text-shadow:0 0 10px #ff00ff; }

/* Redes sociales + Login */
.header-right {
  display:flex;
  align-items:center;
  gap:15px;
}
.social-icons a { color:#fff; font-size:1.3rem; transition:0.3s; }
.social-icons a:hover { color:#ff0077; text-shadow:0 0 10px #aa0294; }
.btn-login {
  padding:8px 20px;
  background:#ff00ff;
  color:#fff;
  font-weight:600;
  border-radius:25px;
  border:none;
  cursor:pointer;
  transition:all 0.3s;
  box-shadow:0 0 8px #ff00ff,0 0 20px #ff00ff;
}
.btn-login:hover {
  background:#00ffff;
  color:#000;
  box-shadow:0 0 15px #00ffff,0 0 30px #00ffff;
  transform:scale(1.05);
}

/* Hamburger */
.menu-toggle { display:none; flex-direction:column; gap:4px; cursor:pointer; }
.menu-toggle span { width:25px; height:3px; background:#fff; border-radius:2px; }

/* ================== */
/* Video de Fondo      */
/* ================== */
.video-background {
  position:relative;
  width:100%;
  height:100vh;
  color: white;
  padding: 10px;
  overflow:hidden;
}
.video-background video {
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  top:0;
  left:0;
  z-index:-2;
}
.overlay-gradient {
  position:absolute;
  width:100%;
  height:100%;
  background:linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.8));
  top:0;
  left:0;
  z-index:-1;
}
.logo-container {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  text-align:center;
  z-index:1;
}
.logo { max-width:320px; }
.bajo_logo { font-size:1.2rem; margin:0px; text-shadow:0 0 5px #fff; }

/* ================== */
/* Secciones          */
/* ================== */
.section_contacto {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:100px 30px;
  min-height:100vh;
  text-align:center;
  color: white;
  
}
.section {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:100px 30px;
  min-height:100vh;
  text-align:center;
  color: white;
 
}

.section h2 { font-size:2.5rem; margin-bottom:20px; text-shadow:0 0 10px #ff00ff; }
.section p { font-size:1.2rem; max-width:700px; margin-bottom:30px; }

/* Botones profesionales */
.btn-pro {
  padding:12px 30px;
  background:#ff00ff;
  color:#fff;
  font-weight:600;
  border-radius:30px;
  text-decoration:none;
  transition:0.3s;
  box-shadow:0 0 10px #ff00ff,0 0 20px #ff00ff;
}
.btn-pro:hover { background:#00ffff; color:#000; transform:scale(1.05); box-shadow:0 0 15px #00ffff,0 0 30px #00ffff; }

/* Reveal Animation */
.reveal { opacity:0; transform:translateY(40px); transition:all 0.8s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* Footer */
footer { 
  text-align:center; 
  color:#fff;
  padding:20px; background:rgb(0, 0, 0); font-size:0.9rem; }

/* ================== */
/* Responsive          */
/* ================== */
@media(max-width:900px){
  .nav-menu { display:none; flex-direction:column; color: white; gap:15px; background: black; position:absolute; top:70px; left:0; width:100%; padding:15px 0; }
  .nav-menu.show{ display:flex; }
  .menu-toggle { display:flex; }
  .header-right{ flex-direction:column; gap:10px; }
}

.content {
  max-width: 500px;
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  color: #fff;
}

.btn-magenta {
  background: linear-gradient(45deg, #e10098, #a1006b);
  border: none;
  font-size: 1.1rem;
  padding: 12px 30px;
  border-radius: 30px;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-magenta:hover {
  transform: scale(1.0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* Modal magenta */
.bg-magenta {
  background: linear-gradient(45deg, #e10098, #a1006b);
}

.btn-close-white {
  filter: invert(1);
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade {
  animation: fadeIn 1.5s ease forwards;
}

.animate-slide-down {
  animation: slideDown 1.2s ease forwards;
}

.animate-slide-up {
  animation: slideUp 1.2s ease forwards;
}

/* ================== */
/* Fondos de Secciones Profesionales */
/* ================== */

/* Efecto parallax general */
.section, .section_contacto {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  background-attachment: fixed; /* parallax efecto */
  background-size: cover;
  background-position: center;
  transition: background 0.3s ease;
}

/* Overlay con degradado para contraste */
.section::before, .section_contacto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
  z-index: -1;
}

/* Fondo por sección */
#juegos { background-image: url("../../img/juegos.png"); }
#web { background-image: url("../../img/web.png"); }
#apps { background-image: url("../../img/apps.png"); }
#eventos { background-image: url("../../img/eventos.png"); }
#contacto { background-image: url("../../img/pink.jpg"); }

/* Textos destacados sobre el fondo */
.section h2, .section_contacto h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 0 15px #ff00ff, 0 0 25px #00ffff;
}

.section p, .section_contacto p {
  font-size: 1.3rem;
  max-width: 700px;
  margin-bottom: 30px;
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* Botones destacados sobre fondo */
.btn-pro {
  padding: 14px 35px;
  font-size: 1.1rem;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 0 15px #ff00ff, 0 0 30px #00ffff;
  transition: all 0.3s ease;
}
.btn-pro:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #ff00ff, 0 0 50px #00ffff;
  background: linear-gradient(45deg, #ff00ff, #00ffff);
  color: #000;
}

/* Responsivo: desactivar parallax en móviles */
@media(max-width:900px){
  .section, .section_contacto {
    background-attachment: scroll;
  }
}
