/* ============================================================
   I LOVE THE LAW OF ATTRACTION — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Dancing+Script:wght@500;600;700&family=Bebas+Neue&display=swap');

/* ---- Custom Properties ---- */
:root {
  --midnight:        #05070f;
  --deep-navy:       #0a0f28;
  --navy:            #121a3d;
  --teal:            #0ab5b0;
  --teal-light:      #4fe0d6;
  --teal-glow:       rgba(10,181,176,0.35);
  --aurora-purple:   #8b5cf6;
  --aurora-magenta:  #d946ef;
  --gold:            #f0c987;
  --white:           #ffffff;
  --text-primary:    #eef2ff;
  --text-secondary:  #b7c3e0;
  --text-muted:      #7c88ab;
  --card-bg:         rgba(255,255,255,0.04);
  --card-border:     rgba(94,234,212,0.18);
  --nav-height:      80px;
  --ease:            all 0.3s ease;
  --radius:          14px;
  --radius-lg:       22px;
}

/* ---- Reset ---- */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family:'Poppins',sans-serif;
  background:var(--midnight);
  color:var(--text-primary);
  line-height:1.7;
  overflow-x:hidden;
}

/* ---- Typography ---- */
h1,h2,h3,h4 {
  font-family:'Poppins',sans-serif;
  font-weight:700;
  line-height:1.2;
  color:var(--white);
}
h1 { font-size:clamp(2.2rem,6vw,4rem); }
h2 { font-size:clamp(1.8rem,4vw,2.75rem); text-align:center; }
h3 { font-size:1.3rem; }
.script {
  font-family:'Dancing Script',cursive;
  font-weight:600;
  color:var(--teal-light);
}
.highlight { color:var(--teal-light); }
p { font-size:1rem; color:var(--text-secondary); }
p.lead { font-size:1.05rem; max-width:62ch; }
p.center { text-align:center; margin:0 auto 2.5rem; }
a { text-decoration:none; color:inherit; transition:var(--ease); }
img { max-width:100%; display:block; }
ul { list-style:none; }

/* ---- Buttons ---- */
.btn {
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding:.85rem 1.6rem;
  border-radius:999px;
  font-weight:600;
  font-size:.95rem;
  border:1.5px solid transparent;
  cursor:pointer;
  white-space:nowrap;
}
.btn-teal {
  background:linear-gradient(135deg,var(--teal),var(--teal-light));
  color:var(--midnight);
  box-shadow:0 8px 24px var(--teal-glow);
}
.btn-teal:hover { transform:translateY(-2px); box-shadow:0 12px 32px var(--teal-glow); }
.btn-outline {
  border-color:rgba(255,255,255,0.3);
  color:var(--white);
  background:rgba(255,255,255,0.03);
}
.btn-outline:hover { border-color:var(--teal-light); color:var(--teal-light); }
.btn-sm { padding:.55rem 1.1rem; font-size:.85rem; }

