/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.container {
  width: 100%;
  max-width: 800px;
}

.title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  animation: fadeInDown 1s ease-out;
}

.announcement-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.announcement {
  background: #111;
  padding: 1.5rem 2rem;
  border-radius: 10px;
  border: 1px solid #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  position: relative;
}

.announcement:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 255, 200, 0.2);
  border-color: #0ff;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

footer {
  text-align: center;
}
.announcement h2 {
  color: #0ff;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.announcement p {
  font-size: 1rem;
  color: #ccc;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.announcement:nth-child(1) {
  animation-delay: 0.5s;
}
.announcement:nth-child(2) {
  animation-delay: 1.0s;
}
.announcement:nth-child(3) {
  animation-delay: 1.5s;
}
.announcement:nth-child(4) {
  animation-delay: 2.0s;
}
.announcement:nth-child(5) {
  animation-delay: 2.5s;
}
.announcement:nth-child(6) {
  animation-delay: 3.0s;
}
.announcement:nth-child(7) {
  animation-delay: 3.5s;
}
.announcement:nth-child(8) {
  animation-delay: 4.0s;
}

/* Responsive Design */
@media (max-width: 600px) {
  .announcement {
    padding: 1rem;
  }

  .title {
    font-size: 2rem;
  }

  .announcement h2 {
    font-size: 1.25rem;
  }

  .announcement p {
    font-size: 0.95rem;
  }
}
