:root {
  --primary-color: #6366f1;
  --accent-color: #3f83f8;
  --text-color: #333333;
  --link-color: #2563eb;
  --background-color: #ffffff;
  --light-gray: #f0f0f0;
  --gray: #808080;
  --dark-gray: #444;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 100vh;
  text-align: center;
  background: linear-gradient(
    225deg,
    rgba(64, 193, 232, 0.2),
    rgba(255, 165, 0, 0.2),
    rgba(173, 97, 130, 0.25),
    rgba(0, 200, 83, 0.2),
    rgba(64, 193, 232, 0.2),
    rgba(255, 165, 0, 0.2),
    rgba(64, 193, 232, 0.2)
  );
  background-size: 1000% 1000%;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}

#timer-message {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--dark-gray);
  background: rgba(255,255,255,0.7);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.container {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.timer h1 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

/* Button Styles */
.button-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.button-container .button {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.button-container .button:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}

/* Timer Circle */
.pomodoro {
  width: 25rem;
  aspect-ratio: 1/1;
  border-radius: 50%;
  position: relative;
  margin: 2.5rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  box-shadow: 
    15px 15px 40px rgba(0, 0, 0, 0.35),
    -10px -10px 30px rgba(255, 255, 255, 0.2);
}

.pomodoro::before {
  content: "";
  position: absolute;
  border: 10px solid var(--primary-color);
  border-radius: 50%;
  width: 22rem;
  height: 22rem;
}

/* Timer Display */
.timer-display {
  display: none;
}

.timer-display.active {
  display: block;
}

.time {
  font-size: 5rem;
  color: var(--dark-gray);
  font-weight: 600;
}

/* Start / Stop Buttons */
.container > .button {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.container > .button button {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: 0.3s ease;
}

.container > .button button:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}
