/* BusyBuddy.Toys - Under Construction Landing Page Styles
   -------------------------------------------------------
   - Fullscreen blurred video background (local or YouTube)
   - Glassmorphism content card with pastel accents
   - Animated progress bar with liquid-glass effect
   - Subtle floating particles
*/

/* Reset & base typography */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "Geologica", system-ui, -apple-system, BlinkMacSystemFont,
    "SF Pro Text", "Segoe UI", sans-serif;
  color: #f7f7fb;
  background: radial-gradient(circle at top, #1d2230 0, #050711 55%, #000000 100%);
  -webkit-font-smoothing: antialiased;
}

#root {
  height: 100%;
}

/* Root layout */
.bb-root {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  transition:
    background-color 0.6s ease,
    color 0.6s ease;
}

/* Day/Night theme modifiers */
.bb-root--night {
  color: #f7f7fb;
}

.bb-root--day {
  color: #0b1020;
}

/* Three.js canvas container */
.bb-three-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.bb-three-container canvas {
  display: block;
}

.bb-main {
  position: relative;
  z-index: 2;
  min-height: 120vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: background-color 0.6s ease;
}

/* Background container */
.bb-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  height: 120vh;
  width: 100%;
}

/* Fallback background (if WebGL not supported) */
.bb-bg-fallback {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  display: none; /* Hidden by default, shown only if WebGL fails */
}

.bb-bg-mediaWrapper {
  position: absolute;
  inset: -10px;
  filter: blur(6px);
  transform: scale(1.03);
  will-change: transform;
}

/* Day theme: такое же размытие, но с более светлой палитрой */
.bb-root--day .bb-bg-mediaWrapper {
  filter: blur(6px);
  transform: scale(1.03);
}

.bb-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.bb-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at top,
      rgba(15, 23, 42, 0.5),
      rgba(3, 7, 18, 0.85)
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.05),
      rgba(0, 0, 0, 0.4) 55%,
      rgba(0, 0, 0, 0.55)
    );
  mix-blend-mode: multiply;
  transition: background 0.9s ease, opacity 0.9s ease;
}

/* Day theme: чуть светлее и теплее фон */
.bb-root--day .bb-bg-overlay {
  background: radial-gradient(
      circle at top,
      rgba(255, 242, 220, 0.55),
      rgba(210, 227, 255, 0.65)
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.55),
      rgba(255, 255, 255, 0.1) 55%,
      rgba(255, 255, 255, 0.0)
    );
  mix-blend-mode: normal;
}

/* Floating pastel particles (subtle) */
.bb-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bb-particle {
  position: absolute;
  border-radius: 999px;
  opacity: 0.22;
  filter: blur(1px);
  mix-blend-mode: screen;
  animation: bb-float 32s linear infinite;
}

.bb-particle--1 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, #ffd1dc 0, rgba(255, 209, 220, 0) 70%);
  top: 10%;
  left: -5%;
  animation-delay: -4s;
}

.bb-particle--2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, #c5f5d8 0, rgba(197, 245, 216, 0) 70%);
  top: 60%;
  left: 70%;
  animation-delay: -12s;
}

.bb-particle--3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #d0e5ff 0, rgba(208, 229, 255, 0) 70%);
  top: 75%;
  left: 10%;
  animation-delay: -20s;
}

.bb-particle--4 {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, #ffe6c7 0, rgba(255, 230, 199, 0) 70%);
  top: 25%;
  left: 80%;
  animation-delay: -28s;
}

.bb-particle--5 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #e1d7ff 0, rgba(225, 215, 255, 0) 70%);
  top: -5%;
  left: 40%;
  animation-delay: -8s;
}

.bb-particle--6 {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, #c9f4ff 0, rgba(201, 244, 255, 0) 70%);
  top: 50%;
  left: -10%;
  animation-delay: -16s;
}

@keyframes bb-float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(30px, -40px, 0) scale(1.08);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* macOS-style liquid glass card */
.bb-card {
  position: relative;
  max-width: 520px;
  width: 100%;
  padding: 2.2rem 2rem 2.4rem;
  border-radius: 20px;
  /* Frosted glass: semi-transparent dark gray, blurred background shows through */
  background: rgba(60, 60, 70, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.08) inset,
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 12px 24px -8px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  isolation: isolate;
}

.bb-card,
.bb-card::before,
.bb-card::after {
  transition:
    background 0.6s ease,
    border-color 0.6s ease,
    box-shadow 0.6s ease,
    color 0.6s ease,
    opacity 0.6s ease;
}

/* Day theme */
.bb-root--day .bb-card {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.3) inset,
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 25px 50px -12px rgba(0, 0, 0, 0.2),
    0 12px 24px -8px rgba(0, 0, 0, 0.12);
  color: #1a1a1a;
}