/* ---- Navigation ---- */
.nav {
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;
  height:var(--nav-height);
  display:flex;
  align-items:center;
  padding:0 2rem;
  transition:var(--ease);
}
.nav.scrolled {
  background:rgba(5,7,15,0.92);
  backdrop-filter:blur(20px);
  border-bottom:1px solid rgba(94,234,212,0.12);
}
.nav-inner {
  width:100%;
  max-width:1280px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.nav-logo { display:flex; flex-direction:column; line-height:1; gap:1px; }
.nav-logo .script { font-size:1rem; }
.nav-logo .logo-main {
  font-family:'Poppins',sans-serif;
  font-size:1.15rem;
  font-weight:800;
  letter-spacing:0.01em;
  color:var(--white);
  text-transform:uppercase;
}
.nav-links {
  display:flex;
  align-items:center;
  gap:2rem;
}
.nav-links > li > a:not(.btn) {
  font-size:.95rem;
  font-weight:500;
  color:var(--text-secondary);
}
.nav-links > li > a:not(.btn):hover { color:var(--teal-light); }
.nav-links > li > a.btn-teal { color:var(--midnight); }
.nav-lang {
  display:flex;
  align-items:center;
  gap:.4rem;
  font-size:.85rem;
  font-weight:600;
  letter-spacing:.03em;
  margin-left:1.25rem;
}
.nav-lang .lang-current { color:var(--teal-light); }
.nav-lang .lang-sep { color:var(--text-muted); }
.nav-lang a { color:var(--text-secondary); }
.nav-lang a:hover { color:var(--teal-light); }

.nav-toggle {
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  z-index:1100;
}
.nav-toggle span { width:24px; height:2px; background:var(--white); transition:var(--ease); }
.nav-toggle.active span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity:0; }
.nav-toggle.active span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
  padding:calc(var(--nav-height) + 2rem) 1.5rem 4rem;
}
.hero-bg {
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse 60% 45% at 20% 15%, rgba(139,92,246,0.28), transparent 60%),
    radial-gradient(ellipse 55% 45% at 85% 20%, rgba(217,70,239,0.22), transparent 60%),
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(20,196,180,0.28), transparent 65%),
    linear-gradient(180deg, var(--midnight) 0%, var(--deep-navy) 55%, var(--navy) 100%);
  z-index:0;
}
#hero-canvas { position:absolute; inset:0; width:100%; height:100%; z-index:1; }
.orb {
  position:absolute;
  border-radius:50%;
  filter:blur(70px);
  opacity:.5;
  z-index:1;
  animation:float 14s ease-in-out infinite;
}
.orb-1 { width:340px; height:340px; background:var(--teal); top:10%; left:8%; }
.orb-2 { width:260px; height:260px; background:var(--aurora-purple); bottom:12%; right:10%; animation-delay:-4s; }
.orb-3 { width:200px; height:200px; background:var(--aurora-magenta); top:55%; left:45%; animation-delay:-8s; }
@keyframes float {
  0%,100% { transform:translate(0,0) scale(1); }
  50% { transform:translate(20px,-30px) scale(1.08); }
}
.hero-content { position:relative; z-index:2; max-width:800px; }
.hero-eyebrow {
  display:inline-block;
  font-size:.85rem;
  font-weight:600;
  letter-spacing:.04em;
  color:var(--teal-light);
  margin-bottom:1.25rem;
}
.hero-script { font-size:clamp(2rem,5vw,3.2rem); display:block; line-height:1; margin-bottom:-.35em; }
.hero-main {
  font-family:'Bebas Neue',sans-serif;
  font-size:clamp(2.6rem,8vw,5.2rem);
  letter-spacing:.02em;
  color:var(--white);
  display:block;
  line-height:1;
  text-shadow:0 0 40px var(--teal-glow);
}
.hero-subtitle {
  font-size:clamp(1rem,2vw,1.2rem);
  color:var(--text-secondary);
  max-width:56ch;
  margin:1.5rem auto 2.25rem;
}
.hero-btns { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }
.hero-scroll {
  position:absolute;
  bottom:2rem; left:50%;
  transform:translateX(-50%);
  font-size:.75rem;
  letter-spacing:.1em;
  color:var(--text-muted);
  z-index:2;
}

/* ---- Trust Bar ---- */
.trust-bar {
  background:var(--navy);
  border-top:1px solid rgba(94,234,212,0.1);
  border-bottom:1px solid rgba(94,234,212,0.1);
  padding:1.25rem 1.5rem;
}
.trust-bar-inner {
  max-width:1100px;
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  gap:1.5rem 2.5rem;
  justify-content:center;
}
.trust-item {
  display:flex;
  align-items:center;
  gap:.5rem;
  font-size:.9rem;
  font-weight:500;
  color:var(--text-secondary);
}
.t-icon { color:var(--teal-light); }

/* ---- Sections ---- */
.section { padding:5.5rem 1.5rem; background:var(--midnight); }
.section-alt { background:var(--deep-navy); }
.section-inner { max-width:1100px; margin:0 auto; }
.section-inner.narrow { max-width:760px; }
.section-eyebrow {
  display:block;
  text-align:center;
  font-size:.85rem;
  font-weight:600;
  letter-spacing:.06em;
  color:var(--teal-light);
  margin-bottom:.75rem;
}
.section h2 { margin-bottom:1.25rem; }
.section .lead { text-align:center; margin:0 auto 1.25rem; }

