:root {
  --bg1: #eaf6f2;
  --bg2: #d7ebe6;
  --card: rgba(255, 255, 255, 0.72);
  --ink: #3d534c;
  --muted: #6b847b;
  --accent: #7eb8a8;
  --accent-soft: #cfe8df;
  --shadow: 0 18px 50px rgba(90, 130, 120, 0.16);
}

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

html, body {
  min-height: 100%;
  font-family: Tahoma, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, var(--bg1), var(--bg2) 55%, #cfe4dc);
  color: var(--ink);
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 20px;
  overflow-x: hidden;
}

.sky { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }

.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 40px;
  filter: blur(1px);
  animation: drift 28s linear infinite;
}

.cloud:before, .cloud:after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.c1 { width: 140px; height: 40px; top: 8%; left: -20%; }
.c1:before { width: 60px; height: 60px; top: -28px; left: 22px; }
.c1:after { width: 48px; height: 48px; top: -18px; left: 70px; }
.c2 { width: 180px; height: 46px; top: 18%; right: -25%; animation-duration: 36s; animation-delay: -10s; }
.c2:before { width: 70px; height: 70px; top: -32px; left: 30px; }
.c2:after { width: 50px; height: 50px; top: -20px; left: 90px; }

.leaf { position: absolute; font-size: 22px; opacity: 0.55; animation: fall 16s ease-in-out infinite; }
.l1 { top: -10%; right: 18%; }
.l2 { top: -10%; left: 22%; animation-delay: -7s; font-size: 18px; }

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(120vw); }
}

@keyframes fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  12% { opacity: 0.5; }
  100% { transform: translateY(110vh) rotate(25deg); opacity: 0; }
}

.card {
  position: relative;
  width: min(420px, 100%);
  background: var(--card);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  padding: 28px 22px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.brand {
  font-size: 13px;
  letter-spacing: 0.4px;
  color: var(--muted);
  margin-bottom: 10px;
}

.greeting {
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 8px;
}

.drop {
  font-size: 46px;
  margin: 8px 0 12px;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}

.message {
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
  margin-bottom: 22px;
}

.tracker { margin-bottom: 18px; }

.label { font-size: 13px; color: var(--muted); margin-bottom: 4px; }

.count {
  font-size: 28px;
  margin-bottom: 12px;
}

.glasses {
  display: flex;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.glass {
  width: 18px;
  height: 26px;
  border-radius: 4px 4px 8px 8px;
  border: 1.5px solid var(--accent);
  background: transparent;
  opacity: 0.45;
  transition: 0.4s ease;
}

.glass.filled {
  background: linear-gradient(180deg, #b7e4f7, #7eb8d4);
  opacity: 1;
}

.soft-btn {
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 13px 12px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 14.5px;
  font-family: inherit;
  cursor: pointer;
  transition: 0.25s ease;
}

.soft-btn:hover { background: #bddfd4; }
.soft-btn:active { transform: scale(0.98); }

.settings {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(126, 184, 168, 0.25);
}

.settings label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--accent-soft);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  padding: 10px;
  font-family: inherit;
  font-size: 14px;
  text-align: center;
}

.hint {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}

footer {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
}