.bb-root--day .bb-card::before,
.bb-root--day .bb-card::after {
  opacity: 0;
}

.bb-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.bb-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.bb-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Language toggle - macOS liquid glass segmented control */
.bb-langToggle {
  align-self: center;
  display: inline-flex;
  flex-direction: row;
  gap: 0.25rem;
  padding: 0.2rem;
  margin-top: 0.3rem;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background: rgba(80, 80, 90, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06) inset,
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}

.bb-langToggle-btn {
  border: none;
  padding: 0.35rem 1rem;
  border-radius: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
  outline: none;
}

.bb-langToggle-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
}

.bb-langToggle-btn--active {
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.5);
}

.bb-langToggle-btn:hover:not(.bb-langToggle-btn--active) {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.bb-logoRow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

.bb-logo {
  height: 108px;
  max-width: 210px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.8));
  transition: transform 0.6s ease, filter 0.6s ease;
  animation: bb-logoAnimate 10s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes bb-logoAnimate {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
  }
  20% {
    transform: translateY(-8px) translateX(3px) rotate(1deg) scale(1.02);
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.15));
  }
  40% {
    transform: translateY(-12px) translateX(0) rotate(0deg) scale(1.05);
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.2));
  }
  60% {
    transform: translateY(-8px) translateX(-3px) rotate(-1deg) scale(1.02);
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.15));
  }
  80% {
    transform: translateY(-4px) translateX(2px) rotate(0.5deg) scale(1.01);
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 18px rgba(255, 255, 255, 0.12));
  }
  100% {
    transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
  }
}

.bb-title {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.25rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bb-subtitle {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.6s ease;
}

.bb-root--day .bb-subtitle {
  color: rgba(15, 23, 42, 0.75);
}

.bb-copy {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
  will-change: opacity, transform;
}

.bb-copy--fading {
  opacity: 0;
  transform: translateY(6px);
}

.bb-copy--visible {
  opacity: 1;
  transform: translateY(0);
}

.bb-body-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

/* Center text for body paragraphs, but not for inline rows with logos */
.bb-body-text:not(.bb-inlineRow) {
  text-align: center;
}

.bb-root--day .bb-body-text {
  color: rgba(31, 41, 55, 0.95);
}

.bb-body-text + .bb-body-text {
  margin-top: 0;
}

.bb-footnote {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(230, 228, 245, 0.8);
  transition: color 0.6s ease;
}

.bb-root--day .bb-footnote {
  color: rgba(55, 65, 81, 0.9);
}

/* Etsy button - macOS liquid glass */
.bb-inlineRow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  align-self: center;
  margin-top: 0.4rem;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background: rgba(75, 75, 85, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.05) inset,
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 8px 24px -4px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  text-decoration: none;
  cursor: pointer;
  justify-content: center;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease,
    border-color 0.25s ease;
  outline: none;
  animation: bb-etsyPulse 3s ease-in-out infinite;
}

.bb-inlineRow:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
}

.bb-inlineLogo {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
  display: block;
}

.bb-inlineLogo--insta {
  height: 32px;
}

.bb-inlineRow span {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.bb-inlineRow:hover {
  transform: translateY(-2px) scale(1.03);
  background: rgba(85, 85, 95, 0.5);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06) inset,
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 14px 32px -4px rgba(0, 0, 0, 0.45),
    0 0 25px rgba(255, 255, 255, 0.15);
  animation: none;
}

.bb-inlineRow:active {
  transform: translateY(0) scale(0.98);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.08) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 4px 12px -2px rgba(0, 0, 0, 0.3);
  animation: none;
}

@keyframes bb-etsyPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.05) inset,
      0 1px 0 rgba(255, 255, 255, 0.1) inset,
      0 8px 24px -4px rgba(0, 0, 0, 0.35),
      0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    transform: scale(1.02);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.05) inset,
      0 1px 0 rgba(255, 255, 255, 0.12) inset,
      0 10px 28px -4px rgba(0, 0, 0, 0.4),
      0 0 20px rgba(255, 255, 255, 0.1);
  }
}

/* Email subscription form - macOS liquid glass */
.bb-emailForm {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bb-emailLabel {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  letter-spacing: 0.02em;
}

.bb-emailInputWrapper {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.bb-emailInput {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(50, 50, 58, 0.5);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
  font-family: inherit;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.05) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  outline: none;
}

.bb-emailInput::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.bb-emailInput:focus {
  background: rgba(60, 60, 70, 0.6);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06) inset,
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 0 0 3px rgba(255, 255, 255, 0.12);
  outline: none;
}

.bb-emailInput:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
}

