:root{
  --text:#f3f4f6;
  --muted:rgba(243,244,246,.70);
  --shadow: 0 18px 60px rgba(0,0,0,.40);
  --shadow2: 0 10px 40px rgba(0,0,0,.22);
  --radius:18px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background-color:#121212;
  position: relative;
  min-height:100vh;
}

/* subtle grain */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-radial-gradient(circle at 0 0,
      rgba(255,255,255,0.025),
      rgba(255,255,255,0.025) 1px,
      transparent 1px,
      transparent 2px);
  opacity: 0.20;
}

body > *{ position: relative; z-index: 1; }

a{ color:var(--text); text-decoration:none; }
a:hover{ opacity:.92; }

button{
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
}

.wrap{
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 20px;
}

/* ---------- HEADER ---------- */

.top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap: nowrap;
}

.topLeft{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap: nowrap;
  min-width:0;
}

.brand{ display:inline-flex; align-items:center; }

.siteLogo{
  height:72px;
  width:auto;
  display:block;
  user-select:none;
}

.mainNav{
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}

.navLink{
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 500;
  color: rgba(243,244,246,.85);
}

.navLink:hover{ background: rgba(255,255,255,.08); }

.navLink.active{
  background: rgba(255,255,255,.14);
  color:#fff;
}

.igHeader{
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--text);
}

.igHeader:hover{ background: rgba(255,255,255,.12); }

/* ---------- SECTIONS ---------- */

.section{ margin-top: 26px; }

.section h2{
  margin:0 0 14px;
  font-size: 16px;
  letter-spacing:.12em;
  text-transform: uppercase;
  color: rgba(243,244,246,.85);
}

.sectionHead{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 6px;
}

/* ---------- HOME HERO ---------- */

.heroGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.heroCard{
  width:100%;
  text-align:left;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  background: rgba(255,255,255,.05);
  padding: 16px;
  display:grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items:center;
  cursor:pointer;
  color: var(--text);
  transition: transform .12s ease, box-shadow .14s ease, border-color .14s ease;
}

.heroCard:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 20px 80px rgba(0,0,0,.4);
}

.heroCover{
  width:120px;
  height:120px;
  border-radius: 24px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}

.heroCover img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.heroTitle{
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.heroSub{
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity:.7;
}

.heroPill{
  margin-top: 10px;
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  border:1px solid rgba(255,255,255,.18);
  opacity:.85;
}

/* ---------- VIDEO ---------- */

.videoFrame{
  width:100%;
  height: 320px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(255,255,255,.5);
}

/* ---------- STORE (music page) ---------- */

.storeLayout{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
}

.storeCol{
  display:flex;
  flex-direction:column;
  gap: 22px;
}

.storeCol .section{
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 20px 16px 16px;
  box-shadow: var(--shadow2);
}

/* ---------- TILES ---------- */

.tileGrid{
  display:grid;
  gap: 12px;
}

.tile{
  width:100%;
  text-align:left;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
  padding: 14px;
  display:grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items:center;
  cursor:pointer;
  color: var(--text);
  transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease, background .14s ease;
}

.tile:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  box-shadow: 0 14px 60px rgba(0,0,0,.28);
}

.cover{
  width:84px;
  height:84px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}

.cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.tileTitle{
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .005em;
}

.tileSub{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity:.6;
}

/* beats embed */
.beatsEmbed iframe{
  border-radius: 24px;
  display:block;
  width:100%;
}

/* spotify embed */
.spotifyEmbed{
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}

.spotifyEmbed iframe{
  display:block;
  width:100%;
  border-radius: 12px;
}

/* ---------- MODAL ---------- */

.modalOverlay{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding: 18px;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(14px);
  z-index: 50;
}

.modalOverlay.open{ display:flex; }

.modal{
  width: min(860px, 96vw);
  max-height: 92vh;
  display:flex;
  flex-direction:column;
  border-radius: 22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 140px rgba(0,0,0,.7);
  background: rgba(12,14,18,.88);
  position: relative;
  --modal-art: none;
}

