/* ==========================
   GLOBAL / SHARED SYSTEM
   ========================== */

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  font-family: "Roboto Mono", monospace;
}

body {
  min-height: 100vh;
}

h1,
h2,
p,
button,
a,
li,
span {
  margin: 0;
  font-family: "Roboto Mono", monospace;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

h2,
p {
  font-weight: 400;
}

:root {
  --acid: #ceff00;
  --nav-bg: #ceff00;
  --nav-text: #000000;
  --darkpuf-text: #ceff00;
  --pinqpuf-text: #ffffff;
  --sugarpuf-lavender: #b59cff;
}

/* ==========================
   SHARED NAVIGATION
   ========================== */

.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  padding: 0.75rem 0;
  display: flex;
  justify-content: center;
  background-color: var(--nav-bg);
}

nav {
  display: block;
}

nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav ul li {
  display: block;
}

nav ul li a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  color: var(--nav-text);
  text-decoration: none;
  transition: filter 0.25s ease;
  will-change: filter;
}

nav ul li a:hover {
  filter: blur(2px);
}

/* ==========================
   SHARED FOOTER
   ========================== */

footer {
  width: 100%;
  padding: 1rem 0 1.25rem;
  font-size: 0.625rem;
  text-align: center;
  color: var(--acid);
  position: relative;
  z-index: 5;
}

/* ==========================
   SHARED EFFECTS
   ========================== */

#blinking-underscore {
  animation: blink 0.7s infinite alternate;
}

#darkness-overlay {
  position: fixed;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--mouseX) var(--mouseY),
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.5) 30%
  );
  transition: background 0.8s ease-out;
}

/* ==========================
   SHARED DECORATIVE OBJECTS
   ========================== */

.falling-bomb {
  position: absolute;
  z-index: 50;
  width: 300px;
  height: auto;
  opacity: 1 !important;
  pointer-events: none;
  mix-blend-mode: normal !important;
}

