* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  background: #000;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  position: fixed;
  inset: 0;
  touch-action: none;
  overscroll-behavior: none;
}

#particles {
  position: fixed;
  inset: 0;
  display: block;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 1;
}

/* BARRA SUPERIOR */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    linear-gradient(90deg, #220047 0%, #4d1194 45%, #2b0057 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 35px rgba(106, 0, 255, 0.35);
}

/* ZONA DEL LOGO IZQUIERDA */
.logo-area {
  position: absolute;
  left: 0;
  top: 0;

  width: 260px;
  height: 64px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #ffffff;
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
  text-decoration: none;
}

.logo-area img {
  max-width: 120px;
  max-height: 58px;
  object-fit: contain;
  display: block;
}

/* MENÚ CENTRAL */
.menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.menu a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: 0.2s ease;
}

.menu a:hover,
.menu a.active {
  color: #ffffff;
}

/* REDES DERECHA */
.socials {
  position: absolute;
  right: 28px;

  display: flex;
  align-items: center;
  gap: 14px;
}

.socials a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  transition: 0.2s ease;
}

.socials a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

/* RESPONSIVE TELÉFONO */
@media (max-width: 800px) {
  .topbar {
    height: 58px;
    justify-content: flex-end;
    padding-right: 14px;
  }

  .logo-area {
    width: 150px;
    height: 58px;
  }

  .logo-area img {
    max-width: 82px;
    max-height: 48px;
  }

  .menu {
    gap: 14px;
    margin-left: 140px;
  }

  .menu a {
    font-size: 12px;
  }

  .socials {
    display: none;
  }
}

@media (max-width: 480px) {
  .topbar {
    justify-content: flex-end;
  }

  .logo-area {
    width: 130px;
  }

  .logo-area img {
    max-width: 72px;
    max-height: 44px;
  }

  .menu {
    gap: 10px;
    margin-left: 125px;
  }

  .menu a {
    font-size: 11px;
  }

  .menu a:nth-child(3),
  .menu a:nth-child(4) {
    display: none;
  }
}