/* ========== AMG Child Theme Styles ========== */
:root{
  --amg-bg: #0b1430;        /* deep navy */
  --amg-bg-2:#0f1a3e;
  --amg-surface:#121b3f;
  --amg-text:#e6eef9;
  --amg-text-dim:#99a7c0;
  --amg-accent:#00ccff;     /* cyan */
  --amg-accent-2:#6ee7ff;   /* light cyan */
  --amg-outline:#21315f;
  --amg-card:#0f1b3b;
  --amg-ink:#101522;
  --amg-good:#34d399;
  --amg-shadow: 0 10px 30px rgba(0,0,0,.35);
}

html body{
  color:var(--amg-text);
  background:var(--amg-bg);
}

/* layout helpers */
.wrap{
  width:min(1200px, 92vw);
  margin-inline:auto;
  padding: clamp(16px, 3vw, 32px);
}

/* ========== Buttons ========== */
.btn{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.65rem 1rem;
  border-radius:999px;
  border:1px solid var(--amg-accent);
  color:var(--amg-accent);
  text-decoration:none;
  font-weight:600;
  line-height:1;
  transition: all .18s ease;
  background:transparent;
}
.btn:hover{ transform:translateY(-1px); box-shadow:0 8px 20px rgba(0,204,255,.15); }
.btn:active{ transform:translateY(0); }

.btn.cta{
  background:linear-gradient(135deg, var(--amg-accent), var(--amg-accent-2));
  color:#0a0f1d;
  border-color:transparent;
}
.btn.btn-outline{
  border-color:var(--amg-outline);
  color:var(--amg-text);
}

/* ========== Artist Hero ========== */
.artist-hero{
  position:relative;
  background:
     radial-gradient(80% 60% at 60% 40%, rgba(0,204,255,.08), transparent 60%),
     linear-gradient(180deg, var(--amg-bg-2), var(--amg-bg));
  background-size:cover;
  background-position:center;
  padding: clamp(32px, 6vw, 72px) 0;
  overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.05);
}
.artist-hero::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(8,13,30,.35), rgba(8,13,30,.8));
  pointer-events:none;
}
.artist-hero .wrap{ position:relative; z-index:1; display:grid; grid-template-columns: 220px 1fr; gap: clamp(16px, 3vw, 36px); align-items:center; }
.artist-hero .img img{
  display:block;
  width:220px; height:220px; object-fit:cover;
  border-radius:50%;
  border:3px solid rgba(255,255,255,.06);
  box-shadow: var(--amg-shadow);
  background:var(--amg-ink);
}
.artist-hero .meta .title{
  font-size: clamp(28px, 4vw, 54px);
  margin:0 0 .25rem 0;
  letter-spacing:.3px;
}
.artist-hero .meta .tagline{
  color:var(--amg-text-dim);
  font-size: clamp(14px, 1.6vw, 18px);
  margin: 0 0 1rem 0;
}
.artist-hero .cta-row{ display:flex; flex-wrap:wrap; gap:.6rem; margin:.5rem 0 1rem; }
.artist-hero .socials{ display:flex; flex-wrap:wrap; gap:.5rem; }

/* ========== Bio ========== */
.artist-bio{
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.02));
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.04);
}
.artist-bio p{ color:var(--amg-text); }
.artist-bio .press{
  margin: 1rem 0 0;
  padding: .75rem 1rem;
  border-left:4px solid var(--amg-accent);
  background:rgba(0,204,255,.06);
  color:var(--amg-text);
  border-radius:8px;
}

/* ========== Grids & Cards (archive + related releases) ========== */
.release-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 2vw, 24px);
}
@media (max-width: 1200px){
  .release-grid{ grid-template-columns: repeat(8, 1fr); }
}
@media (max-width: 768px){
  .release-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px){
  .release-grid{ grid-template-columns: 1fr; }
}

.release-card{
  grid-column: span 3; /* default 4 cards per row on desktop */
  background: linear-gradient(180deg, var(--amg-card), rgba(7,12,29,.85));
  border:1px solid rgba(255,255,255,.06);
  border-radius:16px;
  overflow:hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.release-card a{ color:inherit; text-decoration:none; display:block; }
.release-card:hover{
  transform: translateY(-3px);
  box-shadow: var(--amg-shadow);
  border-color: rgba(0,204,255,.25);
}
.release-card .img{
  aspect-ratio:1/1; /* perfect square cover */
  background:#0a0f1d;
  display:grid; place-items:center;
  overflow:hidden;
}
.release-card .img img{ width:100%; height:100%; object-fit:cover; display:block; }
.release-card h3,
.release-card h2{
  font-size: clamp(16px, 2vw, 20px);
  padding: 12px 14px 0 14px;
  margin:0;
}
.release-card .release-date,
.release-card .byline{
  color:var(--amg-text-dim);
  font-size:.95rem;
  padding: 4px 14px 14px 14px;
  margin:0;
}

/* archive titles */
.artist-archive h1,
.release-archive h1{
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 16px 0;
}

/* ========== Release Single ========== */
.release-page .release-head{
  display:grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(16px, 3vw, 36px);
  align-items:center;
  margin-bottom: 18px;
}
.release-page .release-head .img{
  background:var(--amg-ink);
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.06);
  box-shadow: var(--amg-shadow);
}
.release-page .release-head img{ display:block; width:100%; height:auto; }
.release-page .release-head h1{ margin:.25rem 0 .4rem; font-size: clamp(26px, 3.2vw, 40px); }
.release-page .release-head .release-date,
.release-page .release-head .byline{ color:var(--amg-text-dim); margin:.2rem 0; }
.release-page .player{
  margin: 10px 0 18px;
  background:var(--amg-card);
  border:1px solid rgba(255,255,255,.06);
  border-radius:16px;
  padding: clamp(12px, 2vw, 18px);
}
.release-page .release-content p{ color:var(--amg-text); }

/* ========== Responsive ========== */
@media (max-width: 920px){
  .artist-hero .wrap{ grid-template-columns: 150px 1fr; }
  .artist-hero .img img{ width:150px; height:150px; }
  .release-page .release-head{ grid-template-columns: 1fr; }
}

/* ========== Optional sticky listen bar (mobile) ========== */
@media (max-width: 768px){
  .listen-sticky{
    position: sticky; bottom: 10px; z-index: 40;
    display:flex; justify-content:center;
    margin-top: 8px;
  }
  .listen-sticky .btn{
    width: min(520px, 92vw);
    justify-content:center;
    background:linear-gradient(135deg, var(--amg-accent), var(--amg-accent-2));
    color:#0a0f1d;
    border:none;
    box-shadow:0 12px 30px rgba(0,204,255,.25);
  }
}
