body {
  background: linear-gradient(135deg, #ff69b4, #ffb6c1, #ffc0cb, #ffd1dc, #ffe6f2);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  font-family: 'Roboto Serif', serif;
  position: relative;
  padding-top: 80px;
  padding-bottom: 60px;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

main, nav, h1, h2, h3, h4, h5, h6, img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

h1 {
  font-family: 'Roboto Serif', serif;
  font-size: 3.5rem;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #ff69b4;
  text-shadow: 3px 3px 0px #fff, 6px 6px 0px #ffb6c1;
  display: inline-block;
}

h1 .char {
  display: inline-block;
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInChar 0.5s ease-out forwards;
}

h1 .char:nth-child(1) { animation-delay: 0.1s; }
h1 .char:nth-child(2) { animation-delay: 0.15s; }
h1 .char:nth-child(3) { animation-delay: 0.2s; }
h1 .char:nth-child(4) { animation-delay: 0.25s; }
h1 .char:nth-child(5) { animation-delay: 0.3s; }
h1 .char:nth-child(6) { animation-delay: 0.35s; }
h1 .char:nth-child(7) { animation-delay: 0.4s; }
h1 .char:nth-child(8) { animation-delay: 0.45s; }
h1 .char:nth-child(9) { animation-delay: 0.5s; }
h1 .char:nth-child(10) { animation-delay: 0.55s; }
h1 .char:nth-child(11) { animation-delay: 0.6s; }
h1 .char:nth-child(12) { animation-delay: 0.65s; }
h1 .char:nth-child(13) { animation-delay: 0.7s; }
h1 .char:nth-child(14) { animation-delay: 0.75s; }
h1 .char:nth-child(15) { animation-delay: 0.8s; }
h1 .char:nth-child(16) { animation-delay: 0.85s; }
h1 .char:nth-child(17) { animation-delay: 0.9s; }
h1 .char:nth-child(18) { animation-delay: 0.95s; }
h1 .char:nth-child(19) { animation-delay: 1s; }
h1 .char:nth-child(20) { animation-delay: 1.05s; }
h1 .char:nth-child(21) { animation-delay: 1.1s; }
h1 .char:nth-child(22) { animation-delay: 1.15s; }
h1 .char:nth-child(23) { animation-delay: 1.2s; }

@keyframes slideInChar {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

h2 {
  font-family: 'Roboto Serif', serif;
  color: #ff69b4;
  font-style: italic;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 0px #fff;
}

.nav-buttons a span {
  display: inline-block;
  background: linear-gradient(45deg, #fff, #ffe6f2);
  color: #ff69b4;
  border-radius: 25px;
  padding: 1em 2em;
  margin: 0.5em;
  font-size: 1.2rem;
  font-weight: 600;
  font-family: 'Comic Neue', cursive;
  box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
  border: 3px solid #ff69b4;
  transition: all 0.3s ease;
  cursor: pointer;
  text-shadow: 1px 1px 0px #fff;
}

.nav-buttons a span:hover {
  background: linear-gradient(45deg, #ff69b4, #ff1493);
  color: #fff;
  transform: scale(1.1) rotate(2deg);
  box-shadow: 0 6px 20px rgba(255, 105, 180, 0.5);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Kawaii container styling */
.container {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 25px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(255, 105, 180, 0.2);
  border: 3px solid #ff69b4;
  font-family: 'Roboto Serif', serif;
  font-size: 1.1rem;
  line-height: 1.8;
}

.container h1 {
  color: #ff69b4;
  font-family: 'Roboto Serif', serif;
  text-shadow: 2px 2px 0px #fff;
}

.container a {
  color: #ff69b4;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.container a:hover {
  color: #ff1493;
  text-decoration: underline;
}

/* Header and Footer Styles - Billboard Effect */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 105, 180, 0.95);
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  overflow: hidden;
  white-space: nowrap;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 105, 180, 0.95);
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  overflow: hidden;
  white-space: nowrap;
}

.billboard-container {
  display: inline-flex;
  white-space: nowrap;
  animation: scroll-left 20s linear infinite;
  will-change: transform;
}

.billboard-container-reverse {
  display: inline-flex;
  white-space: nowrap;
  animation: scroll-right 20s linear infinite;
  will-change: transform;
}

.header-text,
.footer-text {
  font-family: 'Noto Sans', sans-serif;
  color: white;
  font-size: 2.5rem;
  font-weight: 500;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 3px;
  display: inline-block;
  padding: 0 4rem;
  flex-shrink: 0;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Responsive styles for header and footer */
@media (max-width: 768px) {
  header,
  footer {
    padding: 0.75rem 0;
  }
  
  .header-text,
  .footer-text {
    font-size: 1.8rem;
    letter-spacing: 2px;
    padding: 0 3rem;
  }
  
  .billboard-container,
  .billboard-container-reverse {
    animation-duration: 15s;
  }
  
  body {
    padding-top: 70px;
    padding-bottom: 50px;
  }
}

@media (max-width: 480px) {
  header,
  footer {
    padding: 0.5rem 0;
  }
  
  .header-text,
  .footer-text {
    font-size: 1.5rem;
    letter-spacing: 1px;
    padding: 0 2rem;
  }
  
  .billboard-container,
  .billboard-container-reverse {
    animation-duration: 12s;
  }
  
  body {
    padding-top: 60px;
    padding-bottom: 45px;
  }
}

/* Existing styles below */