:root{
  --bg:#05070F;
  --card:#0B1020;
  --card2:#0E1628;
  --ice:#9CF6FF;
  --glow:#35D7FF;
  --vio:#8C7CFF;
  --mut:#7C89A8;
  --line:rgba(156,246,255,0.14);
  --lineStrong:rgba(156,246,255,0.24);
  --shadow:0 14px 50px rgba(0,0,0,0.45);
  --good:#8df7c2;
  --warn:#ffcb6b;
  --bad:#ff7b7b;
  --khaki:#C7B98A;
}

/* -------------------------------
   LOGGED-OUT ENTRY
-------------------------------- */
.join{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.entryWrap{
  position:relative;
  width:min(620px, 100%);
  min-height:620px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.entryOrbitField{
  position:absolute;
  inset:0;
  pointer-events:none;
  overflow:hidden;
}

.entryCoreGlow{
  position:absolute;
  left:50%;
  top:50%;
  width:220px;
  height:220px;
  transform:translate(-50%,-50%);
  border-radius:999px;
  background:
    radial-gradient(circle, rgba(53,215,255,0.16) 0%, rgba(53,215,255,0.05) 38%, transparent 70%);
  filter:blur(8px);
}

.entryOrbit{
  position:absolute;
  left:50%;
  top:50%;
  border:1px solid rgba(156,246,255,0.06);
  border-radius:50%;
  transform:translate(-50%,-50%);
  animation:gmEntrySpin linear infinite;
}

.entryOrbit.orbit1{
  width:320px;
  height:320px;
  animation-duration:42s;
}

.entryOrbit.orbit2{
  width:440px;
  height:440px;
  animation-duration:68s;
  animation-direction:reverse;
}

.entryOrbit.orbit3{
  width:540px;
  height:540px;
  animation-duration:96s;
}

.entryPlanet{
  position:absolute;
  border-radius:999px;
  box-shadow:0 0 14px currentColor;
}

.entryPlanet.p1{
  width:8px;
  height:8px;
  left:50%;
  top:-4px;
  transform:translateX(-50%);
  color:#35D7FF;
  background:currentColor;
}

.entryPlanet.p2{
  width:10px;
  height:10px;
  right:66px;
  bottom:18px;
  color:#8C7CFF;
  background:currentColor;
}

.entryPlanet.p3{
  width:6px;
  height:6px;
  left:80px;
  bottom:12px;
  color:#C7B98A;
  background:currentColor;
}

@keyframes gmEntrySpin{
  from{transform:translate(-50%,-50%) rotate(0deg);}
  to{transform:translate(-50%,-50%) rotate(360deg);}
}

.panel{
  position:relative;
  z-index:3;
  width:min(560px, 100%);
  background:
    linear-gradient(180deg, rgba(53,215,255,0.07), transparent 40%),
    linear-gradient(180deg, rgba(140,124,255,0.04), transparent 85%),
    var(--card);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow);
  overflow:hidden;
  backdrop-filter:blur(8px);
}

.panel:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  opacity:.45;
}

.panelInner{
  position:relative;
  padding:22px 20px 18px;
  z-index:2;
}

.entrySignal{
  text-align:center;
  padding-bottom:18px;
  border-bottom:1px solid rgba(156,246,255,0.08);
}

.entrySignalTop{
  font-size:12px;
  letter-spacing:.24em;
  text-transform:uppercase;
  font-weight:900;
  color:var(--ice);
}

.entrySignalValue{
  margin-top:10px;
  font-size:32px;
  font-weight:900;
  letter-spacing:.02em;
  color:#ffffff;
  line-height:1;
}

.entrySignalLabel{
  margin-top:8px;
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(156,246,255,0.72);
  font-weight:800;
}

.entryAction{
  padding:20px 0 18px;
  border-bottom:1px solid rgba(156,246,255,0.08);
}

.entryForm{
  display:flex;
  gap:10px;
  margin-top:2px;
}

.entryInput{
  flex:1;
  min-width:0;
  background:rgba(7,10,18,0.75);
  border:1px solid rgba(156,246,255,0.18);
  color:#EAF7FF;
  border-radius:14px;
  padding:13px 14px;
  outline:none;
  font-size:15px;
}