/* Fade-in on scroll */
.animate-in { opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.animate-in.visible { opacity:1; transform:translateY(0); }

/* ---- Media Grid (Watch / Listen) ---- */
.media-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2rem;
  margin-top:2.5rem;
}
.media-card-center { grid-column:1 / -1; width:calc(50% - 1rem); margin:0 auto; }
.playlist-group-title {
  text-align:center;
  color:var(--teal-light);
  font-size:1.1rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  margin:3rem 0 1.5rem;
}
.playlist-group-title:first-of-type { margin-top:0; }
.playlist-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1.5rem;
}
.playlist-grid .media-card { padding:1.1rem; gap:.75rem; }
.playlist-grid .media-card-head { flex-direction:column; align-items:flex-start; gap:.6rem; }
.playlist-grid h3 { font-size:1rem; }
.media-card {
  background:var(--card-bg);
  border:1px solid var(--card-border);
  border-radius:var(--radius-lg);
  padding:1.5rem;
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.media-card-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
}
.media-embed {
  position:relative;
  width:100%;
  border-radius:var(--radius);
  overflow:hidden;
  background:rgba(0,0,0,0.3);
  aspect-ratio:16/9;
}
.media-embed.spotify-embed { aspect-ratio:auto; height:352px; }
.media-embed iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.embed-placeholder {
  position:absolute; inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:.75rem;
  cursor:pointer;
  color:var(--text-secondary);
  font-size:.9rem;
  background:radial-gradient(circle at 50% 40%, rgba(20,196,180,0.12), transparent 70%);
  transition:var(--ease);
}
.embed-placeholder:hover { color:var(--teal-light); }
.play-glyph {
  width:56px; height:56px;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  background:linear-gradient(135deg,var(--teal),var(--teal-light));
  color:var(--midnight);
  font-size:1.4rem;
  box-shadow:0 8px 24px var(--teal-glow);
}

/* ---- Social Grid ---- */
.social-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:1rem;
  margin-top:2rem;
}
.social-card {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.6rem;
  padding:1.5rem 1rem;
  background:var(--card-bg);
  border:1px solid var(--card-border);
  border-radius:var(--radius);
  font-size:.85rem;
  font-weight:500;
  color:var(--text-secondary);
  text-align:center;
}
.social-card:hover {
  border-color:var(--teal-light);
  color:var(--teal-light);
  transform:translateY(-3px);
}
.social-icon { width:28px; height:28px; color:var(--teal-light); }
.social-icon svg { width:100%; height:100%; }

/* ---- Newsletter ---- */
.newsletter-card {
  background:linear-gradient(160deg, rgba(20,196,180,0.1), rgba(139,92,246,0.08));
  border:1px solid var(--card-border);
  border-radius:var(--radius-lg);
  padding:3rem 2rem;
  text-align:center;
}
.newsletter-form {
  display:flex;
  gap:.75rem;
  max-width:440px;
  margin:0 auto;
  flex-wrap:wrap;
  justify-content:center;
}
.newsletter-form input[type="email"] {
  flex:1;
  min-width:220px;
  padding:.85rem 1.1rem;
  border-radius:999px;
  border:1.5px solid rgba(255,255,255,0.15);
  background:rgba(255,255,255,0.04);
  color:var(--white);
  font-family:inherit;
  font-size:.95rem;
}
.newsletter-form input[type="email"]:focus { outline:none; border-color:var(--teal-light); }
.newsletter-note { margin-top:1rem; font-size:.9rem; color:var(--teal-light); min-height:1.2em; }

/* ---- Footer ---- */
.footer { background:var(--deep-navy); padding:3rem 1.5rem 2rem; border-top:1px solid rgba(94,234,212,0.1); }
.footer-inner {
  max-width:1100px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:1.5rem;
  text-align:center;
}
.footer-socials { display:flex; gap:1.25rem; }
.footer-socials a { width:22px; height:22px; color:var(--text-secondary); }
.footer-socials a:hover { color:var(--teal-light); }
.footer-socials svg { width:100%; height:100%; }
.footer-copy { font-size:.8rem; color:var(--text-muted); }

/* ---- Responsive ---- */
@media (max-width:1100px) {
  .playlist-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:900px) {
  .media-grid { grid-template-columns:1fr; }
  .media-card-center { width:100%; }
}
@media (max-width:560px) {
  .playlist-grid { grid-template-columns:1fr; }
}

@media (max-width:768px) {
  .nav { padding:0 1.25rem; }
  .nav-toggle { display:flex; }
  .nav-links {
    position:fixed;
    top:0; right:0;
    height:100vh;
    width:min(78vw,320px);
    background:rgba(5,7,15,0.98);
    backdrop-filter:blur(20px);
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    gap:1.75rem;
    padding:2rem 2.5rem;
    transform:translateX(100%);
    transition:transform .35s ease;
    border-left:1px solid rgba(94,234,212,0.12);
  }
  .nav-links.open { transform:translateX(0); }
  .section { padding:4rem 1.25rem; }
  .newsletter-form { flex-direction:column; }
  .newsletter-form input[type="email"], .newsletter-form button { width:100%; }
}
