/* =============================
   File: /assets/css/album.css
   ============================= */

:root {
    --bg: #0c0c0e;
    --fg: #e9e9ea;
    --muted: #b9b9bf;
    --btn: #f4f4f6;
    --btnfg: #111;
    --card: #16171a;
    --accent: #fff;
    --max: 980px;
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--fg);
    font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 28px;
}

/* Banner */
.banner {
    position: relative;
    isolation: isolate;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(180deg, #0e0f12, transparent);
}

.banner .bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    filter: blur(18px) saturate(1.2) brightness(.65);
    transform: scale(1.12);
}

.banner .veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .10), rgba(0, 0, 0, .4));
}

.banner .content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 28px;
    padding: 28px;
    align-items: center;
}

@media (min-width:860px) {
    .banner .content {
        grid-template-columns: 280px 1fr;
        gap: 36px;
        padding: 36px;
    }
}

.cover {
    align-self: flex-start;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}

.title {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.title h1 {
    margin: 0;
    font-size: clamp(28px, 3.6vw, 40px);
    letter-spacing: .2px;
}

.title .by {
    color: var(--muted);
}

/* Buttons */
.stores {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 0;
}

.stores a {
    background: var(--btn);
    color: var(--btnfg);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid #e6e6ea;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.stores svg {
    width: 18px;
    height: 18px;
}

/* Meta */
.meta {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    color: var(--muted);
}

.desc {
    color: #d5d5d9;
    max-width: 66ch;
}

/* Tracklist */
.tracks {
    margin-top: 18px;
}

.tracks h2 {
    font-size: 18px;
    margin: 0 0 10px;
    color: var(--muted);
}

.track {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--card);
    margin: 6px 0;
}

.track small {
    color: var(--muted);
}

/* Socials */
.socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.socials .social {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;   /* square-ish with rounded corners */
  color: #fff;
  transition: transform 0.2s ease;
}

.socials .social svg {
  width: 22px;
  height: 22px;
}

/* Platform-specific colors */
.socials .yt { background: #ff0000; }   /* YouTube red */
.socials .ig { 
  background: linear-gradient(45deg, #feda75, #d62976, #962fbf, #4f5bd5); 
}                                       /* Instagram gradient */
.socials .sc { background: #ff5500; }   /* SoundCloud orange */

.socials .social:hover {
  transform: translateY(-2px);
}


/* More releases */

.more {
    margin-top: 32px;
    background: var(--card);
    border-radius: var(--radius);
    padding: 18px;
}

.more h3 {
    margin: 0 0 14px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width:640px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tile {
    background: #101114;
    border: 1px solid #1e2026;
    border-radius: 14px;
    overflow: hidden;
}

.tile .txt {
    padding: 10px;
}

.tile .name {
    font-weight: 600;
}

.tile .year {
    color: var(--muted);
    font-size: 13px;
}

footer {
    opacity: .7;
    text-align: center;
    font-size: 13px;
    margin: 26px 0;
}

/* Utility */
.hide {
    display: none !important;
}

/* =====================
   LM Header / Navigation
   ===================== */
.lm-header {
    position: sticky;
    top: 0;
    background: rgba(14, 15, 18, .9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #1e2026;
    z-index: 50;
}

.lm-nav {
    max-width: var(--max);
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lm-brand {
    flex-shrink: 0;
}

.lm-brand a {
    font-weight: 700;
    letter-spacing: .2px;
}

.lm-menu {

    display: flex;
    justify-content: center;
    gap: 14px;
}

.lm-menu a {
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--muted);
    border: 1px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.lm-menu a:hover {
    border-color: #2a2d34;
    color: var(--fg);
}

/* Burger */
.lm-burger {
    display: none;
    background: transparent;
    border: 0;
    color: var(--fg);
    padding: 8px;
    border-radius: 10px;
    cursor: pointer;
}

.lm-burger:focus {
    outline: 2px solid #2a2d34;
    outline-offset: 2px;
}

/* Dropdown */
.lm-menu .dropdown {
    position: relative;
}

.lm-menu .dropbtn {
    background: none;
    border: none;
    color: var(--muted);
    font: inherit;
    padding: 8px 10px;
    cursor: pointer;
}

.lm-menu .dropbtn:hover {
    color: var(--fg);
}

.lm-menu .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #0c0c0e;
    border: 1px solid #1e2026;
    border-radius: 8px;
    min-width: 180px;
    z-index: 99;
}

.lm-menu .dropdown-content a {
    display: block;
    padding: 10px;
    color: var(--muted);
}

.lm-menu .dropdown-content a:hover {
    background: #16171a;
    color: var(--fg);
}

.lm-menu .dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile */
@media (max-width:780px) {
    .lm-burger {
        display: block;
    }

    .lm-menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
    }

    .lm-header.open .lm-menu {
        display: flex;
    }

    .lm-menu .dropdown {
        width: 100%;
    }

    .lm-menu .dropdown-content {
        display: block;
        position: static;
        border: none;
        background: transparent;
    }

    .lm-menu .dropdown-content a {
        padding-left: 20px;
    }
}

/* Home hero */
.home-hero {
    position: relative;
    isolation: isolate;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 40px;
}

.home-hero .bg {
    position: absolute;
    inset: 0;
    background: url('/assets/img/home-hero.jpg') center/cover no-repeat;
    filter: blur(24px) saturate(1.05) brightness(.99);
    transform: scale(2);
}

.home-hero .veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .4), rgba(0, 0, 0, .55));
}

.home-hero .content {
    position: relative;
    z-index: 1;
    padding: 10px 20px 20px;
    text-align: center;
    color: var(--fg);
}

.home-hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    margin: 0 0 10px;
}

