* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #0d1b2a 50%, #1b263b 100%);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #e0e1dd;
}

.container {
  text-align: center;
  padding: 20px;
}

h1 {
  font-weight: 700;
  color: #4cc9f0;
  text-shadow: 0 0 30px rgba(76, 201, 240, 0.6), 0 0 60px rgba(76, 201, 240, 0.3);
  margin-bottom: 10px;
}

h1.title-404 {
  font-size: 8rem;
}

h1.title-text {
  font-size: 5rem;
  text-transform: uppercase;
  letter-spacing: 5px;
}

h2 {
  font-size: 2rem;
  font-weight: 400;
  color: #a8dadc;
  margin-bottom: 30px;
}

.image-container {
  margin: 30px 0;
}

.image-container img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(76, 201, 240, 0.2);
  border: 2px solid rgba(76, 201, 240, 0.3);
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 15px 35px;
  background: linear-gradient(135deg, #3a86ff 0%, #4cc9f0 100%);
  color: #0a0a0a;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(58, 134, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.back-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.back-home:hover::before {
  left: 100%;
}

.back-home:hover {
  background: linear-gradient(135deg, #4cc9f0 0%, #3a86ff 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(76, 201, 240, 0.5);
}

.back-home .icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.back-home:hover .icon.rocket {
  transform: translateX(5px) translateY(-3px) rotate(-15deg);
}

.back-home:hover .icon.emoji {
  transform: scale(1.2) rotate(10deg);
}

@media (max-width: 600px) {
  h1.title-404 {
    font-size: 5rem;
  }

  h1.title-text {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .image-container img {
    max-width: 280px;
  }
}
