html {
  padding: 0;
  margin: 0;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}

body {
  padding: 0;
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  filter: contrast(120%);
  background-color: black;
}

.container {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(1600px at 70% 120%, rgba(33, 39, 80, 1) 10%, #020409 100%);
}

.content {
  width: inherit;
  height: inherit;
}

#universe {
  width: 100%;
  height: 100%;
}

#footerContent {
  font-family: sans-serif;
  font-size: 110%;
  color: rgba(200, 220, 255, .3);
  width: 100%;
  position: fixed;
  bottom: 0px;
  padding: 20px;
  text-align: center;
  z-index: 20;
}

#footer {
  position: absolute;
  bottom: 0px;
  height: 300px;
  width: 100%;
  overflow: hidden;
}

#scene {
  width: 100%;
  max-width: 1600px;
  height: auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 0;
  bottom: 0;
}

a {
  text-decoration: none;
  color: rgba(200, 220, 255, 1);
  opacity: .4;
  transition: opacity .4s ease;
}

a:hover {
  opacity: 1;
}

/* Manifesto */
.manifesto {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem 1rem 1.5rem;
  padding-bottom: 5.5rem;
  box-sizing: border-box;
}

/* Collapsed: trigger visible, content hidden */
.manifesto .manifesto-trigger {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  text-align: center;
}

.manifesto .manifesto-trigger h1 {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 1.5rem;
  color: rgba(230, 235, 255, 1);
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.manifesto .manifesto-trigger .tagline {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(190, 205, 235, 0.85);
  margin: 0 0 1rem;
}

.manifesto .manifesto-trigger .trigger-hint {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.9rem;
  color: rgba(200, 215, 245, 0.7);
  margin: 0 0 1rem;
}

/* Collapsed: content hidden */
.manifesto .manifesto-content {
  display: none;
  max-width: 55rem;
  margin: 0 auto;
  background: rgba(2, 4, 9, 0.88);
  padding: 2.5rem 2.5rem 3rem;
  border-radius: 0.25rem;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: rgba(210, 220, 240, 0.95);
  line-height: 1.6;
  font-size: 1rem;
}

/* Expanded: trigger hidden, content visible with scroll */
.manifesto.is-expanded .manifesto-trigger {
  display: none;
}

.manifesto.is-expanded .manifesto-content {
  display: block;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.manifesto .manifesto-close {
  position: sticky;
  top: 0;
  z-index: 5;
  float: right;
  margin: -0.5rem 0 1rem 0;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: rgba(200, 215, 245, 0.9);
  background: rgba(2, 4, 9, 0.6);
  border: 1px solid rgba(200, 215, 245, 0.3);
  border-radius: 0.3rem;
  cursor: pointer;
  font-weight: 600;
}

.manifesto .manifesto-close:hover {
  color: rgba(220, 230, 250, 1);
  border-color: rgba(200, 215, 245, 0.5);
  background: rgba(2, 4, 9, 0.8);
}

/* Footer: always visible, outside scrollable content */
.manifesto .manifesto-footer {
  position: fixed;
  bottom: 60px;
  left: 0;
  right: 0;
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: #ffd700;
  text-align: center;
  display: block;
  visibility: visible;
  z-index: 10;
}

.manifesto .manifesto-footer p {
  margin: 0.25rem 0;
}

.manifesto-content h1 {
  font-size: 1.85rem;
  color: rgba(230, 235, 255, 1);
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.manifesto-content .subtitle {
  font-size: 1.1rem;
  color: rgba(200, 215, 245, 0.9);
  margin: 0 0 0.25rem;
}

.manifesto-content .tagline {
  font-size: 1rem;
  font-style: italic;
  margin: 0 0 2rem;
  color: rgba(190, 205, 235, 0.85);
}

.manifesto-content h2 {
  font-size: 1.28rem;
  margin: 2rem 0 0.75rem;
  color: rgba(220, 228, 248, 1);
}

.manifesto-content h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.35rem;
  color: rgba(215, 222, 242, 0.95);
}

.manifesto-content p {
  margin: 0 0 0.75rem;
}

.manifesto-content ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.5rem;
}

.manifesto-content li {
  margin-bottom: 0.35rem;
}

.manifesto-content .signed {
  margin-top: 2rem;
  font-style: italic;
  color: rgba(200, 210, 235, 0.9);
}

.manifesto-content .signature,
.manifesto-content .signature-meta {
  margin: 0.25rem 0;
  color: rgba(210, 218, 240, 0.95);
}

@media (max-width: 640px) {
  .manifesto {
    padding: 1.5rem 1rem 5rem;
  }

  .manifesto-content {
    padding: 1.5rem 1.25rem;
  }
}