.dbb { position: relative; overflow: hidden; background: #070f24; padding: 100px 0 88px; text-align: center; }
.dbb-container { position: relative; z-index: 1; }
.dbb-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; pointer-events: none; }
.dbb-b1 { width: 480px; height: 480px; background: #225fe6; top: -140px; left: -120px; animation: dbbDrift 18s ease-in-out infinite alternate; }
.dbb-b2 { width: 420px; height: 420px; background: #1d7f8f; bottom: -140px; right: -100px; animation: dbbDrift 22s ease-in-out 2s infinite alternate-reverse; }
.dbb-b3 { width: 360px; height: 360px; background: #4b3bb4; top: 35%; left: 42%; opacity: .35; animation: dbbDrift 26s ease-in-out 1s infinite alternate; }
.dbb-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ffb4a2; background: rgba(255,120,90,.12); border: 1px solid rgba(255,120,90,.3); padding: 8px 16px; border-radius: 999px; margin-bottom: 22px; }
.dbb-title { font-size: clamp(34px, 5vw, 54px); font-weight: 700; color: #fff; line-height: 1.15; letter-spacing: -.01em; }
.dbb-title em { font-style: normal; padding: 0 6px; background: linear-gradient(transparent 62%, rgba(255,107,107,.45) 62%); border-radius: 2px; }
.dbb-sub { font-size: 17px; color: rgba(255,255,255,.72); line-height: 1.65; max-width: 580px; margin: 18px auto 0; }
.dbb-sub strong { color: #fff; }

.dbb-stage { position: relative; height: 620px; max-width: 1080px; margin: 52px auto 0; }
.dbb-doc-wrap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%); width: 250px; pointer-events: none; }
.dbb-doc-svg { width: 100%; display: block; transform-origin: 50% 90%; animation: dbbBob 4.5s ease-in-out infinite; }
.dbb-mood-0 .dbb-doc-svg { animation: dbbFret 2.6s ease-in-out infinite; }
.dbb-doc-label { margin-top: 4px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.6); }
.dbb-doc-svg .x-eyes-tired, .dbb-doc-svg .x-eyes-happy, .dbb-doc-svg .x-brows-worry, .dbb-doc-svg .x-brows-calm,
.dbb-doc-svg .x-mouth-sad, .dbb-doc-svg .x-mouth-mid, .dbb-doc-svg .x-mouth-happy,
.dbb-doc-svg .x-stress, .dbb-doc-svg .x-sparkle, .dbb-doc-svg .x-papers { transition: opacity .5s ease; }
.dbb-doc-svg .x-eyes-happy, .dbb-doc-svg .x-brows-calm, .dbb-doc-svg .x-mouth-mid,
.dbb-doc-svg .x-mouth-happy, .dbb-doc-svg .x-sparkle { opacity: 0; }
.dbb-doc-svg .x-sweat { opacity: 0; }
.dbb-mood-0 .x-sweat, .dbb-mood-1 .x-sweat { animation: dbbDrip 1.9s ease-in infinite; }
.dbb-mood-1 .x-stress, .dbb-mood-2 .x-stress, .dbb-mood-3 .x-stress { opacity: 0; }
.dbb-mood-2 .x-eyes-tired, .dbb-mood-3 .x-eyes-tired,
.dbb-mood-2 .x-brows-worry, .dbb-mood-3 .x-brows-worry,
.dbb-mood-2 .x-mouth-sad, .dbb-mood-3 .x-mouth-sad { opacity: 0; }
.dbb-mood-2 .x-eyes-happy, .dbb-mood-3 .x-eyes-happy,
.dbb-mood-2 .x-brows-calm, .dbb-mood-3 .x-brows-calm { opacity: 1; }
.dbb-mood-2 .x-mouth-mid { opacity: 1; }
.dbb-mood-3 .x-mouth-happy { opacity: 1; }
.dbb-mood-2 .x-papers { opacity: .45; }
.dbb-mood-3 .x-papers { opacity: 0; }
.dbb-mood-3 .x-sparkle { opacity: 1; }

.dbb-bubble { position: absolute; max-width: 250px; z-index: 2; transition: transform .35s ease, opacity .35s ease; }
.dbb-bubble.open { z-index: 6; max-width: 330px; width: 330px; }
.dbb-bubble.solved:not(.open) { transform: scale(.88); opacity: .72; }
.dbb-float { animation: dbbFloat var(--dur, 5.5s) ease-in-out var(--delay, 0s) infinite alternate; }
.dbb-bubble.open .dbb-float { animation-play-state: paused; }
.dbb-glass {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px;
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: 0 8px 32px rgba(2,8,30,.35), inset 0 1px 0 rgba(255,255,255,.25);
  overflow: hidden; text-align: left;
  transition: background .3s, border-color .3s, box-shadow .3s, transform .25s;
}
.dbb-bubble:not(.open) .dbb-glass:hover { transform: translateY(-3px); background: rgba(255,255,255,.14); box-shadow: 0 14px 40px rgba(2,8,30,.45), inset 0 1px 0 rgba(255,255,255,.3); }
.dbb-bubble.solved .dbb-glass { background: rgba(72,187,120,.12); border-color: rgba(126,212,168,.35); animation: dbbPop .45s ease; }
.dbb-bubble.mine .dbb-glass { background: rgba(255,166,87,.13); border-color: rgba(255,183,110,.45); box-shadow: 0 8px 32px rgba(255,150,60,.14), inset 0 1px 0 rgba(255,255,255,.25); }
.dbb-bubble.faded:not(.open) { opacity: .38; }
.dbb-hrs { flex-shrink: 0; margin-left: auto; font-size: 11px; font-weight: 800; letter-spacing: .02em; color: #ffcf9b; background: rgba(255,166,87,.18); border: 1px solid rgba(255,183,110,.4); border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.dbb-head { display: flex; align-items: center; gap: 10px; width: 100%; padding: 13px 18px; background: none; border: none; cursor: pointer; font-family: var(--font); text-align: left; }
.dbb-emoji { font-size: 20px; line-height: 1; flex-shrink: 0; }
.dbb-bubble.solved .dbb-emoji { font-size: 15px; font-weight: 800; color: #8fe0b5; width: 22px; height: 22px; border-radius: 50%; background: rgba(126,212,168,.2); display: flex; align-items: center; justify-content: center; }
.dbb-pain { font-size: 14px; font-weight: 600; color: #fff; line-height: 1.4; }
.dbb-bubble.solved .dbb-pain { text-decoration: line-through; color: rgba(255,255,255,.55); }
.dbb-fix { max-height: 0; opacity: 0; padding: 0 18px; overflow: hidden; transition: max-height .45s ease, opacity .35s ease, padding .45s ease; }
.dbb-bubble.open .dbb-fix { max-height: 280px; opacity: 1; padding: 0 18px 16px; }
.dbb-fix-label { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7fd4a8; margin: 2px 0 8px; }
.dbb-fix p { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.6; margin-bottom: 14px; }
.dbb-claim { font-family: var(--font); font-size: 13px; font-weight: 700; color: #ffcf9b; background: rgba(255,166,87,.15); border: 1px solid rgba(255,183,110,.45); border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: background .2s, transform .2s; }
.dbb-claim:hover { background: rgba(255,166,87,.28); transform: scale(1.04); }
.dbb-claim.claimed { background: rgba(255,166,87,.3); color: #fff; }
.dbb-popped { font-size: 13px; font-weight: 700; color: #8fe0b5; }

.dbb-footer { margin-top: 48px; }
.dbb-progress { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: 10px 20px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.85); animation: loveFade .4s ease; }
.dbb-progress strong { color: #ffcf9b; }
.dbb-progress.dbb-all { background: rgba(126,212,168,.14); border-color: rgba(126,212,168,.4); color: #a9ecc8; }
.dbb-progress.dbb-all strong { color: #d3f7e2; }
.dbb-ctas { margin-top: 22px; display: flex; justify-content: center; }
.dbb-resolve { border: none; cursor: pointer; }
.dbb-links { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.dbb-link { background: none; border: none; font-family: var(--font); font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.55); cursor: pointer; transition: color .15s; }
.dbb-link:hover { color: #fff; }
.dbb-escape { margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.45); }

@keyframes dbbFloat { from { transform: translateY(-7px); } to { transform: translateY(7px); } }
@keyframes dbbBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes dbbFret { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-1.4deg); } 75% { transform: rotate(1.4deg); } }
@keyframes dbbDrip { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translateY(13px); opacity: 0; } }
@keyframes dbbDrift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.15); } }
@keyframes dbbPop { 0% { transform: scale(1); } 40% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes loveFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .dbb { padding: 72px 0 64px; }
  .dbb-stage { height: auto; display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
  .dbb-doc-wrap { position: static; transform: none; width: 190px; margin: 0 auto 14px; }
  .dbb-bubble, .dbb-bubble.open { position: static; width: 100%; max-width: 100%; }
  .dbb-bubble.solved:not(.open) { transform: none; }
  .dbb-float { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dbb-float, .dbb-doc-svg, .dbb-blob, .x-sweat { animation: none !important; }
}
