/* =========================
   PRETTY FUNNY — PRETTY PAGE (SCRAPBOOK WALL)
   file: /pretty/pretty.css
   ========================= */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
body { overflow-x: hidden; }

:root{
  --bg1: #0c1224;
  --bg2: #1a2450;

  --paper: rgba(255,255,255,0.92);
  --paper2: rgba(255,255,255,0.82);
  --ink: #2b2140;
  --muted: rgba(43,33,64,0.75);

  --shadow: 0 18px 48px rgba(5, 6, 12, 0.35);
  --paperShadow: 0 18px 32px rgba(10, 12, 20, 0.20);
  --radius: 18px;

  --font-title: "Special Elite", ui-monospace, Menlo, Monaco, Consolas, "Courier New", monospace;
  --font-body: "Nunito", "Quicksand", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-hand: "Caveat", "Itim", "Yomogi", cursive;

  --wrap: 1080px;

  /* keeps jump tabs from landing awkwardly under the hero */
  scroll-padding-top: 22px;
}

/* =========================
   PAGE BG (dreamlike/ambient)
   ========================= */
.pfp-page{
  font-family: var(--font-body);
  color: var(--ink);
  min-height: 100vh;

  background:
    radial-gradient(circle at 12% 10%, rgba(255, 160, 210, 0.35), transparent 35%),
    radial-gradient(circle at 78% 14%, rgba(150, 210, 255, 0.35), transparent 38%),
    radial-gradient(circle at 20% 70%, rgba(190, 255, 220, 0.28), transparent 40%),
    radial-gradient(circle at 78% 78%, rgba(190, 170, 255, 0.28), transparent 42%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  position: relative;
}

/* sparkle grid overlay */
.pfp-page::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.45) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255,255,255,0.24) 0 1px, transparent 2px);
  background-size: 24px 24px, 38px 38px;
  background-position: 0 0, 12px 18px;
  mix-blend-mode: screen;
}

/* soft film grain */
.pfp-page::after{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.10;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.10) 0 1px, transparent 1px 3px);
  mix-blend-mode: soft-light;
}

/* =========================
   TOP / NAV / HERO
   ========================= */
.pfp-top{
  position: relative;
  z-index: 1;
  width: min(100%, var(--wrap));
  margin: 0 auto;
  padding: 14px 14px 0;
}

.pfp-nav{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 10px 10px 6px;
}

.pfp-navbtn{
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  font-weight: 900;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
}
.pfp-navbtn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.16);
  box-shadow: 0 18px 36px rgba(0,0,0,0.22);
}
.pfp-navbtn.is-active{
  background: rgba(255, 180, 220, 0.22);
  border-color: rgba(255, 180, 220, 0.45);
}

.pfp-hero{
  margin-top: 10px;
  border-radius: 22px;
  padding: 16px 14px 14px;
  background:
    linear-gradient(90deg,
      rgba(255, 140, 200, 0.24),
      rgba(255, 245, 170, 0.18),
      rgba(120, 230, 190, 0.18),
      rgba(120, 200, 255, 0.20),
      rgba(190, 160, 255, 0.22)
    ),
    rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

/* little sparkle sweep */
.pfp-hero::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle, rgba(255,255,255,0.70) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255,255,255,0.35) 0 1px, transparent 2px);
  background-size: 18px 18px, 30px 30px;
  background-position: 0 0, 10px 14px;
  transform: rotate(12deg);
  opacity: 0.18;
  pointer-events:none;
}

.pfp-hero-title{ display: grid; gap: 6px; padding: 6px 8px 12px; }

.pfp-h1{
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 0.95;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 8px 26px rgba(0,0,0,0.28);
  letter-spacing: 0.5px;
}

.pfp-h2{
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 26px);
  color: rgba(255,255,255,0.86);
  text-shadow: 0 6px 18px rgba(0,0,0,0.22);
}

/* gel-pen doodles in hero */
.pfp-hero-decor{
  position: absolute;
  right: 14px;
  top: 12px;
  display: flex;
  gap: 8px;
  opacity: 0.88;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.18));
}
.pfp-hero-decor .pfp-star{
  font-family: var(--font-hand);
  font-size: 22px;
  color: rgba(255,255,255,0.92);
  transform: rotate(-8deg);
}
.pfp-hero-decor .pfp-star:nth-child(2){ transform: rotate(12deg); opacity: 0.82; }
.pfp-hero-decor .pfp-star:nth-child(3){ transform: rotate(-2deg); opacity: 0.70; }
.pfp-hero-decor .pfp-star:nth-child(4){ transform: rotate(16deg); opacity: 0.78; }

