.pageShell {
  position: relative;
  min-height: 100vh;
  padding: 24px;
  z-index: 1;
}

/* background */

.fursonaBg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.30), transparent 24%),
    linear-gradient(180deg, #fff8fc 0%, #ffeef8 40%, #ffddea 100%);
}

.fursonaGlow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.42;
  animation: glowFloat 14s ease-in-out infinite;
}

.glow1 {
  width: 320px;
  height: 320px;
  background: rgba(255, 150, 205, 0.24);
  left: 8%;
  top: 10%;
}

.glow2 {
  width: 360px;
  height: 360px;
  background: rgba(207, 180, 255, 0.18);
  right: 10%;
  top: 14%;
  animation-delay: 2s;
}

.glow3 {
  width: 380px;
  height: 380px;
  background: rgba(255, 205, 230, 0.34);
  left: 50%;
  bottom: -6%;
  transform: translateX(-50%);
  animation-delay: 4s;
}

@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -14px) scale(1.06); }
}

.fursonaGrid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.08;
}

.fursonaSpark {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: 0.28;
  animation: sparkFloat 8s ease-in-out infinite;
}

.spark1 { left: 10%; top: 24%; font-size: 34px; color: #ff9ccc; }
.spark2 { right: 14%; top: 18%; font-size: 28px; color: #ffb8dc; animation-delay: 1.8s; }
.spark3 { right: 34%; top: 35%; font-size: 22px; color: #ffc8e6; animation-delay: 0.8s; }
.spark4 { left: 18%; bottom: 18%; font-size: 18px; color: #e3a1ff; animation-delay: 1.4s; }
.spark5 { right: 20%; bottom: 26%; font-size: 24px; color: #ff91c0; animation-delay: 2.2s; }

@keyframes sparkFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
}

/* nav */

.topNav {
  max-width: 1320px;
  margin: 0 auto 18px auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255,255,255,0.58);
  box-shadow:
    0 16px 36px rgba(255, 154, 206, 0.12),
    inset 0 0 0 1px rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.navLogoWrap {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.34);
  border: 1px solid rgba(255,255,255,0.48);
  flex-shrink: 0;
}

.navLogo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.navLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.navButton {
  flex: 1 1 120px;
  text-align: center;
  text-decoration: none;
  color: #9a4f7d;
  font-weight: 700;
  background: rgba(255,255,255,0.26);
  border: 1px solid rgba(255,255,255,0.54);
  border-radius: 999px;
  padding: 12px 18px;
  transition: 0.24s ease;
}

.navButton:hover,
.navButton.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 140, 195, 0.82), rgba(211, 176, 255, 0.76));
  box-shadow:
    0 0 20px rgba(255, 166, 210, 0.22),
    inset 0 0 10px rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

/* header */

.fursonaHeader {
  max-width: 1100px;
  margin: 0 auto 18px;
  text-align: center;
  padding: 14px 10px 4px;
}

.fursonaTiny {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.40);
  border: 1px solid rgba(255,255,255,0.60);
  color: #c15d94;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: lowercase;
}

.fursonaTitle {
  margin: 14px 0 8px;
  font-size: clamp(52px, 8vw, 100px);
  line-height: 0.95;
  background: linear-gradient(180deg, #ff86bf 0%, #ff4ca5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(255, 120, 180, 0.24));
}

.fursonaSubtitle {
  margin: 0 auto;
  max-width: 760px;
  color: #b85789;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 700;
}

/* room */

.fursonaScene {
  max-width: 1320px;
  margin: 0 auto;
}

.shrineRoom {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 20px;
  padding: 28px 24px;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.11));
  border: 1px solid rgba(255,255,255,0.46);
  box-shadow:
    0 20px 48px rgba(255, 154, 206, 0.10),
    inset 0 0 0 1px rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.noteColumn,
.infoColumn {
  display: grid;
  gap: 18px;
}

.noteCard,
.infoCard,
.mainShrineCard {
  box-shadow:
    0 18px 34px rgba(255, 154, 206, 0.12),
    inset 0 0 0 1px rgba(255,255,255,0.12);
}

.noteCard,
.infoCard {
  padding: 20px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff4fb 0%, #ffe7f5 100%);
  border: 1px solid rgba(255,255,255,0.76);
}

.tiltedLeft {
  transform: rotate(-2deg);
}

.cardTag {
  display: inline-block;
  margin-bottom: 10px;
  color: #c15e93;
  font-size: 12px;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: 0.4px;
}

.noteCard h3,
.infoCard h3 {
  margin: 0 0 10px;
  color: #b44f82;
  line-height: 1.08;
  font-size: 26px;
}

.noteCard p {
  margin: 0;
  color: #8d5374;
  line-height: 1.82;
}