/* ==========================
   SHARED ANIMATIONS
   ========================== */

 @keyframes darkpuffShiver {
  0%   { transform: translate(0, 0) rotate(0deg); }
  10%  { transform: translate(-4px, 1px) rotate(-1deg); }
  20%  { transform: translate(4px, -1px) rotate(1deg); }
  30%  { transform: translate(-3px, 2px) rotate(-0.8deg); }
  40%  { transform: translate(3px, -2px) rotate(0.8deg); }
  50%  { transform: translate(-2px, 1px) rotate(-0.6deg); }
  60%  { transform: translate(2px, -1px) rotate(0.6deg); }
  70%  { transform: translate(-2px, 0) rotate(-0.4deg); }
  80%  { transform: translate(2px, 0) rotate(0.4deg); }
  90%  { transform: translate(-1px, 0) rotate(-0.2deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes darkpufFloatGlow {
  0% {
    transform: translateY(16px);
    filter: drop-shadow(0 0 30px #000080) drop-shadow(0 0 60px #6a00b6);
  }

  50% {
    transform: translateY(0);
    filter: drop-shadow(0 0 100px rgb(0, 0, 255))
      drop-shadow(0 0 120px #3700ff);
  }

  100% {
    transform: translateY(16px);
    filter: drop-shadow(0 0 30px #000080) drop-shadow(0 0 60px #6a00b6);
  }
}

@keyframes pinqpufGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes angelpufGradient {
  0% {
    background-position: 0% 50%;
  }

  25% {
    background-position: 50% 75%;
  }

  50% {
    background-position: 100% 50%;
  }

  75% {
    background-position: 50% 25%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(2.2);
  }
}

@keyframes cloudDrift {
  0% {
    transform: translateX(-250px);
    opacity: 0.95;
  }

  100% {
    transform: translateX(120vw);
    opacity: 0.95;
  }
}

@keyframes sugarArrowNudge {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(0.35rem);
  }
}

@keyframes heartBeat {
  0% {
    transform: scale(1);
  }

  25% {
    transform: scale(1.14);
  }

  45% {
    transform: scale(0.98);
  }

  65% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes errorFlash {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes criticalFlicker {
  0% {
    transform: translate(-50%, -50%) translateX(0);
  }

  25% {
    transform: translate(-50%, -50%) translateX(-6px);
  }

  50% {
    transform: translate(-50%, -50%) translateX(5px);
  }

  100% {
    transform: translate(-50%, -50%) translateX(0);
  }
}

@keyframes sugarAtmosphere {
  0% {
    background-position: 0% 40%;
  }
  50% {
    background-position: 100% 60%;
  }
  100% {
    background-position: 0% 40%;
  }
}

@keyframes angelPulse {
  0%   { transform: scale(0.9); opacity: 0.7; }
  50%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* ==========================
   DARKPUF PAGE
   character1.html
   mobile first
   ========================== */

.character1-background {
  background: linear-gradient(to bottom, blue 0%, black 100%);
}

.character1-layout {
  min-height: 100vh;
  padding: 5rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.character1-copy {
  position: relative;
  z-index: 2;
  max-width: 42rem;
}

.character1-title {
  margin-top: 2.5rem;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 0.95;
  color: var(--darkpuf-text);
}

.mysterious-message {
  position: fixed;
  z-index: 7;
  pointer-events: none;
  min-height: 1.5em;
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.2;
  color: var(--darkpuf-text);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.character1-figure-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 0;
  padding-bottom: 0.5rem;
}

.darkpuff {
  width: min(88vw, 560px);
  max-width: none;
  animation: darkpufFloatGlow 4s infinite ease-in-out;
}

.character1-background #blinking-underscore {
  color: var(--darkpuf-text);
}

.darkpuff.is-shivering {
  animation:
    darkpufFloatGlow 4s infinite ease-in-out,
    darkpuffShiver 0.35s linear 1;
}

/* ==========================
   PINQPUF PAGE
   character2.html
   mobile first
   ========================== */

.character2-background {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
background: linear-gradient(
  40deg,
  #2a0010,
  #990033,
  #ff0066,
  #ff66cc,
  #ffe6f5
);
  background-size: 200% 200%;
  animation: pinqpufGradient 9s infinite alternate ease-in-out;
}

.character2-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 70%,
    rgba(255, 0, 120, 0.25),
    transparent 60%
  );
  pointer-events: none;
}

.character2-layout {
  min-height: 100vh;
  padding: 4.5rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.pinqpuf-copy {
  position: relative;
  z-index: 3;
  max-width: 40rem;
}

.pinqpuf-click {
  margin-top: 0;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 0.95;
  color: var(--pinqpuf-text);
}

.pinqpuf-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.pinqpuf {
  width: min(86vw, 520px);
  max-width: none;
  height: auto;
}

/* ==========================
   ANGELPUF PAGE
   character3.html
   current HTML + JS structure
   mobile first
   ========================== */

.character3-background {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(45deg, #f7f3ff, #e6e6fa, #d9e4ff, #efe7ff, #dbe7ff);
  background-size: 600% 600%;
}

.character3-background::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(45deg, #e6e6fa, #c3b1e1, #b5c7f2, #e6e6fa, #d3e0ff);
  background-size: 600% 600%;
  filter: blur(20px);
  animation: angelpufGradient 18s infinite alternate ease-in-out;
}

.character3-background footer {
  color: #ffffff;
}

#blinking-lights {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

#cloud-container-behind {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.parent-container {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  padding: 6rem 1.25rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

video.angelpuf {
  position: relative;
  z-index: 3;
  width: min(88vw, 700px);
  max-width: none;
  height: auto;
}

#cloud-container-front {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.text-wrap-container {
  position: relative;
  z-index: 5;
  width: 90%;
  margin: 0 auto;
  padding-top: 0;
}

.text-columns {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 0;
  padding: 15px;
}

.text-left,
.text-right {
  width: 100%;
}

.text-left h2,
.text-left p,
.text-right p {
  color: #ffffff;
}

.blinking-light {
  position: absolute;
  width: 3px;
  height: 3px;
  opacity: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, pink 80%);
  animation: twinkle 3s infinite ease-in-out;
}

.cloud-cluster {
  position: absolute;
  left: -250px;
  opacity: 0.95;
  pointer-events: none;
  animation: cloudDrift 50s linear infinite;
}

.angel-cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.9;
  box-shadow: 10px 10px 50px rgba(255, 255, 255, 0.6);
}

.cloud-bump {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.85;
  box-shadow: 8px 8px 25px rgba(255, 255, 255, 0.5);
}

.angel-audio-button {
  position: fixed;
  top: 5.5rem;     /* clears your fixed nav */
  left: 4.5rem;
  z-index: 10;

  border: none;
  background: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}

.angel-audio-ring {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(255,255,255,0.95) 0%,
    rgba(230,220,255,0.65) 35%,
    rgba(200,210,255,0.25) 60%,
    transparent 80%
  );

  filter: blur(8px);
  animation: angelPulse 4s ease-in-out infinite;
}


.angel-audio-label {
  position: relative;
  font-family: "Pinyon Script", cursive;
  font-size: 5rem;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-transform: lowercase;

  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;

  box-shadow:
    0 0 20px rgba(255,255,255,0.35),
    0 0 40px rgba(200,210,255,0.25);

  transition: transform 0.25s ease, opacity 0.25s ease;
}

.angel-audio-button:hover .angel-audio-label {
  transform: scale(1.06);
}

/* ==========================
   SUGARPUF PAGE
   character4.html
   mobile first
   ========================== */

.character4-background {
  position: relative;
  min-height: 100vh;
  overflow: hidden;

  background: radial-gradient(
    circle at 50% 50%,
    #ffffff 0%,
    #f2e0ff 26%,
    #e6c3ff 58%,
    #cbb8ff 82%,
    #bba8ff 100%
  );
}

.character4-background::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;

  background:
    /* main glow — centered on character */
    radial-gradient(
      circle at 50% 58%,
      rgba(255,255,255,0.65),
      rgba(255,220,235,0.35) 35%,
      transparent 65%
    ),

    /* secondary soft bloom — slightly offset for dimension */
    radial-gradient(
      circle at 62% 52%,
      rgba(255, 196, 222, 0.32),
      transparent 60%
    ),

    /* faint ambient wash */
    radial-gradient(
      circle at 50% 50%,
      rgba(255, 223, 235, 0.18),
      transparent 75%
    );

  filter: blur(60px);
  opacity: 0.96;
  pointer-events: none;
}

.character4-background footer {
  color: #ffffff;
}

/* particles */
#particles-js {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

#particles-front {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.character4-layout {
  position: relative;
  min-height: 100vh;
  padding: 5rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 3;
}

.sugarpuf-copy {
  position: relative;
  z-index: 4;
  max-width: 42rem;
}

.sugarpuf-copy-secondary {
  position: absolute;
  top: 6rem;
  right: 1.25rem;
  z-index: 5;
  text-align: right;
}

.sugarpuf-title {
  margin-top: 2.5rem;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 0.95;
  color: #000000;
}

.sugarpuf-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
  padding-bottom: 0;
  position: relative;
  z-index: 3;
}

.sugarpuf {
  width: min(90vw, 620px);
  max-width: none;
  height: auto;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.sugarpuf-cta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.2rem;
  flex-wrap: nowrap;
  font-size: clamp(2.4rem, 3.5vw, 4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--sugarpuf-lavender);
}

.sugarpuf-cta-text {
  color: var(--sugarpuf-lavender);
  white-space: nowrap;
}

.animated-arrow {
  display: inline-block;
  color: var(--sugarpuf-lavender);
  margin-right: 0.3rem;
  animation: sugarArrowNudge 1s ease-in-out infinite;
}

.heart-button {
  border: none;
  background: none;
  padding: 0;
  display: inline-flex;
  cursor: pointer;
  pointer-events: auto;
}

.animated-heart {
  font-size: 6em;
  color: var(--sugarpuf-lavender);
  transform-origin: center;
}

.heart-button:hover .animated-heart,
.heart-button:focus-visible .animated-heart {
  animation: heartBeat 0.5s ease-in-out;
}

.character4-layout:has(.heart-button:hover) .sugarpuf,
.character4-layout:has(.heart-button:focus-visible) .sugarpuf {
  transform: scale(1.22) translateY(-1.25rem);
  filter: brightness(1.08) saturate(1.08);
}

.character4-layout:has(.heart-button:active) .sugarpuf {
  transform: scale(1.26) translateY(-0.9rem);
}

@keyframes sugarRibbonScroll {
  0% {
    transform: translateX(-12.5%);
  }
  100% {
    transform: translateX(0);
  }
}

.sugarpuf-ribbons {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;

  /* single anchored crossover point */
  --cross-x: 50%;
  --cross-y: clamp(78%, 84vh, 89%);
}

.sugarpuf-ribbon {
  position: absolute;
  top: var(--cross-y);
  left: var(--cross-x);
  width: 460vw;
  background: #ceff00;
  color: #050505;
  overflow: hidden;
  transform-origin: center center;
}

.sugarpuf-ribbon-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  gap: 0;
  animation: sugarRibbonScroll 22s linear infinite;
  will-change: transform;
}

