:root {
  --navy: #080e22;
  --navy-soft: #171d42;
  --ink: #111836;
  --coral: #ff686f;
  --coral-light: #ffa1a1;
  --blue: #61d3ff;
  --cream: #fff8ec;
  --muted: #b6b9d5;
  --accent-blue: #b8c7ff;
}

body {
  background:
    radial-gradient(circle at 92% 4%, rgba(77, 68, 162, .43), transparent 32%),
    radial-gradient(circle at 5% 29%, rgba(31, 84, 145, .23), transparent 28%),
    var(--navy);
}
.site-shell { position: relative; z-index: 1; }
.scroll-progress { position: fixed; z-index: 50; top: 0; left: 0; width: 0; height: 4px; background: var(--accent-blue); box-shadow: 0 0 14px var(--accent-blue); pointer-events: none; }
#bubble-canvas { position: fixed; z-index: 0; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .72; }
.site-header { background: rgba(8, 14, 34, .88); border-bottom: 1px solid rgba(184,199,255,.22); }
.brand-mark { color: var(--navy); background: var(--accent-blue); box-shadow: 0 6px 0 #7283c1; animation: brand-wiggle 4s ease-in-out infinite; }
.brand-name strong { color: var(--accent-blue); }
.nav-cta { border-color: var(--accent-blue); color: var(--accent-blue); box-shadow: 3px 3px 0 rgba(184,199,255,.28); }
.nav-cta span { color: var(--accent-blue); }
.nav-cta:hover { background: var(--accent-blue); color: var(--navy); }
.nav-cta:hover span { color: var(--navy); }

.hero { min-height: min(830px, calc(100svh - 88px)); padding-block: 80px 112px; isolation: isolate; }
.hero::before { width: 980px; height: 980px; left: -560px; top: -340px; background: radial-gradient(circle, rgba(108,70,194,.25), transparent 65%); }
.hero::after { content: "SWAGGERY"; position: absolute; z-index: -1; bottom: 33px; left: -3%; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.06); font-size: clamp(120px, 18vw, 270px); font-weight: 900; letter-spacing: -.1em; white-space: nowrap; pointer-events: none; animation: ghost-slide 16s ease-in-out infinite alternate; }
.hero-grid { position: absolute; z-index: -2; inset: 0 -10vw; opacity: .28; background-image: linear-gradient(rgba(114,171,218,.17) 1px, transparent 1px), linear-gradient(90deg, rgba(114,171,218,.17) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, transparent, #000 23%, #000 70%, transparent); animation: grid-drift 20s linear infinite; }
.eyebrow { color: var(--accent-blue); }
.eyebrow-dot { background: var(--coral); animation: ping-dot 2s ease-out infinite; }
h1 { font-size: clamp(60px, 6.9vw, 105px); line-height: .98; letter-spacing: -.085em; }
h1 .hero-hit { position: relative; display: inline-block; color: var(--coral); text-shadow: 4px 4px 0 #3d2759; transform-origin: 22% 80%; animation: hero-hit 5s ease-in-out infinite; }
.hero-hit::after { content: ""; position: absolute; top: 52%; left: 0; width: 100%; height: 8px; background: var(--blue); opacity: 0; pointer-events: none; mix-blend-mode: screen; animation: hit-glitch 8s steps(1,end) infinite; }
.hero-lead { color: #c5c8df; }
.hero-lead strong { color: var(--accent-blue); }
.hero-lead { max-width: 500px; font-size: clamp(22px, 2vw, 27px); font-weight: 800; line-height: 1.45; }
.hero-footnote { color: var(--blue); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.hero-game-link { width: fit-content; display: flex; align-items: center; gap: 12px; margin-top: 28px; padding: 10px 16px; border: 1px solid rgba(184,199,255,.48); border-radius: 999px; color: var(--cream); background: rgba(184,199,255,.09); box-shadow: 4px 5px 0 rgba(102,78,174,.35); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-decoration: none; transition: transform .2s, background .2s; }
.hero-game-link:hover { transform: translateY(-3px); background: rgba(184,199,255,.2); }
.hero-game-link img { width: 28px; height: 28px; object-fit: contain; }
.hero-game-link span { color: var(--accent-blue); }
.button-primary { background: var(--accent-blue); box-shadow: 0 8px 0 #7283c1; }
.button-primary:hover { background: #d9e1ff; box-shadow: 0 12px 0 #7283c1; }
.button-primary:active { box-shadow: 0 5px 0 #7283c1; }
.button-text { color: var(--cream); }
.button-text:hover { color: var(--accent-blue); }
.hero-art { --parallax-x: 0px; --parallax-y: 0px; }
.art-glow { background: radial-gradient(circle, rgba(255,104,111,.21), rgba(53,69,172,.32) 43%, transparent 70%); animation: glow-pulse 5s ease-in-out infinite; }
.orbit-one { border: 2px dashed rgba(184,199,255,.35); animation: slow-spin 40s linear infinite; }
.orbit-two { border: 2px dotted rgba(97,211,255,.25); animation: slow-spin 55s linear reverse infinite; }
.mascot-frame { border: 3px solid rgba(184,199,255,.6); border-radius: 44px; box-shadow: 0 34px 100px rgba(0,0,0,.5), 0 0 0 11px rgba(255,255,255,.035), 0 0 60px rgba(255,104,111,.16); translate: var(--parallax-x) var(--parallax-y); }
.sticker-top { width: 108px; height: 108px; color: var(--navy); background: var(--accent-blue); box-shadow: 7px 9px 0 rgba(0,0,0,.28); font-size: 20px; }
.sticker-bottom { color: var(--cream); background: #57298b; font-size: 14px; letter-spacing: .07em; animation: sticker-bottom 5s ease-in-out infinite; }
.sticker-side { top: 43%; right: -12%; padding: 13px 17px; border: 2px solid var(--navy); border-radius: 8px; color: var(--navy); background: var(--coral); font-size: 12px; line-height: 1.05; letter-spacing: .04em; transform: rotate(13deg); animation: side-sticker 7s ease-in-out infinite; }
.art-spark { position: absolute; color: var(--accent-blue); font-size: 46px; line-height: 1; animation: slow-spin 18s linear infinite; }
.spark-a { top: 3%; left: -8%; }
.spark-b { right: 0; bottom: 0; color: var(--blue); font-size: 64px; animation-duration: 26s; animation-direction: reverse; }

.ticker { height: 89px; background: var(--accent-blue); transform: rotate(-2deg) scale(1.04); box-shadow: 0 10px 0 #7283c1; }
.ticker-track { animation-duration: 19s; }
.ticker-track span { font-size: clamp(22px, 2.6vw, 37px); }
.ticker-track i { color: #a33965; }
.intro { position: relative; background: var(--cream); background-image: radial-gradient(rgba(35,51,83,.08) 1px, transparent 1px); background-size: 22px 22px; }
.intro h2 em { color: #f06472; }
.intro .section-kicker { color: #8451a1; }
.intro-copy strong { color: #9d3266; }
.intro-stamp { width: fit-content; margin: 32px 0 0 60px; padding: 15px 24px; border: 3px solid var(--ink); border-radius: 50%; background: var(--accent-blue); font-size: 13px; font-weight: 900; line-height: 1.15; text-align: center; box-shadow: 7px 7px 0 #eb7792; transform: rotate(-12deg); animation: stamp-wiggle 4s ease-in-out infinite; }
.alert-strip { position: relative; z-index: 2; display: flex; width: max-content; min-width: 100%; overflow: hidden; padding-block: 13px; color: var(--cream); background: #7c35a0; font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; transform: rotate(1deg) scale(1.02); }
.alert-strip span { flex: none; padding-inline: 25px; white-space: nowrap; animation: alert-slide 18s linear infinite; }
.vibes { background: radial-gradient(circle at 50% 0, #262054, transparent 55%), #101632; }
.vibes .section-kicker { color: var(--accent-blue); }
.vibes h2 em { color: var(--coral); }
.vibe-card { min-height: 430px; border: 3px solid rgba(255,255,255,.1); box-shadow: 10px 12px 0 rgba(0,0,0,.25); }
.vibe-card:nth-child(1) { rotate: -2deg; }
.vibe-card:nth-child(2) { rotate: 2deg; }
.vibe-card:nth-child(3) { rotate: -1deg; }
.vibe-card:hover { transform: translateY(-14px) rotate(2deg); box-shadow: 12px 24px 0 rgba(0,0,0,.28); }
.vibe-card-blue { background: #6ed2ff; }
.vibe-card-coral { background: #ff858a; }
.vibe-card-cream { background: var(--accent-blue); }
.vibe-number { font-size: 12px; }
.vibe-icon { animation: icon-wobble 5s ease-in-out infinite; }
.vibe-card:nth-child(2) .vibe-icon { animation-delay: -1.5s; }
.vibe-card:nth-child(3) .vibe-icon { animation-delay: -3s; }
.ticker-secondary { height: 72px; color: var(--cream); background: #7536a5; transform: rotate(1.5deg) scale(1.04); box-shadow: 0 10px 0 #422469; }
.ticker-secondary .ticker-track { animation-direction: reverse; animation-duration: 16s; }
.ticker-secondary .ticker-track span { font-size: clamp(19px, 2vw, 29px); }
.ticker-secondary .ticker-track i { color: var(--accent-blue); }

.play { position: relative; background: #e2eaff; }
.play::before { content: ""; position: absolute; inset: 0; opacity: .25; background: repeating-linear-gradient(-15deg, transparent 0 45px, rgba(42,67,118,.13) 45px 47px); pointer-events: none; }
.play-grid { position: relative; }
.play .section-kicker { color: #994568; }
.play h2 em { color: #ed6370; }
.play-ring-one { border-color: rgba(66,43,128,.35); }
.play-ring-two { border-color: rgba(66,43,128,.16); }
.play-orb { width: 285px; height: 285px; color: var(--navy); background: var(--coral); font-size: 91px; box-shadow: 20px 20px 0 #623aa1, 32px 35px 70px rgba(62,37,105,.22); animation: orb-wobble 5s ease-in-out infinite; }
.star-one { color: #673da0; }
.star-two { color: var(--coral); }
.play-label { background: #5a3191; }
.quote-box { border: 3px solid var(--ink); background: var(--cream); box-shadow: 8px 8px 0 #7435a1; transform: rotate(-1deg); }
.quote-symbol { color: var(--coral); }
.swag-meter { margin-top: 27px; }
.swag-meter-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 9px; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.swag-meter-top small { font-size: 10px; font-weight: 700; letter-spacing: 0; }
.swag-meter-top strong { font-size: 19px; }
.swag-meter-track { height: 19px; overflow: hidden; padding: 3px; border: 2px solid var(--ink); border-radius: 999px; background: #fff6dd; box-shadow: 3px 4px 0 var(--ink); }
.swag-meter-track span { width: 0; height: 100%; display: block; border-radius: 999px; background: repeating-linear-gradient(110deg, #ff6873 0 15px, #ff9388 15px 30px); transition: width .65s cubic-bezier(.18,.9,.2,1); }
.play-actions { margin-top: 31px; }
.copy-button { background: var(--cream); box-shadow: 3px 4px 0 var(--ink); }
.chaos-button { margin-top: 24px; padding: 0 0 5px; border: 0; border-bottom: 2px dashed var(--ink); color: #5c2c84; background: transparent; font-size: 14px; font-weight: 900; cursor: pointer; }
.chaos-button:hover { color: #ae2b70; }
.chaos-button span { margin-left: 8px; }
.closing { background: linear-gradient(135deg, #ff777d, #ff9a7d 55%, #ff6f9b); background-size: 220% 220%; animation: closing-gradient 10s ease-in-out infinite alternate; }
.closing-spark { animation: slow-spin 16s linear infinite; }
.closing .section-kicker { color: #68264f; }
.closing h2 em { color: var(--cream); text-shadow: 5px 6px 0 #b04773; }
.site-footer { background: #080e22; }

.splash-particle { position: fixed; z-index: 80; left: 0; top: 0; pointer-events: none; font-size: var(--size, 22px); font-weight: 900; color: var(--particle-color, #ff6873); text-shadow: 2px 3px 0 rgba(0,0,0,.2); animation: particle-pop .9s cubic-bezier(.12,.7,.25,1) forwards; }
.splash-particle { width: var(--size, 26px); height: var(--size, 26px); background-image: url("assets/ocean-ui-atlas.png"); background-repeat: no-repeat; background-size: 300% 300%; }
.splash-particle.atlas-pos-0 { background-position: 0% 0%; }
.splash-particle.atlas-pos-2 { background-position: 100% 0%; }
.splash-particle.atlas-pos-6 { background-position: 0% 100%; }
.splash-particle.atlas-pos-7 { background-position: 50% 100%; }

body.chaos-mode .site-header { border-bottom-color: var(--accent-blue); box-shadow: 0 0 25px rgba(184,199,255,.2); }
body.chaos-mode .ticker-track { animation-duration: 7s; }
body.chaos-mode .mascot-frame { animation-duration: 2.2s; }
body.chaos-mode .hero-hit { animation-duration: 1.5s; }
body.chaos-mode .vibe-card { animation: card-dance 2.2s ease-in-out infinite; }
body.chaos-mode .vibe-card:nth-child(2) { animation-delay: -.7s; }
body.chaos-mode .vibe-card:nth-child(3) { animation-delay: -1.4s; }
body.chaos-mode .play-orb { animation-duration: 1.6s; }
body.chaos-mode .chaos-button { color: #bd255a; }

@keyframes brand-wiggle { 0%, 90%, 100% { transform: rotate(0); } 93% { transform: rotate(-12deg); } 97% { transform: rotate(11deg); } }
@keyframes ping-dot { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,104,111,.42); } 55% { box-shadow: 0 0 0 10px rgba(255,104,111,0); } }
@keyframes ghost-slide { to { translate: 70px 0; } }
@keyframes grid-drift { to { background-position: 56px 56px; } }
@keyframes hero-hit { 0%, 86%, 100% { rotate: 0deg; } 90% { rotate: -2deg; } 94% { rotate: 2deg; } }
@keyframes hit-glitch { 0%, 91%, 95%, 100% { opacity: 0; transform: translateX(0); } 92% { opacity: .8; transform: translateX(6px); } 93% { opacity: .8; transform: translateX(-5px); } }
@keyframes glow-pulse { 0%, 100% { scale: 1; opacity: .9; } 50% { scale: 1.12; opacity: .6; } }
@keyframes sticker-bottom { 0%, 100% { transform: rotate(-10deg) translateY(0); } 50% { transform: rotate(-5deg) translateY(-9px); } }
@keyframes side-sticker { 0%, 100% { transform: rotate(13deg); } 50% { transform: rotate(20deg) translateY(-7px); } }
@keyframes stamp-wiggle { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(-4deg); } }
@keyframes alert-slide { to { transform: translateX(-100%); } }
@keyframes icon-wobble { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(16deg) scale(1.15); } }
@keyframes orb-wobble { 0%, 100% { transform: rotate(-13deg) translateY(0); } 50% { transform: rotate(9deg) translateY(-18px); } }
@keyframes closing-gradient { to { background-position: 100% 50%; } }
@keyframes card-dance { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes particle-pop { to { transform: translate(var(--dx), var(--dy)) rotate(var(--spin)); opacity: 0; scale: .25; } }

.swagger-wall { position: relative; overflow: hidden; color: var(--cream); background: radial-gradient(circle at 70% 40%, #382367, transparent 48%), #14172f; }
.swagger-wall::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: radial-gradient(var(--blue) 1px, transparent 1px); background-size: 23px 23px; mask-image: linear-gradient(90deg, transparent, #000 45%, transparent); pointer-events: none; animation: grid-drift 24s linear infinite; }
.swagger-inner { position: relative; z-index: 1; }
.swagger-wall .section-kicker { margin-bottom: 60px; color: var(--accent-blue); text-align: center; }
.swagger-title { display: flex; flex-direction: column; align-items: center; gap: .02em; margin: 0; font-size: clamp(54px, 12vw, 175px); line-height: .88; letter-spacing: -.095em; white-space: nowrap; text-align: center; }
.swagger-title span { display: block; transform-origin: center; }
.swagger-title span:nth-child(1) { align-self: flex-start; color: var(--blue); text-shadow: 7px 7px 0 #1d4579; animation: swagger-sway 5s ease-in-out infinite; }
.swagger-title span:nth-child(2) { align-self: flex-end; color: transparent; -webkit-text-stroke: 2px var(--cream); animation: swagger-sway 6s ease-in-out infinite reverse; }
.swagger-title span:nth-child(3) { color: var(--coral); text-shadow: 8px 9px 0 #4d286c; animation: swagger-sway 4s ease-in-out infinite; }
.swagger-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-top: 70px; }
.swagger-tags span { padding: 15px 21px; border: 2px solid var(--navy); border-radius: 999px; color: var(--navy); background: var(--accent-blue); box-shadow: 5px 6px 0 #5e3990; font-size: 13px; font-weight: 900; letter-spacing: .06em; }
.swagger-tags span:nth-child(1) { transform: rotate(-6deg); animation: tag-bob 5s ease-in-out infinite; }
.swagger-tags span:nth-child(2) { background: var(--blue); transform: rotate(5deg); animation: tag-bob 5s ease-in-out -1.5s infinite; }
.swagger-tags span:nth-child(3) { background: var(--coral); transform: rotate(-3deg); animation: tag-bob 5s ease-in-out -3s infinite; }
.swagger-scribble { position: absolute; right: -45px; top: 40px; color: rgba(184,199,255,.12); font-size: 330px; line-height: 1; animation: slow-spin 45s linear infinite; }

.join { position: relative; overflow: hidden; color: var(--navy); background: linear-gradient(130deg, #ff7188, #ff9b8a 56%, #ff769d); background-size: 220% 220%; animation: closing-gradient 11s ease-in-out infinite alternate; }
.join::before, .join::after { content: ""; position: absolute; width: 540px; height: 540px; border: 2px dashed rgba(255,255,255,.3); border-radius: 50%; pointer-events: none; }
.join::before { top: -270px; left: -220px; animation: slow-spin 50s linear infinite; }
.join::after { right: -220px; bottom: -300px; animation: slow-spin 50s linear reverse infinite; }
.join-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.13fr .87fr; align-items: center; gap: clamp(50px, 8vw, 130px); }
.join .section-kicker { color: #652255; }
.join h2 { font-size: clamp(62px, 7vw, 100px); }
.join h2 em { color: var(--cream); text-shadow: 5px 6px 0 #a54973; }
.join-copy > p:not(.section-kicker) { max-width: 560px; margin: 29px 0 34px; font-size: clamp(20px, 2vw, 25px); font-weight: 800; line-height: 1.55; }
.join-card { position: relative; min-height: 420px; display: flex; flex-direction: column; justify-content: center; padding: 42px; border: 5px solid var(--cream); border-radius: 30px; color: var(--cream); background: #161b42; box-shadow: 16px 18px 0 #693590, 0 35px 65px rgba(44,20,75,.25); transform: rotate(5deg); animation: join-float 6s ease-in-out infinite; }
.join-card::before { content: none; }
.join-card-top { display: flex; justify-content: space-between; margin-bottom: 28px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .17em; }
.join-card-top span:last-child { font-size: 28px; line-height: .4; }
.join-card > p { margin: 0 0 9px; color: #b9bde3; font-size: 16px; font-weight: 700; }
.join-card strong { display: block; color: var(--accent-blue); font-size: clamp(32px, 3.6vw, 51px); line-height: 1.03; letter-spacing: -.06em; text-transform: uppercase; }
.join-or { width: fit-content; margin: 20px 0; padding: 6px 11px; border-radius: 5px; color: var(--navy); background: var(--coral); font-size: 12px; font-weight: 900; transform: rotate(-6deg); }
.join-card-bottom { display: flex; justify-content: space-between; margin-top: 31px; padding-top: 17px; border-top: 1px dashed rgba(255,255,255,.4); font-size: 13px; font-weight: 900; letter-spacing: .14em; }
.join-card-bottom span { color: var(--coral); font-size: 25px; line-height: .6; }
body.chaos-mode .swagger-title span { animation-duration: 1.7s; }
body.chaos-mode .join-card { animation-duration: 2s; }

@keyframes swagger-sway { 0%, 100% { transform: translateX(0) rotate(0); } 50% { transform: translateX(16px) rotate(-2deg); } }
@keyframes tag-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -13px; } }
@keyframes join-float { 0%, 100% { transform: rotate(5deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-17px); } }

@media (max-width: 1050px) {
  .sticker-side { right: -4%; }
}
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero::after { bottom: 24px; font-size: 27vw; }
  .hero-grid { inset: 0 -20px; }
  .sticker-top { width: 80px; height: 80px; right: -1%; font-size: 16px; }
  .sticker-bottom { left: -1%; }
  .sticker-side { right: -1%; top: 48%; padding: 7px 10px; font-size: 9px; }
  .spark-a { left: 1%; }
  .intro-stamp { margin-left: 28px; }
  .vibe-card { min-height: 290px; }
  .play-orb { width: 260px; height: 260px; }
  .swagger-wall .section-kicker { margin-bottom: 42px; }
  .swagger-title { font-size: clamp(50px, 12vw, 90px); }
  .swagger-tags { gap: 10px; margin-top: 52px; }
  .swagger-tags span { padding: 11px 14px; font-size: 10px; }
  .join-grid { grid-template-columns: 1fr; }
  .join-card { min-height: 370px; max-width: 500px; margin-inline: auto; }
}
@media (max-width: 420px) {
  h1 { font-size: clamp(49px, 12.4vw, 57px); }
  .nav-cta { font-size: 10px; }
  .hero-actions .button-primary { font-size: 13px; }
  .hero-art { aspect-ratio: 1.04; }
  .sticker-side { display: none; }
  .sticker-bottom { font-size: 10px; }
  .swag-meter-top { font-size: 10px; }
  .swag-meter-top small { display: block; margin-top: 3px; }
  .swagger-title { font-size: clamp(46px, 12vw, 52px); }
  .swagger-tags span { font-size: 9px; }
  .join h2 { font-size: clamp(54px, 12.8vw, 67px); }
  .join-card { width: calc(100% - 18px); min-height: 340px; padding: 30px; }
  .join-card strong { font-size: 34px; }
}

/* The transparent mascot is the hero: its motion belongs to the artwork, not a card. */
.hero-art { perspective: 1000px; min-height: 650px; }
.portal {
  position: absolute; z-index: -3; width: 86%; aspect-ratio: 1; border-radius: 50%;
  overflow: hidden; transform: translate(calc(var(--parallax-x) * -.35), calc(var(--parallax-y) * -.35));
  background: radial-gradient(circle at 50% 48%, #6645a1 0 5%, #30236d 26%, #17245b 54%, rgba(16,29,62,.2) 72%);
  box-shadow: inset 0 0 42px rgba(132,207,255,.27), 0 0 0 2px rgba(127,195,255,.17), 0 0 50px rgba(69,115,218,.22);
  animation: portal-breathe 6s ease-in-out infinite;
}
.portal::before, .portal::after {
  content: ""; position: absolute; inset: 6%; border-radius: 50%; pointer-events: none;
}
.portal::before { border: 2px solid rgba(124,223,255,.25); box-shadow: 0 0 35px rgba(80,205,255,.18), inset 0 0 30px rgba(80,205,255,.15); }
.portal::after { inset: 17%; border: 1px dashed rgba(255,255,255,.14); animation: slow-spin 35s linear infinite; }
.portal-ray { position: absolute; inset: -28%; background: conic-gradient(from 0deg, transparent 0 19%, rgba(91,217,255,.11) 21%, transparent 27% 53%, rgba(255,129,147,.1) 57%, transparent 62% 100%); animation: slow-spin 26s linear infinite; }
.portal-ray.ray-two { rotate: 78deg; animation-direction: reverse; animation-duration: 36s; }
.portal-core { position: absolute; inset: 27%; border-radius: 50%; background: radial-gradient(circle, rgba(115,110,239,.3), rgba(19,25,75,.05) 72%); filter: blur(15px); }
.art-glow { z-index: -2; width: 110%; background: radial-gradient(circle, rgba(255,104,111,.22), rgba(85,67,174,.18) 42%, transparent 68%); filter: blur(19px); }
.orbit { z-index: -1; pointer-events: none; }
.orbit-one { width: 105%; border: 1px solid rgba(97,211,255,.25); box-shadow: 0 0 18px rgba(97,211,255,.1); animation-duration: 35s; }
.orbit-two { width: 120%; border: 1px dashed rgba(184,199,255,.18); animation-duration: 52s; }
.mascot-frame {
  position: relative; z-index: 2; display: block; width: min(108%, 660px); aspect-ratio: 1;
  padding: 0; overflow: visible; border: 0; border-radius: 0; background: transparent;
  box-shadow: none; cursor: pointer; touch-action: manipulation;
  translate: var(--parallax-x) var(--parallax-y); transform: none;
  filter: drop-shadow(0 30px 30px rgba(0,4,26,.42)) drop-shadow(0 0 18px rgba(255,140,155,.2));
  animation: mascot-levitate 5.8s cubic-bezier(.45,0,.55,1) infinite;
  transition: filter .25s ease, scale .25s ease;
}
.mascot-frame:hover { scale: 1.035; filter: drop-shadow(0 35px 33px rgba(0,4,26,.48)) drop-shadow(0 0 28px rgba(255,140,155,.4)); }
.mascot-frame:active { scale: .97; }
.mascot-frame:focus-visible { outline: 3px solid var(--accent-blue); outline-offset: 5px; border-radius: 40%; }
.mascot-frame img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.mascot-shine { display: none; }
@supports ((mask-image: url("assets/team-calamari-mascot.png")) or (-webkit-mask-image: url("assets/team-calamari-mascot.png"))) {
  .mascot-shine {
    position: absolute; inset: 0; display: block; pointer-events: none; opacity: .36;
    background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.03) 43%, rgba(255,255,255,.65) 49%, rgba(255,255,255,.03) 55%, transparent 66%);
    background-size: 260% 100%; background-position: 140% 0;
    mask-image: url("assets/team-calamari-mascot.png"); -webkit-mask-image: url("assets/team-calamari-mascot.png");
    mask-size: contain; -webkit-mask-size: contain; mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat;
    animation: mascot-glint 8s ease-in-out infinite;
  }
}
.hero-splash { position: absolute; z-index: -1; left: 50%; bottom: 2%; width: 76%; height: 16%; transform: translateX(-50%); pointer-events: none; }
.hero-splash span { position: absolute; left: 50%; top: 50%; width: 100%; height: 70%; border: 2px solid rgba(97,211,255,.28); border-radius: 50%; transform: translate(-50%,-50%) scale(.8); opacity: .55; animation: water-breathe 4.5s ease-in-out infinite; }
.hero-splash span:nth-child(2) { width: 75%; height: 49%; border-color: rgba(184,199,255,.25); animation-delay: -1.5s; }
.hero-splash span:nth-child(3) { width: 53%; height: 32%; border-color: rgba(255,255,255,.35); animation-delay: -3s; }
.art-sticker { z-index: 4; }
.sticker-top { top: 5%; right: -4%; }
.sticker-bottom { bottom: 9%; left: -6%; }
.sticker-side { right: -12%; }
.bubble { z-index: 1; }
.bubble-a { top: 8%; left: 5%; }
.bubble-b { top: 19%; right: -5%; }
.bubble-c { bottom: 12%; right: 3%; }
.bubble-d { bottom: 29%; left: -7%; }
.mascot-hint { position: absolute; z-index: 4; right: 7%; bottom: 6%; color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .16em; transform: rotate(-8deg); animation: hint-nudge 3.6s ease-in-out infinite; pointer-events: none; }
.hero-art.is-boosting .mascot-frame { animation: mascot-boost .82s cubic-bezier(.2,.85,.3,1) both; }
.hero-art.is-boosting .portal { animation: portal-boost .9s ease-out both; }
.hero-art.is-boosting .hero-splash span { animation: splash-boost .9s ease-out both; }
.hero-art.is-boosting .hero-splash span:nth-child(2) { animation-delay: .09s; }
.hero-art.is-boosting .hero-splash span:nth-child(3) { animation-delay: .17s; }
.wave-particle { position: fixed; z-index: 80; left: 0; top: 0; width: var(--size, 12px); height: var(--size, 12px); border: 2px solid rgba(255,255,255,.8); border-radius: 50%; background: radial-gradient(circle at 25% 25%, #fff, var(--drop-color, #61d3ff) 43%, #155eaa); box-shadow: 0 0 13px var(--drop-color, #61d3ff); pointer-events: none; animation: wave-particle-flight .95s cubic-bezier(.14,.66,.22,1) forwards; }

@keyframes portal-breathe { 0%, 100% { scale: .98; filter: hue-rotate(0deg); } 50% { scale: 1.035; filter: hue-rotate(13deg); } }
@keyframes mascot-levitate { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-18px) rotate(1.5deg); } }
@keyframes mascot-glint { 0%, 60%, 100% { background-position: 140% 0; opacity: 0; } 70% { opacity: .4; } 87% { background-position: -100% 0; opacity: 0; } }
@keyframes water-breathe { 0%, 100% { transform: translate(-50%,-50%) scale(.8); opacity: .25; } 50% { transform: translate(-50%,-50%) scale(1.05); opacity: .7; } }
@keyframes hint-nudge { 0%, 70%, 100% { transform: rotate(-8deg) translateY(0); } 80% { transform: rotate(-8deg) translateY(-7px); } }
@keyframes mascot-boost { 0% { transform: translateY(0) rotate(-2deg) scale(1); } 30% { transform: translateY(-43px) rotate(7deg) scale(1.09); } 58% { transform: translateY(7px) rotate(-5deg) scale(.96); } 78% { transform: translateY(-8px) rotate(2deg) scale(1.025); } 100% { transform: translateY(0) rotate(-2deg) scale(1); } }
@keyframes portal-boost { 0% { scale: 1; filter: brightness(1); } 38% { scale: 1.13; filter: brightness(1.65); } 100% { scale: 1; filter: brightness(1); } }
@keyframes splash-boost { 0% { transform: translate(-50%,-50%) scale(.6); opacity: .8; } 100% { transform: translate(-50%,-50%) scale(1.55); opacity: 0; } }
@keyframes wave-particle-flight { 0% { transform: translate(-50%,-50%) scale(.4); opacity: 1; } 100% { transform: translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) scale(.2); opacity: 0; } }

@media (max-width: 1050px) { .hero-art { min-height: 530px; } }
@media (max-width: 760px) {
  .hero-art { min-height: 0; width: min(100%, 590px); aspect-ratio: 1.04; }
  .mascot-frame { width: 105%; }
  .portal { width: 79%; }
  .sticker-top { right: -1%; }
  .sticker-bottom { left: 0; bottom: 8%; }
  .sticker-side { right: -1%; }
  .mascot-hint { right: 4%; bottom: 2%; }
}
@media (max-width: 420px) {
  .hero-art { aspect-ratio: 1.04; }
  .mascot-frame { width: 111%; }
  .portal { width: 84%; }
  .mascot-hint { right: 2%; bottom: 0; font-size: 9px; }
  .sticker-top { right: 0; top: 2%; }
  .sticker-bottom { left: 0; bottom: 9%; }
}

/* Squid crew: the smaller transparent illustrations carry the mascot through the page. */
.brand-mark { overflow: visible; }
.brand-mark img { width: 115%; height: 115%; max-width: none; object-fit: contain; filter: drop-shadow(0 3px 3px rgba(8,14,34,.35)); }
.footnote-squid { flex: none; width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 5px 8px rgba(0,0,0,.3)); animation: icon-wobble 5s ease-in-out infinite; }
.swagger-inner { isolation: isolate; }
.swagger-title, .swagger-tags { position: relative; z-index: 1; }
.swagger-squid { position: absolute; z-index: 0; top: -118px; right: -65px; width: clamp(170px, 21vw, 290px); height: auto; opacity: .94; filter: drop-shadow(0 18px 20px rgba(0,0,0,.38)); animation: squid-drift 6.5s ease-in-out infinite; pointer-events: none; }
.play-orb { overflow: visible; background: radial-gradient(circle at 35% 28%, #7752ae, #27245e 57%, #101732); box-shadow: 20px 20px 0 #623aa1, 32px 35px 70px rgba(62,37,105,.22); font-size: initial; letter-spacing: normal; }
.play-orb img { width: 125%; height: 125%; max-width: none; object-fit: contain; filter: drop-shadow(0 13px 12px rgba(7,11,34,.34)); pointer-events: none; }
.play-mini-squid { position: absolute; z-index: 2; right: -3%; top: 0; width: 105px; height: auto; filter: drop-shadow(0 10px 13px rgba(24,21,66,.25)); animation: squid-drift 5s ease-in-out -2s infinite; pointer-events: none; }
.join-card::before { content: none; }
.join-squid { position: absolute; z-index: 2; top: -117px; right: -72px; width: 172px; height: auto; filter: drop-shadow(0 15px 13px rgba(42,15,68,.27)); animation: squid-drift 5.8s ease-in-out -1s infinite; pointer-events: none; }
@keyframes squid-drift { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-15px) rotate(4deg); } }
@media (max-width: 760px) {
  .swagger-squid { top: -82px; right: -18px; width: 136px; }
  .play-mini-squid { width: 94px; right: -1%; top: 0; }
  .join-squid { top: -90px; right: -17px; width: 128px; }
}
@media (max-width: 420px) {
  .footnote-squid { width: 43px; height: 43px; }
  .swagger-squid { top: -80px; right: -8px; width: 113px; }
  .play-mini-squid { width: 81px; right: -2%; top: 5px; }
  .join-squid { top: -82px; right: -10px; width: 113px; }
}
@media (prefers-reduced-motion: reduce) {
  #bubble-canvas { display: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .will-reveal { opacity: 1; transform: none; }
}

/* Generated ocean icons replace decorative text glyphs across the landing page. */
.atlas-icon { display: inline-block; width: 1em; height: 1em; vertical-align: middle; background-image: url("assets/ocean-ui-atlas.png"); background-repeat: no-repeat; background-size: 300% 300%; }
.atlas-pos-0 { background-position: 0% 0%; }.atlas-pos-5 { background-position: 100% 50%; }.atlas-pos-6 { background-position: 0% 100%; }.atlas-pos-7 { background-position: 50% 100%; }.atlas-pos-8 { background-position: 100% 100%; }
.nav-cta .atlas-icon { width: 20px; height: 20px; margin-left: 4px; }
.sticker-bottom .atlas-icon { width: 20px; height: 20px; margin-right: 4px; }
.art-spark { width: 48px; height: 48px; }.art-spark.spark-b { width: 64px; height: 64px; }
.ticker-track i { display: inline-block; width: 31px; height: 31px; margin-inline: 15px; vertical-align: middle; background-image: url("assets/ocean-ui-atlas.png"); background-repeat: no-repeat; background-size: 300% 300%; background-position: 0% 100%; }
.ticker-secondary .ticker-track i { background-position: 100% 50%; }
.swagger-tags span::before { content: ""; display: inline-block; width: 24px; height: 24px; margin-right: 6px; vertical-align: middle; background-image: url("assets/ocean-ui-atlas.png"); background-repeat: no-repeat; background-size: 300% 300%; background-position: 0% 0%; }
.swagger-tags span:nth-child(2)::before { background-position: 50% 100%; }.swagger-tags span:nth-child(3)::before { background-position: 100% 50%; }
.swagger-scribble { width: 270px; height: 270px; opacity: .12; }
.play-star { width: 68px; height: 68px; }.play-star.star-two { width: 82px; height: 82px; }
.join-card-top .atlas-icon { width: 28px; height: 28px; }
@media (max-width: 760px) { .ticker-track i { width: 24px; height: 24px; margin-inline: 10px; }.swagger-scribble { width: 170px; height: 170px; }.play-star { width: 53px; height: 53px; }.play-star.star-two { width: 63px; height: 63px; } }
