
/* -------------------------------
  ESTILOS BASE
  ------------------------------- */
:root {
    --color-primary: #ff6a00; /* Naranja MuOnline */
    --color-dark: #0a0a0a;
    --color-dark-light: #1a1a1a;
    --color-accent: #00a8ff;
    --color-text: #e0e0e0;
}

body {
    background-color: var(--color-dark);
    color: var(--color-text);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-image: url('../imagenes/background.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.22);
    z-index: -2;
}

/* -------------------------------
  HEADER LATERAL 
  ------------------------------- */
.header-principal {
    width: 200px;
    padding: 20px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    background-color: rgba(10, 10, 15, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
     justify-content: flex-start; 
    padding-top: 20px; 

}

.header-principal .logo {
    padding: 15px;
    display: flex;
    justify-content: center;
    margin: 15px auto;
    width: 80%;
    min-height: 50px;
    border-radius: 10px;
    z-index: 100;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    margin: 5px auto 15px auto; /* 50px de margen superior */
}

.header-principal .logo img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.header-principal .logo:hover img {
    transform: scale(1.05);
}

/* -------------------------------
  Menú principal
  ------------------------------- */
.header-principal .menu-principal ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px; /* Movemos todo el menú hacia arriba */
}

.header-principal .menu-principal li {
    width: 100%;
}

.header-principal .menu-principal a {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: rgba(26, 26, 31, 0.9);
    position: relative;
    overflow: hidden;
    border-left: 4px solid transparent;
}

.header-principal .menu-principal a i {
    margin-right: 10px;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.header-principal .menu-principal li a {
    color: #E0E0E0;
    border-left-color: #00B4FF;
    transition: all 0.3s ease;
}

.header-principal .menu-principal li a i {
    color: #00B4FF;
}

.header-principal .menu-principal li a.active {
    color: #FFFFFF;
    border-left-color: #FFD700;
    background: rgba(0, 180, 255, 0.1);
}

.header-principal .menu-principal li:nth-child(7) a,
.header-principal .menu-principal li:nth-child(7) a i {
    color: #FF3860;
    border-left-color: #FF3860;
}

.header-principal .menu-principal li a:hover {
    background: linear-gradient(90deg, 
                rgba(0, 0, 0, 0.3), 
                transparent);
    transform: translateX(5px);
    transition: all 0.3s ease;
}

.header-principal .menu-principal a::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.header-principal .menu-principal a:hover::after {
    left: 100%;
}

/* -------------------------------
  Contenedor 
  ------------------------------- */
.contenedor-principal {
    margin-left: 220px; /* Igual al ancho del header */
    padding: 20px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* -------------------------------
  Efectos visuales 
  ------------------------------- */
#sparks-particles {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

.fire-glow {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
    transition: background 1.5s ease-out;
}

/* -------------------------------
  Redes sociales
  ------------------------------- */
.redes-sociales {
    position: fixed;
    right: 10px; /* Ajusta este valor para mover horizontalmente */
    bottom: 90%; /* Ajusta este valor para mover verticalmente */
    transform: translateY(50%); /* Centra verticalmente */
    display: flex;
    flex-direction: column; /* Apila los iconos verticalmente */
    gap: 15px;
    z-index: 1000;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(20, 20, 30, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

.social-icon.discord:hover {
    background-color: #5865F2;
}

.social-icon.whatsapp:hover {
    background-color: #25D366;
}

.social-icon:hover i {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

/* -------------------------------
  YouTube  
  ------------------------------- */
.youtube-button {
    position: fixed;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    z-index: 1000;
    height: 40px;
    width: 200px;
}

.youtube-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #FF0000;
    color: white;
    font-size: 20px;
}

.youtube-text {
    background-color: #1a1a1f;
    color: white;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    flex-grow: 1;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.play-icon {
    background-color: rgba(128, 0, 0, 0.5);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.youtube-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
}

.youtube-button:hover .play-icon {
    background-color: rgba(200, 0, 0, 0.7);
}

/* -------------------------------
  Footer
  ------------------------------- */
.footer {
    position: fixed;
    bottom: 0px;
    left: 35%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 300;
    z-index: 900;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 0;
    background: rgba(10, 10, 15, 0.2);
    backdrop-filter: blur(2px);
}

.footer:hover {
    opacity: 0.8;
}

.footer p {
    margin: 0;
    padding: 0;
}

/* -------------------------------
  RESPONSIVE DESIGN (max-width: 768px)
  ------------------------------- */

@media (max-width: 768px) {
  
  body {
    background-attachment: scroll;
    background-position: right center; 
    background-size: cover;
    overflow-x: auto; 
    min-width: 100vw; 
  }
  
  body::before {
    background: rgba(12, 15, 10, 0.6);
  }

  .header-principal {
    width: 180%;
    height: 30px;
    padding: 0 15px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
  }

  .header-principal .logo {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
  }

  .menu-toggle span {
    display: block;
    height: 3px;
    background: var(--color-primary);
    transition: all 0.3s ease;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .header-principal .menu-principal {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(to right, 
      rgba(20, 20, 25, 0.98) 0%, 
      rgba(10, 10, 15, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: left 0.3s ease;
    z-index: 999;
    padding: 20px;
    margin: 0;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
  }

  .header-principal .menu-principal.active {
    left: 0;
  }

  .header-principal .menu-principal .logo {
    display: block !important;
    width: 80%;
    max-width: 80px;
    margin: 0 auto 10px;
    padding: 5px;
    background-color: rgba(26, 26, 31, 0.9);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
  }

  .header-principal .menu-principal ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .header-principal .menu-principal a {
    padding: 12px 15px;
    border-left: none;
    border-bottom: 2px solid transparent;
  }

  .contenedor-principal {
    margin-left: 0;
    padding: 15px;
    padding-top: 50px;
    min-height: calc(100vh - 60px);
  }

  .redes-sociales {
    right: 5px;
    top: 70px;
    bottom: auto;
    transform: none;
    gap: 10px;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .youtube-button {
    width: 35px;
    right: 5px;
    bottom: 15px;
  }

  .youtube-text,
  .play-icon {
    display: none;
  }

  .footer {
    left: 50%;
    bottom: 5px;
    font-size: 10px;
    padding: 3px 0;
    background: rgba(10, 10, 15, 0.5);
    transform: translateX(-50%);
  }
}
