body {
  margin: 0;
  min-height: 100vh;
  background: 
    url('/moonroom/moonroom.png') repeat fixed,
    linear-gradient(to bottom, #0a0a1a, #000000);
  color: #dcdcdc;
  font-family: 'Cinzel', serif;
  overflow-x: hidden;
}

.moon-header {
  text-align: center;
  padding: 40px;
  color: #dcdcdc;
}

.moon-header h1 {
  font-size: 3em;
  text-shadow: 0 0 10px #9ddcff;
}

.subtitle {
  font-size: 1.2em;
  color: #b9aaff;
  letter-spacing: 1px;
}

.stars {
  width: 2px;
  height: 2px;
  background: white;
  position: absolute;
  animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}
h1, h2 {
  text-align: center;
  color: #e0e0e0;
  text-shadow: 0 0 10px #9ddcff;
}

p {
  max-width: 700px;
  margin: 20px auto;
  line-height: 1.6;
  font-size: 1.1em;
  color: #dcdcdc;
}

.note {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #9ddcff;
  padding: 15px;
  margin: 20px auto;
  max-width: 650px;
  font-style: italic;
}
.footer-content {
  text-align: center;       
  padding: 20px;
  color: #dcdcdc;
}

.footer-content img {
  display: block;          
  margin: 0 auto 10px auto; 
  max-width: 120px;        
}
.entry {
  margin: 30px auto 0 auto;
  padding-bottom: 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.entry:last-child {
  border-bottom: none;
}
.entry h3 {
  color: #9ddcff;
  font-weight: normal;
}
.entry-img {
  display: block;
  margin: 20px auto;
  max-width: 90%;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255,255,255,0.2);
}
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .moon-header h1 {
    font-size: 2em;
  }
  .subtitle {
    font-size: 1em;
  }
  .entry {
    margin: 20px;
  }
}
.entry {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
a {
  color: #9ddcff;
  text-decoration: none;
}
a:hover {
  text-shadow: 0 0 5px #9ddcff;
}
.footer-content {
  background: rgba(0,0,0,0.5);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.nav-button {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(45deg, #0a0a1a, #000022);
  color: #9ddcff;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-weight: bold;
  border: 2px solid #9ddcff;
  border-radius: 50px;
  box-shadow: 0 0 10px rgba(157, 220, 255, 0.5);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.nav-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -40%;
  width: 80%;
  height: 100%;
  border-radius: 50px;
  background: rgba(157,220,255,0.1);
  transform: skewX(-20deg);
  pointer-events: none;
}

.nav-button:hover {
  background: linear-gradient(45deg, #000022, #0a0a1a);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(157, 220, 255, 0.8);
  transform: translateY(-2px);
}
.navigation {
  display: flex;
  justify-content: center; 
  margin: 10px 0;
}

.navigation {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

.nav-button {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(45deg, #0a0a1a, #000022);
  color: #9ddcff;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-weight: bold;
  border: 2px solid #9ddcff;
  border-radius: 50px; /* округлі краї */
  box-shadow: 0 0 10px rgba(157, 220, 255, 0.5);
  transition: all 0.3s ease;
}

.moon-header {
  text-align: center;
  padding: 30px 20px 10px 20px;
}

.entry {
  max-width: 700px;
  margin: 20px auto 40px auto;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.moon-header h1 {
  font-size: 3em;
  text-shadow: 0 0 10px #9ddcff;
  animation: glow 3s infinite alternate;
}

@keyframes glow {
  0% { text-shadow: 0 0 5px #9ddcff; }
  50% { text-shadow: 0 0 20px #9ddcff; }
  100% { text-shadow: 0 0 10px #9ddcff; }
}

.subtitle {
  opacity: 0;
  animation: fadeIn 2s ease-in forwards 1s;
}

@keyframes fadeIn {
  to { opacity: 1; }
}
