.error-page{
  min-height:100vh;
  background:
    radial-gradient(circle at top, rgba(242,140,24,.16), transparent 26%),
    radial-gradient(circle at bottom right, rgba(255,255,255,.05), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.02), transparent),
    #0a0a0a;
  color:#f5f5f5;
}

.error-hero{
  padding:148px 0 44px;
}

.error-hero__content{
  max-width:780px;
  margin:0 auto;
  text-align:center;
}

.error-hero .section-kicker{
  color:rgba(255,255,255,.7);
}

.error-hero__code{
  display:inline-block;
  margin-bottom:14px;
  font-family:'Bebas Neue', Arial, sans-serif;
  font-size:clamp(5rem, 16vw, 10rem);
  line-height:.85;
  color:rgba(255,255,255,.14);
  letter-spacing:.08em;
}

.error-hero h1{
  margin:0 0 14px;
  font-size:clamp(3rem, 7vw, 5.5rem);
  line-height:.92;
  text-transform:uppercase;
  color:#fff;
}

.error-hero__lead{
  margin:0 auto;
  max-width:660px;
  font-size:1.05rem;
  line-height:1.75;
  color:rgba(255,255,255,.78);
}

.error-hero__actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:14px;
  margin-top:30px;
}

.error-section{
  padding:0 0 96px;
}

.error-container{
  max-width:960px;
}

.error-card{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:28px;
  padding:32px;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}

.error-card__top{
  display:flex;
  align-items:flex-start;
  gap:18px;
  margin-bottom:30px;
}

.error-icon{
  flex-shrink:0;
  width:68px;
  height:68px;
  border-radius:20px;
  display:grid;
  place-items:center;
  color:#fff;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow:0 16px 34px rgba(242,140,24,.28);
}

.error-card__top h2{
  margin:0 0 10px;
  font-size:clamp(2rem, 4vw, 3rem);
  line-height:.96;
  text-transform:uppercase;
  color:#fff;
}

.error-card__top p{
  margin:0;
  color:rgba(255,255,255,.76);
  line-height:1.75;
}

.error-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  margin-bottom:28px;
}

.error-info-card{
  display:block;
  padding:22px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.05);
  transition:transform .22s ease, background .22s ease, border-color .22s ease;
}

.error-info-card:hover,
.error-info-card:focus-visible{
  transform:translateY(-4px);
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.16);
}

.error-info-card__label{
  display:block;
  margin-bottom:10px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:rgba(255,255,255,.52);
}

.error-info-card strong{
  display:block;
  margin-bottom:8px;
  font-size:1.15rem;
  color:#fff;
  text-transform:uppercase;
}

.error-info-card p{
  margin:0;
  color:rgba(255,255,255,.72);
  line-height:1.65;
}

.error-note{
  padding:24px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}

.error-note h3{
  margin:0 0 12px;
  font-size:1.35rem;
  color:#fff;
  text-transform:uppercase;
}

.error-note p{
  margin:0;
  color:rgba(255,255,255,.78);
  line-height:1.75;
}

.error-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:28px;
}

.error-actions .btn{
  min-width:220px;
}

.btn-ghost{
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:#fff;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.btn-ghost:hover,
.btn-ghost:focus-visible{
  background:rgba(255,255,255,.12);
}

@media (max-width: 900px){
  .error-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 768px){
  .error-hero{
    padding:126px 0 34px;
  }

  .error-card{
    padding:22px;
    border-radius:22px;
  }

  .error-card__top{
    flex-direction:column;
  }

  .error-icon{
    width:58px;
    height:58px;
    border-radius:18px;
  }

  .error-actions{
    flex-direction:column;
  }

  .error-actions .btn,
  .error-hero__actions .btn{
    width:100%;
    min-width:0;
  }
}