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

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: #000000;
  color: #f4f4f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 24px 16px;
}

.container {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.countdown {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.75rem, 12vw, 4.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 24px;
  user-select: none;
}

.statement {
  width: 100%;
  color: #d4d4d8;
  font-size: 1rem;
  margin-bottom: 24px;
}

.statement p {
  margin: 0 0 12px 0;
}

.statement p:last-child {
  margin-bottom: 0;
}

.status-paragraph {
  color: #ffffff;
}

.registered-count {
  margin-top: 10px;
  color: #a1a1aa;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

.feedback {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: 6px;
  font-size: 0.9375rem;
  text-align: left;
  border: 1px solid transparent;
}

.feedback-success {
  background-color: #071b10;
  border-color: #166534;
  color: #bbf7d0;
}

.feedback-error {
  background-color: #1f0909;
  border-color: #991b1b;
  color: #fecaca;
}

.register-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.875rem;
  color: #d4d4d8;
  font-weight: 500;
}

.field input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #27272a;
  border-radius: 6px;
  background-color: #09090b;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.field input:focus {
  border-color: #a1a1aa;
}

.submit-btn {
  margin-top: 6px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ffffff;
  border-radius: 6px;
  background-color: #ffffff;
  color: #000000;
  font-size: 0.975rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.submit-btn:hover {
  opacity: 0.9;
}

.submit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
