/* =========================
   ROOT VARIABLES
========================= */
:root {
  --bg: #0a0a0a;
  --text: #e0e0e0;
  --accent: #e0e0e0;
  --header-space: 120px;
}

/* =========================
   BASE / GLOBAL STYLES
========================= */
html {
  height: -webkit-fill-available;
}

body {
  margin: 0;
  overflow: hidden;
  position: fixed;
  width: 100%;
  min-height: 100vh;
  min-height: -webkit-fill-available;

  font-family: "Syne", system-ui;
  font-variant-numeric: lining-nums;
  color: var(--text);

  background:
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
    url("WebBackground.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  padding: env(safe-area-inset-top)
           env(safe-area-inset-right)
           env(safe-area-inset-bottom)
           env(safe-area-inset-left);
}

/* =========================
   TYPOGRAPHY (GLOBAL)
========================= */
h1, h2, h3 {
  color: var(--accent);
  margin: 0;
  text-align: center;

}

h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);

  margin-bottom: 10px;
}

h2 {
  margin-top: 10px;
  font-size: 2.2rem;
  margin-bottom: 5px;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
  margin-top: 10px;
}

p {
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);

  width: 40%;
  margin: 0 auto;   /* centers the block */
  margin-top: 12px;
  
}

p a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

p a:hover {
  opacity: 0.8;
}

/* your subtext style */
.subtext2 {
  font-size: 0.6em;
  opacity: 0.4;
  margin-left: 6px;
}

.bold-link {
  font-weight: 700;
}
/* =========================
   HEADER / NAV
========================= */
header {
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  z-index: 10;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding-top: 10px;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--accent);
}

/* =========================
   LAYOUT SECTIONS
========================= */

.label,
.other {
  top: 20%;
  position: fixed;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 80%;
  max-height: 50px;
}


.about {
  position: fixed;
  top: 260px;              /* below the header */
  bottom: 60px;            /* clear of footer and email button */
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  overflow-y: auto;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.about::-webkit-scrollbar {
  display: none;
}

.about p {
  text-align: justify;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9rem;
}

.subtext {
  font-size: 0.5em;     /* smaller than h2 */
  opacity: 0.4;         /* low emphasis */
  font-weight: normal;  /* prevents bold inheritance */
  margin-left: 6px;     /* spacing from main text */
  color: var(--text);   /* keeps consistent color */
  position: relative;
  top: -0.2em;
  display: inline-block;
}

.subtext2 {
  font-size: 0.8em;     /* smaller than h2 */
  opacity: 0.4;         /* low emphasis */
  font-weight: normal;  /* prevents bold inheritance */
  margin-left: 6px;     /* spacing from main text */
  color: var(--text);   /* keeps consistent color */
  position: relative;
  top: -0.2em;
  display: inline-block;
}


/* =========================
   SOCIALS
========================= */
.socials {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
}

.socials a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
}

.socials a:hover {
  color: var(--accent);
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
}