/* scrapbook tab strip */
.pfp-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 8px 4px;
  align-items: center;
  justify-content: flex-start;
}

.pfp-tab{
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-title);
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 14px 14px 18px 18px;
  background: rgba(255,255,255,0.80);
  color: rgba(43,33,64,0.92);
  box-shadow: 0 14px 26px rgba(0,0,0,0.20);
  border: 1px solid rgba(255,255,255,0.55);
  position: relative;
  transform: rotate(-0.6deg);
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}
.pfp-tab:nth-child(2){ transform: rotate(0.5deg); }
.pfp-tab:nth-child(3){ transform: rotate(-0.2deg); }
.pfp-tab:nth-child(4){ transform: rotate(0.7deg); }

.pfp-tab:hover{
  transform: translateY(-2px) rotate(0deg);
  box-shadow: 0 18px 34px rgba(0,0,0,0.26);
  filter: saturate(1.05);
}

.pfp-tab.is-on{
  background: rgba(255, 210, 235, 0.94);
  border-color: rgba(255, 160, 210, 0.55);
}

/* =========================
   WRAP / BOARD (room wall)
   ========================= */
.pfp-wrap{
  position: relative;
  z-index: 1;
  width: min(100%, var(--wrap));
  margin: 0 auto;
  padding: 14px 14px 36px;
}

.pfp-board{
  margin-top: 14px;
  border-radius: 24px;

  /* wall + dreamy overlay */
  background:
    radial-gradient(circle at 18% 24%, rgba(255,255,255,0.10), transparent 52%),
    radial-gradient(circle at 70% 78%, rgba(255,255,255,0.08), transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.06)),
    rgba(15, 20, 40, 0.18);

  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
  overflow: hidden;

  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 16px;
}

/* wall texture */
.pfp-board::before{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
  opacity: 0.20;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.08) 0 2px, transparent 2px 9px),
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.20), transparent 35%),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,0.16), transparent 40%);
  mix-blend-mode: overlay;
}

/* tiny glitter pen stars scattered */
.pfp-board::after{
  content:"";
  position: absolute;
  inset: -30px;
  pointer-events:none;
  opacity: 0.14;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.75) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255,255,255,0.45) 0 1px, transparent 2px);
  background-size: 28px 28px, 44px 44px;
  background-position: 0 0, 18px 22px;
  mix-blend-mode: screen;
}

@media (max-width: 860px){
  .pfp-board{ grid-template-columns: 1fr; padding: 14px; }
}

/* =========================
   CLUSTERS (light overlap + blend)
   ========================= */
.pfp-cluster{
  position: relative;
  border-radius: 22px;
  padding: 14px 14px 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 16px 30px rgba(0,0,0,0.20);
  overflow: hidden;
}

/* cluster inner glow */
.pfp-cluster::after{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: 22px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.16);
  pointer-events:none;
}

/* “pinned” vibe: pushpin dots */
.pfp-cluster::before{
  content:"";
  position:absolute;
  top: 10px;
  right: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 210, 235, 0.95);
  box-shadow:
    0 10px 18px rgba(0,0,0,0.18),
    inset 0 0 0 2px rgba(255,255,255,0.55);
  opacity: 0.9;
}

/* lightly overlap the clusters (room-wall style) */
@media (min-width: 861px){
  .pfp-intro{ transform: translateY(2px); z-index: 2; }
  .pfp-photos{ margin-top: 18px; transform: translateX(-2px); z-index: 1; }
  .pfp-stickers{ margin-top: -12px; transform: translateY(-4px) rotate(-0.2deg); z-index: 3; }
  .pfp-mood{ margin-top: 10px; transform: translateX(2px); z-index: 2; }
}

.pfp-cluster-title{
  margin: 0 0 8px;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 28px;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 10px 22px rgba(0,0,0,0.25);
  letter-spacing: 0.2px;
}

.pfp-caption{
  margin: 0 0 12px;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  opacity: 0.95;
}

/* focus highlight when jumped to via tabs */
.pfp-cluster.pfp-focus{
  outline: 2px solid rgba(255, 210, 235, 0.70);
  box-shadow:
    0 18px 36px rgba(0,0,0,0.22),
    0 0 0 6px rgba(255, 210, 235, 0.18);
  transition: box-shadow 220ms ease, outline 220ms ease;
}

