/* fan/httyd.css: /worlds/how-to-train-your-dragon/ only.

   Night flight palette: plasma blue over a northern sky, with the aurora the
   third film lives under. The hero drawing is the two tail fins, one grown,
   one built, because that is the entire franchise in two shapes. */

body[data-fan="httyd"] { --a: #7fd0e8; }

/* ── the backdrop ── */
.ht-sky {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: radial-gradient(85% 65% at 50% 0%, #0e1c2e 0%, #0a1220 48%, #04070c 100%);
}

.ht-sky > * { position: absolute; inset: 0; }

.ht-stars {
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.7), transparent 1px),
    radial-gradient(1px 1px at 34% 8%, rgba(255,255,255,.5), transparent 1px),
    radial-gradient(1.5px 1.5px at 58% 22%, rgba(255,255,255,.6), transparent 2px),
    radial-gradient(1px 1px at 76% 12%, rgba(255,255,255,.5), transparent 1px),
    radial-gradient(1px 1px at 90% 28%, rgba(255,255,255,.4), transparent 1px);
}

.ht-aurora {
  background:
    radial-gradient(60% 26% at 30% 12%, rgba(95,168,111,.16), transparent 70%),
    radial-gradient(50% 22% at 68% 8%, rgba(127,208,232,.14), transparent 70%);
  animation: ht-shift 22s ease-in-out infinite alternate;
}

@keyframes ht-shift { to { transform: translateX(4%) } }

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

.ht-stacks { top: auto; height: 32%; opacity: .55; }

.ht-stacks svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.hts-far  { fill: #142438; }

.hts-near { fill: #0c1826; }

.hts-sea  { fill: #0a1420; }

/* ── hero ── */
body[data-fan="httyd"] .fan-title {
  background: linear-gradient(180deg, #e8f6fc, #7fd0e8 58%, #3f8fb0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── the tail-fin drawing ── */
.ht-art { padding: 0 var(--gutter); max-width: var(--maxw); margin: 2.6rem 0 0; }

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

.hta-body { fill: #232833; }

.hta-fin  { fill: #2b303c; }

.hta-rib  { fill: none; stroke: #464e5e; stroke-width: 2.4; stroke-linecap: round; }

.hta-pros { fill: #b03a2a; }

.hta-rod  { fill: none; stroke: #6a4a22; stroke-width: 2.4; stroke-linecap: round; }

.hta-strap { fill: none; stroke: #8a6a3a; stroke-width: 5; stroke-linecap: round; }

.ht-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);
}
