/* "Welcome to Planet Color" landing page — built from Yvonne's layered art. */
:root {
  --void: #0a0820;
  --teal: #5FF0C0;
  --teal2: #8FF3E0;
  --green: #8CFF3B;
  --pink: #FF2E88;
  --lav: #cfcbe8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  color: #fff;
  background: var(--void);
  overflow-x: hidden;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* fixed galaxy backdrop */
.galaxy-bg {
  position: fixed; inset: 0; z-index: -2;
  background: var(--void) url('../images/landing/bg-galaxy.jpg') center top / cover no-repeat;
}
.galaxy-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,32,0) 55%, rgba(10,8,32,0.55) 100%);
}

.lp { position: relative; z-index: 1; width: min(1180px, 94vw); margin: 0 auto; text-align: center; padding-bottom: 2rem; }

/* ---- hero ---- */
.lp-hero { position: relative; padding-top: 2.8rem; padding-bottom: 4%; }
.welcome-title { width: min(660px, 88vw); margin: 0 auto 0.3rem; position: relative; z-index: 3; }
.home-of {
  font-family: 'Fredoka', 'Space Grotesk', sans-serif; font-weight: 500;
  color: var(--teal2); letter-spacing: 0.2em; text-transform: uppercase;
  font-size: clamp(1.05rem, 3vw, 1.6rem); margin: 0.7rem 0 0.5rem;
  text-shadow: 0 0 12px rgba(126,233,208,0.65); position: relative; z-index: 3;
}
.logo-arstars { width: min(780px, 94vw); margin: 0 auto; filter: drop-shadow(0 0 22px rgba(140,255,59,0.35)); position: relative; z-index: 3; }
.planet-green {
  position: absolute; z-index: 1; pointer-events: none;
  left: 50%; top: 0; transform: translateX(-50%);
  width: min(760px, 94vw);
}

/* ---- three columns: coloring | pass | studio ---- */
.lp-cols {
  display: grid; grid-template-columns: 1fr 0.85fr 1fr; gap: 1.2rem;
  align-items: start; margin-top: -4%; position: relative; z-index: 2;
}
.lp-col { display: flex; flex-direction: column; align-items: center; }
.preview-link { display: block; width: 100%; max-width: 360px; transition: transform 0.18s ease, filter 0.18s ease; }
.preview-link:hover { transform: translateY(-6px) scale(1.02); filter: drop-shadow(0 0 20px rgba(140,255,59,0.55)); }
.caption {
  font-family: 'Fredoka', 'Space Grotesk', sans-serif; font-weight: 600;
  color: var(--teal); line-height: 1.25; max-width: 15ch; margin: 0.9rem auto 0;
  font-size: clamp(1.18rem, 2.7vw, 1.62rem); text-shadow: 0 0 12px rgba(95,240,192,0.6);
}

/* center pass column */
.pass-col { padding-top: 0.5rem; }
.pass-link {
  display: block; width: 100%; max-width: 300px; margin: 0 auto;
  transform-origin: top center; animation: swing 5.5s ease-in-out infinite;
  transition: filter 0.2s ease;
}
.pass-link:hover { filter: drop-shadow(0 0 26px rgba(233,79,224,0.75)); }
@keyframes swing { 0%,100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
.unlock {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--green);
  text-transform: uppercase; line-height: 1.02; margin: 0.7rem auto 0;
  font-size: clamp(1.35rem, 3.4vw, 2.1rem);
  text-shadow: 0 0 16px rgba(140,255,59,0.75), 0 0 36px rgba(140,255,59,0.4);
}

/* ---- books ---- */
.lp-books { margin-top: 2.4rem; }
.explore {
  font-family: 'Fredoka', 'Space Grotesk', sans-serif; font-weight: 600; color: var(--teal);
  font-size: clamp(1.1rem, 3vw, 1.7rem); line-height: 1.25; margin: 0 auto 1.2rem; max-width: 26ch;
  text-shadow: 0 0 12px rgba(95,240,192,0.55);
}
.explore b { color: var(--green); }
.book-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.book-row a {
  display: block; width: 150px; border-radius: 8px; overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.55); transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.book-row a:hover { transform: translateY(-6px) scale(1.03); box-shadow: 0 12px 30px rgba(233,79,224,0.45); }

/* ---- footer ---- */
.lp-footer { margin-top: 2.6rem; padding: 1.6rem 0 2rem; text-align: center; border-top: 1px solid rgba(255,255,255,0.12); }
.lp-footer a { color: var(--teal2); font-weight: 600; margin: 0 0.7rem; font-size: 0.95rem; }
.lp-footer a:hover { color: var(--green); }
.lp-footer p { color: #9a95bd; font-size: 0.8rem; margin: 0.8rem 0 0; }

/* ---- responsive ---- */
@media (max-width: 820px) {
  .lp-cols { grid-template-columns: 1fr; gap: 2.2rem; }
  .planet-green { top: 0; width: min(480px, 96vw); }
  .pass-link { max-width: 240px; }
}
@media (prefers-reduced-motion: reduce) { .pass-link { animation: none; } }
