
:root {
  --bg-main: #0a0c10;
  --bg-window: rgba(12, 14, 18, 0.88);
  --bg-card: rgba(18, 21, 28, 0.78);

  --border-soft: rgba(255, 255, 255, 0.06);

  --text-main: #e6e7eb;
  --text-muted: #9aa0aa;
  --text-faint: #6b7280;

  --accent-soft: #a3a3a3; /* neutral, cozy */
  --accent-warm: #c4b5a5; /* warm fabric tone */

  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;

  --blur-heavy: 140px;
  --blur-light: 30px;

  --ease-slow: 420ms cubic-bezier(.22,.61,.36,1);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(255,255,255,0.04), transparent),
    radial-gradient(700px 400px at 85% 120%, rgba(255,255,255,0.03), transparent),
    var(--bg-main);

  color: var(--text-main);
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Hide scrollbar */
body::-webkit-scrollbar { width: 0; }
body { scrollbar-width: none; }


.glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(var(--blur-heavy));
  opacity: 0.35;
}

.glow-cyan {
  width: 320px;
  height: 320px;
  background: rgba(255,255,255,0.08);
  top: -160px;
  left: -160px;
}

.glow-indigo {
  width: 380px;
  height: 380px;
  background: rgba(255,255,255,0.06);
  bottom: -200px;
  right: -160px;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 52px 20px;
  position: relative;
  z-index: 5;
}

.appwindow {
  background: linear-gradient(
    180deg,
    rgba(14,16,21,0.94),
    rgba(10,12,16,0.96)
  );
  border-radius: var(--radius-xl);
  backdrop-filter: blur(18px);

  box-shadow:
    0 50px 120px rgba(0,0,0,0.8),
    inset 0 1px 0 rgba(255,255,255,0.03);

  overflow: hidden;
}


.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 30px;
  background: rgba(10,12,16,0.85);
  border-bottom: 1px solid var(--border-soft);
}

.header h1 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.4px;
}

.header p {
  font-size: 12px;
  color: var(--text-faint);
}


.hero {
  height: 240px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(18,21,28,0.9),
      rgba(10,12,16,0.95)
    );
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(0.8) contrast(0.9);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(10,12,16,0.95),
      rgba(10,12,16,0.5),
      transparent
    );
}

.hero-content {
  position: absolute;
  bottom: 20px;
  left: 30px;
}

.hero-content p {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hero-temp {
  display: flex;
  gap: 16px;
  align-items: baseline;
}

.hero-temp span:first-child {
  font-size: 34px;
  font-weight: 500;
}


.card {
  margin: 24px;
  padding: 28px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(12px);

  box-shadow:
    0 24px 60px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.03);

  transition:
    transform var(--ease-slow),
    box-shadow var(--ease-slow);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 34px 80px rgba(0,0,0,0.75),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.card h2 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent-soft);
  margin-bottom: 16px;
}


input,
textarea {
  width: 100%;
  background: rgba(12,14,18,0.9);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-main);

  transition:
    background var(--ease-slow),
    border-color var(--ease-slow),
    box-shadow var(--ease-slow);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-faint);
}

input:focus,
textarea:focus {
  outline: none;
  background: rgba(12,14,18,0.95);
  border-color: rgba(255,255,255,0.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.hint {
  font-size: 11px;
  margin-top: 8px;
  color: var(--text-faint);
}


button {
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );

  color: var(--text-main);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 6px 16px rgba(0,0,0,0.6);

  transition:
    transform var(--ease-slow),
    box-shadow var(--ease-slow),
    background var(--ease-slow);
}

button:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
}

button:active {
  transform: translateY(0);
}


.task-input {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}


.center {
  text-align: center;
}

#timer-label {
  font-size: 46px;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 20px 0;
}

.progress {
  width: 100%;
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
}

.progress div {
  height: 100%;
  width: 0%;
  background: rgba(255,255,255,0.35);
  transition: width 0.6s ease;
}

.timer-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}


.water-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.water-buttons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}


ul {
  list-style: none;
}

strong {
  font-weight: 500;
  color: var(--text-main);
}

::-webkit-scrollbar{
  display: none;
}

@media (max-width: 1024px) {
  .container {
    padding: 44px 18px;
  }

  .card {
    margin: 20px;
    padding: 24px;
  }

  #timer-label {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 36px 16px;
  }

  .header {
    padding: 18px 22px;
  }

  .header h1 {
    font-size: 20px;
  }

  .hero {
    height: 200px;
  }

  .hero-content {
    left: 20px;
    bottom: 16px;
  }

  .hero-temp span:first-child {
    font-size: 30px;
  }

  .card {
    margin: 16px;
    padding: 22px;
  }

  .task-input {
    flex-direction: column;
  }

  .timer-buttons {
    flex-wrap: wrap;
  }

  .glow {
    filter: blur(90px);
    opacity: 0.25;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 28px 14px;
  }

  .appwindow {
    border-radius: 18px;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 18px;
  }

  .header h1 {
    font-size: 18px;
  }

  .header p {
    font-size: 11px;
  }

  .hero {
    height: 160px;
  }

  .hero-content {
    left: 16px;
    bottom: 12px;
  }

  .hero-temp span:first-child {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .card {
    margin: 12px;
    padding: 18px;
  }

  .card h2 {
    font-size: 10px;
    letter-spacing: 0.2em;
    margin-bottom: 12px;
  }

  input,
  textarea {
    padding: 16px;
    font-size: 15px;
  }

  button {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
  }

  #timer-label {
    font-size: 34px;
  }

  .water-info {
    flex-direction: column;
    gap: 6px;
  }

  .water-buttons {
    flex-direction: column;
  }

  .glow {
    display: none;
  }
}
