/* ==========================================================================
   Honeyvia - 404 Not Found Page Styles
   ========================================================================== */

.page-404-stage {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 100px;
  background-color: #faf6ee;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(234, 88, 12, 0.08) 1.5px, transparent 0),
    radial-gradient(circle at 18% 25%, rgba(254, 203, 62, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 82% 75%, rgba(234, 88, 12, 0.07) 0%, transparent 45%);
  background-size: 32px 32px, 100% 100%, 100% 100%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* Floating Bees & Foliage */
.decor-404-branch {
  position: absolute;
  top: 10px;
  left: -20px;
  width: clamp(140px, 12vw, 220px);
  max-width: 28vw;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
  transform: rotate(-15deg);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.06));
}

.decor-404-bee-left {
  position: absolute;
  top: 18%;
  left: 8%;
  width: 58px;
  pointer-events: none;
  z-index: 2;
  animation: beeFloatLeft 4s ease-in-out infinite alternate;
}

.decor-404-bee-right {
  position: absolute;
  top: 55%;
  right: 8%;
  width: 54px;
  pointer-events: none;
  z-index: 2;
  animation: beeFloatRight 4.6s ease-in-out infinite alternate;
}

@keyframes beeFloatLeft {
  0% { transform: translateY(0px) rotate(-6deg) scale(1); }
  50% { transform: translateY(-14px) rotate(4deg) scale(1.05); }
  100% { transform: translateY(8px) rotate(-2deg) scale(0.96); }
}

@keyframes beeFloatRight {
  0% { transform: translateY(0px) rotate(4deg) scale(1); }
  50% { transform: translateY(-12px) rotate(-5deg) scale(1.04); }
  100% { transform: translateY(6px) rotate(2deg) scale(0.97); }
}

/* Content Container */
.content-404-card {
  position: relative;
  z-index: 3;
  max-width: 680px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

/* Big 404 Numeral */
.numeral-404 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(6.5rem, 14vw, 9.5rem);
  font-weight: 900;
  line-height: 0.95;
  color: #ea580c;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  text-shadow: 0 10px 28px rgba(234, 88, 12, 0.15);
  user-select: none;
}

/* Headline */
.title-404 {
  font-family: 'Outfit', 'Fraunces', sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
}

/* Subtitle Description */
.desc-404 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.65;
  max-width: 540px;
  margin: 0 auto 36px;
}

/* Action Buttons */
.actions-404-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-404-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f59e0b;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.25);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-404-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.35);
  filter: brightness(1.05);
}

.btn-404-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: #1e293b !important;
  font-family: 'Outfit', sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 13px 26px;
  border-radius: 12px;
  text-decoration: none;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-404-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

/* Quick Trail Links */
.trails-404-box {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(234, 88, 12, 0.15);
}

.trails-404-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 12px;
}

.trails-404-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trails-404-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ea580c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.trails-404-link:hover {
  color: #c2410c;
  text-decoration: underline;
}

.trails-404-dot {
  color: #cbd5e1;
  font-size: 0.75rem;
}

@media (max-width: 640px) {
  .page-404-stage {
    padding: 60px 20px 80px;
  }
  .decor-404-bee-left,
  .decor-404-bee-right {
    width: 42px;
  }
  .actions-404-group {
    flex-direction: column;
    width: 100%;
  }
  .btn-404-primary,
  .btn-404-secondary {
    width: 100%;
  }
}
