/* ===================================
   404 PAGE SPECIFIC STYLES
   =================================== */

/* Container styling */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  position: relative;
  z-index: 10;
}

/* Enhanced error content box with wider dimensions */
.error-content {
  text-align: center;
  background: rgba(44, 62, 80, 0.95);
  color: white;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  max-width: 800px; /* Increased from 600px */
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 2px solid #ffd700;
  backdrop-filter: blur(10px);
}

/* Boba sprite container */
.boba-sprite-container {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stop-boba-404 {
  width: 120px;
  height: 120px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
  animation: boba404Float 2.5s ease-in-out infinite;
}

@keyframes boba404Float {
  0%,
  100% {
    transform: translateY(0px) rotate(-1deg);
  }
  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}

/* Typography */
.error-title {
  margin: 0 0 1.5rem 0;
  color: #ffd700;
  font-size: 2.8rem; /* Slightly larger for wider box */
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.error-message {
  margin: 0 0 2rem 0;
  font-size: 1.3rem; /* Slightly larger */
  color: #ecf0f1;
  line-height: 1.6;
}

/* Error details section */
.error-details {
  margin-bottom: 2rem;
  padding: 1.2rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border-left: 4px solid #e74c3c;
}

.path-code {
  background: rgba(231, 76, 60, 0.2);
  color: #ff6b6b;
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  font-family: "Courier New", monospace;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Action buttons */
.error-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.home-btn {
  background: linear-gradient(45deg, #f39c12, #e67e22);
  color: white;
  border: none;
  padding: 1.2rem 2.5rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  min-width: 220px;
}

.home-btn:hover {
  background: linear-gradient(45deg, #e67e22, #d35400);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.help-text {
  font-size: 1.1rem;
  color: #bdc3c7;
  font-style: italic;
  margin-top: 0.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .error-content {
    padding: 2rem 1.5rem;
    margin: 1rem;
    max-width: 90%;
  }

  .error-title {
    font-size: 2.2rem;
  }

  .error-message {
    font-size: 1.1rem;
  }

  .stop-boba-404 {
    width: 100px;
    height: 100px;
  }

  .home-btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    min-width: 200px;
  }
}

@media (max-width: 480px) {
  .error-content {
    padding: 1.5rem 1rem;
    max-width: 95%;
  }

  .error-title {
    font-size: 1.8rem;
  }

  .error-message {
    font-size: 1rem;
  }

  .stop-boba-404 {
    width: 80px;
    height: 80px;
  }

  .home-btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    min-width: 180px;
  }
}