/* ===========================
   Master My Indie Track (page scoped)
   Clean copy of mix.css with:
   - palette tweaks (cooler + darker violet)
   - CTA sweep via ::before (no conflicts)
   =========================== */

/* Page palette */
:root {
  --mix-bg: #0a0b0d;        /* softer charcoal */
  --mix-fg: #e6e9f2;        /* main copy */
  --mix-muted: #c5c8d4;     /* secondary copy */
  --mix-accent: #b3b4ff;    /* headings accent */
  --mix-cyan: #84f7f0;      /* aqua highlight */
  --mix-border: rgba(255,255,255,.12);
  --violet-deep: #5b21b6;   /* darker/saturated violet */
}

/* ===== Base / structure (unchanged from mix.css) ===== */




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

#mix h1, #mix h2, #mix h3, #mix header, #mix a { font-family: 'donovanregular', sans-serif; }
#mix p, #mix li { font-family: 'AwakeRegular', sans-serif; }

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

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

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



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

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

#mix .hero-text { display: flex; 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 8px; }
#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 base (sizes/spacing unchanged) */



#mix a.btn.cta {
  position: relative;               /* for ::before animation layer */
  display: block;
  width: fit-content;
  margin: 10px auto 0;
  padding: 12px 22px;
  font-size: 18px;
  border-radius: 10px;
  text-decoration: none;
  color: #000;
  border: none;                     /* skin via gradient layer *//*
  white-space: normal;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  overflow: hidden;                 /* keep animated layer clipped */
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease;
}

#mix .hero-text .btn.cta { align-self: center; margin: 10px 0 0; width: auto; }

#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; }

#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(20px, 2.1vw, 22px); }

#mix ol { text-align: left; max-width: 850px; margin: 0 auto; padding-left: 1.25rem; }
#mix ol li { margin-bottom: 12px; }

#mix a { color: #eaf4ff; text-decoration: none; }
#mix a:hover { color: #d7e6ff; }

#mix .pain { grid-template-columns: 1fr; }

#mix .pain > .card:last-child .big {
  font-size: clamp(22px, 2.6vw, 26px); line-height: 1.55; font-weight: 700; color: #ffffff;
}

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

@media (max-width: 600px) {
  #mix { padding-left: 12px; padding-right: 12px; }
  #mix .tagline { font-size: 18px; }
}

/* hero CTA position on both columns */
#mix .hero { grid-template-areas: "photo" "text" "cta"; }
#mix .hero-cta { grid-area: cta; justify-self: center; 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"; }
}

/* Animated header (colors adjusted) */
#mix .banner h1 {
  font-family: 'donovanregular', sans-serif;
  font-size: 4rem; text-align: center; margin: 0; margin-top: 40px; color: #fff; line-height: 1.1;
}
#mix .animated-header {
  display: block; width: 100%;
  background: linear-gradient(270deg, var(--mix-cyan), var(--violet-deep), var(--mix-cyan));
  background-size: 600% 100%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 0 1px var(--mix-cyan), 0 0 2px var(--violet-deep), 0 0 4px var(--violet-deep);
  animation: mix-gradientMove 6s linear infinite, mix-neonPulse 4s ease-in-out infinite alternate;
}
@keyframes mix-gradientMove { 0%{background-position:0% 0} 100%{background-position:100% 0} }
@keyframes mix-neonPulse {
  0%{ text-shadow: 0 0 1px var(--mix-cyan), 0 0 2px var(--violet-deep), 0 0 4px var(--violet-deep); }
  50%{ text-shadow: 0 0 2px var(--mix-cyan), 0 0 5px var(--violet-deep), 0 0 8px var(--violet-deep); }
  100%{ text-shadow: 0 0 1px var(--mix-cyan), 0 0 2px var(--violet-deep), 0 0 4px var(--violet-deep); }
}
@media (max-width: 600px) { #mix .banner h1 { font-size: 3rem; } }
#mix .banner { padding-top: 40px; }

/* CGT footer (unchanged) */
#cgt .footer { font-size: 12px; margin-bottom: 16px; font-family: 'AwakeRegular', sans-serif; font-weight: normal; color: #462582; align-items: center; justify-content: center; }
#cgt .footer a:hover { text-decoration: underline; }
#cgt .footer a { font-size: inherit; color: inherit; text-decoration: none; }

/* ===== CTA sweep via pseudo-element (clean + conflict-proof) ===== */
@keyframes mmitSweep { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

#mix a.btn.cta::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background-image: linear-gradient(90deg, var(--mix-cyan), var(--violet-deep), var(--mix-cyan));
  background-size: 200% 100%; background-position: 0% 50%;
  animation: mmitSweep 5s linear infinite;
}

#mix a.btn.cta:hover { transform: scale(1.05); box-shadow: 0 0 15px var(--mix-cyan), 0 0 25px var(--violet-deep); }
#mix a.btn.cta:active { transform: scale(0.98); }

@media (prefers-reduced-motion: reduce) {
  #mix a.btn.cta::before { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  #mix a.btn.cta::before { animation: none; }
}

/* Ensure embeds don’t overflow column */
#mix img,
#mix iframe{
  max-width: 100%;
}
#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;
}