body {
  margin: 0;
  padding: 0;
  height: 100vh;
  background: linear-gradient(135deg, #721e1e, #982a2a);
  font-family: Arial, sans-serif;
  color: white;
  position: relative;
}

#audioUnlock {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

a.button,
button {
  text-decoration: none;
  color: white;
  font-size: 24px;
  font-weight: bold;
  background: #ff5733;
  border: none;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.3s;
  margin: 10px;
}

.menu {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.menu a,
.menu button {
  display: block;
  margin: 14px auto;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  animation: menuIn 0.6s ease forwards;
  text-decoration: none;
  color: white;
  font-size: 22px;
  font-weight: bold;
  padding: 0.7em 2em;
  width: fit-content;

  background: linear-gradient(180deg, #ff5733, #c70039);
  border-radius: 40px;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    filter 0.2s;
  letter-spacing: 1px;
}

.menu a:hover,
.menu button:hover {
  transform: translateY(0) scale(1.12);
  filter: brightness(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.menu a:active,
.menu button:active {
  transform: translateY(0) scale(1.05);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4);
}
.menu a:nth-child(1) {
  animation-delay: 0.4s;
}

.menu a:nth-child(2),
.menu button:nth-child(2) {
  animation-delay: 0.7s;
}

.menu a:nth-child(3) {
  animation-delay: 1s;
}

@keyframes menuIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: linear-gradient(180deg, #fff3e0, #ffd6b3);
  color: #3a0f0f;
  padding: 30px 25px;
  border-radius: 18px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    inset 0 0 10px rgba(255, 255, 255, 0.5);

  border: 4px solid #ff5733;

  font-family: "Pixelify Sans", cursive;
  letter-spacing: 0.5px;
}

.modal-content h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 28px;
  color: #c70039;
  text-shadow: 2px 2px 0 #fff;
}

.modal-content ul {
  text-align: left;
}

.modal-content button {
  margin-top: 18px;
  padding: 10px 26px;
  background: linear-gradient(180deg, #ff5733, #c70039);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.modal-content button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
}

.type-list li {
  opacity: 0;
  transform: translateY(10px);
  animation: textIn 0.5s ease forwards;
}

.type-list li:nth-child(1) {
  animation-delay: 0.4s;
}

.type-list li:nth-child(2) {
  animation-delay: 1s;
}

.type-list li:nth-child(3) {
  animation-delay: 1.6s;
}

.type-list li:nth-child(4) {
  animation-delay: 2.2s;
}

@keyframes textIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hover {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.06);
  }
  80% {
    transform: scale(1);
  }
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
