/* 404 Error Page Styles */

.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 65vh;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.error-container {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Decorative circle in background */
.error-container::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background-color: #d4a574;
  opacity: 0.2;
  top: -200px;
  right: -250px;
  z-index: -1;
  pointer-events: none;
}

.error-code {
  font-size: 160px;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 30px 0;
  color: #1a1a1a;
  opacity: 0.25;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: -0.02em;
}

.error-heading {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 30px 0;
  color: #1a1a1a;
  font-family: 'Gelasio', serif;
}

.error-message {
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  opacity: 0.75;
  margin: 0 auto 40px auto;
  max-width: 600px;
  font-family: 'Gelasio', serif;
  font-weight: 400;
}

.error-home-link {
  display: inline-block;
  color: #1a1a1a;
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  font-weight: 300;
  position: relative;
  transition: opacity 0.2s ease;
}

.error-home-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #1a1a1a;
  transition: width 0.2s ease;
}

.error-home-link:hover::after {
  width: 0;
}

@media (max-width: 768px) {
  .error-code {
    font-size: 100px;
  }
  
  .error-heading {
    font-size: 20px;
  }
  
  .error-message {
    font-size: 15px;
  }
  
  .error-home-link {
    font-size: 14px;
  }
  
  .error-container::before {
    width: 350px;
    height: 350px;
    top: -150px;
    right: -175px;
  }
}