.bb-emailInput:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.bb-emailSubmit {
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(75, 75, 85, 0.5);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.05) inset,
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 4px 12px -2px rgba(0, 0, 0, 0.3);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease,
    border-color 0.25s ease;
  white-space: nowrap;
  outline: none;
}

.bb-emailSubmit:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
}

.bb-emailSubmit:hover:not(:disabled) {
  background: rgba(85, 85, 95, 0.6);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06) inset,
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 6px 16px -2px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.bb-emailSubmit:active:not(:disabled) {
  transform: translateY(0);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.08) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 2px 8px -2px rgba(0, 0, 0, 0.25);
}

.bb-emailSubmit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.bb-emailMessage {
  margin: 0;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  animation: bb-fadeIn 0.3s ease;
  line-height: 1.4;
}

.bb-emailMessage--success {
  color: rgba(197, 245, 216, 0.95);
  background: rgba(197, 245, 216, 0.1);
  border: 1px solid rgba(197, 245, 216, 0.2);
}

.bb-emailMessage--error {
  color: rgba(255, 200, 200, 0.95);
  background: rgba(255, 200, 200, 0.1);
  border: 1px solid rgba(255, 200, 200, 0.2);
}

@keyframes bb-fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Theme toggle switch */
.bb-themeToggle {
  align-self: flex-end;
  margin-bottom: 0.4rem;
  cursor: pointer;
}

.bb-themeToggle-track {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(9, 9, 12, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition:
    background 0.5s ease,
    border-color 0.5s ease,
    color 0.5s ease;
}

.bb-root--day .bb-themeToggle-track {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(148, 163, 184, 0.6);
}

.bb-themeToggle-knob {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.9);
  transition:
    background 0.5s ease,
    box-shadow 0.5s ease,
    transform 0.5s ease;
}

.bb-root--day .bb-themeToggle-knob {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  box-shadow: 0 0 10px rgba(15, 23, 42, 0.7);
}

.bb-themeToggle-label {
  opacity: 0.6;
}

.bb-themeToggle-track--night .bb-themeToggle-label--night,
.bb-themeToggle-track--day .bb-themeToggle-label--day {
  opacity: 1;
}

/* Progress styles */
.bb-progress {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.bb-progress-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.bb-progress-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.6s ease;
}

.bb-root--day .bb-progress-label {
  color: rgba(30, 64, 175, 0.9);
}

.bb-progress-value {
  font-variant-numeric: tabular-nums;
  font-size: 1.1rem;
}

.bb-progress-symbol {
  font-size: 0.78rem;
  opacity: 0.85;
  margin-left: 0.1rem;
}

/* Progress track - macOS liquid glass */
.bb-progress-track {
  position: relative;
  width: 100%;
  height: 0.75rem;
  border-radius: 10px;
  background: rgba(50, 50, 58, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.08) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  overflow: hidden;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.bb-root--day .bb-progress-track {
  height: 0.85rem;
  background: rgba(200, 200, 210, 0.5);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 1px 0 rgba(255, 255, 255, 0.5) inset;
}

/* Progress fill - subtle liquid glass highlight */
.bb-progress-fill {
  position: relative;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0.15)
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 1px 0 rgba(255, 255, 255, 0.25);
  transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.bb-root--day .bb-progress-fill {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9),
    rgba(230, 235, 250, 0.85)
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5) inset,
    0 1px 0 rgba(255, 255, 255, 0.8);
}

.bb-progress-highlight {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  pointer-events: none;
}

.bb-progress-dates {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(225, 222, 242, 0.85);
  opacity: 0.96;
}

/* Page load animation */
.bb-main {
  animation: bb-fadeInUp 800ms cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
  opacity: 0;
}

@keyframes bb-fadeInUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .bb-card {
    padding: 1.7rem 1.4rem 1.9rem;
    border-radius: 20px;
  }

  .bb-title {
    font-size: clamp(1.7rem, 7vw, 2rem);
  }

  .bb-body-text {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .bb-inlineRow {
    padding: 0.7rem 1.7rem;
  }

  .bb-langToggle-btn {
    padding: 0.3rem 1rem;
  }

  .bb-progress-label {
    font-size: 0.78rem;
  }

  .bb-progress-dates {
    font-size: 0.72rem;
  }

  .bb-emailInputWrapper {
    flex-direction: column;
  }

  .bb-emailSubmit {
    width: 100%;
  }

  .bb-emailForm {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
  }

  .bb-logo {
    height: 90px;
    max-width: 180px;
  }
}

@media (min-width: 900px) {
  .bb-card {
    max-width: 560px;
    padding: 2.5rem 2.4rem 2.7rem;
  }
}


