/* =====================
   BASE & RESET
   ===================== */
html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: background-color 0.5s ease;
  overflow: hidden;
  overflow-x: hidden;
}

html {
  background-color: #000;
}

html:hover {
  background-color: #101010;
}

/* =====================
   FONTS
   ===================== */
@font-face {
  font-family: "ClashDisplay";
  src: url("../fonts/ClashDisplay-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "ClashDisplay";
  src: url("../fonts/ClashDisplay-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

/* =====================
   TYPOGRAPHY
   ===================== */
h1 {
  font-size: 1.75rem;
}

p,
li,
hr,
h1,
h2,
h3 {
  font-family: "ClashDisplay", sans-serif;
  color: #dddddd;
  opacity: 0;
  animation: fadeIn 1s forwards;
  animation-delay: 0.15s;
}

a {
  font-family: "ClashDisplay", sans-serif;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  color: #fff;
  opacity: 0;
  animation: fadeIn 1s forwards;
  animation-delay: 0.15s;
  transition: color 0.3s, transform 0.3s ease;
}

a:hover {
  text-decoration: underline;
  color: #717171;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* =====================
   UTILITY CLASSES
   ===================== */
.inline {
  display: inline;
}

.hidden {
  display: none;
}

/* =====================
   LAYOUT & CONTAINERS
   ===================== */
.centered-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  padding: 0 1rem;
}

.centered-text {
  max-width: 600px;
}

/* =====================
   COMPONENTS
   ===================== */
.image {
  width: 350px;
  height: 150px;
  opacity: 0;
  animation: fadeIn 1s forwards;
  animation-delay: 0.15s;
}

.animated-link {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: fadeIn 1s forwards;
  animation-delay: 0.15s;
  will-change: opacity;
}

.centered-image {
  width: 300px;
  height: auto;
  cursor: pointer;
}

.centered-text a {
  font-weight: 600;
  text-decoration: underline;
  font-family: "Arial", sans-serif;
  color: #dddddd;
  opacity: 0;
  animation: fadeIn 1s forwards;
  animation-delay: 0.15s;
}

.tracklist a {
  font-weight: 400;
  text-decoration: none;
  font-family: "Arial", sans-serif;
  color: #dddddd;
  opacity: 0;
  animation: fadeIn 1s forwards;
  animation-delay: 0.15s;
}

.icon {
  font-size: 1.5rem;
}

.icon:hover {
  color: #717171;
  text-decoration: none;
}

/* --- Footer --- */
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 12px;
  z-index: 1000;
}

.footer-left {
  padding-left: 15px;
  padding-bottom: 5px;
  display: flex;
  align-items: center;
}

.footer-right {
  padding-right: 15px;
  padding-bottom: 5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.footer a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
}

.footer i {
  color: white;
  text-decoration: none;
  margin: 0;
  font-size: 16px;
}

.footer i:hover {
  color: #717171;
}

/* --- Slider --- */
.slider {
  position: relative;
  width: 480px;
  margin: 50px auto;
  text-align: center;
  padding: 0 60px;
  box-sizing: content-box;
}

.slider img {
  width: 70%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
  display: block;
  margin: 0 auto;
}

.slider img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  background-color: rgba(0, 0, 0, 0);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  user-select: none;
  z-index: 10;
  transition: background-color 0.3s;
}

.arrow:hover {
  color: #717171;
}

.arrow.left {
  left: 50px;
}

.arrow.right {
  right: 50px;
}

.dots {
  text-align: center;
  margin-top: 35px;
}

.dot {
  display: inline-block;
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #717171;
}

/* --- Image Preview (Lightbox) --- */
.image-preview-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s;
}

.preview-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.close-preview {
  position: fixed;
  top: 24px;
  right: 32px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
  background: none;
  border: none;
  outline: none;
  transition: color 0.2s;
  user-select: none;
}

.close-preview:hover {
  color: #717171;
}

/* --- Tracklist --- */
.tracklist {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 36px 32px 32px 32px;
  max-width: 420px;
  margin: 40px auto 0 auto;
  text-align: center;
  font-family: "ClashDisplay", Arial, sans-serif;
}

.tracklist h1 {
  font-weight: 700;
  margin-bottom: 24px;
  color: #fff;
  letter-spacing: 0.04em;
  text-align: center;
}

.tracklist p {
  color: #e0e0e0;
  margin: 18px 0 18px 0;
  line-height: 1.7;
  border-left: none;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}

.tracklist a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s, text-shadow 0.2s;
}

.iconTrack,
.iconTrackSpotify,
.iconTrackSoundcloud,
.iconTrackApple {
  margin: 0 6px;
  color: #b6b6b6;
  transition: color 0.2s, transform 0.2s;
  vertical-align: middle;
}

.tracklist a:hover {
  color: #b6b6b6;
  text-shadow: none;
}

.imageTracklist {
  display: block;
  margin: 0 auto 18px auto;
  max-width: 140px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

/* =====================
   RESPONSIVE / MEDIA QUERIES
   ===================== */
@media (max-width: 768px) {
  p {
    font-size: 3vw;
  }

  .close-preview {
    top: 12px;
    right: 16px;
    font-size: 2rem;
  }

  .preview-img {
    max-width: 98vw;
    max-height: 80vh;
  }

  .imageTracklist {
    max-width: 140px;
  }

  .tracklist {
    min-height: 70vh;
    padding-top: 32px;
    padding-bottom: 32px;
    max-width: 80vw;
  }

  .licensing {
    min-height: 60vh;
    max-width: 80vw;
  }

  .contact {
    min-height: 25vh;
    max-width: 80vw;
  }

  .about {
    min-height: 50vh;
    max-width: 80vw;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 0;
    justify-content: center;
    gap: 10px;
  }

  .footer-left,
  .footer-right {
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .footer-left a,
  .footer-right a {
    margin: 5px 8px;
  }

  .footer-left i,
  .footer-right i {
    margin: 0;
  }

  .footer-left {
    margin-bottom: 5px;
    order: 2;
  }

  .footer-right {
    margin-top: 5px;
    order: 1;
  }

  .slider {
    width: 90%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .slider img {
    width: 100%;
    border-radius: 8px;
  }

  .slider img:hover {
    transform: scale(1);
  }

  .arrow {
    font-size: 24px;
    padding: 8px;
  }

  .arrow.left {
    left: -10px;
  }

  .arrow.right {
    right: -10px;
  }

  .dots {
    margin-top: 10px;
  }

  .dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
  }
}

@media (max-width: 600px) {
  .tracklist {
    padding: 18px 6vw 18px 6vw;
    max-width: 98vw;
  }

  .tracklist h1 {
    font-size: 1.3rem;
  }

  .tracklist p {
    font-size: 0.98rem;
    padding-left: 10px;
  }

  .imageTracklist {
    max-width: 140px;
  }
}
