body {
  background-color: #1e003d;
  color: #f0e6ff;
  font-family: 'Georgia', 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  line-height: 1.6;
  padding: 2rem;
  margin: 0;
}
main {
  max-width: 800px;
  margin: auto;
}
h1 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}
h2 {
  margin-top: 2rem;
  color: #f8d3ff;
}
p.subtitle {
  font-style: italic;
  margin-top: -1rem;
  color: #ccc;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
}
.journey-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem 3rem;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.4;
}

.journey-link {
    color: #f6eaff;/* Brighter blue */
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
  font-size: 1.2em;
  margin: 0 0.4em;

}

.journey-link:hover {
  color: #aaddff;
  border-bottom: 1px solid #aaddff;
  text-shadow: 0 0 2px #88ccff;
}
.portal-button {
  color: #339cff;
  text-decoration: underline;
  font-size: 1.1rem;
  font-weight: 500;
  font-family: 'Cormorant Garamond', serif;
  max-width: 150px;
  line-height: 1.3;
  text-align: left;
}

.portal-button:hover {
  color: #ffffff;
  transform: scale(1.05);
  cursor: pointer;
}

.main-button:hover {
  transform: scale(1.03);
  background-color: #f5f0ff;
}
.contact {
  margin-top: 2rem;
  font-size: 0.9rem;
}
.preamble {
  margin-top: 2rem;
}
footer.footnote {
  margin-top: 4rem;
  font-size: 0.8rem;
  color: #c4b3d5;
}
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
    letter-spacing: 0.5px;
  }

  .subtitle, p {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .portal-button {
    font-size: 1rem;
  }

  .portal-card {
    font-size: 1rem;
    padding: 1rem;
  }
}
.comic-panel img {
  width: 50%;
  height: auto;
  display: block;
  margin: 1em auto;
}

.big-right-button {
  display: inline-block;
  float: right;
  margin: 1em 2em;
  padding: 1em 1.5em;
  background-color: #d9b3ff;
  color: #1e003d;
  font-weight: bold;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.big-right-button:hover {
  background-color: #c488ff;
  color: white;
  cursor: pointer;
}

@keyframes wobbleGlow {
  0% { text-shadow: 0 0 5px #ff99cc; }
  50% { text-shadow: 0 0 10px #ff99ccaa; }
  100% { text-shadow: 0 0 5px #ff99cc; }
}

.symbol {
  font-size: 3.5em;
  margin-top: 2em;
  margin-bottom: 0.2em;
  color: #ff99cc;
  animation: wobbleGlow 6s ease-in-out infinite;
}
img {
  width: 45%; /* Previously 90%, now 50% of that */
  max-width: 450px; /* Previously 900px */
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(168, 127, 255, 0.4);
}

.wobble-gallery {
  position: relative;
  width: 100%;
  height: 3000px; /* Adjust depending on how many images */
  overflow: visible;
}

.wobble-thumbnail {
  position: absolute;
  width: 50px; /* or try 80px or even 70px for smaller look */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 6px #999;
  transition: transform 0.3s ease;
  z-index: 1;
}


/* Slight wobble on hover */
.wobble-thumbnail:hover {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 0 15px #fff;
}
.wobble-header {
  display: inline-block;
  transition: transform 0.3s ease;
}

.manual-flipbook {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: #0f0f1a;
}

.manual-flipbook img {
  max-width: 90vw;
  max-height: 85vh;
  border: 4px solid #444;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(138, 180, 255, 0.2);
  transition: transform 0.3s ease;
}

.manual-flipbook img:hover {
  transform: scale(1.01);
}

.manual-controls {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: monospace;
  color: #aaa;
}

.manual-controls button {
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  background-color: #222;
  border: 1px solid #555;
  border-radius: 6px;
  color: #eee;
  cursor: pointer;
  transition: background 0.2s ease;
}

.manual-controls button:hover {
  background-color: #333;
}

.resonance-manual-button {
  text-align: center;
  margin: 3em 0;
}

.resonance-manual-button button {
  background-color: #70e0b3;
  color: #222;
  font-size: 1.2em;
  padding: 0.8em 2em;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.resonance-manual-button button:hover {
  background-color: #8cf4c8;
  transform: scale(1.05);
}
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  background-color: #000000;
}


/* Manual Container */
#manual-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 100%;
 /*  height: 100vh; */
  margin: 0 auto;
  padding: 0;
  overflow-y: auto;
}


.button-box {
  font-size: 0.9em;
  padding: 0.2em 0.8em;
  background-color: transparent;
  border: 1px solid #8041a1;
  color: #f6eaff;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.button-box:hover {
  background-color: #57286f;
  transform: scale(1.03);
}
.button-row {
  display: flex;
  justify-content: center;
  margin: 2em 0;
}