*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f5f8ff;
  --card: rgba(255, 255, 255, 0.97);
  --text: #172033;
  --muted: #697386;
  --line: #e8edf5;
  --primary: #1769e0;
  --primary-dark: #0f54b8;
  --danger: #e43c4a;
  --danger-soft: #fff0f2;
  --info-soft: #f4f8ff;
  --shadow: 0 18px 60px rgba(31, 56, 100, 0.13);
  --radius: 24px;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(23, 105, 224, 0.10), transparent 32rem),
    radial-gradient(circle at 90% 90%, rgba(228, 60, 74, 0.07), transparent 28rem),
    var(--bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding:
    max(18px, env(safe-area-inset-top))
    max(18px, env(safe-area-inset-right))
    max(18px, env(safe-area-inset-bottom))
    max(18px, env(safe-area-inset-left));
}

.card {
  width: min(100%, 680px);
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  text-align: center;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  text-align: left;
}

.brand-logo {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #3d8bff);
  box-shadow: 0 8px 22px rgba(23, 105, 224, 0.22);
}

.brand-logo svg {
  width: 27px;
  height: 27px;
  fill: #fff;
}

.brand-name {
  font-size: 15px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.045em;
}

.brand-subtitle {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.status-icon {
  width: clamp(68px, 14vw, 86px);
  height: clamp(68px, 14vw, 86px);
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--danger-soft);
  animation: float 3s ease-in-out infinite;
}

.status-icon svg {
  width: 56%;
  height: 56%;
  fill: var(--danger);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 15px;
  padding: 7px 13px;
  border: 1px solid #ffd2d8;
  border-radius: 999px;
  color: #bf2635;
  background: var(--danger-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

h1 {
  max-width: 560px;
  margin: 0 auto;
  font-size: clamp(25px, 5vw, 38px);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 550px;
  margin: 16px auto 26px;
  color: var(--muted);
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.7;
}

.info-box {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  text-align: left;
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row .label {
  color: var(--muted);
  font-size: 13px;
}

.info-row strong {
  max-width: 60%;
  overflow-wrap: anywhere;
  text-align: right;
  font-size: 14px;
}

.notice {
  margin-top: 17px;
  padding: 15px 16px;
  border: 1px solid #dce9ff;
  border-radius: 16px;
  color: #49627f;
  background: var(--info-soft);
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.btn {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 16px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 8px 20px rgba(23, 105, 224, 0.20);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-primary svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.btn-secondary {
  color: #344155;
  background: #eef3f9;
}

.btn-secondary:hover {
  background: #e4ebf4;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  text-align: left;
}

footer small {
  font-size: inherit;
  text-align: right;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 560px) {
  .page {
    padding: 12px;
  }

  .card {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .brand {
    margin-bottom: 22px;
  }

  .actions {
    grid-template-columns: 1fr;
  }

  .info-row {
    align-items: flex-start;
  }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer small {
    text-align: center;
  }
}

@media (max-width: 360px) {
  .card {
    padding-inline: 14px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 13px;
  }

  .info-row {
    flex-direction: column;
    gap: 5px;
  }

  .info-row strong {
    max-width: 100%;
    text-align: left;
  }

  .btn {
    min-height: 48px;
    padding-inline: 12px;
  }
}

@media (min-width: 1200px) {
  .card {
    width: 720px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