.entryInput:focus{
  border-color:rgba(156,246,255,0.34);
  box-shadow:0 0 0 1px rgba(53,215,255,0.12) inset;
}

.entryBtn{
  background:rgba(53,215,255,0.12);
  border:1px solid rgba(53,215,255,0.34);
  color:#EAF7FF;
  border-radius:14px;
  padding:13px 16px;
  cursor:pointer;
  font-weight:900;
  letter-spacing:0.08em;
  white-space:nowrap;
  text-transform:uppercase;
}

.entryBtn:hover{
  background:rgba(53,215,255,0.18);
}

.entryTagline{
  margin-top:16px;
  text-align:center;
  font-size:24px;
  font-weight:900;
  color:#ffffff;
  letter-spacing:.01em;
}

.entryMission{
  margin-top:8px;
  text-align:center;
  font-size:14px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(156,246,255,0.82);
  font-weight:800;
}

.entryBrand{
  padding:18px 0 8px;
  text-align:center;
  font-size:22px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--ice);
  font-weight:900;
}

.entryInfoRow{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:4px;
}

.entryInfoBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(156,246,255,0.14);
  background:rgba(255,255,255,0.03);
  color:#EAF7FF;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  cursor:pointer;
  user-select:none;
}

.entryInfoBtn:hover{
  background:rgba(53,215,255,0.10);
  border-color:rgba(156,246,255,0.24);
}

.entryMeta{
  margin-top:14px;
  text-align:center;
  font-size:12px;
  color:rgba(156,246,255,0.70);
}

.entryMetaRow{
  margin-top:8px;
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  font-size:12px;
  color:rgba(156,246,255,0.70);
}

.entryMetaLink{
  color:rgba(156,246,255,0.82);
  cursor:pointer;
}

.entryMsg{
  margin-top:12px;
  min-height:18px;
  font-size:13px;
  text-align:center;
  color:rgba(156,246,255,0.92);
}

.entrySubPulse{
  margin-top:10px;
  text-align:center;
  font-size:11px;
  color:rgba(124,137,168,0.92);
  letter-spacing:.12em;
  text-transform:uppercase;
}

/* -------------------------------
   ENTRY MODALS
-------------------------------- */
.entryModal.hidden{
  display:none !important;
}

.entryModal{
  position:fixed;
  inset:0;
  z-index:6000;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:20px;
}

.entryModalBackdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.58);
  backdrop-filter:blur(3px);
  z-index:1;
}

.entryModalCard{
  position:relative;
  z-index:2;
  width:min(760px, calc(100vw - 30px));
  max-height:calc(100vh - 40px);
  overflow:auto;
  border:1px solid var(--lineStrong);
  border-radius:18px;
  background:
    linear-gradient(180deg, rgba(53,215,255,0.06), transparent 46%),
    #0B1020;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
}

.entryModalHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px 16px;
  border-bottom:1px solid rgba(156,246,255,0.10);
}

.entryModalTitle{
  font-weight:900;
  letter-spacing:.03em;
  color:#EAF7FF;
  text-transform:uppercase;
}

.entryModalClose{
  width:40px;
  height:40px;
  border-radius:12px;
  border:1px solid rgba(156,246,255,0.16);
  background:rgba(53,215,255,0.08);
  color:#EAF7FF;
  cursor:pointer;
  font-weight:900;
  font-size:18px;
}

.entryModalBody{
  padding:16px;
  color:#EAF7FF;
}

.entryModalGrid{
  display:grid;
  gap:10px;
}

.entryCard{
  padding:12px;
  border:1px solid rgba(156,246,255,0.10);
  border-radius:14px;
  background:rgba(255,255,255,.02);
}

.entryCardTitle{
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  font-size:13px;
  color:var(--ice);
}

.entryCardSub{
  color:var(--mut);
  font-size:13px;
  line-height:1.5;
  margin-top:6px;
}

@media (max-width: 720px){
  .entryWrap{
    min-height:auto;
  }

  .entrySignalValue{
    font-size:26px;
  }

  .entryTagline{
    font-size:20px;
  }

  .entryForm{
    flex-direction:column;
  }

  .entryBtn{
    width:100%;
  }
}