:root {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #e9ecf1;

  /* Base color */
  background-color: #0b0f19;

  /* Blueprint-style grid */
  background-image:
    linear-gradient(
      rgba(120, 150, 255, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(120, 150, 255, 0.06) 1px,
      transparent 1px
    );

  background-size: 32px 32px;
}

.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
}

.nav {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.nav a {
  color: #e9ecf1;
  text-decoration: none;
  opacity: 0.85;
}
.nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

.countdown {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.days {
  font-size: clamp(96px, 18vw, 240px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.detail {
  margin-top: 12px;
  opacity: 0.8;
  font-size: 16px;
}

.card {
  background: #121a2b;
  border: 1px solid #22304d;
  border-radius: 14px;
  padding: 18px;
  margin: 16px 0;
}

.row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

input[type="text"] {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #2a3a5c;
  background: #0b1222;
  color: #e9ecf1;
}

button {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #2a3a5c;
  background: #1f2b44;
  color: #e9ecf1;
  cursor: pointer;
}
button:hover {
  filter: brightness(1.15);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
li:last-child { border-bottom: none; }

li.done span.goal-text {
  text-decoration: line-through;
  opacity: 0.7;
}

.x {
  margin-left: auto;
  opacity: 0.7;
  cursor: pointer;
  user-select: none;
}
.x:hover { opacity: 1; }

.hint {
  opacity: 0.7;
  margin-top: 8px;
  font-size: 13px;
}

#fx-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}

/* Clase base para cualquier FX */
.fx {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}