/* Custom styles for the "Minecraft Blue Brutalist" theme */
body {
  font-family: "IBM Plex Mono", monospace;
  background-color: #e0f2fe; /* sky-100 */
  color: #1e293b; /* slate-800 */
}

.diamond-bg {
  background-image: linear-gradient(135deg, #bae6fd 25%, transparent 25%),
    linear-gradient(225deg, #bae6fd 25%, transparent 25%),
    linear-gradient(45deg, #bae6fd 25%, transparent 25%),
    linear-gradient(315deg, #bae6fd 25%, transparent 25%);
  background-position: 10px 0, 10px 0, 0 0, 0 0;
  background-size: 20px 20px;
  background-repeat: repeat;
}

.font-pixel {
  font-family: "Press Start 2P", cursive;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-minecraft {
  background-color: #7dd3fc;
  border: 4px solid #0c4a6e;
  box-shadow: inset -4px -4px 0px 0px #38bdf8;
  transition: all 0.15s ease-out;
  color: #0c4a6e;
  position: relative;
  text-align: center;
}
.btn-minecraft:hover,
.btn-minecraft:focus {
  background-color: #bae6fd;
  box-shadow: inset -6px -6px 0px 0px #38bdf8;
}
.btn-minecraft:active {
  box-shadow: inset 4px 4px 0px 0px #38bdf8;
}

.card-minecraft {
  background-color: #f0f9ff;
  border: 4px solid #0c4a6e;
  transition: transform 0.2s ease-out;
}

.input-minecraft {
  background-color: #e0f2fe;
  border: 4px solid #0c4a6e;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  width: 100%;
  color: #0c4a6e;
}
.input-minecraft::placeholder {
  color: #7dd3fc;
}
.input-minecraft:focus {
  outline: none;
  background-color: #f0f9ff;
}

.hero-headline span {
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  animation: pop-in 0.5s forwards;
}
@keyframes pop-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.icon-minecraft {
  transition: transform 0.3s ease;
}
.card-minecraft:hover .icon-minecraft {
  transform: scale(1.1) rotate(-5deg);
}

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(224, 242, 254, 0.6);
  z-index: 2;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(14, 24, 41, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  display: flex;
  opacity: 1;
}
.modal-content {
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content {
  transform: scale(1);
}

/* Announcement Note Style */
.announcement-note {
  background-color: #fefce8; /* yellow-50 */
  border: 4px solid #ca8a04; /* yellow-600 */
  padding: 1.5rem;
  position: relative;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
.announcement-note:hover {
  transform: scale(1.05) rotate(0deg) !important;
  box-shadow: 8px 8px 0px #ca8a04;
}
.announcement-note::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background-color: #facc15; /* yellow-400 */
  border: 4px solid #ca8a04;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #fefce8;
}

.img img {
  width: 170px;
}
