/* =====================================================
   WORLD OF LUCY KAY
   Imagination Room - imagination.css v0.1
===================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  background: #060704;
  color: #fff;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

.imagination-page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 86px;
}

.imagination-bg {
  position: fixed;
  inset: 0;
  background: url("gateway.webp") center center / cover no-repeat;
  transform: scale(1.03);
  filter: blur(1px) saturate(0.9) brightness(0.70);
  z-index: 0;
}

.imagination-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 236, 172, 0.14), rgba(64, 58, 108, 0.10) 35%, rgba(0, 0, 0, 0.56) 74%, rgba(0, 0, 0, 0.84) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.24) 38%, rgba(0, 0, 0, 0.84) 100%);
}

.gold-frame {
  position: fixed;
  inset: 22px;
  border: 1px solid rgba(203, 164, 91, 0.56);
  z-index: 5;
  pointer-events: none;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

/* HEADER */

.imagination-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 30px 64px 0;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 42px;
}

.nav-right {
  justify-content: flex-end;
}

.nav-left a,
.nav-right a {
  color: rgba(255, 245, 220, 0.94);
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-size: 0.83rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
  transition: 0.3s ease;
}

.nav-left a:hover,
.nav-right a:hover {
  color: #e2bf72;
  text-shadow: 0 0 14px rgba(226, 191, 114, 0.5);
}

.imagination-logo {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 174, 92, 0.9);
  border-radius: 50%;
  background: rgba(10, 14, 8, 0.5);
  color: #f5d48a;
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.85rem;
  box-shadow: 0 0 20px rgba(203, 164, 91, 0.28);
}

/* HERO */

.imagination-hero {
  position: relative;
  z-index: 8;
  max-width: 1040px;
  margin: 72px auto 0;
  padding: 0 24px;
  text-align: center;
}

.eyebrow,
.section-kicker,
.prompt-label {
  margin-bottom: 12px;
  color: rgba(245, 212, 138, 0.95);
  font-family: "Cinzel", serif;
  font-size: 0.78rem;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
}

.imagination-hero h1 {
  color: #fff7e8;
  font-family: "Cinzel", serif;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.75);
}

.imagination-hero h1 span {
  display: block;
  font-size: clamp(3rem, 5.3vw, 5.8rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 0.92;
}

.imagination-hero h1 em {
  display: block;
  margin-top: 8px;
  color: #fff2d0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 3.8vw, 4.4rem);
  font-style: italic;
  font-weight: 400;
  line-height: 0.9;
}

.hero-subtitle {
  max-width: 790px;
  margin: 24px auto 0;
  color: rgba(255, 245, 220, 0.94);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.18rem, 1.54vw, 1.72rem);
  font-style: italic;
  line-height: 1.4;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

/* GENERAL SECTIONS */

.archive-intro,
.creative-note,
.future-worlds,
.usage-note {
  position: relative;
  z-index: 8;
  width: min(980px, 90vw);
  margin: 0 auto 40px;
  padding: 40px 44px;
  border: 1px solid rgba(203, 164, 91, 0.42);
  background: rgba(10, 15, 8, 0.64);
  backdrop-filter: blur(5px);
  text-align: center;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.045),
    0 18px 45px rgba(0, 0, 0, 0.34);
}

.archive-intro {
  width: min(880px, 88vw);
  margin-top: 50px;
  padding: 28px 36px;
  background: rgba(9, 14, 8, 0.56);
}

.archive-intro p,
.creative-note p,
.future-worlds > p,
.usage-note p {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(255, 245, 220, 0.88);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.22rem;
  font-style: italic;
  line-height: 1.45;
}

.creative-note h2,
.prompt-copy h2,
.card-content h2,
.future-worlds h2,
.usage-note h2 {
  color: #fff7e8;
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 3.2vw, 3.3rem);
  font-weight: 400;
  letter-spacing: 0.1em;
}

/* FEATURED PROMPT */

.featured-prompt {
  position: relative;
  z-index: 8;
  width: min(1100px, 92vw);
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 36px;
  align-items: stretch;
  padding: 32px;
  border: 1px solid rgba(203, 164, 91, 0.52);
  background:
    linear-gradient(rgba(12, 19, 10, 0.74), rgba(12, 19, 10, 0.74)),
    radial-gradient(circle at top left, rgba(224, 180, 89, 0.16), transparent 58%);
  backdrop-filter: blur(5px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 24px 58px rgba(0, 0, 0, 0.45);
}

.prompt-image,
.card-image {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(203, 164, 91, 0.42);
  background:
    radial-gradient(circle at center, rgba(224, 180, 89, 0.14), transparent 58%),
    linear-gradient(135deg, rgba(239, 225, 186, 0.12), rgba(12, 21, 11, 0.7));
}

.prompt-image {
  aspect-ratio: 4 / 5;
}

.card-image {
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid rgba(203, 164, 91, 0.38);
}

.prompt-image img,
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prompt-image::after,
.card-image::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(224, 180, 89, 0.18);
  pointer-events: none;
}