.infoList {
  margin: 0;
  padding-left: 18px;
  color: #8d5374;
  line-height: 1.9;
}

/* center shrine */

.centerShrine {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mainShrineCard {
  position: relative;
  text-align: center;
  width: 100%;
  animation: shrineFloat 6s ease-in-out infinite;
}

@keyframes shrineFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.shrineHalo {
  position: absolute;
  inset: 10px;
  border-radius: 28px;
  background:
    radial-gradient(circle at center, rgba(255, 146, 206, 0.24), transparent 52%),
    radial-gradient(circle at center, rgba(255, 210, 235, 0.18), transparent 72%);
  pointer-events: none;
  filter: blur(20px);
  animation: haloPulse 4.8s ease-in-out infinite;
}

@keyframes haloPulse {
  0%, 100% {
    transform: scale(0.98);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

.mainArtFrame {
  position: relative;
  z-index: 2;
  padding: 16px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.40), rgba(255,255,255,0.16));
  border: 1px solid rgba(255,255,255,0.62);
  box-shadow:
    0 0 24px rgba(255, 185, 225, 0.16),
    inset 0 0 16px rgba(255,255,255,0.08);
}

.mainArtInner {
  overflow: hidden;
  border-radius: 22px;
  position: relative;
}

.mainFursonaArt {
  width: 100%;
  max-width: 520px;
  display: block;
  border-radius: 22px;
  transition: transform 0.35s ease;
  animation: fursonaIdle 6s ease-in-out infinite;
}

@keyframes fursonaIdle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.015); }
}

.mainShrineCard:hover .mainFursonaArt {
  transform: scale(1.02);
}

.shrineInfo {
  margin-top: 16px;
}

.featureTag {
  font-size: 12px;
  color: #c15d94;
  font-weight: 700;
}

.shrineInfo h2 {
  margin: 6px 0;
  color: #b44f82;
  font-size: 34px;
}

.shrineInfo p {
  margin: 0 auto;
  max-width: 640px;
  color: #8d5374;
  line-height: 1.85;
}

.shrineExtra {
  margin-top: 10px;
  max-width: 560px;
  font-size: 15px;
  color: #9a587d;
}

.identityPills {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.identityPills span {
  background: rgba(255,255,255,0.6);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #9a587d;
  font-weight: 700;
}

/* art credit */

.artCreditWrap {
  position: relative;
  overflow: hidden;
}

.artCreditWrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,160,210,0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 1;
}

.artCreditWrap:hover::before,
.artCreditWrap:focus-within::before {
  opacity: 1;
}

.artCreditLabel {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(18, 8, 16, 0.68);
  color: white;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 2;
  pointer-events: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.artCreditWrap:hover .artCreditLabel,
.artCreditWrap:focus-within .artCreditLabel {
  opacity: 1;
  transform: translateY(0);
}

.zoomableArt {
  cursor: zoom-in;
}

/* lightbox */

.galleryLightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 4, 8, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  z-index: 9999;
}

.galleryLightbox.open {
  display: flex;
}

.lightboxImage {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  border-radius: 18px;
  box-shadow:
    0 0 34px rgba(255, 120, 180, 0.28),
    0 18px 40px rgba(0,0,0,0.35);
}

.lightboxClose {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  color: white;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.infoCard:nth-child(2) {
  transform: rotate(1.2deg);
}

/* footer */

.siteFooter {
  max-width: 1320px;
  margin: 16px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #b05c89;
  font-size: 15px;
}

.footerLinks {
  display: flex;
  gap: 14px;
}

.footerLinks a {
  color: #c06c99;
  text-decoration: none;
}

.footerLinks a:hover {
  text-decoration: underline;
}

/* effects */

.floatingCard {
  animation: floaty 4s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.delay1 { transition-delay: 0.12s; }
.delay2 { transition-delay: 0.24s; }
.delay3 { transition-delay: 0.36s; }
.delay4 { transition-delay: 0.48s; }

@media (max-width: 900px) {
  .shrineRoom {
    grid-template-columns: 1fr;
  }

  .tiltedLeft {
    transform: none;
  }

  .mainFursonaArt {
    max-width: 100%;
  }

  .infoCard:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 760px) {
  .pageShell { padding: 14px; }
  .navButton { flex: 1 1 calc(50% - 8px); }
  .fursonaTitle { font-size: clamp(44px, 12vw, 72px); }
  .fursonaSubtitle { font-size: 16px; }
  .siteFooter { flex-direction: column; }
  .shrineRoom { padding: 18px; border-radius: 28px; }
  .noteCard h3,
  .infoCard h3,
  .shrineInfo h2 { font-size: 24px; }
}
