:root{
  --bg-1:#040714;
  --bg-2:#070b1f;
  --bg-3:#0d1230;
  --cyan:#7ee7ff;
  --cyan-2:#00f7ff;
  --pink:#ff71df;
  --violet:#9a7bff;
  --panel:rgba(11, 15, 38, 0.76);
  --panel-border:rgba(126, 231, 255, 0.72);
  --text:#ffffff;
  --muted:rgba(255,255,255,0.78);
}

*{
  box-sizing:border-box;
}

html, body{
  width:100%;
  min-height:100%;
}

body{
  margin:0;
  color:var(--text);
  font-family:'Nunito', sans-serif;
  text-align:center;
  overflow-x:hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,113,223,0.12), transparent 25%),
    radial-gradient(circle at 80% 25%, rgba(0,247,255,0.12), transparent 25%),
    radial-gradient(circle at 50% 80%, rgba(154,123,255,0.12), transparent 30%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 45%, var(--bg-3) 100%);
  position:relative;
}

.space-gradient{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  opacity:0.65;
  background:
    radial-gradient(circle at 50% 15%, rgba(0,247,255,0.08), transparent 18%),
    radial-gradient(circle at 30% 70%, rgba(255,113,223,0.08), transparent 18%);
}

#starCanvas{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  z-index:1;
  pointer-events:none;
}

.mouse-glow{
  position:fixed;
  width:340px;
  height:340px;
  border-radius:50%;
  pointer-events:none;
  z-index:2;
  background:
    radial-gradient(circle, rgba(0,247,255,0.20) 0%, rgba(255,113,223,0.10) 35%, rgba(0,0,0,0) 70%);
  filter:blur(24px);
  transform:translate(-50%, -50%);
  opacity:0.85;
}

.page-shell{
  position:relative;
  z-index:3;
  min-height:100vh;
  padding:70px 20px 50px;
}

/* HEADER */

header{
  margin-top:20px;
}

/* TITULO */

h1{
  margin:8px 0 10px;
  font-family:'Lilita One', cursive;
  font-size:clamp(72px, 10vw, 132px);
  line-height:0.95;
  font-weight:400;
  letter-spacing:1px;
  color:#83efff;
  text-shadow:
    0 0 8px rgba(0,247,255,0.85),
    0 0 20px rgba(0,247,255,0.65),
    0 0 42px rgba(0,247,255,0.45),
    0 0 72px rgba(255,113,223,0.18);
  animation:glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse{
  0%, 100%{
    text-shadow:
      0 0 8px rgba(0,247,255,0.85),
      0 0 20px rgba(0,247,255,0.65),
      0 0 42px rgba(0,247,255,0.45),
      0 0 72px rgba(255,113,223,0.18);
  }
  50%{
    text-shadow:
      0 0 10px rgba(0,247,255,1),
      0 0 28px rgba(0,247,255,0.9),
      0 0 55px rgba(0,247,255,0.65),
      0 0 85px rgba(255,113,223,0.28);
  }
}

.subtitle{
  margin:0;
  color:var(--muted);
  font-size:clamp(18px, 2vw, 26px);
  font-weight:700;
  letter-spacing:0.4px;
  text-shadow:0 0 10px rgba(255,255,255,0.06);
}

/* PLANETA */

.planet{
  width:min(220px, 34vw);
  margin-bottom:18px;
  animation:floatPlanet 6s infinite ease-in-out;
  filter:
    drop-shadow(0 0 12px rgba(126,231,255,0.55))
    drop-shadow(0 0 25px rgba(0,247,255,0.35))
    drop-shadow(0 0 38px rgba(255,113,223,0.20));
  will-change:transform;
}

@keyframes floatPlanet{
  0%,100%{ transform:translateY(0px) rotate(-2deg); }
  50%{ transform:translateY(-20px) rotate(2deg); }
}

/* MAP */

.map{
  margin-top:68px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:22px;
  padding:0 12px;
  max-width:1500px;
  margin-left:auto;
  margin-right:auto;
}

.node{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:180px;
  padding:18px 34px;
  border-radius:999px;
  background:var(--panel);
  border:1.5px solid var(--panel-border);
  color:white;
  text-decoration:none;
  font-family:'Nunito', sans-serif;
  font-size:clamp(18px, 1.6vw, 21px);
  font-weight:800;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease,
    background .25s ease;
  box-shadow:
    0 0 12px rgba(0,247,255,0.14),
    inset 0 0 10px rgba(255,255,255,0.02);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.node::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(120deg, rgba(126,231,255,0.06), rgba(255,113,223,0.05));
  opacity:0.9;
  pointer-events:none;
}

.node:hover{
  transform:translateY(-4px) scale(1.08);
  box-shadow:
    0 0 12px rgba(0,247,255,0.50),
    0 0 28px rgba(0,247,255,0.20),
    0 0 55px rgba(255,113,223,0.16);
  border-color:#a6f3ff;
}

.main-node{
  min-width:360px;
}

/* FOOTER */

footer{
  margin-top:64px;
  color:rgba(255,255,255,0.72);
  font-size:17px;
  font-weight:700;
  text-shadow:0 0 10px rgba(255,255,255,0.04);
}

/* RESPONSIVE */

@media (max-width: 900px){
  .page-shell{
    padding-top:56px;
  }

  .map{
    gap:18px;
    margin-top:54px;
  }

  .node{
    min-width:160px;
    padding:16px 24px;
  }

  .main-node{
    min-width:280px;
  }
}

@media (max-width: 560px){
  h1{
    font-size:64px;
  }

  .subtitle{
    font-size:18px;
  }

  .planet{
    width:150px;
  }

  .node{
    width:100%;
    max-width:320px;
  }

  .main-node{
    min-width:unset;
  }

  .mouse-glow{
    width:220px;
    height:220px;
  }
}
