/* cawverse-bg.css — the shared animated Cawverse background (r_fc2bd897e0b84880), for /coming-soon (-21) and the Activity hub (games-46).
   SEALED: every class and keyframe is cvbg-; no html, body or * rules; CSS only (no JS); keyframes animate transform and opacity only;
   no filter, no var(), no @import; url()s are relative and point only at the 2 swirl images beside this file.

   THE ART: cv-swirl-1200.jpg / cv-swirl-800.jpg are LOGO-FREE. They are made offline from the approved art: the knife-crow and the
   CAW-verse wordmark are removed, the bottom half is rebuilt from the top half turned 180° (the spiral is two-armed), and the core is a
   dark eye with a violet rim. Turning them can never turn a logo. The wordmark is a SEPARATE still element (.cvbg-mark), never rotated.

   THE MOTION: three copies of the swirl, each masked to its own ring, turn at different speeds (inner 22 s, middle 40 s, outer 80 s).
   That differential rotation reads as a real vortex being pulled in, not a photo turning. Also: a breathing glow behind the core, three
   star layers (twinkle + parallax drift), and three shooting stars on long, staggered cycles.
   Reduced motion: nothing moves. The rings, the glow and the stars cross-fade with opacity only, so the sky still feels alive.

   MARKUP (first child of <body>):
     <div class="cvbg-sky" aria-hidden="true"><div class="cvbg-glow"></div><div class="cvbg-ring cvbg-r3"></div><div class="cvbg-ring cvbg-r2"></div><div class="cvbg-ring cvbg-r1"></div><div class="cvbg-stars cvbg-s1"></div><div class="cvbg-stars cvbg-s2"></div><div class="cvbg-stars cvbg-s3"></div><div class="cvbg-shoot cvbg-sh1"></div><div class="cvbg-shoot cvbg-sh2"></div><div class="cvbg-shoot cvbg-sh3"></div><div class="cvbg-veil"></div></div>
   The wordmark (outside the sky, in the content):
     <div class="cvbg-mark"><img src="…/caw-wordmark.jpg" alt="CAW-verse" width="760" height="211"></div>
   Optional centring for a page's main column: class="cvbg-center" on it. */

.cvbg-sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #05030C; pointer-events: none; }
.cvbg-sky > div { position: absolute; pointer-events: none; }

/* the swirl rings: one square image, centred a little above the middle. Its corners already fade to black, so it needn't cover the
   screen: max(125vmin, 80vmax) shows the whole galaxy on a desktop and the core + inner arms on a phone. */
