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

@font-face {
  font-family: "Overseer";
  src: url("/Overseer.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: #111416;
  color: #f5f5f5;
}

.app {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.countdown {
  width: 100%;
  max-width: 420px;
  padding: 20px 18px;
  background: #181c1f;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.logo {
  width: 64px;
  height: auto;
  align-self: center;
}

.headline {
  font-family: "Overseer", system-ui, -apple-system, BlinkMacSystemFont,
    "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f7f7f7;
}

.label {
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c0c4c8;
}

.units {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.unit {
  flex: 1;
  padding: 10px 8px;
  background: #0f1214;
  border-radius: 14px;
  text-align: center;
}

.value {
  font-variant-numeric: tabular-nums;
  font-size: 26px;
  font-weight: 600;
  color: #f7f7f7;
}

#days.value {
  font-size: 30px;
}

.unit-label {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8c9298;
}

.message {
  min-height: 18px;
  font-size: 13px;
  color: #e0a75e;
}

/* Small screens */
@media (max-width: 400px) {
  .countdown {
    padding: 18px 14px;
  }

  .value {
    font-size: 22px;
  }

  #days.value {
    font-size: 26px;
  }
}

