/* Base */
html, body {
  height: 100%;
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #0b1220;
  color: #e7eefc;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* Header: logo left, menu right; stack on mobile */
.header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.logo {
  width: 200px;
  height: auto;
}

.menu {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.menu a {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.menu a:hover { color: #ffffff; }

@media (max-width: 600px) {
  .header { flex-direction: column; align-items: center; text-align: center; }
  .menu { justify-content: center; }
  .logo { width: 140px; }
}

/* App layout */
#app {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px;
}

.title {
  margin: 8px 0 4px 0;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
}

/* Circle stage reserves space for max scale */
:root {
  --circle-size: 200px;
  --circle-scale-max: 1.4;   /* match inhale target */
  --stage-padding: 24px;
}

.circle-stage {
  width: 100%;
  max-width: calc(var(--circle-size) * var(--circle-scale-max));
  height: calc(var(--circle-size) * var(--circle-scale-max) + var(--stage-padding));
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

/* Circle with centered timer */
#circle {
  width: var(--circle-size);
  height: var(--circle-size);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #8bd3ff, #3b82f6 60%, #1e3a8a);
  transform: scale(0.5);           /* resting size */
  transform-origin: center;
  will-change: transform;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(16, 94, 255, 0.35),
              inset 0 0 30px rgba(255, 255, 255, 0.1);
}

#circle #timer {
  position: absolute;
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0,0,0,0.4);
}

/* Info row */
.info {
  display: flex;
  gap: 12px;
  justify-content: center;
  font-size: 18px;
  opacity: 0.9;
  margin-top: 0;
}

#phase { font-weight: 600; }
#timer { font-variant-numeric: tabular-nums; }

/* Buttons */
#start,
#sound {
  appearance: none;
  border: 0;
  border-radius: 9999px;
  padding: 10px 16px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  transition: background 0.2s ease;
}

#sound {
  padding: 8px 14px;
  background: #1e40af;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
  margin-top: 6px;
}

#start:hover { background: #1e40af; }
#sound:hover { background: #2563eb; }

#start:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Content blocks */
.benefits-title {
  max-width: 680px;
  width: 100%;
  margin: 12px auto 0 auto;
  text-align: left;
  font-size: 20px;
}

.benefits-list {
  max-width: 680px;
  width: 100%;
  margin: 8px auto 20px auto;
  line-height: 1.6;
  font-size: 17px;
  opacity: 0.9;
  text-align: left;
  padding-left: 20px;
}

.alt-link {
  display: inline-block;
  margin-top: 10px;
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
}

.alt-link:hover { text-decoration: underline; }

.footer {
  width: 100%;
  text-align: center;
  padding: 16px 0;
  font-size: 14px;
  color: #9ca3af;
  border-top: 1px solid #000000;
  background: #000000;
  margin-top: auto;
}
.footer-creator { margin-top: 8px; }
.footer-creator-logo {
  width: 140px;
  height: auto;
  display: inline-block;
}
#start,
#sound {
  appearance: none;
  border: 0;
  border-radius: 9999px;
  padding: 18px 36px; /* bigger size */
  font-size: 20px;    /* larger text */
  background: #2563eb;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  margin-top: 10px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

#start:hover,
#sound:hover {
  transform: scale(1.05);
  background: #1d4ed8;
}
