:root {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17324d;
  background: #eaf6ff;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 5%, rgba(255,255,255,.98) 0 7%, transparent 24%),
    radial-gradient(circle at 90% 8%, rgba(255,255,255,.9) 0 6%, transparent 23%),
    radial-gradient(circle at 50% 105%, rgba(128,205,244,.24), transparent 34%),
    linear-gradient(180deg, #dff3ff 0%, #edf8ff 48%, #f8fcff 100%);
  position: relative;
}
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border: 1px solid rgba(37,135,199,.12);
  border-radius: 50%;
  pointer-events: none;
}
body::before { width: 420px; height: 420px; top: -190px; right: -120px; box-shadow: 0 0 0 32px rgba(255,255,255,.18), 0 0 0 64px rgba(37,135,199,.04); }
body::after { width: 300px; height: 300px; bottom: -170px; left: -100px; box-shadow: 0 0 0 28px rgba(255,255,255,.2), 0 0 0 56px rgba(37,135,199,.035); }
button { font: inherit; }
.container { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 64px 0 44px; }
.header { margin-bottom: 30px; text-align: center; position: relative; }
.header::before { content: "✦"; display: block; margin-bottom: 12px; color: #68b9e8; font-size: 18px; letter-spacing: .5em; text-shadow: 22px 0 0 rgba(104,185,232,.45), -22px 0 0 rgba(104,185,232,.25); }
.eyebrow { margin: 0 0 10px; color: #2587c7; font-size: 12px; font-weight: 800; letter-spacing: .22em; }
h1 { margin: 0 0 12px; color: #0d4f7a; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 6vw, 50px); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; text-shadow: 0 2px 14px rgba(38,125,178,.12); }
.muted { margin: 0 auto; max-width: 560px; color: #62819b; line-height: 1.7; }

.card {
  min-height: 0;
  padding: 2px 40px 5px;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 28px;
  background: linear-gradient(145deg, #f9fcff 0%, #edf7fc 48%, #e3f1f8 100%);
  box-shadow: 0 20px 55px rgba(50,130,180,.16), inset 0 1px 0 rgba(255,255,255,.98);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.95), transparent 55%);
}
.card::after {
  content: "✦  ·  ✦  ·  ✦";
  position: absolute;
  right: 18px;
  top: 12px;
  color: rgba(37,135,199,.18);
  font-size: 10px;
  letter-spacing: .22em;
  pointer-events: none;
}
.card h2 { margin: 0 0 2px; color: #143b5a; font-size: 30px; letter-spacing: -.02em; position: relative; z-index: 1; }
.card p { line-height: 1.7; color: #66839a; position: relative; z-index: 1; }

.button { border: 0; border-radius: 14px; padding: 14px 23px; background: linear-gradient(135deg, #2999df, #1478bd); color: #fff; cursor: pointer; font-weight: 750; box-shadow: 0 9px 22px rgba(31,133,195,.22); transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease; position: relative; z-index: 1; }
.button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(31,133,195,.28); }
.button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.button.secondary { background: rgba(255,255,255,.8); color: #2475a7; border: 1px solid #c8e4f5; box-shadow: 0 5px 16px rgba(50,130,180,.08); }
.button.unlock { display: block; width: calc(100% - 20px); margin: 0 auto; text-decoration: none; }
.navigation { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin-top: 5px; }
.navigation #prev, .navigation #next { justify-self: stretch; }
.counter { font-size: 13px; font-weight: 700; color: #6c8aa0; }
.message { min-height: 24px; margin: 16px 4px 0; text-align: center; color: #b42318; font-size: 14px; }
.loading { min-height: 300px; display: grid; place-items: center; text-align: center; }
.spinner { width: 28px; height: 28px; margin-bottom: 10px; border: 3px solid #cfe9f8; border-top-color: #2587c7; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 520px) {
  .container { padding-top: 36px; }
  .card { padding: 1px 26px 5px; border-radius: 22px; }
  .card h2 { margin-bottom: 1px; }
  .button.unlock { width: calc(100% - 10px); }
  .navigation { grid-template-columns: 1fr 1fr; }
  .counter { grid-column: 1 / -1; grid-row: 1; text-align: center; }
  .navigation .button { width: 100%; }
}