/* Pesapane clean dark background (preview).
   Why: one fixed page-wide wash sits behind the whole site so there is no hard
   seam as you scroll, and the sections float over it as soft glass cards.
   No pictures and no side aura: a calm near-black indigo and one soft glow. */
html { background: var(--bgf-base, #06070c); }
html body, html body.arcade-page { background: none !important; background-image: none !important; }
html body::before, html body.arcade-page::before {
  content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background-image: var(--bgf-static) !important; background-size: auto !important; background-repeat: no-repeat !important;
}
.bgf { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; contain: strict; }
.bgf.bgf-on { opacity: 1; }
.bgf > i { position: absolute; display: block; }

/* soft glass cards: drawn behind each section, so the page layout does not move */
.polish .section { position: relative; z-index: 0; margin-top: 2.9rem; }
.polish .section:not(.attacks-sec)::before {
  content: ""; position: absolute; inset: -0.95rem -1.15rem; z-index: -1; pointer-events: none;
  border-radius: 1.4rem; background: var(--glass-bg); border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 18px 48px rgba(0, 0, 0, 0.28);
}
.polish .duo .section::before { inset: -0.95rem -1rem; }
@media (max-width: 40rem) { .polish .section:not(.attacks-sec)::before { inset: -0.75rem -0.7rem; border-radius: 1.1rem; } }

/* Clean dark: deep near-black indigo, one soft silver-blue/violet glow, no side flames */
:root {
  --bgf-base: #06070c;
  --bgf-static:
    radial-gradient(ellipse 78% 52% at 50% 26%, rgba(150, 165, 220, 0.09), transparent 70%),
    radial-gradient(ellipse 70% 42% at 50% 108%, rgba(88, 72, 150, 0.10), transparent 72%),
    linear-gradient(180deg, #05060b 0%, #080912 42%, #0a0b16 78%, #06070c 100%);
  --glass-bg: linear-gradient(180deg, rgba(175, 185, 220, 0.09), rgba(10, 12, 22, 0.58) 42%, rgba(8, 9, 16, 0.64));
  --glass-edge: rgba(190, 200, 230, 0.16);
  --glass-hi: rgba(240, 244, 255, 0.10);
}
/* very slow, very soft breathing glow behind the page — no movement, just a faint pulse */
.bgf-l1 {
  inset: -8%;
  background:
    radial-gradient(ellipse 58% 46% at 50% 30%, rgba(160, 175, 230, 0.08), transparent 68%),
    radial-gradient(ellipse 46% 36% at 50% 18%, rgba(130, 120, 200, 0.05), transparent 70%);
  animation: bgf-breathe 22s ease-in-out infinite;
}
/* a gentle dark rim so the glow never hard-cuts at the edges */
.bgf-l2 {
  inset: 0;
  background: radial-gradient(ellipse 80% 75% at 50% 42%, transparent 55%, rgba(4, 5, 10, 0.28) 100%);
}
@keyframes bgf-breathe {
  0%, 100% { opacity: 0.62; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .bgf { transition: none; }
  .bgf-l1 { animation: none; }
}
