:root {
  --bg: #f7f8fa;
  --text: #172235;
  --muted: #4e5968;
  --button-bg: #1e2e4a;
  --button-bg-hover: #17233a;
  --button-text: #ffffff;
  --border: #d9dee6;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: radial-gradient(circle at 20% 10%, #ffffff 0%, var(--bg) 60%);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

.page {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
}

.card {
  width: min(720px, 100%);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(1.5rem, 3.5vw, 3rem);
  box-shadow: 0 12px 32px rgba(22, 34, 53, 0.06);
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  animation: fadeIn 520ms ease-out forwards;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

p {
  margin: 0.75rem 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.1vw, 1.075rem);
}

.countdown {
  margin-top: 1.5rem;
  color: #3e4a5a;
  font-size: 0.98rem;
}

.button {
  display: inline-block;
  margin-top: 1.1rem;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  background: var(--button-bg);
  color: var(--button-text);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background-color 150ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--button-bg-hover);
}

.button:focus-visible {
  outline: 2px solid #9cb4db;
  outline-offset: 2px;
}

.noscript-note {
  margin-top: 0.85rem;
  font-size: 0.92rem;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 420px) {
  .card {
    border-radius: 10px;
  }
}
