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

/* BASE */
body {
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #e5e7eb;

  background:
    radial-gradient(circle at 20% 0%, rgba(59,130,246,0.18), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(99,102,241,0.14), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(59,130,246,0.10), transparent 55%),
    linear-gradient(180deg, #0a0f1c 0%, #05070d 60%, #02040a 100%);

  background-size: 200% 200%;
  animation: bgFlow 25s ease-in-out infinite;
}

@keyframes bgFlow {
  0% { background-position: 0% 0%, 100% 0%, 50% 100%, 0% 0%; }
  50% { background-position: 100% 50%, 50% 50%, 60% 60%, 50% 50%; }
  100% { background-position: 0% 0%, 100% 0%, 50% 100%, 0% 0%; }
}

/* LOGO */
.ek {
  font-weight: 800;
  color: #3b82f6;
  text-shadow:
    0 0 6px rgba(59,130,246,0.9),
    0 0 12px rgba(59,130,246,0.7),
    0 0 24px rgba(59,130,246,0.5);
  animation: ekGlow 3s ease-in-out infinite;
}
span#footerek {
    color: #cbd5e1;
}
h1#storyTitle {
  text-shadow:
    0 0 6px rgba(255,255,255,0.5),
    0 0 12px rgba(203,213,225,0.3);
}

@keyframes ekGlow {
  0%, 100% {
    text-shadow:
      0 0 6px rgba(59,130,246,0.9),
      0 0 12px rgba(59,130,246,0.7),
      0 0 24px rgba(59,130,246,0.5);
  }
  50% {
    text-shadow:
      0 0 12px rgba(59,130,246,1),
      0 0 24px rgba(59,130,246,0.9),
      0 0 48px rgba(59,130,246,0.7);
  }
}

.legacy {
  color: #cbd5e1;
  opacity: 0.7;
}

/* CTA */
.cta-primary {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;

  box-shadow:
    0 0 10px rgba(59,130,246,0.6),
    0 0 20px rgba(59,130,246,0.4);

  transition: all 0.3s ease;
}

.cta-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 0 20px rgba(59,130,246,0.9),
    0 0 40px rgba(59,130,246,0.6);
}

.cta-secondary {
  border: 1px solid rgba(59,130,246,0.4);
  padding: 14px 28px;
  border-radius: 999px;
  color: #cbd5e1;
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  background: rgba(59,130,246,0.1);
}

/* COMUNIDAD */
.community-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #60a5fa;
  transition: 0.3s;
}

.community-link:hover {
  color: #93c5fd;
  transform: translateX(5px);
}

.community-link.ko-fi {
  color: #facc15;
}

.community-link.ko-fi:hover {
  color: #fde047;
}

/* SEPARADOR */
.separator-glow {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59,130,246,0.4),
    transparent
  );
  position: relative;
}

.separator-glow::after {
  content: "";
  position: absolute;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59,130,246,0.8),
    transparent
  );
  animation: glowMove 4s linear infinite;
}

@keyframes glowMove {
  0% { left: -50%; }
  100% { left: 100%; }
}