@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap");

:root {
  --bg-color: #1a1a2e;
  --primary-color: #e94560;
  --secondary-color: #0f3460;
  --text-color: #f0f0f0;
  --card-bg: rgba(255, 255, 255, 0.05);
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(
    45deg,
    var(--bg-color),
    var(--secondary-color),
    var(--bg-color)
  );
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  color: var(--text-color);
  overflow-x: hidden;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.title {
  font-size: 4rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color),
    0 0 30px var(--primary-color);
  animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color),
      0 0 30px #e94560, 0 0 40px #e94560, 0 0 50px #e94560, 0 0 60px #e94560,
      0 0 70px #e94560;
  }
  to {
    text-shadow: 0 0 20px var(--primary-color), 0 0 30px #e94560,
      0 0 40px #e94560, 0 0 50px #e94560, 0 0 60px #e94560, 0 0 70px #e94560,
      0 0 80px #e94560;
  }
}

.link-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.link-item a {
  display: block;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-color);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.link-item a:hover {
  transform: translateY(-5px) scale(1.02);
  background: rgba(233, 69, 96, 0.2);
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(233, 69, 96, 0.5);
}

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

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

footer {
  margin-top: 3rem;
  opacity: 0.7;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(calc(-1 * var(--end-y))) translateX(var(--end-x))
      scale(0.5);
    opacity: 0;
  }
}

.bubble {
  position: absolute;
  background: rgba(233, 69, 96, 0.3);
  border-radius: 50%;
  pointer-events: none;
  animation: float var(--duration) ease-out forwards;
  z-index: -1;
  box-shadow: 0 0 10px rgba(233, 69, 96, 0.5);
  backdrop-filter: blur(5px);
}