.cvbg-ring { left: 50%; top: 44%; width: max(125vmin, 80vmax); height: max(125vmin, 80vmax); margin: calc(max(125vmin, 80vmax) / -2) 0 0 calc(max(125vmin, 80vmax) / -2); background: url('cv-swirl-1200.jpg') center / 100% 100% no-repeat; will-change: transform; }
.cvbg-r3 { -webkit-mask-image: radial-gradient(circle closest-side, transparent 44%, #000 58%); mask-image: radial-gradient(circle closest-side, transparent 44%, #000 58%);
  animation: cvbg-turn3 80s linear infinite; }
.cvbg-r2 { -webkit-mask-image: radial-gradient(circle closest-side, transparent 20%, #000 31%, #000 50%, transparent 60%); mask-image: radial-gradient(circle closest-side, transparent 20%, #000 31%, #000 50%, transparent 60%);
  animation: cvbg-turn2 40s linear infinite; }
.cvbg-r1 { -webkit-mask-image: radial-gradient(circle closest-side, #000 0, #000 24%, transparent 33%); mask-image: radial-gradient(circle closest-side, #000 0, #000 24%, transparent 33%);
  animation: cvbg-turn1 22s linear infinite; }

/* the breathing glow behind the core */
.cvbg-glow { left: 50%; top: 44%; width: 90vmin; height: 90vmin; margin: -45vmin 0 0 -45vmin; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(150,110,255,.42), rgba(96,60,220,.16) 55%, transparent 100%); animation: cvbg-breathe 7s ease-in-out infinite; will-change: transform, opacity; }

/* stars: three tiled layers, twinkling and drifting at different speeds (parallax) */
.cvbg-stars { inset: -12%; background-repeat: repeat; will-change: transform, opacity; }
.cvbg-s1 { background-image: radial-gradient(1.2px 1.2px at 20px 30px, #fff, transparent 60%), radial-gradient(1px 1px at 140px 80px, #dcd0ff, transparent 60%), radial-gradient(1.4px 1.4px at 220px 190px, #fff, transparent 60%), radial-gradient(1px 1px at 80px 240px, #c9b8ff, transparent 60%);
  background-size: 280px 280px; animation: cvbg-twinkle 4.5s ease-in-out infinite, cvbg-drift1 40s linear infinite; }
.cvbg-s2 { background-image: radial-gradient(1.6px 1.6px at 60px 110px, #fff, transparent 60%), radial-gradient(1.1px 1.1px at 300px 40px, #e6dcff, transparent 60%), radial-gradient(1.3px 1.3px at 360px 330px, #fff, transparent 60%);
  background-size: 420px 420px; animation: cvbg-twinkle 7s ease-in-out -3s infinite, cvbg-drift2 60s linear infinite; }
.cvbg-s3 { background-image: radial-gradient(2.2px 2.2px at 150px 150px, #fff, transparent 65%), radial-gradient(1.8px 1.8px at 470px 380px, #d9c9ff, transparent 65%);
  background-size: 600px 600px; animation: cvbg-twinkle 3.2s ease-in-out -1.2s infinite; }

/* shooting stars: a short bright streak crossing the sky, then a long rest */
.cvbg-shoot { width: 160px; height: 2px; border-radius: 2px; opacity: 0; background: linear-gradient(90deg, transparent, rgba(220,205,255,.9) 70%, #fff); }
.cvbg-sh1 { left: 8%; top: 14%; animation: cvbg-shoot 11s ease-in 2s infinite; }
.cvbg-sh2 { left: 46%; top: 6%; animation: cvbg-shoot 17s ease-in 7s infinite; }
.cvbg-sh3 { left: 70%; top: 24%; animation: cvbg-shoot 23s ease-in 13s infinite; }

/* the veil keeps text readable over the art */
.cvbg-veil { inset: 0; background: radial-gradient(ellipse at 50% 44%, transparent 0, rgba(5,3,12,.25) 55%, rgba(5,3,12,.7) 100%), linear-gradient(180deg, rgba(5,3,12,.2) 0%, rgba(5,3,12,.35) 60%, rgba(5,3,12,.75) 100%); }

/* the CAW-verse wordmark: a still element (never rotated). A glow pulses behind it and a light sweeps across the letters. */
.cvbg-mark { position: relative; width: min(460px, 86vw); margin: 0 auto 10px; font-size: 0; overflow: hidden; }   /* no transform here: it would isolate the blends */
.cvbg-mark::before { content: ''; position: absolute; left: 6%; right: 6%; top: 8%; bottom: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(165,130,255,.6), rgba(110,74,255,.2) 60%, transparent 100%); animation: cvbg-pulse 4.5s ease-in-out infinite; will-change: opacity, transform; }
.cvbg-mark img { position: relative; display: block; width: 100%; height: auto; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%); }
.cvbg-mark::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 35%; pointer-events: none; mix-blend-mode: overlay;
  background: linear-gradient(100deg, transparent 0, rgba(255,255,255,.85) 50%, transparent 100%); transform: translateX(-120%); animation: cvbg-sweep 6s ease-in-out 1.5s infinite; will-change: transform; }

/* optional: centre a page's main column (/coming-soon) */
.cvbg-center { text-align: center; }
.cvbg-center h1 { font-size: clamp(1.7em, 5.6vw, 2.5em); font-weight: 700; letter-spacing: .01em; line-height: 1.15; margin: .3em 0 .2em; text-shadow: 0 0 22px rgba(150,110,255,.55); }
.cvbg-center ol, .cvbg-center ul { display: inline-block; text-align: left; }
.cvbg-center label { display: inline-flex; align-items: center; gap: 6px; }

@keyframes cvbg-turn1 { 0% { transform: rotate(0deg) scale(1.04); } 50% { transform: rotate(180deg) scale(1.1); } 100% { transform: rotate(360deg) scale(1.04); } }
@keyframes cvbg-turn2 { 0% { transform: rotate(40deg); } 100% { transform: rotate(400deg); } }
@keyframes cvbg-turn3 { 0% { transform: rotate(80deg) scale(1.02); } 100% { transform: rotate(440deg) scale(1.02); } }
@keyframes cvbg-breathe { 0%, 100% { opacity: .55; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes cvbg-twinkle { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes cvbg-drift1 { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-280px, 280px, 0); } }
@keyframes cvbg-drift2 { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(420px, 420px, 0); } }
@keyframes cvbg-shoot { 0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(28deg); } 2% { opacity: 1; } 7% { opacity: 0; transform: translate3d(520px, 280px, 0) rotate(28deg); } 100% { opacity: 0; transform: translate3d(520px, 280px, 0) rotate(28deg); } }
@keyframes cvbg-pulse { 0%, 100% { opacity: .35; transform: scale(.95); } 50% { opacity: .85; transform: scale(1.05); } }
@keyframes cvbg-sweep { 0% { transform: translateX(-120%); } 45%, 100% { transform: translateX(320%); } }
@keyframes cvbg-fade { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* phones: the lighter image; everything else stays */
@media (max-width: 800px) {
  .cvbg-ring { background-image: url('cv-swirl-800.jpg'); }
  .cvbg-shoot { width: 110px; }
}
/* reduced motion (e.g. Windows "Animation effects" off): nothing moves; the layers cross-fade with opacity only */
@media (prefers-reduced-motion: reduce) {
  .cvbg-sky > div, .cvbg-mark::before, .cvbg-mark::after { animation: none !important; transform: none !important; }
  .cvbg-shoot, .cvbg-mark::after { display: none; }
  .cvbg-r1 { animation: cvbg-fade 9s ease-in-out infinite !important; }
  .cvbg-r2 { animation: cvbg-fade 13s ease-in-out -4s infinite !important; }
  .cvbg-glow { animation: cvbg-fade 7s ease-in-out infinite !important; }
  .cvbg-stars { animation: cvbg-twinkle 6s ease-in-out infinite !important; }
  .cvbg-mark::before { animation: cvbg-fade 5s ease-in-out infinite !important; }
}