.sugarpuf-ribbon-track span {
  flex: 0 0 auto;
  display: block;
  margin: 0;
  padding: 0.7rem 0;
  font-size: clamp(0.72rem, 0.95vw, 0.95rem);
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: lowercase;
}

.sugarpuf-ribbon-a {
  transform: translate(-50%, -50%) rotate(5deg);
}

.sugarpuf-ribbon-b {
  transform: translate(-50%, -50%) rotate(-8deg);
}

/* ==========================
   DEVILPUF PAGE
   character5.html
   glitch-integrated
   ========================== */

.character5-background {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: #ffffff;
  color: #000000;
}

.character5-screen-noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: multiply;
  background-image:
    repeating-linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.18) 0,
      rgba(0, 0, 0, 0.18) 1px,
      transparent 1px,
      transparent 3px
    );
}

.character5-layout {
  position: relative;
  min-height: 100vh;
  padding: 5rem 1rem 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 3;
}

.character5-stage {
  --glitch-x: 0px;
  --glitch-y: 0px;
  --glitch-rot: 0deg;
  --glitch-hue: 0deg;
  --glitch-contrast: 1;
  transition:
    transform 0.08s linear,
    filter 0.08s linear;
  will-change: transform, filter;
}

.devilpuf-copy {
  position: relative;
  z-index: 4;
  max-width: 42rem;
}

