/* ===========================
   Mix My Indie Track (page scoped)
   =========================== */

/* Page palette */
:root {
  --mix-bg: #000000;
  --mix-fg: #eae8f5;       /* main copy */
  --mix-muted: #cfcbe0;    /* secondary copy */
  --mix-accent: #f0b392;   /* peach accent */
  --mix-cyan: #65fff9;     /* neon cyan edge highlight */
  --mix-border: rgba(255,255,255,.18);
}

/* Page base */
html, body { background: var(--mix-bg); }
#mix { max-width: 1100px; margin: 0 auto; padding: 0 16px; color: var(--mix-fg); }

/* Typography (uses your site’s custom fonts if @font-face in style.css) */
#mix h1, #mix h2, #mix h3, #mix header, #mix a { font-family: 'donovanregular', sans-serif; }
#mix p, #mix li { font-family: 'AwakeRegular', sans-serif; }

/* Sections */
#mix .section { padding: 12px 0; }
#mix .section + .section { border-top: 1px solid rgba(255,255,255,.06); }

/* Banner */
#mix .banner { padding: 8px 0; }
#mix .banner h1 {
  margin: 0;
  text-align: center;
  color: #fff;
  letter-spacing: .5px;
}

/* HERO layout */
#mix .hero {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: 1fr;                 /* mobile: stack */
  grid-template-areas: "photo" "text";
}
#mix .hero-photo { grid-area: photo; justify-self: center; }
#mix .hero-text  { grid-area: text; }

/* Desktop: photo | text */
@media (min-width: 900px) {
  #mix .hero {
    grid-template-columns: minmax(280px, 360px) 1fr;
    grid-template-areas: "photo text";
  }
}

/* Circular photo with white ring */
#mix .hero-photo img {
  width: clamp(240px, 32vw, 360px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 0 8px #fff, 0 6px 20px rgba(0,0,0,.45);
}

/* HERO text — flex so CTA can center across the whole column */
#mix .hero-text {
  display: flex;           /* (override any earlier grid ideas) */
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}
#mix .hero-text h2 {
  color: #fff;
  font-size: clamp(24px, 3.3vw, 40px);
  line-height: 1.22;
  margin: 0 0 12px;
}
#mix .accent { color: var(--mix-accent); }
#mix .lede   { font-size: clamp(18px, 2.2vw, 20px); color: var(--mix-muted); line-height: 1.6; }
#mix .tagline{ font-weight: 700; margin-top: 10px; color: #fff; }

/* CTA button (general) */
#mix .btn.cta {
  display: block;
  width: fit-content;
  margin: 16px auto 0;     /* centers in most containers */
  padding: 12px 22px;
  font-size: 18px;
  text-transform: none;
  color: #fff;
  background-color: #05adb0;
  border: 3px solid #4efcfc;
  border-radius: 10px;
  text-decoration: none;
  white-space: normal;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
}


/* CTA inside hero-text — center relative to the full column */
#mix .hero-text .btn.cta {
  align-self: center;      /* centers across hero-text column */
  margin: 16px 0 0;        /* ignore auto margins here */
  width: auto;
}

/* Grid & cards */
#mix .grid { display: grid; gap: 24px; }
#mix .grid-2 { grid-template-columns: 1fr; }
@media (min-width: 900px) { #mix .grid-2 { grid-template-columns: 1fr 1fr; } }

#mix .card {
  background: #0b0b0f;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
  color: var(--mix-fg);
}
#mix .card.neon {
  border: 1px solid #ffffff;
  outline: 1px solid var(--mix-border);
  outline-offset: -6px;
}

/* Headings & copy inside cards */
#mix h3 {
  color: #fff;
  font-size: clamp(18px, 2.2vw, 22px);
  margin: 8px 0 6px;
}
#mix p { color: var(--mix-fg); line-height: 1.65; }
#mix .card .big { font-size: clamp(18px, 2.1vw, 20px); }

/* Ordered list (process) */
#mix ol { text-align: left; max-width: 850px; margin: 0 auto; padding-left: 1.25rem; }
#mix ol li { margin-bottom: 12px; }

/* Links */
#mix a { color: #fff; text-decoration: none; }
#mix a:hover { color: #ddd; }

/* Pain points: force single column on all sizes */
#mix .pain { grid-template-columns: 1fr; }

/* “In the end…” emphasis (second card in pain section) */
#mix .pain > .card:last-child .big {
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.55;
  font-weight: 700;
  color: #ffffff;
}

