/* fan/spongebob.css: /worlds/spongebob/ only.

   The bottom of the sea: teal water, the flower-shaped clouds the show hangs
   in its sky, bubbles drifting up, and Conch Street drawn in elevation for
   the hero. Yellow is the accent, obviously. */

body[data-fan="spongebob"] { --a: #f0e03f; }

/* ── the backdrop ── */
.sb-sky {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: linear-gradient(180deg, #0e3448 0%, #0a2436 46%, #051019 100%);
}

.sb-water {
  position: absolute; inset: 0;
  background: radial-gradient(60% 34% at 50% 0%, rgba(127,216,201,.14), transparent 70%);
}

.sb-flowers { position: absolute; inset: 0 0 auto 0; height: 26%; opacity: .5; }

.sb-flowers svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.sbf circle { fill: #14506a; }

.sbf--2 circle { fill: #175a76; }

/* bubbles: tiny radial dots drifting upward on a long loop */
.sb-bubbles {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(3px 3px at 16% 84%, rgba(200,240,255,.25), transparent 4px),
    radial-gradient(2px 2px at 38% 92%, rgba(200,240,255,.2), transparent 3px),
    radial-gradient(4px 4px at 64% 88%, rgba(200,240,255,.22), transparent 5px),
    radial-gradient(2px 2px at 82% 94%, rgba(200,240,255,.2), transparent 3px);
  animation: sb-rise 26s linear infinite;
}

@keyframes sb-rise { to { transform: translateY(-86vh); } }

@media (prefers-reduced-motion: reduce) { .sb-bubbles { animation: none; } }

.sb-floor { position: absolute; inset: auto 0 0 0; height: 22%; opacity: .6; }

.sb-floor svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.sbg-sand { fill: #b89d6a; opacity: .35; }

/* ── hero ── */
body[data-fan="spongebob"] .fan-title {
  background: linear-gradient(180deg, #fdf6c0, #f0e03f 58%, #b8981c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── Conch Street ── */
.sb-art { padding: 0 var(--gutter); max-width: var(--maxw); margin: 2.6rem 0 0; }

.sb-art svg { display: block; width: min(620px, 100%); margin-inline: auto; }

.sba-rock path { fill: #7a5a3a; }

.sba-moai path { fill: #3f6a8a; }

.sbp-body { fill: #e8a13f; }

.sbp-leaf { fill: #5fa86f; }

.sbp-hatch { fill: none; stroke: #b8742a; stroke-width: 3; opacity: .7; }

.sbp-door { fill: #7fd8c9; }

.sbp-win { fill: #9fd8ef; }

.sba-sand { fill: #b89d6a; opacity: .5; }

.sb-art figcaption {
  margin-top: 0.9rem; text-align: center;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--mute);
}