.home-hero p {
    color: var(--muted);
    font-size: 18px;
    margin: 0 0 20px;
}

.releases h2 {
    text-align: center;
    font-size: 20px;
    color: var(--muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: .2px;
}

.releases .grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Center socials & store buttons only on homepage */
.home-hero .socials,
.home-hero .stores {
    justify-content: center;
}

/* Mobile overlay menu: opens below header, doesn't push layout */
@media (max-width:780px) {
    .lm-header {
        z-index: 100;
    }

    /* keep above page */
    .lm-nav {
        position: relative;
    }

    /* anchor for absolute menu */

    .lm-burger {
        display: block;
    }

    .lm-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        /* overlay below header */
        background: #0c0c0e;
        border-bottom: 1px solid #1e2026;
        padding: 12px 20px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 8px;
    }

    .lm-header.open .lm-menu {
        display: flex;
    }
x
    /* MOBILE DROPDOWNS = collapsed by default; expand only down */
    .lm-menu .dropdown {
        width: 100%;
    }

    .lm-menu .dropdown-content {
        display: none;
        /* collapsed */
        position: static;
        /* stack inside the overlay */
        border: none;
        background: transparent;
        margin-top: 4px;
    }

    .lm-menu .dropdown.open .dropdown-content {
        display: block;
    }

    .lm-menu .dropdown-content a {
        padding-left: 20px;
    }
}

/* Full-bleed helper: keep section centered while spanning full viewport */
.full-bleed {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  border-radius: 0;
}

/* Tweak background so it covers naturally */
.banner.full-bleed .bg {
  transform: none; /* drop scale(1.12) which was zooming/cropping */
}

/* Make sure content is still centered and capped */
.banner.full-bleed .content {
  max-width: var(--max);
  margin: 0 auto;
}
.wrap > .banner.full-bleed:first-child {
  margin-top: -28px; /* cancel out .wrap padding */
}

.banner.full-bleed {
  min-height: 35vh; /* 70% of viewport height, adjust to taste */
}

.lm-footer {
  text-align: center;
  margin: 40px 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.footer-actions {
  display: flex;
  flex-direction: column; /* stack buttons vertically like HearNow */
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid #fff;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-btn:hover {
  background: rgba(255,255,255,0.1);
}

.footer-copy {
  opacity: 0.7;
}

/* ======================
   Footer base
   ====================== */
.lm-footer {
  text-align: center;
  margin: 40px 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.footer-actions {
  display: flex;
  flex-direction: column; /* stack vertically like HearNow */
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid #fff;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-btn:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}

/* ======================
   Share modal
   ====================== */
.share-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(2px);
  z-index: 200;
}

.share-dialog {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 201;
}

.share-dialog[hidden],
.share-overlay[hidden] {
  display: none;
}

/* New inner panel (modal box) */
.share-box {
  position: relative;
  background: rgba(0,0,0,.85);
  border: 2px solid rgba(255,255,255,.8);
  border-radius: 14px;
  padding: 28px 24px 24px;
  width: min(480px, 90vw);
}

.share-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.7);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.share-close:hover {
  background: rgba(255,255,255,0.1);
}

.share-box h3 {
  margin: 0 0 14px;
  color: #fff;
  text-align: center;
  font-size: 18px;
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.share-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 10px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.share-item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.share-item span {
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.share-item:hover {
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
}

/* Smaller grid on mobile */
@media (max-width: 520px){
  .share-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

