/* ─────────────────────────────────────────────
   mlabraca.com — styles.css
   ───────────────────────────────────────────── */

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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg,
      #020b18 0%,
      #041628 35%,
      #061e38 60%,
      #020d1f 100%);
  position: relative;
}

/* ─── Floating orbs ─────────────────────────── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.40;
  pointer-events: none;
}

.orb-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #147EFB, transparent 70%);
  top: -100px;
  left: -80px;
  animation: drift 8s ease-in-out infinite alternate;
}

.orb-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #0A4FD4, transparent 70%);
  bottom: -60px;
  right: -60px;
  animation: drift 10s ease-in-out infinite alternate-reverse;
}

.orb-3 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, #1E90FF, transparent 70%);
  top: 50%;
  left: 62%;
  animation: drift 12s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(30px, 20px) scale(1.08);
  }
}

/* ─── Grid overlay ──────────────────────────── */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 126, 251, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 126, 251, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ─── Particles ─────────────────────────────── */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(100, 180, 255, 0.7);
  animation: float-up linear infinite;
}

@keyframes float-up {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 0.5;
  }

  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

/* ─── Main card ─────────────────────────────── */
.card {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 3rem 4rem;
  border-radius: 28px;
  background: rgba(10, 40, 80, 0.35);
  border: 1px solid rgba(20, 126, 251, 0.2);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 0 0 1px rgba(20, 126, 251, 0.08) inset,
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 70px rgba(20, 126, 251, 0.12);
  animation: appear 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
  transform: translateY(24px);
}

@keyframes appear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Logo text ─────────────────────────────── */
.logo {
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #89C4FF 0%, #147EFB 50%, #0C5FE8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(20, 126, 251, 0.5));
  position: relative;
}

.logo::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #89C4FF 0%, #147EFB 50%, #0C5FE8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(18px) drop-shadow(0 0 20px #147EFB);
  opacity: 0.5;
  z-index: -1;
}