.error-container {
  position: relative;
  z-index: 2;
  padding-top: 150px;
  padding-bottom: 100px;
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--accent-fire), var(--text-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  text-shadow: var(--glow-effect);
  position: relative;
}

.error-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.error-text {
  font-size: 1.1rem;
  color: var(--text-ash);
  margin-bottom: 2rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.broken-sword {
  font-size: 5rem;
  color: var(--accent-fire);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.broken-sword::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 4px;
  background: var(--accent-fire);
  transform: rotate(-45deg);
  top: 60%;
  left: 45%;
  box-shadow: var(--glow-effect);
}

.home-button {
  background: linear-gradient(45deg, var(--accent-dragon), var(--accent-fire));
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  color: var(--text-light);
  text-decoration: none;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.home-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 25px rgba(139, 0, 0, 0.5);
  color: var(--text-light);
}

.home-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.6s;
}

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

.error-code-container {
  position: relative;
  display: inline-block;
}

.error-code-container::before,
.error-code-container::after {
  content: "<";
  position: absolute;
  color: var(--accent-fire);
  opacity: 0.6;
  font-size: 6rem;
  font-family: 'Fira Code', monospace;
}

.error-code-container::before {
  left: -4rem;
}

.error-code-container::after {
  content: "/>";
  right: -6rem;
}

/* Media Queries */
@media (max-width: 992px) {
  .timeline:before {
    left: 2rem;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    width: calc(100% - 3rem);
    margin-left: 3rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .timeline-dot {
    left: 2rem;
  }
  
  .post-container {
    grid-template-columns: 1fr;
  }
  
  .post-sidebar {
    position: static;
    order: -1;
  }
  
  .post-featured-image {
    height: 300px;
  }
  
  .post-title {
    font-size: 2rem;
  }
  
  .post-info, .post-content {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .intro-text {
    margin-top: 2rem;
  }
  
  .testimonial-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .author-info {
    margin-top: 1rem;
    text-align: center;
  }
  
  .error-code {
    font-size: 6rem;
  }
  
  .error-title {
    font-size: 1.8rem;
  }
  
  .broken-sword {
    font-size: 4rem;
  }
  
  .error-code-container::before,
  .error-code-container::after {
    font-size: 4rem;
  }
  
  .error-code-container::before {
    left: -3rem;
  }
  
  .error-code-container::after {
    right: -4.5rem;
  }
}

@media (max-width: 576px) {
  .error-code {
    font-size: 4rem;
  }
  
  .error-title {
    font-size: 1.5rem;
  }
  
  .broken-sword {
    font-size: 3rem;
  }
  
  .error-code-container::before,
  .error-code-container::after {
    font-size: 3rem;
  }
  
  .error-code-container::before {
    left: -2rem;
  }
  
  .error-code-container::after {
    right: -3rem;
  }
}