footer .disclosure {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.error-page .badge, a {
  transition: all 0.3s ease;
}

/*---Set Up------------------------------------*/
html, body {
  font-size: 18px;
  line-height: 140%;
  font-family: "Figtree", Verdana, sans-serif;
  color: #222222;
  text-rendering: optimizeLegibility;
  margin: 0px;
  padding: 0px;
  height: 100%;
  background: #000000;
  scroll-behavior: smooth;
  min-width: 300px;
}
@media (max-width: 766px) {
  html, body {
    font-size: 13px;
  }
}

/*---Custom cursor------------------------------------*/
#custom-cursor {
  opacity: 0;
  transition: opacity 0.6s ease; /* Optional smooth fade-in */
}

.custom-cursor {
  cursor: none;
}

.custom-cursor select,
.custom-cursor * {
  cursor: none;
}

#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  pointer-events: none;
  background: url("../images/circle-pointer.png") no-repeat center center/contain;
  transition: opacity 0.4s ease, background-image 0.4s ease;
  z-index: 9999;
}

body.hovering-link #custom-cursor {
  background-image: url("../images/circle-pointer-hover.png");
}

/*---Headers------------------------------------*/
h1 {
  font-family: "Cormorant", Times New Roman, Serif;
  font-size: 3rem;
  font-weight: 400;
  margin: 0;
}

h1::first-letter {
  font-family: "Mrs Saint Delafield", Times New Roman, Serif;
}

h2 {
  font-family: "Cormorant", Times New Roman, Serif;
  font-size: 1.75rem;
}

h3 {
  font-family: "Cormorant", Times New Roman, Serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.5rem;
}

/*---Links------------------------------------*/
/*---Text selection------------------------------------*/
::selection {
  background-color: #FF87EF;
}

/*---SPACERS------------------------------------*/
.spacer-tiny {
  padding: 0.5rem 0;
}

.spacer-small {
  padding: 2rem 0;
}

.spacer {
  padding: 4rem 0;
}

.clear {
  clear: both;
  padding-bottom: 50px;
}

.clear-empty {
  clear: both;
}

/*---NO SELECT------------------------------------*/
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
   supported by Chrome, Edge, Opera and Firefox */
}

/*---HERO------------------------------------*/
.container {
  padding: 16px 0px 0px 0px;
  text-align: center;
  margin: 0 auto;
  width: 620px;
  max-width: 90%;
}

.hero-logo img {
  margin: 0 auto;
  max-width: 100%;
}

.album {
  margin: 0 auto;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}
.album img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-title {
  position: relative;
  font-family: "Unbounded", Verdana, sans-serif;
  color: #FFFFFF;
  text-transform: uppercase;
  font-weight: 200;
  letter-spacing: 0.1rem;
  margin: 3rem auto 0rem auto;
  line-height: 1;
  text-align: justify;
  max-width: 100%;
}
.album-title:after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 0;
}

/*---MODAL------------------------------------*/
/* Modal backdrop */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7); /* semi-transparent background */
}

/* Modal content box */
.modal-content {
  position: relative;
  margin: 5% auto;
  width: 90%;
  max-width: 900px;
  height: 80%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

/* Close button */
.close {
  font-family: "Figtree", Verdana, sans-serif;
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 36px;
  font-weight: 300;
  cursor: pointer;
  color: #fff;
}

/* iframe styling */
.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/*---LINKS------------------------------------*/
.links {
  position: relative;
  text-align: center;
  padding: 1rem 0rem 1rem 0rem;
  color: #DBD8CB;
  font-family: "Unbounded", Verdana, sans-serif;
  font-weight: 100;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 1;
}
.links a {
  color: #FFFFFF;
  text-decoration: none;
}
.links a:hover {
  color: #FF87EF;
}

/*---WRAPPER------------------------------------*/
.wrap-width {
  width: 400px;
}

.wrap-smart-link .album-title {
  font-family: "Figtree", Verdana, sans-serif;
  text-align: center;
}

.wrap-smart-link::before {
  content: "";
  position: fixed;
  top: -20px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  background: var(--cover-url) no-repeat center center/cover;
  filter: blur(12px);
  opacity: 0.8;
  pointer-events: none; /* allow clicks through */
}

/*---SONG INFO------------------------------------*/
.wrap-smart-link .album {
  margin: 0 auto;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}
.wrap-smart-link .album img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 766px) {
  .wrap-smart-link .album {
    width: 60%;
  }
}