/* Helpers */
#mix .center { text-align: center; }
#mix .support-img { width: 100%; height: auto; border-radius: 10px; margin-top: 12px; }

/* Mobile niceties */
@media (max-width: 600px) {
  #mix { padding-left: 12px; padding-right: 12px; }
  #mix .tagline { font-size: 18px; }
}
/* Hero: make CTA span full width below both columns */
#mix .hero {
  grid-template-areas: "photo" "text" "cta";     /* mobile: stack */
}

#mix .hero-cta {
  grid-area: cta;
  justify-self: center;                          /* center on page */
  display: inline-block;
  margin: 16px 0 0;
  width: auto;
}

@media (min-width: 900px) {
  #mix .hero {
    grid-template-columns: minmax(280px, 360px) 1fr;
    grid-template-areas: "photo text"
                         "cta   cta";
  }
} /* ← close the media query */

/* === MIX page CTA: keep size/shape, change skin, add animation === */
#mix .btn.cta {
  background: linear-gradient(90deg, #0ff, #f0b392);
  color: #000;
  border: none; /* hide old border */
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

/* remove any earlier hover filter and apply the animated glow/scale */
#mix .btn.cta:hover {
  filter: none;
  transform: scale(1.05);
  box-shadow: 0 0 15px #0ff, 0 0 25px #f0b392;
}

#mix .btn.cta:active {
  transform: scale(0.98);
}

#mix .btn.cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  #mix .btn.cta { transition: none; }
  #mix .btn.cta:hover,
  #mix .btn.cta:active { transform: none; box-shadow: none; }
}
/* === Make MIX page CTAs match planner Submit button (color + animation only) === */
#mix .btn.cta {
  /* keep existing padding/size/radius from earlier rules */
  background: linear-gradient(90deg, #0ff, #ff9955, #0ff);
  color: #000;
  border: none;                  /* hide the old cyan border */
  background-size: 200% 100%;    /* needed for the sweep */
  animation: buttonGradientShift 3s ease infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#mix .btn.cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #0ff, 0 0 25px #ff9955;
}

#mix .btn.cta:active { transform: scale(0.98); }

#mix .btn.cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* same keyframes name as planner so behavior matches */
@keyframes buttonGradientShift {
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  #mix .btn.cta { animation: none; transition: none; }
  #mix .btn.cta:hover, #mix .btn.cta:active { transform: none; box-shadow: none; }
}
/* === MIX page animated header (matching planner) === */
#mix .banner h1 {
  font-family: 'donovanregular', sans-serif;
  font-size: 4rem;
  text-align: center;
  margin: 0;               /* keep your banner compact */
  margin-top: 40px;   /* tweak this number to taste */
  color: #fff;             /* fallback if gradient fails */
  line-height: 1.1;
}


#mix .animated-header {
  display: block;
  width: 100%;
  background: linear-gradient(270deg, #0ff, #ff9955, #0ff);
  background-size: 600% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 1px #0ff, 0 0 2px #0ff, 0 0 4px #ff9955;
  animation: mix-gradientMove 6s linear infinite,
             mix-neonPulse 4s ease-in-out infinite alternate;
}

/* Keyframes (scoped names to avoid clashes) */
@keyframes mix-gradientMove {
  0%   { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}

@keyframes mix-neonPulse {
  0%   { text-shadow: 0 0 1px #0ff, 0 0 2px #0ff, 0 0 4px #ff9955; }
  50%  { text-shadow: 0 0 1.5px #0ff, 0 0 3px #0ff, 0 0 5px #ff9955; }
  100% { text-shadow: 0 0 1px #0ff, 0 0 2px #0ff, 0 0 4px #ff9955; }
}

/* Mobile tweak to match planner */
@media (max-width: 600px) {
  #mix .banner h1 { font-size: 3rem; }
}
/* Add space above the animated header */
#mix .banner {
  padding-top: 40px;   /* adjust the value until it feels right */
}

.footer {
font-size: 12px;
  margin-bottom: 16px;
  font-family: 'AwakeRegular'; sans-serif;
  font-weight: normal;
  color: #462582;
align-items: center;
  justify-content: center;
}
  
 .footer a:hover {
  text-decoration: underline; /* optional hover effect */
}
 .footer a {
  font-size: inherit;               /* overrides global a{font-size:28px} */
  color: inherit;
  text-decoration: none;
} 
#mix .player-title { font-family: 'donovanregular', sans-serif; text-align: center;
}
.hero-copy .through-line {
  margin-top: 20px;
  color: var(--accent);
  font-family: 'donovanregular', Helvetica, Arial, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.12;
}