/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* BACKGROUND */
body {
  background-image: url("./assets/aw-Xk4_lToTnfo-unsplash.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: sans-serif;
  cursor: url("./assets/l_size2.png") 4 6, auto;
}

a,
button {
  cursor: url("./assets/l_hand.png") 4 6, pointer;
}

/* HEADER */
.header {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.header-img {
  width: 260px;
  height: 120px;
  max-width: 90vw;
  object-fit: cover;
  display: block;

  -webkit-mask-image: url("https://i.ibb.co/JjDXBPr/ED5929-CE-1-D66-4-EC4-8-F8-A-14792-D8-F2384.png");
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;

  mask-image: url("https://i.ibb.co/JjDXBPr/ED5929-CE-1-D66-4-EC4-8-F8-A-14792-D8-F2384.png");
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  mask-position: center;
}

/* WRAPPER */
.page-wrap {
  width: 90%;
  max-width: 880px;
  margin: 0 auto 100px auto;

  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "socials nav"
    "socials center"
    "socials footer";

  gap: 14px;
  align-items: start;
}

/* SOCIAL COLUMN */
.side-socials {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 0;   /* remove manual offset */
  margin-top: 52px; /* align with centerbox start */
  grid-area: socials;
}

.side-socials img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.side-socials img:hover {
  transform: scale(1.15);
  opacity: 0.8;
}

/* NAVIGATION */
.nav-shell {
  grid-area: nav;
  width: 100%;
  max-width: 800px;
  justify-self: center;
  padding: 0;
}

.nav-bar {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-btn {
  flex: 0 0 auto;
  padding: 6px 2px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.2px;

  color: rgba(25, 25, 25, 0.65);
  transition: color 0.25s ease;
}

.nav-btn:hover {
  color: rgba(0, 0, 0, 0.9);
}

.nav-btn.active {
  color: rgba(0, 0, 0, 0.95);
}

/* CENTERBOX */
.centerbox {
  grid-area: center;
  width: 100%;
  max-width: 800px;
  justify-self: start;
  min-height: 450px;
  background-color: rgba(133, 133, 133, 0.9);
  border-radius: 10px;
  overflow: hidden;
  padding: 14px;

  font-family: 'Alumni Sans Pinstripe', sans-serif;
  color: #111;

  font-size: 18px;          /* slightly bigger */
  letter-spacing: 0.6px;    /* slightly reduced */
  

  
}

/* CENTERBOX GRID */
.centerbox-grid {
  display: grid;
  grid-template-columns: 20% 1fr 20%;
  gap: 14px;
  align-items: start;
}

/* LEFT COLUMN */
.left-col {
  display: grid;
  gap: 14px;
  padding: 0;
  background: none;
  border: none;
}

/* PANELS */
.centerbox-grid section,
.centerbox-grid article {
  padding: 12px;
  border-radius: 10px;
  background: rgba(245, 245, 245, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.2);
  min-width: 0;
  overflow: hidden;
}

/* CARDS */
.card {
  padding: 12px;
  border-radius: 10px;
  background: rgba(245, 245, 245, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.2);
  min-width: 0;
  overflow: hidden;
}

.profile-card img {
  border-radius: 8px;
  margin-bottom: 10px;
}

.extra-card h4 {
  margin-bottom: 8px;
  font-size: 14px;
}

/* FOOTER */
.footerbox {
  text-align: center;
  grid-area: footer;
  width: 100%;
  max-width: 800px;
  justify-self: start;
  
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 12px 14px;

  font-family: 'Alumni Sans Pinstripe', sans-serif;
  color: #111;

  font-size: 18px;          /* slightly bigger */
  letter-spacing: 0.6px;    /* slightly reduced */
}
/* HIDE SCROLLBAR */
::-webkit-scrollbar {
  display: none;
}

html {
  scrollbar-width: none;
}

body {
  -ms-overflow-style: none;
}

/* MUSIC FEED */

.music-feed {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* TRACK CARD */

.track-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;

  background: rgba(245,245,245,0.75);
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 10px;

  padding: 12px;
}

/* ARTWORK */

.track-art img {
  border-radius: 8px;
  object-fit: cover;
  height: 100%;
}

/* CONTENT */

.track-content h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.track-content p {
  margin-bottom: 10px;
}

/* PLAYER */

.track-player iframe {
  border-radius: 6px;
}

/* MOBILE */
@media (max-width: 900px) {
  .page-wrap {
    grid-template-columns: 1fr;
    grid-template-areas:
      "socials"
      "nav"
      "center"
      "footer";
  }

  .side-socials {
    flex-direction: row;
    justify-content: center;
    padding-top: 0;
  }

  .nav-shell,
  .centerbox,
  .footerbox {
    max-width: 100%;
    justify-self: stretch;
  }

  .centerbox-grid {
    grid-template-columns: 1fr;
  }
  .track-card {
  grid-template-columns: 1fr;
  }
}