:root{
  --bg:#050814;
  --ink:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.62);
  --line:rgba(255,255,255,.14);

  --nosferaA:#2a7bff;
  --nosferaB:#5ddcff;
  --labA:#e3e7ee;
  --labB:#8c95a3;

  /* ajuste fino del anillo (si quieres más abajo: sube este valor) */
  --orbitYOffset: 10px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  overflow:hidden;
}

canvas{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  display:block;
}

/* HUD */
.hud{
  position:fixed;
  inset:0;
  pointer-events:none;
  display:grid;
  grid-template-rows:auto 1fr auto;
  padding: 18px;
}

.top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 12px;
}

/* Logo only */
.logoOnly{
  pointer-events:auto;
  width:34px;
  height:34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  display:grid;
  place-items:center;
  overflow:hidden;
  user-select:none;
}
.logoOnly img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:none;
}
.mono{
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .5px;
  opacity: .92;
}

/* Planet chip */
.planetBox{
  pointer-events:auto;
  user-select:none;
  font-size: 12.5px;
  color: var(--muted);
}
.planetChip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  cursor:pointer;
  color: rgba(255,255,255,.78);
}
.planetDot{
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: rgba(255,255,255,.70);
  opacity:.75;
}

/* Center */
.center{
  display:grid;
  place-items:center;
  text-align:center;
  padding: 0 12px;
  user-select:none;
}
.hero{ max-width: 980px; }

/* TITULO TECH LIMPIO */
.heroTitle{
  margin: 0;
  font-weight: 900;
  letter-spacing: -1px;
  font-size: clamp(38px, 6.5vw, 84px);
  line-height: 0.92;
  text-transform: uppercase;
  opacity: 0.78;
  mix-blend-mode: screen;
  text-shadow:
    0 0 8px rgba(42,123,255,0.4),
    0 0 20px rgba(42,123,255,0.2);
}

.nosfera{
  background: linear-gradient(90deg, var(--nosferaA) 0%, var(--nosferaB) 50%, var(--nosferaA) 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: nosferaShine 6.5s ease-in-out infinite;
}

.lab{
  background: linear-gradient(180deg, var(--labA) 0%, var(--labB) 60%, var(--labA) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: .06em;
}

@keyframes nosferaShine{
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}

.sub{
  margin-top: 14px;
  font-size: clamp(14px, 2.2vw, 18px);
  letter-spacing: 3.4px;
  font-weight: 800;
  color: rgba(255,255,255,.66);
}

/* Footer */
.bottom{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 12px;
  color: var(--muted);
  font-size:12.5px;
  user-select:none;
}
.bottomRight{
  display:flex;
  gap:10px;
  align-items:center;
}

/* cookie link button */
.linkBtn{
  pointer-events:auto;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.14);
  color: rgba(255,255,255,.72);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  cursor:pointer;
}
.linkBtn:hover{ border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.88); }

/* Instagram banner */
.igBanner{
  position: fixed;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events:auto;
  text-decoration:none;
  color: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.20);
  border-radius: 14px;
  padding: 10px 12px;
  display:flex;
  align-items:center;
  gap: 10px;
}
.igIcon{ width:18px; height:18px; display:block; opacity:.9; }
.igText{ font-size:12.5px; letter-spacing:.3px; white-space:nowrap; }
.igBanner:hover{ border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.90); }

/* SVG orbit text (bajado + ajuste fino) */
.orbitSvg{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: visible;
  transform: translateY(var(--orbitYOffset));
}

.orbitSvg{
  z-index: 3;
}

canvas{
  z-index: 1;
}

.hud{
  z-index: 4;
}

.orbitText{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  fill: rgba(255,255,255,.62);
}
.orbitGuide{
  stroke: rgba(255,255,255,.10);
  stroke-width: 1;
  fill: none;
}
.orbitAccent{ fill: rgba(255,220,60,.95); }

/* ===== Cookies banner ===== */
.cookieBanner{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  display: none;
  pointer-events: none;
  z-index: 50;
}
.cookieBanner.show{ display: block; }

.cookieCard{
  pointer-events: auto;
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.55);
  border-radius: 16px;
  padding: 14px 14px 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
}
.cookieTitle{
  font-weight: 800;
  letter-spacing: .4px;
  margin-bottom: 6px;
}
.cookieText{
  color: rgba(255,255,255,.72);
  font-size: 12.5px;
  line-height: 1.35;
}
.cookiePrefs{
  margin-top: 10px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 10px;
  display:grid;
  gap: 10px;
}
.cookieRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  color: rgba(255,255,255,.82);
  font-size: 12.5px;
}
.cookieRow input{ transform: scale(1.05); }
.cookieMuted{
  color: rgba(255,255,255,.58);
  font-size: 12px;
}
.cookieActions{
  margin-top: 12px;
  display:flex;
  justify-content:flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.btnGhost, .btnPrimary{
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12.5px;
  cursor:pointer;
}
.btnGhost{
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.15);
  color: rgba(255,255,255,.78);
}
.btnGhost:hover{ border-color: rgba(255,255,255,.26); color: rgba(255,255,255,.92); }
.btnPrimary{
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(90deg, rgba(42,123,255,.95), rgba(93,220,255,.75));
  color: rgba(0,0,0,.85);
  font-weight: 800;
}
.btnPrimary:hover{ filter: brightness(1.05); }
