/* ============================================================
   TCG BADDIES — v1 Stylesheet
   Y2K bubblegum base + holo accents (see 05_Brand_Guidelines.md)
   Palette is DRAFT until extracted from the logo artwork.
   ============================================================ */

:root {
  /* Core (DRAFT) */
  --pink: #FF4FA3;
  --pink-deep: #C90E73; /* AA-safe on cream/white/baby-soft (5.3:1 on cream) */
  --pink-soft: #FFB3D9;
  --baby: #FFD9EC;
  --baby-soft: #FFEAF5;
  --cream: #FFF9FC;
  --ink: #231229;
  --ink-soft: #5A4463;
  --white: #FFFFFF;

  /* Holo system (DRAFT) */
  --holo-1: #FF9AD5;
  --holo-2: #C9A7FF;
  --holo-3: #9AD9FF;
  --holo-4: #A9FFD9;
  --holo-grad: linear-gradient(90deg, var(--holo-1) 0%, var(--holo-2) 33%, var(--holo-3) 66%, var(--holo-4) 100%);
  --holo-grad-135: linear-gradient(135deg, var(--holo-1) 0%, var(--holo-2) 35%, var(--holo-3) 70%, var(--holo-4) 100%);

  /* Type */
  --font-display: "Baloo 2", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --font-accent: "Caveat", cursive;

  /* Shape & motion */
  --radius: 22px;
  --radius-pill: 999px;
  --shadow-soft: 0 12px 40px rgba(255, 79, 163, 0.16);
  --shadow-lift: 0 20px 60px rgba(35, 18, 41, 0.14);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset & base ---------- */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--pink-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--pink); color: var(--white); }

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

section { padding: clamp(3.5rem, 8vw, 6rem) 0; position: relative; }

/* ---------- Type utilities ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink-deep);
}

h1.display { font-size: clamp(2.9rem, 9vw, 5.8rem); }
h2.display { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h3.display { font-size: clamp(1.35rem, 3.5vw, 1.8rem); }

.holo-text {
  background: var(--holo-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pink-text { color: var(--pink); }

.accent-note {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  color: var(--pink-deep);
  display: inline-block;
}

.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ---------- Chips, badges, sparkles ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--pink);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.chip.holo { background: var(--holo-grad); color: var(--ink); }
.chip.ghost { background: var(--baby-soft); color: var(--pink-deep); border: 1.5px solid var(--baby); }
.chip.big { padding: 0.6rem 1.4rem; font-size: 0.95rem; }
.chip.sticker { transform: rotate(-2.5deg); box-shadow: var(--shadow-soft); }

.sparkle { color: var(--pink); user-select: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 2.1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  border: 2.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-bounce), box-shadow 0.25s ease, background 0.25s ease;
  text-decoration: none !important;
}

.btn-primary {
  background: var(--pink);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(255, 79, 163, 0.4);
}
.btn-primary:hover {
  background: var(--pink-deep);
  color: var(--white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px rgba(231, 54, 143, 0.45);
}

.btn-holo {
  background: var(--holo-grad);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(201, 167, 255, 0.4);
}
.btn-holo:hover { transform: translateY(-3px) scale(1.02); color: var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--pink-deep);
  border-color: var(--pink);
}
.btn-ghost:hover {
  background: var(--baby-soft);
  transform: translateY(-3px);
}

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 252, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1.5px solid var(--baby);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: 0.01em;
  text-decoration: none !important;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--holo-grad);
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(255, 154, 213, 0.5);
}
/* TODO(LOGO): when the logo file lands in ../ (project root), drop it in
   assets/ and replace .brand-mark with an <img>. Structure is ready. */

.nav-links {
  display: none;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.98rem;
  text-decoration: none !important;
  position: relative;
  padding: 0.3rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 3px;
  border-radius: 3px;
  background: var(--holo-grad);
  transition: right 0.3s var(--ease-bounce);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { right: 0; }

.nav-links a[aria-current="page"] { color: var(--pink-deep); }

.nav-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: var(--baby-soft);
  border: 1.5px solid var(--baby);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0 1.5rem;
  border-top: 1.5px dashed var(--baby);
  list-style: none;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none !important;
}
.mobile-menu a:hover { background: var(--baby-soft); color: var(--pink-deep); }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; padding: 0.6rem 1.4rem; font-size: 0.95rem; }
  .nav-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

/* soft holo glow blobs */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
}
.hero::before {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--holo-1), transparent 70%);
  top: -160px; right: -140px;
}
.hero::after {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--holo-3), transparent 70%);
  bottom: -200px; left: -160px;
}

.hero-inner { position: relative; z-index: 1; }

.hero h1 { margin: 1.1rem 0 0.4rem; }

.hero .accent-note { margin: 0.6rem 0 1.2rem; }

.hero .lead { margin-bottom: 2.2rem; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.95rem;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }

/* ---------- Marquee ---------- */

