body {
  margin: 0; 
  padding: 0;
  background-color: #000000;
  color: #ffffff;
  font-family: "Press Start 2P", system-ui;
  overflow-x: hidden;
}

#container {
  width: 60%;
  margin: auto;
  padding: 0 1rem;
  box-sizing: border-box;
  z-index: 1;
  position: relative;
}

#baner {
  font-size: clamp(3rem, 8vw, 10rem);
  color: #31157d;
  text-align: center;
  margin-top: 3rem;
  animation: pulse 2s infinite ease-in-out;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

#menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  margin-top: 3rem;
  text-align: center;
  font-size: clamp(1.1rem, 1.5vw, 2.8rem);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

#menu a, span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.2rem 1rem;
  text-decoration: none;
  color: inherit;
  background-color: #31157d;
  transition: transform 0.4s ease;
  min-width: 200px;
  box-sizing: border-box;
}

#menu a:hover, span:hover {
  cursor: pointer;
  transform: scale(1.1) rotate(7deg);
}

.active {
  background-color: #ffffff !important; 
  color: #31157d !important; 
  transform: scale(1.1) rotate(7deg); 
  cursor: not-allowed !important;
}

#content {
  margin-top: 3.5rem;
  font-size: clamp(1rem, 1.8vw, 1.5rem);
}

table {
  margin: auto;
  margin-bottom: 2rem;
  border: 0.5rem solid #31157d;
  border-collapse: collapse;
  text-align: center;
  width: 90%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.04);
}

h2 {
  margin-bottom: 0.1rem;
}

small {
  color: #31157d;
}

tr, td {
  padding: 1rem;
  border: 0.3rem solid #31157d;
  border-collapse: collapse;
  line-height: 1.5;
}

i {
  font-size: clamp(1rem, 1.3vw, 2rem);
  padding-left: 0.8rem;
  padding-right: 0.8rem;
}

img {
  width: clamp(5rem, 80%, 40rem);
  height: auto;
  display: block;
  margin: 0 auto;
  margin-bottom: 0.5rem;
}

#footer {
  box-sizing: border-box;
  width: 100%;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
  line-height: 1.5;
  background-color: #31157d;
  padding: 1rem;
}

#footer a {
  text-decoration: none;
  color: inherit;
}

#footer a:hover {
  cursor: pointer;
}

#easter-egg:hover {
  cursor: pointer;
}

.mirror {
    display: inline-block;
    animation: mirrorFlip 1s infinite alternate ease-in-out;
  }

@keyframes mirrorFlip {
  0%   { transform: scaleX(1); }
  100% { transform: scaleX(-1); }
}

@media (max-width: 600px) {
  #container {
      width: 90%;
      padding: 0 1rem;
  }
  #baner {
    font-size: clamp(2.8rem, 6vw, 6rem);
  }
  #menu {
    font-size: clamp(1rem, 2vw, 1.8rem);
  }
  #content {
    font-size: clamp(0.4rem, 2vw, 1.2rem);
  }
  #footer {
    font-size: clamp(0.5rem, 2vw, 1.2rem);
  }
}

#back {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: clamp(0.5rem, 2.5vw, 1.5rem);
  text-decoration: None;
  color: #ffffff;
  background-color: #31157d;
  transition: transform 0.4s ease;
}

#back:hover {
  cursor: pointer;
  transform: scale(1.1) rotate(7deg);
}

a {
  text-decoration: None;
  color: #ffffff;
}

a:hover {
  cursor: pointer;
}

.posts:hover {
  color: #31157d;
}

#first_post {
  display: inline-block;
  animation: pulse 2s infinite ease-in-out;
}

.star-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.star {
  position: absolute;
  color: white;
  font-family: monospace;
  animation: twinkle 4s infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

@keyframes slide-in-from-right {
  0% {
    transform: translateX(100vw);
  }
  100% {
    transform: translateX(0);
  }
}

.slide-in {
  animation: slide-in-from-right 3.5s ease-out forwards;
}