.album-info {
  position: relative;
  z-index: 1;
  color: #FFFFFF;
  padding: 1.5rem 0;
}
@media (max-width: 766px) {
  .album-info {
    padding: 1.5rem 0;
  }
}

.album-info p {
  padding: 0;
  margin: 0;
  line-height: 1.2;
}

.artist-name {
  font-weight: 700;
  font-size: 1.3rem;
}
@media (max-width: 766px) {
  .artist-name {
    font-size: 1.5rem;
  }
}

.song-name {
  font-size: 1rem;
}
@media (max-width: 766px) {
  .song-name {
    font-size: 1.5rem;
  }
}

/*---SONG LINKS------------------------------------*/
#linksContainer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (max-width: 766px) {
  #linksContainer {
    gap: 0.6rem;
  }
}

.song-link-row {
  position: relative; /* needed for pseudo-element */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-radius: 5rem;
  background: rgba(0, 0, 0, 0.4);
  text-decoration: none;
  color: #fff;
  margin-bottom: 0.1rem;
  overflow: hidden; /* keep pseudo-element inside */
  transition: background 0.3s, transform 0.2s;
  -webkit-tap-highlight-color: transparent; /* remove gray highlight */
}
@media (max-width: 766px) {
  .song-link-row {
    padding: 1.5rem;
    margin-bottom: 0.5rem;
  }
}

.song-link-row::before {
  content: "";
  position: absolute;
  inset: 0; /* covers the entire element */
  padding: 2px; /* border thickness */
  pointer-events: none; /* let clicks pass through */
}

.song-link-row:hover {
  transform: translateY(-2px) scale(1.02);
  background: rgb(0, 0, 0);
}

.song-link-row:focus {
  outline: none;
}

.song-link-row:focus-visible {
  outline: none;
}

.wrap-smart-link .links {
  color: #DBD8CB;
  font-family: "Figtree", Verdana, sans-serif;
  text-transform: none;
  z-index: 1;
}
.wrap-smart-link .links a {
  color: #FFFFFF;
  text-decoration: none;
}
.wrap-smart-link .links a:hover {
  color: #FFFFFF;
}

/*---PLATFORM------------------------------------*/
.platform {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.platform i {
  width: 40px;
  text-align: center;
  font-size: 1.5rem;
}
@media (max-width: 766px) {
  .platform i {
    width: 30px;
    font-size: 1.8rem;
  }
}

.platform-name {
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  font-weight: 500;
}
@media (max-width: 766px) {
  .platform-name {
    font-size: 1.3rem;
  }
}

.btn-presave {
  background: #FFFFFF;
  border-radius: 2rem;
  color: #000000;
  padding: 0.2rem 1.3rem;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.03rem;
}
@media (max-width: 766px) {
  .btn-presave {
    padding: 0.5rem 1.5rem;
    font-size: 1.2rem;
  }
}

#countdown-container {
  position: relative;
  background: #FFFFFF;
  color: #000000;
  z-index: 1;
  text-align: center;
  font-family: "Figtree", Verdana, sans-serif;
  padding: 1.5rem 0 0 0;
  border-radius: 0.8rem;
  margin: 0 0 1rem 0;
}
@media (max-width: 766px) {
  #countdown-container {
    border-radius: 1rem;
    margin: 0 0 1rem 0;
    padding: 2rem 0 1.6rem 0;
  }
}

.release-text {
  padding: 0.7rem 0 1rem 0;
  font-size: 0.8rem;
  letter-spacing: 0.025em;
}
@media (max-width: 766px) {
  .release-text {
    padding: 1rem 0 0 0;
    font-size: 1.1rem;
  }
}

.countdown-numbers {
  display: flex;
  justify-content: center;
  gap: 0; /* spacing handled by flex itself */
}

.time-col {
  flex: 1;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  position: relative;
}
@media (max-width: 766px) {
  .time-col {
    font-size: 2rem;
  }
}

/* Add colon after each number except the last */
.time-col:not(:last-child)::after {
  content: ":";
  position: absolute;
  right: -0.5rem; /* adjust spacing of colon */
  top: 0;
  font-weight: bold;
}

.countdown-labels {
  display: flex;
  justify-content: center;
}

.label-col {
  flex: 1;
  text-align: center;
  letter-spacing: 0.05rem;
  margin-top: 0.25rem;
  font-size: 0.7rem;
}
@media (max-width: 766px) {
  .label-col {
    font-size: 0.8rem;
  }
}