.marquee {
  background: var(--ink);
  padding: 0.9rem 0;
  overflow: hidden;
  transform: rotate(-1.2deg) scale(1.02);
  margin: 1rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee-track span {
  margin-right: 2.5rem; /* margin, not track gap: keeps both halves identical for the -50% loop */
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  white-space: nowrap;
}
.marquee-track span:nth-child(even) {
  background: var(--holo-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Cards & grids ---------- */

.grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.grid-3 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }

@media (min-width: 700px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow-soft);
  border: 1.5px solid var(--baby);
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

.card .card-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  font-size: 1.6rem;
  background: var(--baby-soft);
  margin-bottom: 1.1rem;
}

.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }

/* holo-bordered variant (the signature move) */
.card.holo-edge {
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    var(--holo-grad) border-box;
  border: 2.5px solid transparent;
}

/* section headers */
.section-head { max-width: 640px; }
.section-head h2 { margin: 0.9rem 0 0.8rem; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Pink band (manifesto teaser) ---------- */

.band-pink {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.25), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(35, 18, 41, 0.12), transparent 50%),
    var(--pink);
  color: var(--ink);
}

.band-pink .lead { color: rgba(35, 18, 41, 0.82); }

.band-quote {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  line-height: 1.15;
  margin: 1.4rem 0;
  max-width: 22ch;
}

/* ---------- Baddie cards ---------- */

.baddie-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 2rem 1.8rem;
}

.baddie-avatar {
  width: 96px;
  height: 96px;
  border-radius: 32px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--ink);
  background: var(--holo-grad);
  box-shadow: 0 8px 24px rgba(255, 154, 213, 0.45);
}
/* TODO(LOGO/PHOTO): swap initial avatar for Kazandra's photo in assets/. */

.baddie-role {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--pink-deep);
}

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.baddie-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 800;
  font-size: 0.95rem;
}

/* open seat card */
.card.open-seat {
  border: 2.5px dashed var(--pink);
  background: var(--baby-soft);
  box-shadow: none;
  text-align: center;
  align-items: center;
}
.card.open-seat:hover { transform: none; box-shadow: var(--shadow-soft); }
.open-seat .card-icon { margin-inline: auto; background: var(--white); }

/* ---------- Episode / platform cards ---------- */

.platform-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 2.2rem;
}
@media (min-width: 800px) { .platform-row { grid-template-columns: repeat(3, 1fr); } }

.platform-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.6rem;
  border-radius: 18px;
  background: var(--white);
  border: 1.5px solid var(--baby);
  box-shadow: var(--shadow-soft);
  font-weight: 800;
  color: var(--ink);
  text-decoration: none !important;
  transition: transform 0.25s var(--ease-bounce), border-color 0.25s ease;
}
.platform-card:hover { transform: translateY(-4px); border-color: var(--pink); }
.platform-card .arrow { color: var(--pink); font-size: 1.2rem; }

/* coming-soon (non-link) variant */
.platform-card.soon { cursor: default; }
.platform-card.soon:hover { transform: none; border-color: var(--baby); }
.platform-card .soon-note {
  color: var(--pink-deep);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: right;
}

/* TODO(PLATFORMS): point these at the real show links when they exist. */

/* ---------- Newsletter ---------- */

.newsletter-card {
  background:
    linear-gradient(var(--ink), var(--ink)) padding-box,
    var(--holo-grad) border-box;
  border: 3px solid transparent;
  border-radius: 28px;
  padding: clamp(2.2rem, 6vw, 3.6rem);
  color: var(--white);
  box-shadow: var(--shadow-lift);
}

.newsletter-card h2 { color: var(--white); }
.newsletter-card p { color: rgba(255, 249, 252, 0.75); }

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.8rem;
  max-width: 520px;
}
@media (min-width: 620px) {
  .newsletter-form { flex-direction: row; }
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 1rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
}
.newsletter-form input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--holo-2);
  background: rgba(255, 255, 255, 0.12);
}

.form-note {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: rgba(255, 249, 252, 0.55);
}

/* ---------- Manifesto page ---------- */

.manifesto-body {
  max-width: 720px;
  margin-inline: auto;
}

.manifesto-body p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 3.2vw, 1.7rem);
  line-height: 1.35;
  margin-bottom: 1.5rem;
}

.manifesto-body p.statement { color: var(--pink-deep); font-weight: 800; }
.manifesto-body .pink-text { color: var(--pink-deep); } /* AA at body sizes; --pink reserved for large display type */
.manifesto-body p.whisper { font-weight: 600; color: var(--ink-soft); }

.manifesto-signoff {
  font-family: var(--font-accent);
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--pink);
  margin-top: 2.5rem;
}

/* ---------- Contact ---------- */

.contact-list { list-style: none; margin-top: 2rem; display: grid; gap: 1rem; }
.contact-list .card { display: flex; gap: 1.1rem; align-items: flex-start; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 249, 252, 0.72);
  padding: 3.5rem 0 2.2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.site-footer .brand-lockup { color: var(--white); }
.site-footer h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}
.site-footer ul { list-style: none; display: grid; gap: 0.55rem; }
.site-footer a { color: rgba(255, 249, 252, 0.72); font-weight: 600; text-decoration: none; }
.site-footer a:hover { color: var(--pink); text-decoration: none; }

.footer-bottom {
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 249, 252, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-bounce);
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .platform-card { transition: none; }
}
