.content {
  min-height: 100vh; 
  display: grid; 
  place-items: center;
  padding: 24px;
  align-items: end;
}


.toggle-hero .shere { position: relative; z-index: 1; filter: blur(60px) contrast(150%);  }
.toggle-hero .tagcloud { pointer-events: none; user-select: none; -webkit-user-select: none; }
.tagcloud {
  font-family: 'Jost', ui-sans-serif, system-ui;
  font-size: 30px;
  font-weight: 600;
  /* яркое свечение: несколько слоев glow разных цветов */
  text-shadow: 0 1px 4px #000bff, 0 0 12px #000bff, 0 0 28px #000bff, 0 0 50px #000bff, 0 0 90px #000bff, 0 0 140px #000bff, 0 0 180px #000bff, 0 0 225px #000bff, 0 0 270px #000bff;
  /* text-shadow: 0 1px 4px #39ff00, 0 0 12px #5bff00, 0 0 28px #6eff00, 0 0 50px #c07c8d, 0 0 90px #8dff00, 0 0 140px #000bff, 0 0 180px #48ff00, 0 0 225px #a6ff3e, 0 0 270px #00ff00; */
}
.tagcloud--item:hover { opacity: .85; }


.toggle-hero { 
  position: absolute;
  top: 4%;
  right: 48%;
  transform: translateX(50%);
  display: flex;
  justify-content: center;
  align-items: center;
}
.toggle-hero .sphere-overlay { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 2; }
.sphere-title { 
pointer-events: none; 
position: absolute; 
top: 30%; 
transform: translateY(-50%);
font-family: 'Jost', ui-sans-serif, system-ui; 
font-weight: 700; 
font-size: 56px; 
color: var(--text);
text-align: center;
margin: 0px;
}
.sphere-toggle { 
pointer-events: auto;
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 150px;
height: 60px;
border-radius: 999px;
background: #00000087;
border: 1px solid #202020;
display: inline-flex;
align-items: center;
padding: 4px;
cursor: pointer;
z-index: 3;
}
.sphere-toggle .knob { 
width: 54px;
height: 54px;
border-radius: 50%;
background: #dadada;
transform: translateX(0);
transition: transform 0.22s ease;
}
.sphere-toggle[aria-pressed="true"] .knob { transform: translateX(44px); background: linear-gradient(180deg, #2ed573, #1e7e34); box-shadow: 0 0 12px rgba(46,213,115,0.6), 0 0 24px rgba(46,213,115,0.3); }
.sphere-hint { 
pointer-events: none; 
position: absolute; 
top: 60%; 
transform: translateY(-50%);
font-family: 'Jost', ui-sans-serif, system-ui; 
font-weight: 500; 
font-size: 16px; 
color: #9a9a9a; 
text-align: center;
}

.cta {
  display: inline-block;
  padding: 12px 150px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1;
  background: #121212;
  color: #ffffff;
  border: 0px solid;
  border: 1px solid #272727;
  z-index: 1000;
}

/* плавное появление/исчезновение текста и кнопки на стартовом экране через scale+opacity */
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeOutScale {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.96); }
}

/* начальное состояние и появление */
.landing,
.landing .headline,
.landing .description,
#continueBtn {
  opacity: 0;
  transform: scale(0.96);
}

.landing,
.landing .headline,
.landing .description {
  animation: fadeInScale 1s ease 0.6s forwards;
}

#continueBtn {
  animation: fadeInScale 1s ease 0.6s forwards;
  animation-delay: 0.15s;
}

/* при переходе (классы навешиваются в start.js) — растворяем с уменьшением */
.slide-up {
  animation: fadeOutScale 1s ease 0s forwards;
}

.slide-down {
  animation: fadeOutScale 1s ease 0s forwards;
}

/* на всякий случай фикс для кнопки — более специфичный селектор */
#continueBtn.slide-down {
  animation: fadeOutScale 1s ease 0s forwards;
}

/* Ring styles for landing */
.toggle-hero .ring-wrap {
  position: relative;
  width: 1200px;
  height: 600px;
  filter: blur(40px) contrast(150%);
}
.toggle-hero .ring-wrap svg { display: block; width: 100%; height: 100%; }
.toggle-hero .ring-wrap #ring {
  stroke: #000bff !important;
  filter: drop-shadow(0 1px 4px #000bff);
}