.prompt-image.missing-image::before,
.card-image.missing-image::before {
  content: "Image Placeholder";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(245, 212, 138, 0.72);
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.prompt-copy p:not(.prompt-label),
.card-content p:not(.prompt-label):not(.world-label) {
  margin-top: 18px;
  color: rgba(255, 245, 220, 0.88);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.14rem;
  font-style: italic;
  line-height: 1.42;
}

.prompt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.prompt-tags span,
.prompt-number {
  padding: 8px 14px;
  border: 1px solid rgba(224, 180, 89, 0.38);
  background: rgba(5, 8, 5, 0.36);
  color: rgba(255, 245, 220, 0.86);
  font-family: "Cinzel", serif;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.prompt-number {
  display: inline-block;
  margin-bottom: 18px;
}

.prompt-box {
  margin-top: 28px;
  padding: 22px 22px 18px;
  border: 1px solid rgba(203, 164, 91, 0.36);
  background: rgba(5, 8, 5, 0.44);
}

.prompt-box.small {
  margin-top: 22px;
}

.prompt-box p {
  margin-top: 0 !important;
}

.prompt-label {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
}

.prompt-meta {
  margin-top: 20px;
}

.prompt-meta span {
  color: rgba(245, 212, 138, 0.84);
  font-family: "Cinzel", serif;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* GRID */

.prompt-grid {
  position: relative;
  z-index: 8;
  width: min(1160px, 92vw);
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.prompt-card {
  border: 1px solid rgba(203, 164, 91, 0.48);
  background: rgba(10, 15, 8, 0.68);
  backdrop-filter: blur(5px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.045),
    0 20px 48px rgba(0, 0, 0, 0.42);
  transition: 0.32s ease;
  overflow: hidden;
}

.prompt-card:hover {
  transform: translateY(-7px);
  border-color: rgba(224, 180, 89, 0.82);
  background:
    linear-gradient(rgba(14, 26, 12, 0.74), rgba(14, 26, 12, 0.74)),
    radial-gradient(circle at top, rgba(224, 180, 89, 0.16), transparent 60%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 26px rgba(224, 180, 89, 0.16),
    0 26px 58px rgba(0, 0, 0, 0.52);
}

.card-content {
  padding: 26px 22px 28px;
}

.card-content h2 {
  font-size: 1.18rem;
  margin-bottom: 6px;
}

/* BUTTON */

.archive-button {
  position: relative;
  display: inline-block;
  margin-top: 26px;
  padding: 13px 26px;
  border: 1px solid rgba(224, 180, 89, 0.82);
  background: rgba(14, 30, 14, 0.78);
  color: #f6d99a;
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: 0.3s ease;
}

.archive-button::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(224, 180, 89, 0.22);
  pointer-events: none;
}

.archive-button:hover {
  background: rgba(12, 25, 12, 0.92);
  color: #ffe2a3;
  border-color: rgba(245, 203, 112, 0.95);
  box-shadow:
    0 0 20px rgba(224, 180, 89, 0.34),
    0 16px 36px rgba(0, 0, 0, 0.34);
  transform: translateY(-3px);
}

/* FUTURE GRID */

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

.future-grid article {
  padding: 28px 22px;
  border: 1px solid rgba(203, 164, 91, 0.36);
  background: rgba(5, 8, 5, 0.42);
}

.future-grid span {
  color: #d7ae5c;
  font-family: "Cinzel", serif;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
}

.future-grid h3 {
  margin-top: 22px;
  color: #fff4d6;
  font-family: "Cinzel", serif;
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.future-grid p {
  margin-top: 12px !important;
  color: rgba(255, 245, 220, 0.72);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.02rem;
  font-style: italic;
}

/* ANIMATION */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.imagination-header,
.imagination-hero,
.archive-intro,
.creative-note,
.featured-prompt,
.prompt-card,
.future-worlds,
.usage-note {
  animation: fadeUp 1.1s ease both;
}

.imagination-hero { animation-delay: 0.12s; }
.archive-intro { animation-delay: 0.18s; }
.creative-note { animation-delay: 0.24s; }
.featured-prompt { animation-delay: 0.3s; }
.prompt-card:nth-child(1) { animation-delay: 0.38s; }
.prompt-card:nth-child(2) { animation-delay: 0.46s; }
.prompt-card:nth-child(3) { animation-delay: 0.54s; }
.future-worlds { animation-delay: 0.62s; }
.usage-note { animation-delay: 0.7s; }

/* RESPONSIVE */

@media (max-width: 1100px) {
  .prompt-grid {
    grid-template-columns: 1fr;
    width: min(760px, 92vw);
  }
}

@media (max-width: 980px) {
  .imagination-header {
    padding: 28px 36px 0;
  }

  .nav-left,
  .nav-right {
    gap: 24px;
  }

  .featured-prompt {
    grid-template-columns: 1fr;
  }

  .prompt-image {
    width: min(420px, 100%);
    margin: 0 auto;
  }

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

@media (max-width: 760px) {
  .gold-frame {
    inset: 12px;
  }

  .imagination-header {
    grid-template-columns: 1fr;
    gap: 18px;
    justify-items: center;
    padding: 24px 18px 0;
  }

  .nav-left,
  .nav-right {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .imagination-hero {
    margin-top: 48px;
  }

  .archive-intro,
  .creative-note,
  .future-worlds,
  .usage-note {
    padding: 34px 24px;
  }

  .featured-prompt {
    padding: 28px 22px;
  }

  .prompt-tags {
    justify-content: center;
  }

  .archive-button {
    width: 100%;
    text-align: center;
  }
}
