:root {
  --fondo-logo: #030005;
  --color-black: #000;
  --color-bg: #111;
  --color-morado: #8400ff;
  --color-rosa: #ff005a;
  --color-white: #bfbfbf;
}

@font-face {
  font-family: "Typex";
  src: url("/assets/font/Typex.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--color-bg);
  color: var(--color-white);
  font-family: "Typex", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.border-container {
  border: 2px solid var(--color-morado);
  border-radius: 10px;
  padding: 20px;
  position: relative;
  margin-top: 20px;
  overflow: hidden;
}

.logo-container {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  display: inline-block;
  position: relative;
  color: var(--color-black);
  text-shadow: -1px -1px 0px var(--color-morado), 1px 1px 0px var(--color-rosa);
}

.links-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.link-item {
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(132, 0, 255, 0.3);
  border-radius: 8px;
  padding: 15px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-white);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.link-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(132, 0, 255, 0.2);
  background-color: rgba(0, 0, 0, 0.7);
}

.link-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(132, 0, 255, 0.1),
    transparent
  );
  transition: all 0.5s;
}

.link-item:hover::before {
  left: 100%;
}

.link-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  background-color: var(--color-morado);
  border-radius: 50%;
  flex-shrink: 0;
}

.link-content {
  flex-grow: 1;
}

.link-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.link-desc {
  font-size: 0.8rem;
  opacity: 0.7;
}

.youtube-container {
  margin-top: 40px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.youtube-title {
  margin-bottom: 30px;
  font-size: 1.3rem;
  text-align: center;
  color: white;
  position: relative;
  display: inline-block;
}

.youtube-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-rosa), var(--color-morado));
}

.youtube-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 10px;
}

.footer {
  margin-top: 40px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
}

.link-wrapper {
  display: flex;
  align-items: stretch;
  width: 100%;
  gap: 10px;
}

.link-item {
  flex: 1;
}

.copy-btn {
  width: 45px;
  min-width: 45px;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(132, 0, 255, 0.3);
  border-radius: 8px;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 0;
}

.copy-btn:hover {
  transform: translateY(-5px);
  background-color: rgba(0, 0, 0, 0.7);
  box-shadow: 0 10px 20px rgba(132, 0, 255, 0.2);
}

.copy-btn svg {
  stroke: var(--color-morado);
}

.copy-alert {
  position: fixed;
  top: 20px;
  right: -300px;
  background: var(--color-morado);
  color: white;
  padding: 10px 20px;
  border-radius: 8px 0 0 8px;
  font-size: 0.9rem;
  box-shadow: 0 0 15px rgba(132, 0, 255, 0.4);
  transition: right 0.4s ease;
  z-index: 9999;
}

.copy-alert.show {
  right: -1px;
}

.wave-link {
  background: linear-gradient(to right, var(--color-morado), var(--color-rosa));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;

  color: var(--color-morado);
  transition: color 0.3s ease;
  text-decoration: none;
  position: relative;
  -webkit-text-fill-color: var(--color-morado);
}

.wave-link:hover,
.wave-link:active {
  background: linear-gradient(
    to right,
    var(--color-morado),
    var(--color-rosa),
    var(--color-morado),
    var(--color-rosa)
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: waveAnimation 1s linear;
}
@keyframes waveAnimation {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.wave-text {
  background: linear-gradient(to right, var(--color-morado), var(--color-rosa));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;

  color: var(--color-white);
  transition: color 0.3s ease;
  text-decoration: none;
  position: relative;
  -webkit-text-fill-color: var(--color-white);
}

.wave-text:hover,
.wave-text:active {
  background: linear-gradient(
    to right,
    var(--color-morado),
    var(--color-rosa),
    var(--color-morado),
    var(--color-rosa)
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: waveAnimation 1s linear;
}
@keyframes waveAnimation {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: particles-animation 6s ease-in-out infinite;
}

@keyframes particles-animation {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(0deg);
  }
  20% {
    opacity: 0.5;
  }
  80% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translateY(-1000%) rotate(360deg);
  }
}