/*---DETAILS TABLE------------------------------------*/
.album-details {
  position: relative;
  z-index: 1;
  color: #FFFFFF;
  font-size: 1rem;
  text-align: left;
  line-height: 1.6;
}

.album-details table {
  width: 100%;
  border-collapse: collapse;
}

.album-details td {
  width: 50%;
  border-top: 1px solid #FFFFFF;
  border-bottom: 1px solid #FFFFFF;
  padding: 1rem 0;
  vertical-align: top;
}

.album-details td:first-child {
  font-weight: 700;
}

.album-details p {
  padding: 0;
  margin: 0;
}

/*---DETAILS LINKS------------------------------------*/
.album-details a, .album-details a:visited {
  color: #FF87EF;
}

.album-details .link-clean a, .album-details .link-clean a:visited {
  text-decoration: none;
}

.album-details a:hover {
  text-decoration: underline;
}

.album-details .clean {
  text-decoration: none;
}

.spacer-press {
  padding: 1.15rem 0;
}

/*---DETAILS LIST------------------------------------*/
.album-details ul, .album-details li {
  margin: 0;
  padding: 0;
  line-height: 1.6;
  list-style-position: inside;
}

/*---PRESS IMAGES------------------------------------*/
.press-images img {
  width: calc(50% - 1rem);
  display: block;
  float: left;
  padding: 0 0 1rem 0;
  margin: 0;
}

.press-images img:nth-child(odd) {
  padding-right: 1rem;
}

.press-images-wide img {
  width: calc(100% - 1rem);
  display: block;
  float: left;
}

/*---YOUTUBE EMBED------------------------------------*/
.youtube-embed {
  position: relative;
  padding-bottom: 56%;
  width: 100%;
  text-align: left;
}

.youtube-embed iframe {
  width: 100%;
  position: absolute;
  height: 100%;
  overflow: hidden;
}

/*---READ MORE------------------------------------*/
.read-more {
  /* Update this variable directly*/
  --line-clamp: 12;
  display: flex;
  flex-direction: column;
  align-items: start;
}

.read-more__text {
  display: -webkit-box;
  -webkit-line-clamp: var(--line-clamp);
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more__checkbox {
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.read-more__checkbox ~ .read-more__label {
  color: #FF87EF;
  cursor: pointer;
  text-decoration: underline;
}

.read-more__checkbox:hover ~ .read-more__label {
  text-decoration: none;
}

.read-more__checkbox ~ .read-more__label::before {
  content: attr(data-read-more);
}

.read-more__checkbox:checked ~ .read-more__label::before {
  content: attr(data-read-less);
}

.read-more__checkbox:checked ~ .read-more__text {
  --line-clamp: none;
  -webkit-line-clamp: var(--line-clamp);
}

/*---FOOTER------------------------------------*/
.profile-links {
  font-family: "Unbounded", Verdana, sans-serif;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  z-index: 1;
}
.profile-links a {
  color: #FFFFFF;
  text-decoration: none;
}
.profile-links a:hover {
  color: #FF87EF !important;
}

footer {
  display: flex;
  text-align: center;
  align-items: center;
  flex-direction: column;
  padding: 1rem 0rem 1rem 0rem;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Unbounded", Verdana, sans-serif;
  font-weight: 100;
  text-transform: uppercase;
  width: 620px;
  max-width: 100%;
  margin: 0 auto;
}
footer .links {
  padding-bottom: 3rem;
}
footer .links span {
  padding: 0 0.2rem;
}
footer .disclosure {
  opacity: 0.6;
  font-size: 0.7rem;
}
footer a {
  color: #FFFFFF;
  text-decoration: none;
}
footer a:hover {
  color: #FF87EF;
}

/*---DISCLOSURES------------------------------------*/
.footer-disclosure {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  font-size: 0.7rem;
}

.footer-disclosure button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-decoration: underline;
}

/*---ERROR PAGE------------------------------------*/
.error-page-wrap {
  height: 100vh;
  width: calc(100vw - 6rem);
  padding: 20vh 3rem 0 3rem;
}

.error-page {
  color: #DBD8CB;
  text-align: center;
}
.error-page .badge {
  margin-top: 2rem;
  border: 1px #DBD8CB solid;
  background: #000000;
}
.error-page .badge:hover {
  color: #FFFFFF;
  border: 1px #FFFFFF solid;
}