<template>
  <main class="error-page">
    <section class="error-card">
      <div class="error-badge">ERROR</div>
      <h1 class="error-title">会话超时！请重新登录！(ERROR)</h1>
      <p class="error-subtitle">
        当前登录态已失效，请重新进入系统完成身份验证。
      </p>
    </section>
  </main>
</template>

<style scoped lang="scss">
.error-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  background: radial-gradient(
      circle at 78% 88%,
      rgb(193 233 255 / 35%),
      transparent 36%
    ),
    radial-gradient(circle at 70% 92%, rgb(255 216 199 / 30%), transparent 30%),
    #f2f0f3;
}

.error-card {
  width: min(760px, 100%);
  padding: 32px 28px;
  background: #fff;
  border: 1px solid #efe8ee;
  border-radius: 24px;
  box-shadow: 0 14px 36px rgb(60 34 51 / 10%);
}

.error-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.4px;
  background: linear-gradient(135deg, #8b1648, #460023);
  border-radius: 999px;
}

.error-title {
  margin: 0;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  color: #3e2b33;
}

.error-subtitle {
  margin: 14px 0 0;
  font-size: 15px;
  color: #776a74;
}

@media (width <= 640px) {
  .error-card {
    padding: 22px 18px;
    border-radius: 18px;
  }
}
</style>
