.rp-error-page {
    min-height: calc(100vh - 90px);
    display: grid;
    place-items: center;
    padding: 72px 0;
    background:
      radial-gradient(circle at 86% 8%, rgba(220, 0, 0, 0.10), transparent 30%),
      linear-gradient(180deg, #ffffff 0%, #f7f4ef 100%);
  }
  
  .rp-error-shell {
    width: min(980px, calc(100% - 40px));
    margin: 0 auto;
  }
  
  .rp-error-card {
    position: relative;
    overflow: hidden;
    padding: clamp(32px, 6vw, 64px);
    border-radius: 32px;
    background:
      radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.12), transparent 28%),
      linear-gradient(145deg, #101725 0%, #050811 100%);
    color: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
  }
  
  .rp-error-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: linear-gradient(90deg, #dc0000, #fbbf24, transparent);
  }
  
  .rp-error-kicker {
    margin: 0 0 16px;
    color: #ef4444;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  
  .rp-error-card h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.9;
    letter-spacing: -0.075em;
    text-transform: uppercase;
  }
  
  .rp-error-card p {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.08rem;
    line-height: 1.7;
    font-weight: 650;
  }
  
  .rp-error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
  }
  
  .rp-error-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
  }
  
  .rp-error-btn-dark {
    color: #111827;
    background: #ffffff;
  }
  
  .rp-error-btn-light {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.24);
  }
  
  @media (max-width: 680px) {
    .rp-error-page {
      padding: 42px 0;
    }
  
    .rp-error-actions {
      flex-direction: column;
    }
  
    .rp-error-btn {
      width: 100%;
    }
  }