body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: radial-gradient(circle at 50% 40%,
        #858e96 0%,
        /* center - steel gray */
        #81898f 10%,
        #7a8288 20%,
        #737b80 30%,
        #6d7479 45%,
        #676e73 60%,
        #636a6f 75%,
        #60696b 100%
        /* edge - dark charcoal */
      );
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.container {
  max-width: 400px;
  width: 100%;
  text-align: center;
  padding: 30px 20px;
}

.title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 10px;
}

.title span {
  color: #fc6868;
}

.tomato-icon {
  height: 50px;
  vertical-align: middle;
  margin-left: 6px;
}

@keyframes jump {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.tomato-icon.jump {
  animation: jump 0.6s infinite;
}

.label {
  font-size: 1em;
  color: #fc6868;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: bold;
}

.timer-wrapper {
  position: relative;
  width: 240px;
  height: 340px;
  margin: 0 auto 30px;
}

.progress-ring {
  transform: rotate(-90deg);
  position: absolute;
  top: 0;
  left: 0;
  clip-path: circle(50% at 50% 50%);
}

.ring-bg,
.ring-fill {
  fill: none;
  stroke-width: 10;
  r: 110;
  cx: 120;
  cy: 120;
}

.ring-fill {
  stroke: url(#neonGradient);
  stroke-linecap: round;
  stroke-dasharray: 690;
  stroke-dashoffset: 690;
  transition: stroke-dashoffset 0.5s ease;
  filter: drop-shadow(0 0 10px #e94dff) drop-shadow(0 0 4px #4fff3a);
}

.time-display {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -60%);
  text-align: center;
  z-index: 2;
}

#time-display {
  font-size: 2.8em;
  font-weight: bold;
  color: white;
}

.timer-buttons {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

.glass-btn {
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset -1px -1px 3px rgba(255, 255, 255, 0.1),
    inset 2px 2px 6px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(233, 77, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 500;
  font-size: 1em;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.glass-btn:hover {
  transform: scale(1.07);
}

.glass-btn img {
  width: 28px;
  height: 28px;
  transition: opacity 0.3s ease;
}

#pause-btn img,
#reset-btn img {
  opacity: 0.7;
}

#start-btn img {
  filter: brightness(10);
  opacity: 1;
}

.glass-btn.big {
  width: 80px;
  height: 80px;
}

.glass-btn.small {
  width: 55px;
  height: 55px;
  padding: 6px 14px;
}

.settings {
  margin-top: 25px;
  background: rgba(50, 50, 50, 0.35);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-radius: 15px;
  padding: 20px;
  box-shadow:
    inset -2px -2px 4px rgba(0, 0, 0, 0.35),
    inset 2px 2px 6px rgba(255, 255, 255, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(200, 200, 200, 0.08);
}

.setting-header {
  text-align: center;
  margin-bottom: 15px;
}

.setting-header h3 {
  margin: 0;
  font-size: 1.1em;
}

.setting-header p {
  font-size: 0.85em;
  color: #aaa;
  margin: 5px 0 0;
}

.setting-group {
  margin: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.setting-group label {
  font-size: 1em;
  font-weight: 600;
  color: #7cad28;
}

input[type="number"] {
  width: 60px;
  background: #141414;
  color: white;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 5px;
  font-size: 1em;
}

input:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.edit-btn-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.save-msg {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.85em;
  color: #4ef04e;
  transition: opacity 0.3s ease-in-out;
}

.hidden {
  opacity: 0;
  visibility: hidden;
}

.show {
  opacity: 1;
  visibility: visible;
}

.footer {
  margin-top: 30px;
  padding-top: 10px;
  text-align: center;
  font-size: 0.9em;
  color: #aaa;
}

.footer p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.icon-link img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  transition: transform 0.3s ease;
  filter: brightness(0) invert(1);
}

.icon-link:hover img {
  transform: scale(1.15);
}