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

/* ========================= */
/* BACKGROUND */
/* ========================= */

.artBg {
  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%);
}

.artGlow {
  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);
  }
}

.artGrid {
  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;
}

.artSpark {
  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 */
/* ========================= */

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

.artTiny {
  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;
}

.artTitle {
  margin: 14px 0 8px 0;
  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));
}

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

/* ========================= */
/* SCENE */
/* ========================= */

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

.galleryRoom {
  position: relative;
  border-radius: 38px;
  padding: 28px 24px 28px;
  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);
}

/* ========================= */
/* TOP ROW */
/* ========================= */

.frameNote,
.featuredFrame,
.smallFrame,
.bottomCard,
.showcaseSlider {
  box-shadow:
    0 18px 34px rgba(255, 154, 206, 0.12),
    inset 0 0 0 1px rgba(255,255,255,0.12);
}

.noteLeft,
.noteRight {
  position: absolute;
  top: 38px;
  width: 250px;
  padding: 20px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff4fb 0%, #ffe7f5 100%);
  border: 1px solid rgba(255,255,255,0.76);
  z-index: 2;
}

.noteLeft {
  left: 32px;
  transform: rotate(-2deg);
}

.noteRight {
  right: 32px;
  transform: rotate(2deg);
}

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

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

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

/* ========================= */
/* FEATURED FRAME */
/* ========================= */

.featuredFrame {
  max-width: 520px;
  margin: 0 auto;
  padding-top: 12px;
  text-align: center;
}

.frameOuter {
  padding: 18px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.38), rgba(255,255,255,0.18));
  border: 1px solid rgba(255,255,255,0.64);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.frameOuter:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 28px rgba(255, 160, 210, 0.22),
    0 20px 38px rgba(255, 154, 206, 0.18);
}

.frameInner {
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.54);
  aspect-ratio: 4 / 5;
  position: relative;
}

.featuredArtImage {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(255,255,255,0.28);
  display: block;
}

.frameInfo {
  margin-top: 18px;
}

.featureTag {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.42);
  border: 1px solid rgba(255,255,255,0.58);
  color: #bf5f95;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: lowercase;
}

.frameInfo h2 {
  margin: 14px 0 10px 0;
  font-size: 34px;
  color: #b84e82;
  line-height: 1.05;
}

.frameInfo p {
  margin: 0 auto;
  max-width: 500px;
  color: #8e5374;
  line-height: 1.9;
  font-size: 16px;
}

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

.framePills span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.42);
  border: 1px solid rgba(255,255,255,0.58);
  color: #9a587d;
  font-size: 12px;
  font-weight: 700;
}

/* ========================= */
/* SIDE FRAMES */
/* ========================= */

.sideFrames {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.smallFrame {
  padding: 14px;
  border-radius: 24px;
  background: rgba(255,255,255,0.38);
  border: 1px solid rgba(255,255,255,0.60);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.smallFrame:hover {
  box-shadow:
    0 0 24px rgba(255, 160, 210, 0.20),
    0 18px 34px rgba(255, 154, 206, 0.18);
}

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

.rotateRight {
  transform: rotate(2deg);
}

.smallFrameOuter {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.52);
  aspect-ratio: 1 / 1.15;
  position: relative;
}

.smallFrameImage {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(255,255,255,0.28);
  display: block;
}

.smallFrameLabel {
  padding-top: 12px;
}

.smallFrameLabel h3 {
  margin: 0 0 6px 0;
  color: #b54f83;
  font-size: 22px;
  line-height: 1.08;
}

.smallFrameLabel p {
  margin: 0;
  color: #8b5574;
  line-height: 1.8;
}

/* ========================= */
/* BOTTOM */
/* ========================= */

.bottomGallery {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
  margin-top: 24px;
}

.bottomCard {
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255,255,255,0.38);
  border: 1px solid rgba(255,255,255,0.60);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bottomCard:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 26px rgba(255, 160, 210, 0.20),
    0 18px 34px rgba(255, 154, 206, 0.18);
}

.bottomImageWrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.34);
  position: relative;
}

.tallCard .bottomImageWrap {
  aspect-ratio: 4 / 5;
}

.bottomImage {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(255,255,255,0.28);
  display: block;
}

.bottomInfo {
  padding: 18px;
}

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

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

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

/* ========================= */
/* SHOWCASE SLIDER */
/* ========================= */

.showcaseSection {
  margin-top: 28px;
}

.showcaseTop {
  text-align: center;
  margin-bottom: 16px;
}

.showcaseTag {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.42);
  border: 1px solid rgba(255,255,255,0.58);
  color: #bf5f95;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: lowercase;
}

.showcaseTop h2 {
  margin: 12px 0 8px;
  color: #b44f82;
  font-size: 34px;
  line-height: 1.05;
}

.showcaseTop p {
  margin: 0;
  color: #8d5374;
  line-height: 1.8;
}

.showcaseSlider {
  position: relative;
  border-radius: 28px;
  padding: 18px;
  background: rgba(255,255,255,0.38);
  border: 1px solid rgba(255,255,255,0.60);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.showcaseTrack {
  position: relative;
  min-height: 420px;
}

.showcaseSlide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.showcaseSlide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.showcaseImageWrap {
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.52);
}

.showcaseImage {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: contain;
  background: rgba(255,255,255,0.28);
  display: block;
}

.showcaseDots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.showcaseDot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(191, 95, 149, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.showcaseDot.active {
  background: #ff72b7;
  transform: scale(1.1);
}

/* cleaner slider patch */
.galleryRoomClean .featuredFrame {
  padding-top: 0;
}

.galleryRoomClean .showcaseInfo {
  display: none;
}

/* ========================= */
/* ART CREDIT + HOVER */
/* ========================= */

.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);
}

.artZoomable {
  cursor: zoom-in;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.artCreditWrap:hover .artZoomable,
.artCreditWrap:focus-within .artZoomable {
  transform: scale(1.04);
  filter: brightness(1.04);
}

/* ========================= */
/* LIGHTBOX */
/* ========================= */

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

.artLightbox.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;
  transition: transform 0.2s ease, background 0.2s ease;
}

.lightboxClose:hover {
  transform: scale(1.06);
  background: rgba(255,255,255,0.26);
}

/* ========================= */
/* FOOTER */
/* ========================= */

.siteFooter {
  max-width: 1320px;
  margin: 16px auto 0 auto;
  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; }

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 1200px) {
  .noteLeft,
  .noteRight {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    transform: none;
    margin-bottom: 18px;
  }

  .sideFrames {
    grid-template-columns: 1fr 1fr;
  }

  .bottomGallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .pageShell {
    padding: 14px;
  }

  .navButton {
    flex: 1 1 calc(50% - 8px);
  }

  .artTitle {
    font-size: clamp(44px, 12vw, 72px);
  }

  .artSubtitle {
    font-size: 16px;
  }

  .siteFooter {
    flex-direction: column;
  }

  .galleryRoom {
    padding: 18px;
    border-radius: 28px;
  }

  .sideFrames {
    grid-template-columns: 1fr;
  }

  .frameInfo h2,
  .frameNote h3,
  .bottomInfo h3,
  .showcaseTop h2 {
    font-size: 24px;
  }

  .artLightbox {
    padding: 16px;
  }

  .lightboxClose {
    top: 12px;
    right: 14px;
  }

  .showcaseTrack {
    min-height: 280px;
  }

  .showcaseImage {
    min-height: 240px;
  }
}
