:root {
  color-scheme: light;
  --bg: #d9d9d9;
  --panel: #f2f2f2;
  --panel-strong: #ffffff;
  --text: #1f1f1f;
  --muted: #5f6368;
  --line: #b7b7b7;
  --shadow: 0 22px 60px rgba(31, 31, 31, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.56), rgba(151, 151, 151, 0.24)),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.countdown-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.hero {
  width: min(1120px, 100%);
  padding: clamp(28px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(242, 242, 242, 0.78);
  box-shadow: var(--shadow);
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.5vw, 1.8rem);
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: 1;
  font-weight: 850;
}

.timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  margin: clamp(32px, 6vw, 64px) 0 26px;
}

.time-card {
  min-width: 0;
  min-height: clamp(150px, 20vw, 230px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.time-value {
  display: block;
  width: 100%;
  font-variant-numeric: tabular-nums;
  font-size: clamp(3.4rem, 10vw, 8rem);
  line-height: 0.9;
  font-weight: 900;
}

.time-label {
  color: var(--muted);
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  font-weight: 750;
  text-transform: uppercase;
}

.status {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.1vw, 1.35rem);
  font-weight: 650;
}

@media (max-width: 760px) {
  .countdown-shell {
    padding: 18px;
  }

  .timer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .timer {
    grid-template-columns: 1fr;
  }
}
