mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 05:26:47 +00:00
ffda4de77d
The show now ends standing: KEINE ANGST with the full 23-language cascade stays up over the lit world, music carrying on until the traveler closes it — no credits hand-off. Skip jumps straight to that standing frame. Beacon: dismiss × removed, copy block centered on the canvas, the title gets its quiet jewelry treatment — ivory-to-gold fill, a traveling sheen and a slow breathing glow. The overlay now portals to document.body: the sticky dashboard sidebar forms its own stacking context, so the fixed navbar (z-200 at root) used to float above the show regardless of the overlay's z-index.
380 lines
9.9 KiB
CSS
380 lines
9.9 KiB
CSS
/* TREK 4.0.0 "KEINE ANGST" — styles for the beacon and the show.
|
|
Temporary by design: remove together with the FourZero folder. */
|
|
|
|
.fz-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 9999;
|
|
background: #05060a;
|
|
overflow: hidden;
|
|
color: #f5f2ea;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.fz-canvas {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.fz-vignette {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
background: radial-gradient(ellipse at center, transparent 52%, rgba(160, 25, 25, 0.28) 100%);
|
|
animation: fzVignettePulse 2.6s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes fzVignettePulse {
|
|
0%, 100% { opacity: 0.55; }
|
|
50% { opacity: 1; }
|
|
}
|
|
|
|
/* ── the lines ── */
|
|
|
|
.fz-line-wrap {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0 12vw;
|
|
pointer-events: none;
|
|
/* A soft radial pool of darkness under the words, so they never sink into
|
|
the burning map — depth, not a hard box. */
|
|
background: radial-gradient(52% 34% at 50% 50%, rgba(5, 6, 10, 0.55), rgba(5, 6, 10, 0) 72%);
|
|
}
|
|
|
|
.fz-line {
|
|
max-width: 900px;
|
|
text-align: center;
|
|
font-size: clamp(22px, 3.2vw, 40px);
|
|
font-weight: 300;
|
|
line-height: 1.45;
|
|
letter-spacing: 0.015em;
|
|
text-shadow:
|
|
0 1px 2px rgba(5, 6, 10, 0.9),
|
|
0 4px 18px rgba(5, 6, 10, 0.8),
|
|
0 10px 46px rgba(5, 6, 10, 0.65);
|
|
animation: fzLineIn 1.6s cubic-bezier(0.19, 1, 0.22, 1) both;
|
|
}
|
|
|
|
.fz-line-hard {
|
|
font-weight: 700;
|
|
font-size: clamp(26px, 3.8vw, 50px);
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
/* The pivot line out of the silence breathes in slowly instead of arriving. */
|
|
.fz-line-soft {
|
|
animation-duration: 3.4s;
|
|
}
|
|
|
|
@keyframes fzLineIn {
|
|
from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
|
|
to { opacity: 1; transform: translateY(0); filter: blur(0); }
|
|
}
|
|
|
|
/* Staccato words strobing to the heartbeat in the late fear act. */
|
|
.fz-flash-wrap {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* A stamped title card, not a zoom: bone-white core, chromatic red/blue
|
|
fringes, a nervous micro-jitter while it stands, tracking that slowly
|
|
clenches, and a hard cut out. */
|
|
.fz-flash {
|
|
font-size: clamp(52px, 9vw, 130px);
|
|
font-weight: 900;
|
|
color: #f4ded9;
|
|
text-shadow:
|
|
-2px 0 0 rgba(235, 45, 38, 0.85),
|
|
2px 0 0 rgba(60, 90, 235, 0.5),
|
|
0 0 34px rgba(235, 50, 45, 0.5),
|
|
0 4px 26px rgba(0, 0, 0, 0.95);
|
|
animation:
|
|
fzFlashStamp 0.65s linear both,
|
|
fzFlashJitter 0.1s steps(2, jump-none) infinite;
|
|
}
|
|
|
|
@keyframes fzFlashStamp {
|
|
0% { opacity: 0; letter-spacing: 0.2em; }
|
|
6% { opacity: 1; }
|
|
88% { opacity: 1; letter-spacing: 0.11em; }
|
|
100% { opacity: 0; letter-spacing: 0.11em; }
|
|
}
|
|
|
|
@keyframes fzFlashJitter {
|
|
0% { transform: translate(0, 0); }
|
|
50% { transform: translate(1.6px, -1px); }
|
|
100% { transform: translate(-1.4px, 0.8px); }
|
|
}
|
|
|
|
/* ── anthem ── */
|
|
|
|
.fz-anthem {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4vh;
|
|
pointer-events: none;
|
|
padding: 0 6vw;
|
|
}
|
|
|
|
.fz-anthem-word {
|
|
font-size: clamp(48px, 9vw, 128px);
|
|
font-weight: 800;
|
|
letter-spacing: 0.06em;
|
|
text-align: center;
|
|
margin: 0;
|
|
text-shadow: 0 0 60px rgba(255, 200, 120, 0.35), 0 2px 30px rgba(0, 0, 0, 0.9);
|
|
animation: fzAnthemIn 2.8s cubic-bezier(0.19, 1, 0.22, 1) both;
|
|
}
|
|
|
|
.fz-anthem-word-small {
|
|
font-size: clamp(34px, 5vw, 64px);
|
|
}
|
|
|
|
@keyframes fzAnthemIn {
|
|
from { opacity: 0; transform: scale(0.94); letter-spacing: 0.18em; filter: blur(10px); }
|
|
to { opacity: 1; transform: scale(1); letter-spacing: 0.06em; filter: blur(0); }
|
|
}
|
|
|
|
.fz-cascade {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 6px 26px;
|
|
max-width: 1000px;
|
|
}
|
|
|
|
.fz-cascade-item {
|
|
font-size: clamp(13px, 1.35vw, 19px);
|
|
font-weight: 500;
|
|
opacity: 0;
|
|
color: rgba(245, 235, 215, 0.92);
|
|
animation: fzCascadeIn 1.4s ease-out both;
|
|
}
|
|
|
|
@keyframes fzCascadeIn {
|
|
from { opacity: 0; transform: translateY(8px); }
|
|
to { opacity: 0.92; transform: translateY(0); }
|
|
}
|
|
|
|
/* ── chrome ── */
|
|
|
|
.fz-chrome {
|
|
position: absolute;
|
|
right: 18px;
|
|
bottom: 16px;
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
opacity: 0;
|
|
animation: fzChromeIn 1s ease-out 2.5s both;
|
|
}
|
|
|
|
@keyframes fzChromeIn { to { opacity: 1; } }
|
|
|
|
.fz-chrome-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 12px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(245, 240, 225, 0.22);
|
|
background: rgba(10, 12, 18, 0.55);
|
|
color: rgba(245, 240, 225, 0.75);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
backdrop-filter: blur(6px);
|
|
transition: color 0.15s, border-color 0.15s;
|
|
}
|
|
|
|
.fz-chrome-btn:hover { color: #fff; border-color: rgba(245, 240, 225, 0.55); }
|
|
|
|
/* ── beacon (dashboard trigger) ── */
|
|
|
|
/* Wrapper is a div so the dismiss can be a real sibling <button> — a button
|
|
may not contain another interactive element. Core colors also ride inline in
|
|
the component so no dashboard widget CSS can wash them out. */
|
|
.fz-beacon {
|
|
position: relative;
|
|
display: none;
|
|
width: 100%;
|
|
min-height: 196px;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
isolation: isolate;
|
|
box-shadow: 0 12px 34px -14px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 190, 110, 0.14);
|
|
transition: box-shadow 0.35s ease, transform 0.35s ease;
|
|
}
|
|
|
|
.fz-beacon:hover {
|
|
box-shadow: 0 16px 44px -14px rgba(220, 80, 50, 0.35), inset 0 0 0 1px rgba(255, 190, 110, 0.3);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.fz-beacon { display: block; }
|
|
}
|
|
|
|
/* The living night-world painted by TeaserCanvas. */
|
|
.fz-beacon-canvas {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 0;
|
|
}
|
|
|
|
/* Slow-breathing colored glows drifting over the canvas. */
|
|
.fz-beacon-glow {
|
|
position: absolute;
|
|
inset: -30%;
|
|
z-index: 1;
|
|
pointer-events: none;
|
|
background:
|
|
radial-gradient(45% 40% at 22% 18%, rgba(235, 60, 55, 0.2), transparent 70%),
|
|
radial-gradient(50% 45% at 82% 78%, rgba(255, 170, 80, 0.16), transparent 70%);
|
|
animation: fzGlowDrift 9s ease-in-out infinite alternate;
|
|
}
|
|
|
|
@keyframes fzGlowDrift {
|
|
from { transform: translate(-2%, -2%) scale(1); opacity: 0.8; }
|
|
to { transform: translate(2%, 3%) scale(1.08); opacity: 1; }
|
|
}
|
|
|
|
.fz-beacon-play {
|
|
position: relative;
|
|
z-index: 2;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
min-height: 216px;
|
|
border: none;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
padding: 22px 18px 18px;
|
|
font-family: inherit;
|
|
color: #f5f2ea;
|
|
/* Cinema scrim: a dark pool behind the centered copy, corners vignetted. */
|
|
background:
|
|
radial-gradient(120% 105% at 50% 52%, rgba(7, 8, 13, 0.62) 0%, rgba(7, 8, 13, 0.28) 52%, rgba(7, 8, 13, 0.7) 100%) !important;
|
|
}
|
|
|
|
/* Ivory-to-gold text with a traveling sheen and a slow breathing glow —
|
|
quiet effects, jewelry-grade, no gimmicks. */
|
|
.fz-beacon-title {
|
|
display: block;
|
|
font-size: 31px;
|
|
font-weight: 900;
|
|
letter-spacing: 0.14em;
|
|
text-indent: 0.14em;
|
|
line-height: 1.04;
|
|
margin: 0 0 8px;
|
|
background-image:
|
|
linear-gradient(110deg, transparent 40%, rgba(255, 244, 214, 0.95) 50%, transparent 60%),
|
|
linear-gradient(180deg, #fdfaf1 0%, #f4e6c2 52%, #e5c084 100%);
|
|
background-size: 260% 100%, 100% 100%;
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
animation:
|
|
fzTitleSheen 5.5s ease-in-out infinite,
|
|
fzTitleBreathe 4.5s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes fzTitleSheen {
|
|
0%, 30% { background-position: 130% 0, 0 0; }
|
|
62%, 100% { background-position: -70% 0, 0 0; }
|
|
}
|
|
|
|
@keyframes fzTitleBreathe {
|
|
0%, 100% { filter: drop-shadow(0 0 16px rgba(255, 205, 130, 0.18)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.85)); }
|
|
50% { filter: drop-shadow(0 0 30px rgba(255, 210, 140, 0.42)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.85)); }
|
|
}
|
|
|
|
.fz-beacon-sub {
|
|
display: block;
|
|
font-size: 12.5px;
|
|
font-weight: 400;
|
|
letter-spacing: 0.02em;
|
|
color: rgba(245, 240, 225, 0.75);
|
|
margin: 0;
|
|
text-shadow: 0 1px 8px rgba(5, 6, 10, 0.9);
|
|
}
|
|
|
|
/* The call to action: a cinema play circle with a slow golden pulse. */
|
|
.fz-beacon-playbtn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 46px;
|
|
height: 46px;
|
|
margin-top: 15px;
|
|
border-radius: 999px;
|
|
border: 1.5px solid rgba(255, 205, 130, 0.7);
|
|
background: radial-gradient(circle at 50% 42%, rgba(255, 195, 110, 0.16), rgba(255, 195, 110, 0.05));
|
|
color: #ffd694;
|
|
padding-inline-start: 3px; /* optically centers the triangle */
|
|
box-shadow: 0 0 22px rgba(255, 190, 105, 0.16);
|
|
animation: fzPlayPulse 2.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
|
|
transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
|
|
}
|
|
|
|
@keyframes fzPlayPulse {
|
|
0% { box-shadow: 0 0 22px rgba(255, 190, 105, 0.16), 0 0 0 0 rgba(255, 200, 120, 0.45); }
|
|
70%, 100% { box-shadow: 0 0 22px rgba(255, 190, 105, 0.16), 0 0 0 18px rgba(255, 200, 120, 0); }
|
|
}
|
|
|
|
.fz-beacon:hover .fz-beacon-playbtn {
|
|
background: #ffd694;
|
|
border-color: #ffe2ac;
|
|
color: #14100a;
|
|
transform: scale(1.08);
|
|
}
|
|
|
|
.fz-beacon-dismiss {
|
|
position: absolute;
|
|
top: 8px;
|
|
inset-inline-start: 8px;
|
|
z-index: 2;
|
|
display: inline-flex;
|
|
padding: 5px;
|
|
border: none;
|
|
border-radius: 999px;
|
|
background: transparent;
|
|
color: rgba(245, 240, 225, 0.4);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.fz-beacon-dismiss:hover { color: rgba(245, 240, 225, 0.85); }
|
|
|
|
/* While the show runs: no floating dashboard chrome above it, no page scroll. */
|
|
body.fz-show-open { overflow: hidden; }
|
|
body.fz-show-open .fab-new-trip { display: none; }
|
|
|
|
/* Accessibility: with reduced motion the component renders a single static
|
|
frame and skips straight to the credits; flatten every looping accent too. */
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.fz-overlay *,
|
|
.fz-vignette {
|
|
animation-duration: 0.01s !important;
|
|
animation-iteration-count: 1 !important;
|
|
}
|
|
}
|