.social-icons img {
  width: 100%;
  height: 100%;
  max-width: 32px;
  max-height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

svg {
  color: white;
}

/* =========================
   FOOTER
========================= */
footer {
  position: fixed;
  bottom: 20px;
  left: 20px;
  font-size: 0.8rem;
  color: var(--text);
  opacity: 0.5;
  z-index: 5;
}

footer a {
  color: var(--text);
  text-decoration: none;
}

footer a:hover {
  opacity: 0.8;
}

/* =========================
   LOGO
========================= */
.logo-container {
  position: fixed;
  top: 15px;
  left: 20px;
  z-index: 99999;
}

.logo-container img {
  height: 64px;
  width: auto;
  display: block;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.logo-container:hover img {
  opacity: 1;
}

/* =========================
   FEATURED RELEASE (HOME)
========================= */
.featured-release {
  position: fixed;
  top: max(220px, calc(24% - 140px));
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;

  text-decoration: none;
  color: var(--text);
  transition: opacity 0.2s ease;
}

.featured-release:hover .featured-cover {
  transform: scale(1.04);
}

.featured-label {
  align-self: center;
  margin-top: 6px;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.6;
}

.featured-cover {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease;
}

.featured-title {
  margin-top: 16px;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* =========================
   GRAPHICS
========================= */
.graphics {
  position: fixed;
  top: 260px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  bottom: 20px;
  overflow-y: auto;
  box-sizing: border-box;
  padding-bottom: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.graphics::-webkit-scrollbar {
  display: none;
}

.graphics-featured {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.graphics-featured .graphics-item {
  width: 100%;
}

.graphics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.graphics-item {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.graphics-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.graphics-item:hover img {
  transform: scale(1.05);
}

.graphics-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  color: #fff;
  font-size: 0.8rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.graphics-item:hover .graphics-caption {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   QR MODAL / POPUP
========================= */
.qr-container {
  position: fixed;
  top: 15px;
  right: 20px;
  z-index: 99999;
}

.qr-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

.qr-btn:hover {
  opacity: 1;
}

.qr-btn img {
  filter: brightness(0) invert(1);
}

.qr-popup {
  position: absolute;
  top: 40px;
  right: 0;

  background: #1a1a1a;
  padding: 12px;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);

  visibility: hidden;
  opacity: 0;
  transform: scale(0.85);
  transform-origin: top right;
  pointer-events: none;

  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.08s ease;
}

.qr-popup.open {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.qr-popup img {
  width: 180px;
  height: 180px;
  display: block;
  background: white;
  padding: 6px;
  border-radius: 4px;
}

/* =========================
   EMAIL POPUP
========================= */
.email-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
}

.email-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

.email-btn:hover {
  opacity: 1;
}

.email-btn img {
  filter: brightness(0) invert(1);
}

.email-popup {
  position: absolute;
  bottom: 40px;
  right: 0;

  background: #1a1a1a;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);

  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 260px;

  visibility: hidden;
  opacity: 0;
  transform: scale(0.85);
  transform-origin: bottom right;
  pointer-events: none;

  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.email-popup.open {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.email-popup h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}

.email-popup textarea,
.email-popup input {
  background: #2a2a2a;
  border: none;
  border-radius: 8px;
  color: var(--text);
  font-family: "Syne", system-ui;
  font-size: 0.85rem;
  padding: 10px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.email-popup textarea {
  resize: none;
}

.email-send {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  font-family: "Syne", system-ui;
  font-size: 0.85rem;
  padding: 8px;
  transition: border-color 0.2s ease;
}

.email-send:hover {
  border-color: rgba(255,255,255,0.6);
}

.email-copy {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-family: "Syne", system-ui;
  font-size: 0.75rem;
  opacity: 0.4;
  padding: 0;
  text-align: center;
}

.email-copy:hover {
  opacity: 0.8;
}

/* =========================
   SVG
========================= */
svg {
  color: white;
}

/* =========================
   DISCOGRAPHY
========================= */
.discography {
  width: 60%;
  margin: 0 auto;
  padding-top: 300px;
  padding-bottom: 60px;
  max-height: 100vh;
  overflow-y: auto;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.discography::-webkit-scrollbar {
  display: none;
}

.discog-section {
  margin-bottom: 30px;
}

.discog-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.discog-header .artist {
  font-size: 1.6rem;
  font-weight: 700;
}

.graphics .discog-header .artist {
  font-size: 1.4rem;
}

.discog-header .artist .type {
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.5;
  margin-left: 6px;
}

.discog-header .tag {
  font-size: 0.75rem;
  opacity: 0.9;
}

.graphics-credit-mobile {
  display: none;
}

.credit-link {
  color: #ffffff;
  text-decoration: underline;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.credit-link:hover {
  opacity: 0.7;
}

.discog-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.discog-row:visited {
  color: var(--text);
  font-weight: 400;
}

.discog-row:hover {
  opacity: 0.8;
}

.discog-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.discog-cover {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.discog-row .title {
  font-size: 1.15rem;
}

.discog-row .type {
  opacity: 0.4;
  font-size: 0.85rem;
  margin-left: 4px;
  font-weight: 400;
}

.discog-row .date {
  font-size: 0.85rem;
  opacity: 0.6;
  white-space: nowrap;
  padding-left: 12px;
  font-weight: 400;
}

/* Featured release row (latest / most focused) */
.discog-row.featured .discog-cover {
  width: 64px;
  height: 64px;
  border-radius: 6px;
}

.discog-row.featured .title {
  font-size: 1.35rem;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

  
  .label,
  .other {
    position: relative;
    transform: none;
    left: auto;
    top: auto;
    margin: 0 auto;
    padding-top: 200px;
    width: 90%;
  }
  
  .about {
    top: 200px;
    bottom: 60px;
    width: 90%;
  }
  
  .p {
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);

  width: 90%;
  margin: 0 auto;   /* centers the block */
}
  
  .subtext,
  .subtext2 {
  display: inline-block;
  white-space: nowrap;
  }

  .about p {
    width: 90%;
  }

  .discography {
    width: 90%;
    padding-top: 200px;
    padding-bottom: 20px;
    max-height: none;
    overflow-y: visible;
  }

  .discog-section {
    margin-bottom: 14px;
  }

  .discog-header {
    padding-bottom: 4px;
    margin-bottom: 6px;
  }

  .discog-header .artist {
    font-size: 1rem;
  }

  .graphics .discog-header .artist {
    font-size: 0.95rem;
  }

  .discog-header .artist .type {
    font-size: 0.7rem;
    margin-left: 4px;
  }

  .discog-header .tag {
    font-size: 0.65rem;
  }

  .discog-row {
    align-items: flex-start;
    text-align: left;
    padding: 5px 0;
    flex-wrap: nowrap;
  }

  .discog-left {
    flex-direction: row;
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
  }

  .discog-cover {
    width: 28px;
    height: 28px;
  }

  .discog-row .title {
    font-size: 0.85rem;
  }

  .discog-row .date {
    padding-left: 8px;
    flex-shrink: 0;
    font-size: 0.7rem;
  }

  .discog-row.featured .discog-cover {
    width: 48px;
    height: 48px;
  }

  .discog-row.featured .title {
    font-size: 1rem;
  }

  .featured-release {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .featured-label {
    font-size: 0.7rem;
  }

  .featured-cover {
    width: 240px;
    height: 240px;
  }

  .featured-title {
    font-size: 1.2rem;
  }

  .logo-container img {
    height: 42px;
  }

  .graphics {
    position: fixed;
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    bottom: 10px;
    overflow-y: auto;
    box-sizing: border-box;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .graphics::-webkit-scrollbar {
    display: none;
  }

  .graphics-featured {
    margin-top: 14px;
  }

  .graphics-credit {
    font-size: 0.7rem;
    margin-top: 14px;
  }

  .graphics-credit-desktop {
    display: none;
  }

  .graphics-credit-mobile {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.6;
    opacity: 0.6;
    margin-top: 10px;
    padding: 0 20px;
    width: auto;
  }

  .graphics-featured .graphics-item {
    width: 100%;
  }

  .graphics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .qr-popup {
    position: fixed;
    top: calc(50% - 25px);
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%) scale(0.85);
    transform-origin: center;
  }

  .qr-popup.open {
    transform: translate(-50%, -50%) scale(1);
  }

  .qr-popup img {
    width: 260px;
    height: 260px;
  }

  .email-popup {
    position: fixed;
    bottom: auto;
    top: calc(50% - 30px);
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%) scale(0.85);
    transform-origin: center;
    width: 80vw;
  }

  .email-popup.open {
    transform: translate(-50%, -50%) scale(1);
  }

  .email-popup input,
  .email-popup textarea {
    font-size: 16px;
  }
}
  
/* =========================
   ALL PAGES: whole page scrolls
========================= */
html {
  height: auto;
  overscroll-behavior-y: none;
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* old Edge */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;                /* Chrome, Safari, new Edge */
}

body {
  position: static;
  height: auto;
  min-height: 0;            /* cancels the min-height: 100vh from the base rule */
  box-sizing: border-box;   /* safe-area padding no longer adds to the size */
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: none;  /* no rubber-band bounce at the top/bottom */
}

header {
  position: absolute;   /* scrolls away with the page */
}

.about,
.label,
.other,
.graphics,
.discography {
  position: static;
  transform: none;
  width: 80%;
  max-height: none;
  margin: 0 auto;
  padding-top: 260px;   /* clears the header */
  padding-bottom: 80px; /* room at the bottom past footer/email button */
  overflow: visible;
  box-sizing: border-box;
}

.discography {
  width: 60%;
  padding-top: 300px;
}

@media (max-width: 768px) {
  .about,
  .label,
  .other,
  .graphics,
  .discography {
    width: 90%;
    padding-top: 200px;
    padding-bottom: 50px;
  }
}


/* =========================
   MUSIC PLAYER
========================= */
#player {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(26, 26, 26, 0.85);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text);
}

#player button {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 4px;
  display: flex;
  opacity: 0.7;
}

#player button:hover { opacity: 1; }

#player-title {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.7;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

#player-title:hover {
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 768px) {
  #player { bottom: 46px; }   /* sits above the footer text on phones */
  #player-title { max-width: 100px; }
}
