/* Brand shell: dual logos, splash settle animation, site footer
   LEGAL HARD RULES:
   - .imvu-logo img must never be filtered, recolored, flipped, or cropped into a new mark
   - Impossible Creators theme art may be used as wallpaper / style source (Ten owns it)
*/

/* ---- Splash / load animation ---- */
.brand-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8vh 6vw;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255,80,20,.25), transparent 55%),
    radial-gradient(ellipse at 20% 40%, rgba(0,180,255,.2), transparent 50%),
    #020308;
  pointer-events: none;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.brand-splash.done {
  opacity: 0;
  visibility: hidden;
}
.brand-splash .splash-center {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 90vw;
}
.brand-splash .splash-center img.theme-hero {
  width: min(520px, 86vw);
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(0,229,255,.25);
  box-shadow: 0 0 40px rgba(0,0,0,.6);
}
.brand-splash .splash-tag {
  margin-top: 18px;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: clamp(14px, 2.4vw, 22px);
}
.brand-splash .splash-tag .line2 {
  display: block;
  margin-top: 6px;
  color: var(--accent);
  text-shadow: var(--glow-cyan);
  font-size: 0.85em;
}

.splash-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: scale(1.35) translateY(20px);
  transition: transform 0.85s cubic-bezier(.2,.8,.2,1), opacity 0.85s ease;
}
.brand-splash.settle .splash-logo {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.brand-splash.fly .splash-logo-left {
  transform: translate(-28vw, -36vh) scale(0.55);
}
.brand-splash.fly .splash-logo-right {
  transform: translate(28vw, -36vh) scale(0.55);
}
.splash-logo img {
  display: block;
  width: auto;
  height: 88px;
  object-fit: contain;
}
/* IMVU asset — no filters, no recolor */
.splash-logo-right img.imvu-logo-asset,
.brand-lockup-imvu img.imvu-logo-asset {
  filter: none !important;
  mix-blend-mode: normal !important;
  image-rendering: auto;
}
.splash-copy {
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.08em;
  text-align: center;
  max-width: 160px;
  line-height: 1.35;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .brand-splash { flex-direction: column; justify-content: center; gap: 24px; }
  .brand-splash.fly .splash-logo-left,
  .brand-splash.fly .splash-logo-right {
    transform: translateY(-40vh) scale(0.5);
  }
  .splash-logo img { height: 64px; }
}

/* ---- Persistent dual brand header ---- */
.brand-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
  padding: 10px 16px;
  background: rgba(2, 3, 8, 0.92);
  backdrop-filter: blur(12px);
}
.brand-header .brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}
.brand-header .brand-lockup-imvu {
  align-items: flex-end;
  justify-self: end;
  text-align: right;
}
.brand-header .brand-lockup img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}
.brand-header .imvu-logo-asset--horizontal {
  height: 38px;
  max-width: min(168px, 38vw);
}
.brand-header .imvu-logo-asset--mobile {
  height: 42px;
  max-width: 46px;
}
.splash-logo-right .imvu-logo-asset--horizontal {
  height: 88px;
  max-width: min(280px, 72vw);
}
.splash-logo-right .imvu-logo-asset--mobile {
  height: 88px;
  max-width: 90px;
}
.footer-imvu-stack-wrap {
  max-width: 1180px;
  margin: 24px auto 0;
  padding: 0 20px;
  text-align: center;
}
.footer-imvu-stack {
  display: inline-block;
  text-decoration: none;
}
.footer-imvu-stack .imvu-logo-asset--stack {
  height: 88px;
  width: auto;
  max-width: 120px;
  display: block;
  object-fit: contain;
}
.brand-header .brand-lockup-1n4d .wordmark {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-shadow: var(--glow-cyan);
  line-height: 1;
}
.brand-header .brand-lockup-1n4d .sub {
  font-size: 10px;
  color: var(--ember);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand-header .center-brand {
  text-align: center;
  justify-self: center;
}
.brand-header .center-brand .studio {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  font-size: clamp(14px, 2vw, 20px);
  text-transform: uppercase;
}
.brand-header .center-brand .tag {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.08em;
}
.brand-header .micro-copy {
  font-size: 9px;
  color: #6a7a9a;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  max-width: 180px;
  line-height: 1.3;
}

@media (max-width: 800px) {
  .brand-header {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .brand-header .center-brand {
    grid-column: 1 / -1;
    order: -1;
  }
  .brand-header .brand-lockup img { height: 34px; }
}

/* ---- Site footer: creators + contact + legal ---- */
.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  background: rgba(2, 3, 8, 0.85);
  padding: 36px 20px 28px;
}
.site-footer .footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
  grid-template-columns: 1.4fr 1fr 1fr 0.85fr;
}
@media (max-width: 860px) {
  .site-footer .footer-inner { grid-template-columns: 1fr; }
}
.site-footer h3 {
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 12px;
}
.site-footer p, .site-footer li {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.55;
}
.site-footer ul { padding-left: 18px; margin: 0; }
.site-footer .legal-block {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #6a7a9a;
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.site-footer .legal-block a { color: var(--accent); }
.site-footer .thanks-line {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 8px;
}
.site-footer .thanks-line span { color: var(--accent); }

/* DMCA badge — styled to echo Ten's theme art (not a third-party embed) */
.site-footer .dmca-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.site-footer .dmca-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: inherit;
}
.site-footer .dmca-shield {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 64px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(180deg, #2a6fd4 0%, #1a4a9e 100%);
  clip-path: polygon(50% 0%, 100% 18%, 100% 72%, 50% 100%, 0% 72%, 0% 18%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
.site-footer .dmca-ribbon {
  display: block;
  width: 100%;
  max-width: 120px;
  padding: 4px 10px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}
.site-footer .dmca-ribbon-top {
  background: linear-gradient(90deg, #6b3fa8, #8b5cf6);
  border-radius: 3px 3px 0 0;
  margin-top: 4px;
}
.site-footer .dmca-ribbon-bottom {
  background: linear-gradient(90deg, #1a8f4a, #2ecc71);
  border-radius: 0 0 3px 3px;
}
.site-footer .dmca-badge:hover .dmca-shield {
  filter: brightness(1.08);
}
