:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text-main: #0f172a;
  --text-subtle: #475569;
  --line: #e2e8f0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text-main);
  background: var(--bg);
  display: grid;
  place-items: center;
}

.container {
  width: min(92vw, 900px);
  padding: 2rem 1rem;
  position: relative;
  z-index: 1;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.eyebrow {
  margin: 0;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #334155;
  font-weight: 700;
}

h1 {
  margin: 0.75rem 0;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
}

.subtitle {
  margin: 0 auto;
  max-width: 56ch;
  color: var(--text-subtle);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.7;
}

.countdown {
  margin: 2rem auto 1.75rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(80px, 1fr));
  gap: 0.75rem;
  max-width: 620px;
}

.count-item {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 0.45rem;
}

.count-item span {
  display: block;
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 700;
}

.count-item small {
  color: var(--text-subtle);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hint {
  margin: 0;
  color: var(--text-subtle);
  font-size: 0.95rem;
}

.hint a {
  color: #0f172a;
  text-underline-offset: 3px;
}

.hint a:hover {
  color: #334155;
}

@media (max-width: 680px) {
  .countdown {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
    gap: 0.6rem;
  }
}
