/* error.css */
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #1f1f1f, #333);
  color: #000000;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-wrapper {
  text-align: center;
  max-width: 600px;
  padding: 40px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.error-code {
  font-size: 80px;
  font-weight: bold;
  color: #ff4757;
  margin-bottom: 10px;
}

.error-title {
  font-size: 28px;
  margin-bottom: 10px;
}

.error-message {
  font-size: 16px;
  color: rgb(0, 0, 0);
  margin-bottom: 30px;
}
/* Button container */
.error-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Shared styles for both buttons */
.home-btn,
.play-button {
  padding: 12px 24px;
  width: 150px;
  font-weight: 500;
  font-size: 17px;
  text-align: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease,background 0.3s ease;
}

/* Individual styles */
.home-btn {
  background-color: #000bd9;
  color: white;
  text-decoration: none;
}

.home-btn:hover {
  transform: scale(1.08);
  background-color: #008102;
}

.play-button {
  background-color: rgb(227, 0, 0);
  color: white;
  width: 190px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 17px;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Scale-up animation on hover */
.play-button:hover {
  transform: scale(1.08);
  background-color: #000bd9;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.play-button {
  animation: pulse 1.8s infinite ease-in-out;
}


/* Floating image animation */
.floating-container {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.floating {
  position: absolute;
  bottom: -50px;
  animation: floatUp linear forwards;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(-110vh) rotate(360deg);
    opacity: 0;
  }
}