
body {
  margin: 0;
  font-family: 'Comic Sans MS', sans-serif;
  overflow-x: hidden;
  color: white;
  background:
    repeating-conic-gradient(
      rgba(255, 255, 255, 0.05) 0deg 45deg,
      rgba(255, 255, 255, 0.1) 45deg 90deg
    ),
    linear-gradient(270deg, #2b003d, #000000);
  background-size: 60px 60px, 800% 800%;
  animation: moveChecker 20s linear infinite, bgShift 20s ease infinite;
}

@keyframes moveChecker {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 60px 60px, 100% 0;
  }
}

@keyframes bgShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


main {
  text-align: center;
  padding: 3rem 1rem;
  position: relative;
  z-index: 1;
}

.sway-title {
  font-size: 3em;
    text-shadow:
    0 0 5px #fff,
    0 0 10px #a855f7,
    0 0 20px #a855f7,
    0 0 30px #9333ea,
    0 0 40px #7e22ce;
  color: #ff66c4;
  animation: sway 2s ease-in-out infinite alternate;
}

.cool-glow-sway {
  font-size: 3rem;
  color: #fff;
  text-shadow:
    0 0 5px #fff,
    0 0 10px #a855f7,
    0 0 20px #a855f7,
    0 0 30px #9333ea,
    0 0 40px #7e22ce;

  animation: sway 3s ease-in-out infinite;
  display: inline-block;
}

@keyframes sway {
  0%   { transform: rotate(1deg) translateY(-1px); }
  100% { transform: rotate(-1deg) translateY(-1px); }
}


.subtitle {
  font-size: 1.2em;
  color: #fff;
  margin-bottom: 1rem;
}

.construction-banner {
  background: repeating-linear-gradient(45deg, #ffcc00, #ffcc00 10px, #ff6699 10px, #ff6699 20px);
  padding: 0.5rem;
  font-weight: bold;
  color: black;
  box-shadow: 0 0 8px #fff;
  margin: 1rem auto;
  max-width: 400px;
  transform-origin: center;
}

.sway-banner {
  animation: sway 5s ease-in-out infinite alternate;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.mini-button {
  background-color: #91f5ff;
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  color: black;
  font-weight: bold;
  box-shadow: 0 0 8px #fff;
  transition: transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.mini-button:hover {
  transform: scale(1.1);
  background-color: #ffb3ff;
}

.dancing-message {
  display: inline-block;
  font-size: 1.3em;
  font-weight: bold;
  background: black;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  margin: 1rem auto;
  animation: pulse 3s infinite ease-in-out;
}

.dancing-message span {
  display: inline-block;
  animation: bounce 2s infinite ease-in-out;
}

.dancing-message span:nth-child(odd) { animation-delay: 0.1s; }
.dancing-message span:nth-child(even) { animation-delay: 0.3s; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.section-box {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 900px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.section-box:hover {
  transform: scale(1.01);
}

input, button {
  padding: 0.5rem;
  margin: 0.5rem;
  border-radius: 8px;
  border: none;
  font-family: inherit;
}

.twow-entry {
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px solid white;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.twow-border {
  height: 50px;
  background-image: url('rainbow-books.png');
  background-repeat: repeat-x;
  background-size: contain;
  z-index: 2;
}

.twow-border.bottom {
  transform: rotate(180deg);
}

.particle-container {
  position: absolute;
  bottom: 0;
  width: 100%;
  pointer-events: none;
  z-index: 0;
}

.name-particle {
  position: absolute;
  bottom: 0;
  color: #ffffff;
  font-size: 1em;
  opacity: 0.8;
  animation: floatUp 8s ease-in forwards;
  white-space: nowrap;
  pointer-events: none;
}

@keyframes floatUp {
  0% { transform: translateY(0); opacity: 0.8; }
  100% { transform: translateY(-100vh); opacity: 0; }
}
/* Full-page border */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  border: 8px solid #ffffff30;
  pointer-events: none;
  z-index: 9999;
  border-radius: 16px;
}

/* Dashboard boards layout */
.dashboard-boards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.dashboard-board {
  flex: 1 1 250px;
  background-color: rgba(255, 255, 255, 0.07);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid white;
  box-shadow: 0 0 8px rgba(255,255,255,0.2);
}
#bookContainer {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

#backgroundBooks {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Stay behind everything */
  pointer-events: none; /* Prevent it from blocking clicks */
  overflow: hidden;
}

.book-bg {
  position: absolute;
  width: 80px;
  height: 100px;
  background-image: url('book.png'); /* replace with correct path */
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.8;
  filter: drop-shadow(0 0 5px #000);
  transition: transform 0.2s ease;
}
.season-effect {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}

.particle {
  position: absolute;
  top: -10px;
  width: 10px;
  height: 10px;
  opacity: 0.7;
  border-radius: 50%;
  animation: fall linear infinite;
}
.cursor-trail {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.8;
  transform: translate(-50%, -50%);
  z-index: 9999;
  box-shadow: 0 0 12px white;
  animation: trailFade 0.6s ease-out forwards;
}

@keyframes trailFade {
  to {
    opacity: 0;
    transform: scale(0.5) translate(-50%, -50%);
  }
}
.cursor-trail {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.8;
  animation: fadeOut 0.6s forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: scale(1.5);
  }
}