.devilpuf-title {
  margin-top: 2.5rem;
  font-size: 50vw;
  line-height: 0.7;
  letter-spacing: -0.08em;
  color: #ceff00;
}

.devilpuf-text {
  margin-top: 1rem;
  max-width: 28rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #ceff00;
}

.devilpuf-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 0;
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
  position: relative;
  z-index: 3;
}

.devilpuf-media-shell {
  position: relative;
  width: min(90vw, 620px);
}

/* remove the red / blue glow layers */
.devilpuf-media-shell::before,
.devilpuf-media-shell::after {
  content: none;
}

.devilpuf-video {
  width: 100%;
  max-width: none;
  height: auto;
  position: relative;
  z-index: 2;
}

.character5-footer {
  color: #000000;
  z-index: 4;
}

.error-popup,
.glitch-error {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
}

.error-popup {
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 1rem 1.15rem;
  background: #6f79ff;
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
  max-width: min(90vw, 34rem);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  transition: opacity 0.2s ease;
}

.error-popup.is-visible {
  opacity: 1;
  animation: errorFlash 1s steps(2, end) infinite;
}

.glitch-error {
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 1rem 1.25rem;
  background: #ff0000;
  color: #ffffff;
  font-size: clamp(1rem, 4vw, 2.2rem);
  line-height: 1.1;
  text-align: center;
  font-family: "Roboto Mono", monospace;
  transition: opacity 0.15s ease;
}