/* blurred art backdrop */
.modal::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--modal-art);
  background-size: cover;
  background-position: center;
  filter: blur(50px) saturate(1.1);
  opacity: .25;
  transform: scale(1.2);
  z-index: 0;
}

.modal::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom, rgba(10,12,16,.85), rgba(10,12,16,.92));
  z-index: 0;
}

.modal > *{ position: relative; z-index: 1; }

.modalTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 14px;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.modalTopLeft{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}

.modalTopText{ min-width: 0; }

.modalThumb{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border:1px solid rgba(255,255,255,.12);
  overflow:hidden;
  background: rgba(255,255,255,.06);
  flex: 0 0 auto;
}

.modalThumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.modalTitle{
  font-weight: 650;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}

.modalKicker{
  margin-top: 2px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(243,244,246,.55);
}

.iconBtn{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.iconBtn:hover{ background: rgba(255,255,255,.14); }

.modalBody{
  padding: 14px;
  overflow-y:auto;
  display:flex;
  flex-direction:column;
  gap: 14px;
}

/* player wrap should hug the iframe */
.modalPlayerWrap{
  overflow:hidden;
  border-radius: 26px;
}

/* IMPORTANT: do NOT force a huge height everywhere */
#modalFrame{
  display:block;
  width:100%;
  height: 344px;
  border:0;
  border-radius: 26px;
}

/* content row */
.modalContentGrid{
  display:grid;
  grid-template-columns: 1fr 220px;
  gap: 14px;
  align-items:start;
}

.modalDesc{
  padding: 14px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(243,244,246,.85);
  white-space: pre-line;
}

.modalActions{
  display:flex;
  align-items:flex-start;
  justify-content:flex-end;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 14px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  font-weight: 500;
  color: var(--text);
}

.btn:hover{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.22);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 980px){
  .heroGrid{ grid-template-columns: 1fr; }
  .storeLayout{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .modalContentGrid{ grid-template-columns: 1fr; }
}

/* =========================
   HARD LOCK FONT TO PLUS JAKARTA SANS EVERYWHERE
   ========================= */

:root{
  --fontMain: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system,
              "Segoe UI", Roboto, Arial, sans-serif;
}

html, body, button, input, textarea, select{
  font-family: var(--fontMain) !important;
}

/* Force tiles + their text too (buttons can sometimes override fonts) */
.tile, .tile *{
  font-family: var(--fontMain) !important;
}

/* =========================
   MODAL BLUR BACKDROP (MAKE IT VISIBLE)
   ========================= */

.modal{
  /* let the artwork layer be visible */
  background: transparent !important;
  position: relative;
  overflow: hidden;
  --modal-art: none;
}

/* art layer */
.modal::before{
  content:"";
  position:absolute;
  inset:-70px;
  background-image: var(--modal-art);
  background-size: cover;
  background-position: center;
  filter: blur(80px) saturate(1.25) contrast(1.08) brightness(1.25);
  opacity: .75;                 /* key: strong enough to see */
  transform: scale(1.25);
  pointer-events:none;
  z-index: 0;
}

/* dark veil to keep text readable while still showing art */
.modal::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 25% 10%,
      rgba(0,0,0,.10),
      rgba(0,0,0,.65)),
    linear-gradient(to bottom,
      rgba(0,0,0,.10),
      rgba(0,0,0,.55));
  pointer-events:none;
  z-index: 0;
}

/* keep content above blur */
.modalTop,
.modalBody{
  position: relative;
  z-index: 1;
}

/* OPTIONAL: make these slightly glassy so blur shows through */
.modalTop{
  background: rgba(10,12,16,.35);
  backdrop-filter: blur(10px);
}

.modalPlayerWrap{
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(6px);
}

.modalDesc{
  background: rgba(0,0,0,.22) !important;
}
