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

/* ===== GLOBAL ===== */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.04), transparent 60%),
    #111827;
  color: #e5e7eb;
  line-height: 1.7;
}

/* ===== HEADER ===== */
.site-header {
  background: #0b1220;
  padding: 56px 20px;
  text-align: center;
  border-bottom: 1px solid #1f2937;
}

.site-title {
  font-size: 34px;
  color: #f9fafb;
}

.site-subtitle {
  margin-top: 14px;
  color: #9ca3af;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.trust {
  margin-top: 22px;
  font-size: 14px;
  color: #a7f3d0;
  background: rgba(16,185,129,0.12);
  padding: 8px 16px;
  border-radius: 999px;
  display: inline-block;
}

/* ===== MAIN ===== */
.main {
  max-width: 900px;
  margin: 64px auto;
  padding: 0 20px;
}

/* ===== CARD ===== */
.card {
  background: #0b1220;
  border: 1px solid #1f2937;
  border-radius: 18px;
  padding: 36px;
  margin-bottom: 48px;
}

.card-tool {
  text-align: center;
}

/* ===== TIMER ===== */
.timer-display {
  font-size: 64px;
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: 24px;
}

/* ===== INPUT ===== */
.custom-time {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.custom-time input {
  width: 120px;
  padding: 10px;
  background: #0f172a;
  border: 1px solid #1f2937;
  border-radius: 10px;
  color: #e5e7eb;
}

.custom-time button {
  background: #2563eb;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  color: #fff;
  cursor: pointer;
}

/* ===== ERROR ===== */
.input-error {
  display: none;
  color: #fca5a5;
  font-size: 14px;
  margin-bottom: 16px;
}
.input-error.show {
  display: block;
}

/* ===== CONTROLS ===== */
.controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

button {
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid #1f2937;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
}

button.secondary {
  background: #0f172a;
}

/* ===== PRESETS ===== */
.presets {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.presets button {
  background: #0f172a;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #0b1220;
  border-top: 1px solid #1f2937;
  padding: 52px 20px;
  text-align: center;
  font-size: 14px;
  color: #9ca3af;
}

.site-footer a {
  margin: 0 12px;
  color: #9ca3af;
  text-decoration: none;
}

.site-footer a:hover {
  color: #e5e7eb;
}

.site-footer hr {
  border: none;
  border-top: 1px solid #1f2937;
  margin-bottom: 22px;
}

.site-footer p {
  margin-top: 18px;
}