.glitch-error.is-visible {
  opacity: 1;
  animation: criticalFlicker 0.18s steps(2, end) infinite;
}

/* state-driven glitch effects */

.character5-page-melt .character5-stage {
  transform: skewX(5deg) scaleY(1.01);
  filter: blur(3px) contrast(1.9);
}

.character5-page-glitch .character5-stage {
  transform:
    translate(var(--glitch-x), var(--glitch-y))
    rotate(var(--glitch-rot));
  filter:
    contrast(var(--glitch-contrast))
    hue-rotate(var(--glitch-hue));
}

.character5-background {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: #000000;
  color: #000000;
}

.character5-bg-video-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.character5-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  opacity: 1;
}

.character5-screen-noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: multiply;
  background-image:
    repeating-linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.18) 0,
      rgba(0, 0, 0, 0.18) 1px,
      transparent 1px,
      transparent 3px
    );
}

.character5-layout {
  position: relative;
  min-height: 100vh;
  padding: 5rem 1rem 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 3;
}

/* ==========================
   TABLET
   min-width: 768px
   ========================== */

@media (min-width: 768px) {
  .character1-layout,
  .character2-layout,
  .character4-layout,
  .character5-layout {
    padding: 5.5rem 2rem 2rem;
    gap: 2rem;
  }

  .character1-copy,
  .pinqpuf-copy,
  .sugarpuf-copy,
  .devilpuf-copy {
    max-width: 42rem;
  }

  .character1-title,
  .pinqpuf-click,
  .sugarpuf-title,
  .devilpuf-title {
    margin-top: 2.5rem;
    font-size: clamp(2.4rem, 6vw, 3.4rem);
  }

  .mysterious-message {
    margin-bottom: 2rem;
    font-size: clamp(1rem, 2vw, 1.35rem);
  }

  .character1-figure-wrap,
  .sugarpuf-container,
  .devilpuf-container {
    padding-bottom: 1rem;
  }

  .darkpuff {
    width: min(82vw, 700px);
  }

  .character2-layout {
    padding: 5.5rem 2rem 2rem;
    gap: 1.5rem;
  }

  .pinqpuf-container {
    align-items: center;
  }

  .pinqpuf {
    width: min(82vw, 700px);
  }

  .parent-container {
    padding: 6.5rem 2rem 2rem;
  }

  video.angelpuf {
    width: min(82vw, 760px);
  }

  .sugarpuf,
  .devilpuf {
    width: min(82vw, 700px);
  }

  .character5-layout {
    padding: 5.5rem 2rem 4rem;
    gap: 2rem;
  }

  .devilpuf-copy {
    max-width: 42rem;
  }

  .devilpuf-title {
    margin-top: 2.5rem;
    font-size: 36vw;
  }

  .devilpuf-container {
    align-items: flex-start;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .devilpuf-media-shell {
    width: min(82vw, 700px);
  }
}

/* ==========================
   DESKTOP SHARED NAV
   min-width: 1024px
   ========================== */

@media (min-width: 1024px) {
  .nav-wrapper {
    top: 0;
    right: 0;
    left: auto;
    width: 250px;
    height: 100vh;
    padding: 0;
    align-items: center;
  }

  nav ul {
    flex-direction: column;
  }
}

/* ==========================
   DARKPUF DESKTOP
   ========================== */

@media (min-width: 1024px) {
  .character1-layout {
    position: relative;
    min-height: 100vh;
    padding: 3rem 18rem 2rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .character1-copy {
    position: relative;
    z-index: 3;
    max-width: 34rem;
    padding-top: 2.5rem;
  }

  .character1-title {
    margin-top: 3.5rem;
    font-size: clamp(3rem, 4vw, 4.5rem);
  }

  .mysterious-message {
    margin-bottom: 2rem;
    font-size: clamp(1.2rem, 1.8vw, 2rem);
  }

  .character1-figure-wrap {
    position: absolute;
    right: 10rem;
    bottom: 10rem;
    width: min(75vw, 1200px);
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    pointer-events: none;
    z-index: 1;
  }

  .darkpuff {
    width: 100%;
    height: auto;
  }
}

/* ==========================
   PINQPUF DESKTOP
   ========================== */

@media (min-width: 1024px) {
  .character2-layout {
    min-height: 100vh;
    padding: 3rem 18rem 2rem 3rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }

  .pinqpuf-copy {
    flex: 0 0 36%;
    max-width: 34rem;
    padding-top: 2.5rem;
    position: relative;
    z-index: 3;
  }

  .pinqpuf-click {
    margin-top: 3.5rem;
    font-size: clamp(3rem, 4vw, 4.5rem);
  }

  .pinqpuf-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    min-height: calc(100vh - 5rem);
    padding: 0;
    z-index: 1;
  }

  .pinqpuf {
    width: min(90vw, 1300px);
    height: auto;
    transform: translateX(-400px) translateY(-100px);
  }
}

/* ==========================
   ANGELPUF DESKTOP
   ========================== */

@media (min-width: 1024px) {
  .parent-container {
    min-height: 100vh;
    padding: 0 18rem 0 3rem;
    justify-content: center;
    align-items: center;
  }

  video.angelpuf {
    width: min(25vw, 400px);
    height: auto;
  }
}

/* ==========================
   SUGARPUF DESKTOP
   ========================== */

@media (min-width: 1024px) {
  .character4-layout {
    position: relative;
    min-height: 100vh;
    padding: 3rem 18rem 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0;
  }

    .character4-background {
    background: radial-gradient(
      circle at 45% 50%,
    #ffffff 0%,
    #f2e0ff 26%,
    #e6c3ff 58%,
    #cbb8ff 82%,
    #bba8ff 100%
    );
    }

  .sugarpuf-copy,
  .sugarpuf-copy-secondary {
    z-index: 4;
    max-width: 34rem;
  }

  .sugarpuf-copy {
    position: relative;
    padding-top: 2.5rem;
  }

  .sugarpuf-copy-secondary {
    position: absolute;
    top: 6rem;
    right: 30rem;
    padding: 1rem 1.25rem;
    z-index: 5;
    max-width: 34rem;
    text-align: right;
  }

  .sugarpuf-title {
    margin-top: 0;
    font-size: clamp(3rem, 4vw, 4.5rem);
  }

  .sugarpuf-container {
    position: absolute;
    left: 3rem;
    right: 18rem;
    top: 6rem;
    bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    pointer-events: none;
  }

  .sugarpuf {
    width: min(70vw, 1100px);
    height: auto;
  }

  .sugarpuf-cta {
    font-size: clamp(2.5rem, 3.5vw, 4rem);
  }
}

/* ==========================
   DEVILPUF DESKTOP
   ========================== */

@media (min-width: 1024px) {
  .character5-layout {
    position: relative;
    min-height: 100vh;
    padding: 3rem 19rem 2rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .devilpuf-copy {
    position: relative;
    z-index: 4;
    max-width: 34rem;
    padding-top: 2.5rem;
  }

  .devilpuf-title {
    font-size: 24vw;
    line-height: 0.72;
    letter-spacing: -0.1em;
    margin-top: 0;
  }

  .devilpuf-container {
    position: absolute;
    top: 30rem;
    right: calc(250px + 2rem); /* clears the fixed nav */
    width: min(40vw, 640px);
    max-width: calc(100vw - 250px - 6rem); /* hard stop before nav */
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    z-index: 2;
    pointer-events: none;
  }

  .devilpuf-media-shell {
    width: 100%;
  }

  .devilpuf-video {
    width: 100%;
    transform: translateY(0);
  }
}