/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* BASE */
body {
  background: linear-gradient(180deg, #FFF4EC 0%, #FFF8F3 100%);
  color: #5C4438;
  line-height: 1.6;
}

/* PAGE */
.page {
  max-width: 420px;
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
}

/* HOME */
.home h1 {
  font-size: 28px;
  margin-bottom: 16px;
}

.home-text {
  font-size: 15px;
  color: #6D6D6D;
  margin-bottom: 32px;
}

.home-note {
  margin-top: 48px;
  font-size: 14px;
  color: #6D6D6D;
}

/* BUTTON */
.primary-btn {
  padding: 12px 28px;
  border-radius: 999px;
  background: #F8B996;
  color: white;
  border: none;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.primary-btn.outline {
  background: transparent;
  color: #5C4438;
  border: 1.5px solid #F8B996;
  margin-top: 16px;
}

/* EXERCISE */
.exercise h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.exercise-text {
  font-size: 14px;
  color: #6D6D6D;
  margin-bottom: 40px;
}

/* CARD */
.breathing-card {
  background: #FFF8F3;
  border-radius: 32px;
  padding: 48px 24px;
  box-shadow: 0 20px 40px rgba(248, 185, 150, 0.25);
}

/* BREATHING VISUAL */
.breath-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 32px;
}

/* GLOW (ONLY ON EXHALE) */
.glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(150, 200, 255, 0.35) 0%,
    rgba(150, 200, 255, 0.15) 40%,
    rgba(150, 200, 255, 0.05) 65%,
    rgba(150, 200, 255, 0) 75%
  );
  opacity: 0;
  transform: scale(1);
  filter: blur(12px);
  transition: all 4s ease;
  pointer-events: none;
}

/* MAIN CIRCLE */
.circle {
  width: 150px;
  height: 150px;
  margin: auto;
  border-radius: 50%;
  background: radial-gradient(circle at top, #FBCDB3, #F8B996);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 4s ease;
}

/* TEXT */
.circle span {
  font-size: 14px;
}

/* STATES */

/* INHALE = SMALL */
.breath-wrapper.inhale .circle {
  transform: scale(0.85);
}

.breath-wrapper.inhale .glow {
  opacity: 0;
}

/* EXHALE = EXPAND OUTWARD */
.breath-wrapper.exhale .circle {
  transform: scale(1.25);
}

.breath-wrapper.exhale .glow {
  opacity: 0.6;
  transform: scale(1.6);
}

/* EXTRA */
.hint {
  margin-top: 16px;
  font-size: 13px;
  color: #6D6D6D;
}

.back-link {
  display: inline-block;
  margin-top: 32px;
  font-size: 13px;
  color: #5C4438;
  text-decoration: none;
}

/* DESKTOP */
@media (min-width: 768px) {
  .page {
    max-width: 520px;
  }

  .circle {
    width: 180px;
    height: 180px;
  }

  .breath-wrapper {
    width: 230px;
    height: 230px;
  }
}