/* =========================
   STACK / GRID
   ========================= */
.pfp-stack{
  display: grid;
  gap: 12px;
  position: relative;
}

/* layered stack look */
.pfp-stack .pfp-card:nth-child(2){ transform: rotate(0.7deg) translateY(-2px); }
.pfp-stack .pfp-card:nth-child(3){ transform: rotate(-0.6deg) translateY(-1px); }

.pfp-grid{
  display: grid;
  gap: 12px;
}
.pfp-grid-photos{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pfp-grid-mood{ grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 560px){
  .pfp-grid-photos{ grid-template-columns: 1fr; }
  .pfp-grid-mood{ grid-template-columns: 1fr; }
}

/* =========================
   CARDS (paper, tape, doodles)
   ========================= */
.pfp-card{
  background: var(--paper);
  border-radius: 18px;
  padding: 12px;
  color: var(--ink);
  box-shadow: var(--paperShadow);
  border: 1px solid rgba(255, 180, 220, 0.35);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 170ms ease, box-shadow 170ms ease;
}

/* tape corners */
.pfp-card::before,
.pfp-card::after{
  content:"";
  position:absolute;
  width: 72px;
  height: 20px;
  background: rgba(255, 245, 170, 0.55);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 10px 18px rgba(0,0,0,0.12);
  transform: rotate(-8deg);
  opacity: 0.78;
  pointer-events:none;
}
.pfp-card::before{ top: 8px; left: 10px; }
.pfp-card::after{
  bottom: 10px;
  right: 10px;
  transform: rotate(9deg);
  background: rgba(170, 235, 255, 0.50);
}

/* tiny “pen stars” in cards */
.pfp-card > *{ position: relative; z-index: 1; }
.pfp-card .pfp-penstars{
  position:absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.10;
  pointer-events:none;
  background-image:
    radial-gradient(circle, rgba(255,95,168,0.60) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(53,201,138,0.50) 0 1px, transparent 2px);
  background-size: 28px 28px, 34px 34px;
  background-position: 0 0, 14px 18px;
}

.pfp-card:hover{
  transform: translateY(-4px) rotate(0deg);
  box-shadow: 0 22px 44px rgba(0,0,0,0.26);
}

/* sticky note */
.pfp-note{
  font-family: var(--font-hand);
  font-weight: 700;
  line-height: 1.1;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 170, 220, 0.14), transparent 48%),
    linear-gradient(180deg, rgba(255, 220, 245, 0.94), rgba(255,255,255,0.94));
  border-color: rgba(255, 160, 210, 0.42);
}
.pfp-note-title{
  font-family: var(--font-title);
  font-size: 12px;
  opacity: 0.75;
  margin-bottom: 6px;
}
.pfp-note-text{ font-size: 22px; }

/* handwritten paper */
.pfp-paper{
  font-family: var(--font-hand);
  font-weight: 700;
  background:
    repeating-linear-gradient(0deg, rgba(43,33,64,0.08) 0 1px, transparent 1px 22px),
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.88));
}
.pfp-paper-title{
  font-family: var(--font-title);
  font-size: 12px;
  opacity: 0.75;
  margin-bottom: 6px;
}
.pfp-paper-text{ font-size: 20px; line-height: 1.15; }

/* polaroid */
.pfp-polaroid{
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.90));
  min-height: 170px;
}
.pfp-polaroid-frame{
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 170, 220, 0.12), transparent 55%),
    rgba(0,0,0,0.06);
  padding: 10px;
  min-height: 110px;
  display: grid;
  place-items: center;
}
.pfp-polaroid-placeholder{
  font-family: var(--font-title);
  font-size: 12px;
  opacity: 0.75;
}
.pfp-polaroid-caption{
  margin-top: 10px;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 18px;
}

/* photo placeholders */
.pfp-photo{
  text-decoration: none;
  display: grid;
  place-items: center;
  min-height: 140px;
}
.pfp-photo-placeholder{
  font-family: var(--font-title);
  font-size: 12px;
  opacity: 0.72;
}

/* mood tiles */
.pfp-moodtile{
  min-height: 92px;
  display: grid;
  place-items: center;
  font-family: var(--font-title);
  font-size: 12px;
  opacity: 0.75;
  background:
    radial-gradient(circle at 25% 30%, rgba(255, 170, 220, 0.22), transparent 55%),
    radial-gradient(circle at 70% 68%, rgba(170, 235, 255, 0.22), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.88));
}

