@font-face { font-family: Onest; src: url('/obs-source/onest-cyrillic.woff2') format('woff2'); font-weight: 100 900; }
@font-face { font-family: Onest; src: url('/obs-source/onest-latin.woff2') format('woff2'); font-weight: 100 900; unicode-range: U+0000-024F; }
@font-face { font-family: Dela; src: url('/obs-source/dela-cyrillic.woff2') format('woff2'); }
@font-face { font-family: Dela; src: url('/obs-source/dela-latin.woff2') format('woff2'); unicode-range: U+0000-024F; }
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; background: #050505; }
body { color: #fff; font-family: Onest, sans-serif; }
.stream { position: relative; width: 100%; height: 100%; overflow: hidden; isolation: isolate; }
.stream-art, .stream-vignette, .stream-grain { position: absolute; inset: 0; pointer-events: none; }
.stream-art { z-index: -3; background: #080706 url('/obs-source/background-v1.webp') center / cover no-repeat; animation: background-drift 28s ease-in-out infinite alternate; }
.stream-vignette { z-index: -2; background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.64) 32%, rgba(0,0,0,.1) 78%), linear-gradient(0deg, rgba(0,0,0,.75), transparent 34%, rgba(0,0,0,.25)); }
.stream-grain { z-index: -1; opacity: .2; background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.018) 4px); }
.stream-layout { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 4.5vh 5vw 5vh; }
.stream-header { display: flex; align-items: center; gap: 1.5vw; }
.stream-logo { display: block; width: clamp(150px, 17vw, 330px); height: auto; }
.stream-header-caption { color: rgba(255,255,255,.42); font-size: clamp(9px,.72vw,14px); letter-spacing: .18em; font-weight: 800; }
.stream-content { margin: auto 0; padding-bottom: 4vh; max-width: 60%; animation: content-in 1.1s cubic-bezier(.22,1,.36,1) both; }
.stream-label { display: flex; align-items: center; gap: .7em; color: #ff975f; font-size: clamp(10px,.8vw,16px); letter-spacing: .2em; font-weight: 800; }
.stream-dot { width: .55em; height: .55em; border-radius: 50%; background: #ff8746; animation: dot-breathe 3s ease-in-out infinite; }
h1 { font-family: Dela, Onest, sans-serif; font-size: clamp(40px, 6.3vw, 122px); line-height: 1.08; letter-spacing: -.045em; margin: 2vh 0; font-weight: 400; }
h1 em { color: #ff8748; font-style: normal; }
.stream-content p { margin: 0; color: rgba(255,255,255,.76); font-size: clamp(13px,1.18vw,23px); line-height: 1.5; }
.stream-progress { height: 2px; width: clamp(80px, 10vw, 190px); margin-top: 3vh; background: rgba(255,255,255,.16); overflow: hidden; }
.stream-progress span { display: block; width: 40%; height: 100%; background: #ff8748; animation: progress-pass 3.6s ease-in-out infinite alternate; }
.stream-footer { display: flex; gap: 3.5vw; align-items: end; }
.stream-footer > div { display: flex; flex-direction: column; gap: .45em; }
.stream-footer-label { color: rgba(255,255,255,.43); font-size: clamp(8px,.62vw,12px); font-weight: 800; letter-spacing: .14em; }
.stream-footer strong { color: rgba(255,255,255,.8); font-size: clamp(12px,.95vw,18px); font-weight: 650; }
.overlay-brand { display: none; }
html[data-scene="overlay"], body[data-scene="overlay"], body[data-scene="overlay"] .stream { background: transparent; }
body[data-scene="overlay"] .stream-art, body[data-scene="overlay"] .stream-vignette, body[data-scene="overlay"] .stream-grain, body[data-scene="overlay"] .stream-layout { display: none; }
body[data-scene="overlay"] .overlay-brand { position: absolute; left: 3vw; bottom: 4vh; display: flex; align-items: center; gap: 1vw; padding: .8vh 1.2vw; border-radius: .65vw; background: rgba(8,8,8,.85); color: #fff; font-size: clamp(10px,.85vw,16px); font-weight: 750; animation: overlay-in .8s ease both; }
.overlay-brand img { display: block; width: clamp(100px,9vw,175px); height: auto; }
.overlay-divider { width: 2px; height: 1.5em; background: #ff8748; }
@keyframes background-drift { from { transform: scale(1.01) translateX(0); } to { transform: scale(1.04) translateX(-.4%); } }
@keyframes content-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes overlay-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes dot-breathe { 50% { opacity: .45; } }
@keyframes progress-pass { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media (max-width: 600px) { .stream-layout { padding: 5vh 5vw; } .stream-content { max-width: 88%; } .stream-header-caption { display: none; } .stream-footer { gap: 5vw; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }

/* Compact browser source: the source itself is the banner, without a full-screen canvas. */
.mini-banner { display: none; }
html[data-scene="banner"], body[data-scene="banner"], body[data-scene="banner"] .stream { background: transparent; }
body[data-scene="banner"] .stream-art, body[data-scene="banner"] .stream-vignette, body[data-scene="banner"] .stream-grain, body[data-scene="banner"] .stream-layout { display: none; }
body[data-scene="banner"] .mini-banner { position: absolute; inset: 0; display: block; overflow: hidden; isolation: isolate; border-radius: 2.2vh; clip-path: polygon(0 12%,3% 0,95% 0,100% 18%,100% 87%,97% 100%,5% 100%,0 82%); background: #100b09; animation: mini-enter .8s cubic-bezier(.22,1,.36,1) both; }
.mini-art, .mini-shade { position: absolute; inset: 0; pointer-events: none; }
.mini-art { z-index: -2; background: #15100c url('/obs-source/banner-3d-v2.webp') center / cover no-repeat; animation: mini-art-drift 18s ease-in-out infinite alternate; }
.mini-shade { z-index: -1; background: linear-gradient(90deg, rgba(7,6,6,.98) 0%,rgba(8,7,6,.91) 38%,rgba(9,7,5,.25) 70%,rgba(7,6,6,.08)); }
.mini-content { position: absolute; inset: 10% 5%; display: flex; flex-direction: column; align-items: flex-start; }
.mini-logo { display: block; width: 26%; max-height: 28%; object-fit: contain; object-position: left center; }
.mini-copy { position: relative; width: 58%; flex: 1; margin-top: 2%; font-family: Dela, Onest, sans-serif; font-size: clamp(13px,4.2vw,28px); line-height: 1.16; letter-spacing: -.035em; }
.mini-copy > span { position: absolute; inset: 0 auto auto 0; display: block; white-space: nowrap; animation: mini-copy-first 12s ease-in-out infinite; }
.mini-copy > span + span { opacity: 0; animation-name: mini-copy-second; }
.mini-copy em { color: #ff8b4b; font-style: normal; }
.mini-address { display: inline-flex; align-items: center; gap: .5em; color: rgba(255,255,255,.76); font-size: clamp(9px,2vw,13px); font-weight: 750; letter-spacing: .02em; }
.mini-address > span { color: #ff945b; }
.mini-accent { position: absolute; left: 5%; right: 5%; bottom: 0; height: 2px; background: linear-gradient(90deg, #ff8b4b,rgba(255,139,75,.32) 36%,transparent 80%); transform-origin: left; animation: mini-accent-pulse 6s ease-in-out infinite alternate; }
@keyframes mini-enter { from { opacity: 0; transform: translateY(5%); } to { opacity: 1; transform: none; } }
@keyframes mini-art-drift { from { transform: scale(1.01); } to { transform: scale(1.08) translateX(-1%); } }
@keyframes mini-copy-first { 0%, 39% { opacity: 1; transform: translateY(0); } 45%, 94% { opacity: 0; transform: translateY(-6%); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes mini-copy-second { 0%, 44% { opacity: 0; transform: translateY(6%); } 50%, 89% { opacity: 1; transform: translateY(0); } 95%, 100% { opacity: 0; transform: translateY(-6%); } }
@keyframes mini-accent-pulse { from { opacity: .45; transform: scaleX(.74); } to { opacity: 1; transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .mini-copy > span + span { display: none; } }

/* Layered accents for the compact OBS banner. */
.mini-gem { position: absolute; z-index: 1; right: 7%; bottom: 9%; width: auto; height: 38%; object-fit: contain; pointer-events: none; animation: mini-gem-float 4s ease-in-out infinite alternate; }
.mini-sweep { position: absolute; z-index: 0; inset: -40% auto -40% -45%; width: 16%; transform: skewX(-22deg); background: linear-gradient(90deg, transparent, rgba(255,211,169,.09), transparent); pointer-events: none; animation: mini-sweep-pass 9s ease-in-out infinite; }
@keyframes mini-gem-float { from { transform: translateY(2px) rotate(-4deg); } to { transform: translateY(-4px) rotate(2deg); } }
@keyframes mini-sweep-pass { 0%, 48% { left: -45%; opacity: 0; } 57% { opacity: 1; } 72%, 100% { left: 130%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mini-gem, .mini-sweep { animation: none; } .mini-sweep { display: none; } }

/* Site footage and posters move as separate layers in the OBS banner. */
.motion-bg, .motion-stage, .motion-scrim { position: absolute; inset: 0; pointer-events: none; }
.motion-bg { z-index: -3; background: #090807 url('/obs-source/banner-3d-v2.webp') center / cover no-repeat; opacity: .25; }
.motion-stage { z-index: -2; perspective: 850px; }
.motion-stage-site { animation: motion-site-cycle 16s linear infinite; }
.motion-screen { position: absolute; right: 4%; top: 13%; width: 49%; height: 75%; overflow: hidden; border-radius: 5px; background: #101010; box-shadow: 0 14px 24px rgba(0,0,0,.65); transform: perspective(800px) rotateY(-15deg) rotateZ(2deg); animation: motion-screen-float 8s ease-in-out infinite alternate; }
.motion-screen img { width: 100%; height: 100%; object-fit: cover; }
.motion-stage-posters { opacity: 0; animation: motion-posters-cycle 16s linear infinite; }
.motion-poster { position: absolute; top: 12%; width: 19%; height: 79%; object-fit: cover; border-radius: 7px; box-shadow: 0 9px 18px rgba(0,0,0,.8); }
.motion-poster-one { right: 32%; transform: perspective(700px) rotateY(-17deg) rotateZ(-6deg) scale(.88); }
.motion-poster-two { z-index: 1; right: 17%; transform: perspective(700px) rotateY(-12deg) rotateZ(1deg); }
.motion-poster-three { right: 3%; transform: perspective(700px) rotateY(-14deg) rotateZ(7deg) scale(.87); }
.motion-scrim { z-index: -1; background: linear-gradient(90deg,#080707 0%,rgba(8,7,7,.95) 35%,rgba(8,7,7,.3) 69%,rgba(8,7,7,.1)); }
.motion-copy { position: relative; width: 64%; flex: 1; margin-top: 2%; perspective: 500px; font-family: Dela, Onest, sans-serif; font-size: clamp(13px,4.2vw,28px); line-height: 1.16; letter-spacing: -.035em; }
.motion-title { position: absolute; inset: 0 auto auto 0; display: block; white-space: nowrap; color: #fff; text-shadow: 0 1px 0 #d4d4d4, 0 2px 0 #8f8b88, 0 3px 0 #554d49, 0 5px 8px rgba(0,0,0,.75); transform-origin: left center; }
.motion-title em { color: #ff8b4b; font-style: normal; text-shadow: 0 1px 0 #db773b,0 2px 0 #a75021,0 3px 0 #6d2b10,0 5px 8px rgba(0,0,0,.7); }
.motion-title-one { animation: motion-title-first 16s ease-in-out infinite; }
.motion-title-two { opacity: 0; animation: motion-title-second 16s ease-in-out infinite; }
.motion-play { position: absolute; z-index: 2; right: 6%; bottom: 13%; height: 36%; width: auto; object-fit: contain; pointer-events: none; opacity: 0; animation: motion-play-cycle 16s ease-in-out infinite; }
.motion-line { position: absolute; bottom: 0; left: 5%; width: 90%; height: 2px; background: linear-gradient(90deg,#ff8b4b,rgba(255,139,75,.2),transparent); transform-origin: left; animation: mini-accent-pulse 6s ease-in-out infinite alternate; }
@keyframes motion-site-cycle { 0%,43% { opacity: 1; } 49%,94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes motion-posters-cycle { 0%,43% { opacity: 0; } 50%,90% { opacity: 1; } 97%,100% { opacity: 0; } }
@keyframes motion-screen-float { from { transform: perspective(800px) rotateY(-15deg) rotateZ(2deg) translateY(2px); } to { transform: perspective(800px) rotateY(-12deg) rotateZ(1deg) translateY(-3px); } }
@keyframes motion-title-first { 0%,40% { opacity: 1; transform: rotateY(-7deg) translateY(0); } 48%,92% { opacity: 0; transform: rotateY(7deg) translateY(-5px); } 100% { opacity: 1; transform: rotateY(-7deg) translateY(0); } }
@keyframes motion-title-second { 0%,40% { opacity: 0; transform: rotateY(-12deg) translateY(6px); } 48%,92% { opacity: 1; transform: rotateY(-7deg) translateY(0); } 100% { opacity: 0; transform: rotateY(7deg) translateY(-5px); } }
@keyframes motion-play-cycle { 0%,12% { opacity: 0; transform: scale(.45) rotate(-18deg); } 18%,38% { opacity: 1; transform: scale(1) rotate(0); } 44%,62% { opacity: 0; transform: scale(.7) rotate(10deg); } 69%,86% { opacity: 1; transform: scale(1) rotate(0); } 92%,100% { opacity: 0; transform: scale(.7) rotate(-10deg); } }
@media (prefers-reduced-motion: reduce) { .motion-stage-site, .motion-screen, .motion-title-one, .motion-line { animation: none; } .motion-stage-posters, .motion-title-two, .motion-play { display: none; } }