/* =========================
   STICKER BOMB (NOT a grid)
   ========================= */
.pfp-stickerfield{
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 6px 2px 2px;
}

/* contained stickers */
.pfp-sticker{
  appearance: none;
  border: 1px solid rgba(255, 180, 220, 0.35);
  background: rgba(255,255,255,0.94);
  border-radius: 16px;
  box-shadow: 0 14px 26px rgba(0,0,0,0.16);
  padding: 12px 10px;
  font-size: 26px;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
  position: relative;
  overflow: hidden;
}

/* sticker shine */
.pfp-sticker::after{
  content:"";
  position:absolute;
  inset:-40% -40%;
  background:
    radial-gradient(circle, rgba(255,255,255,0.90) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255,255,255,0.55) 0 1px, transparent 2px);
  background-size: 18px 18px, 28px 28px;
  background-position: 0 0, 10px 14px;
  transform: rotate(12deg);
  opacity: 0.10;
  pointer-events:none;
}

.pfp-sticker:hover{
  transform: translateY(-3px) rotate(0deg) scale(1.02);
  box-shadow: 0 18px 34px rgba(0,0,0,0.20);
  filter: saturate(1.06);
}

/* scattered rotations + tiny overlaps (still contained) */
.pfp-sticker:nth-child(1){ transform: rotate(-6deg) translateY(2px); }
.pfp-sticker:nth-child(2){ transform: rotate(5deg) translateY(-2px); }
.pfp-sticker:nth-child(3){ transform: rotate(-2deg); }
.pfp-sticker:nth-child(4){ transform: rotate(7deg) translateY(2px); }
.pfp-sticker:nth-child(5){ transform: rotate(-4deg) translateY(-1px); }
.pfp-sticker:nth-child(6){ transform: rotate(3deg); }
.pfp-sticker:nth-child(7){ transform: rotate(-7deg) translateY(2px); }
.pfp-sticker:nth-child(8){ transform: rotate(4deg) translateY(-2px); }
.pfp-sticker:nth-child(9){ transform: rotate(-3deg); }
.pfp-sticker:nth-child(10){ transform: rotate(6deg) translateY(2px); }
.pfp-sticker:nth-child(11){ transform: rotate(-5deg) translateY(-1px); }
.pfp-sticker:nth-child(12){ transform: rotate(2deg); }

.pfp-mini-note{
  margin-top: 12px;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 18px;
  color: rgba(255,255,255,0.86);
  text-shadow: 0 10px 22px rgba(0,0,0,0.22);
}
.pfp-mini-note span{
  font-family: var(--font-title);
  font-size: 12px;
  opacity: 0.8;
  margin-right: 6px;
}

/* stickerfield responsive (keeps it from feeling cramped) */
@media (max-width: 860px){
  .pfp-stickerfield{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .pfp-stickerfield{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* =========================
   BUTTERFLIES (floating)
   ========================= */
.pfp-bfly{
  position: absolute;
  font-size: 26px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.25));
  opacity: 0.92;
  pointer-events: none;
  animation: pfp-floaty 6s ease-in-out infinite;
  z-index: 2;
}
.pfp-bfly.b1{ top: 26px; left: 18px; animation-delay: -1.2s; }
.pfp-bfly.b2{ top: 42%; right: 22px; animation-delay: -3.4s; }
.pfp-bfly.b3{ bottom: 18px; left: 45%; animation-delay: -2.1s; }

@keyframes pfp-floaty{
  0%,100%{ transform: translateY(0) rotate(-6deg); }
  50%{ transform: translateY(-12px) rotate(6deg); }
}

/* =========================
   FOOTER
   ========================= */
.pfp-footer{
  margin-top: 14px;
  text-align: center;
  padding: 10px 8px;
  color: rgba(255,255,255,0.82);
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 18px;
  text-shadow: 0 10px 22px rgba(0,0,0,0.22);
}

/* =========================
   MOBILE POLISH
   ========================= */
@media (max-width: 520px){
  .pfp-hero{ padding: 14px 12px 12px; }
  .pfp-tabs{ justify-content: center; }
  .pfp-tab{ width: 100%; text-align: center; }
  .pfp-cluster-title{ font-size: 26px; }
}