/* ========== GLOBAL ========== */


/* ========== RETRO CURSOR ========== */

* {
  cursor: url("images/cursor-retro-arrow.svg") 4 3, auto;
}

a,
button,
.folder,
.nav-icon-button,
.back-button,
.contact-card,
[data-target] {
  cursor: url("images/cursor-retro-arrow.svg") 4 3, pointer;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
  background: #2a2a2a;
  color: #e3e3e3;
  line-height: 1.6;
}

/* CRT / scanline overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px
  );
  background-size: 100% 3px;
  mix-blend-mode: soft-light;
  opacity: 0.25;
  z-index: 999;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 18% 24%, rgba(31, 82, 51, 0.24), transparent 30%),
    radial-gradient(circle at 82% 78%, rgba(127, 225, 162, 0.06), transparent 28%),
    #2a2a2a;
  background-size:
    34px 34px,
    34px 34px,
    auto,
    auto,
    auto;
}

/* entry page background */
.page--index {
  position: relative;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    url("images/bg-main.png");
  background-size:
    34px 34px,
    34px 34px,
    cover;
  background-position:
    center,
    center,
    center;
  background-repeat:
    repeat,
    repeat,
    no-repeat;
}

/* ========== HEADER / TOP BAR ========== */

.top-bar {
  position: relative;
  width: 100%;
  height: 60px;
  background: #2a2a2a; /* lighter than background */
  display: flex;
  align-items: center;
  justify-content: flex-end; /* push nav to the right */
  padding: 0 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* logo fixed at left */
.logo-home {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 96px;
  height: 60px;
  overflow: visible;
  z-index: 60;
}

.logo-home img {
  width: 82px;
  height: auto;
  object-fit: contain;
  border: none;
  border-radius: 0;
  box-shadow: none;
  pointer-events: none;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.45));
  backface-visibility: hidden;
  transform: translateZ(0);
  display: block;
}


.logo-home img[src*="home-wordmark"] {
  content: url("images/home-wordmark.png");
}

.logo-home:active img,
.logo-home:focus img {
  content: url("images/home-wordmark.png");
}

.home-tooltip {
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%) translateY(-3px);
  padding: 3px 7px;
  background: #101010;
  color: #7fe1a2;
  border: 1px solid rgba(127, 225, 162, 0.42);
  border-radius: 2px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease, transform 0.12s ease;
  z-index: 20;
}

.logo-home:hover .home-tooltip,
.logo-home:focus-visible .home-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* icon nav stays on the right */
.nav-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-icon-button {
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #202020;
  color: #e3e3e3;
  border: 1px solid rgba(127, 225, 162, 0.32);
  border-radius: 3px;
  cursor: pointer;
  user-select: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 3px 0 rgba(0, 0, 0, 0.42);
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}

.nav-icon-button::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px dotted rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.nav-icon-button:hover,
.nav-icon-button:focus-visible {
  background: #154027;
  color: #7fe1a2;
  border-color: rgba(127, 225, 162, 0.65);
  outline: none;
}

.nav-icon-button:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 1px 0 rgba(0, 0, 0, 0.42);
}

.nav-icon {
  width: 19px;
  height: 19px;
  z-index: 1;
}

.nav-tooltip {
  position: absolute;
  right: 50%;
  bottom: -28px;
  transform: translateX(50%) translateY(-3px);
  padding: 3px 7px;
  background: #101010;
  color: #7fe1a2;
  border: 1px solid rgba(127, 225, 162, 0.42);
  border-radius: 2px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease, transform 0.12s ease;
  z-index: 20;
}

.nav-icon-button:hover .nav-tooltip,
.nav-icon-button:focus-visible .nav-tooltip {
  opacity: 1;
  transform: translateX(50%) translateY(0);
}

/* ========== LAYOUT AREAS ========== */

.desktop-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.center-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.folder-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ========== FOLDERS ========== */

.folder {
  position: relative;
  width: 170px;
  height: 112px;
  background:
    linear-gradient(180deg, #245a39 0%, #143d26 58%, #0f2f1e 100%);
  border-radius: 2px 4px 4px 4px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset -3px -4px 0 rgba(0, 0, 0, 0.22),
    inset 3px 0 0 rgba(255, 255, 255, 0.045),
    0 10px 0 rgba(0, 0, 0, 0.28),
    0 16px 24px rgba(0, 0, 0, 0.38);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 2px solid rgba(127, 225, 162, 0.28);
  border-left: 2px solid rgba(127, 225, 162, 0.18);
  border-right: 2px solid rgba(0, 0, 0, 0.34);
  border-bottom: 2px solid rgba(0, 0, 0, 0.44);
  user-select: none;
  will-change: transform;
  z-index: 3;
  image-rendering: pixelated;
}

.folder::before {
  content: "";
  position: absolute;
  top: -17px;
  left: -2px;
  width: 76px;
  height: 20px;
  background:
    linear-gradient(180deg, #2c6a43 0%, #1d4f31 100%);
  border-radius: 3px 4px 0 0;
  border-top: 2px solid rgba(127, 225, 162, 0.28);
  border-left: 2px solid rgba(127, 225, 162, 0.18);
  border-right: 2px solid rgba(0, 0, 0, 0.32);
  border-bottom: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset -2px -2px 0 rgba(0, 0, 0, 0.16);
}


.folder:hover {
  filter: brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset -3px -4px 0 rgba(0, 0, 0, 0.22),
    inset 3px 0 0 rgba(255, 255, 255, 0.05),
    0 12px 0 rgba(0, 0, 0, 0.3),
    0 20px 30px rgba(0, 0, 0, 0.44);
}

.folder:active {
  filter: brightness(0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 3px 4px 0 rgba(0, 0, 0, 0.2),
    0 5px 0 rgba(0, 0, 0, 0.28),
    0 10px 18px rgba(0, 0, 0, 0.34);
}

/* folder size variants */

.small-folder {
  width: 140px;
  height: 95px;
}

.large-folder {
  width: 220px;
  height: 145px;
}

/* folder labels */

.folder-label {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* entry label – bigger, keeps lower-case "o" */
.folder-label-main-entry {
  color: #fdfdfd;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 14px;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.7);
}

/* generic main/sub labels (used e.g. for beat store / remixes) */

.folder-label-main {
  color: #fdfdfd;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.7);
}

.folder-label-sub {
  color: #d9e8dd;
  font-size: 10px;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
  font-weight: 400;
}

/* MUSIC label – big word "music" only */

.folder-label-music {
  color: #fdfdfd;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 13px;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.7);
}

/* ===== BOUNCING LOGO (HOME PAGE) ===== */

#bouncing-logo {
  position: fixed;
  z-index: 4;
  pointer-events: auto;
  cursor: url("images/cursor-retro-arrow.svg") 4 3, pointer;
  left: 50%;
  top: 50%;
  visibility: hidden;
  opacity: 0;
}

#bouncing-logo.is-ready {
  visibility: visible;
  opacity: 1;
}

#bouncing-logo img {
  width: 70px;
  height: auto;
  opacity: 0.9;
  display: block;
}

/* ========== TEXT PANELS (ABOUT / CONTACT / ETC) ========== */

.text-content {
  max-width: 720px;
  margin: 48px auto;
  background: rgba(16, 16, 16, 0.94);
  border-radius: 4px;
  padding: 24px 28px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.text-content h1 {
  font-size: 18px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 8px;
}

.text-content p {
  margin-bottom: 12px;
  font-size: 14px;
}

.text-content a {
  color: #7fe1a2;
  text-decoration: none;
}

.text-content a:hover {
  text-decoration: underline;
}

/* ========== REMIXES AUDIO LIST ========== */

.audio-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.audio-item span {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 500;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 600px) {
  .desktop-area {
    padding: 20px;
  }

  .center-area {
    padding: 16px;
  }

  .folder {
    width: 140px;
    height: 95px;
  }

  .small-folder {
    width: 125px;
    height: 88px;
  }

  .large-folder {
    width: 200px;
    height: 130px;
  }

  .text-content {
    margin: 24px 12px;
    padding: 16px 18px;
  }

  .nav-buttons {
    gap: 9px;
  }

  .nav-icon-button {
    width: 36px;
    height: 36px;
  }

  .nav-icon {
    width: 18px;
    height: 18px;
  }
}


/* subtle interior page artwork layer */
.page:not(.page--index)::after {
  content: "";
  position: fixed;
  left: 50%;
  top: 50%;
  width: min(620px, 74vw);
  height: min(620px, 74vw);
  transform: translate(-50%, -50%);
  background-image: url("images/bg-main2.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  animation: bgFlicker 8s steps(1, end) infinite;
}

.top-bar,
.center-area,
.desktop-area,
.text-content,
.contact-main,
.about-main,
.back-button {
  position: relative;
  z-index: 1;
}


/* subtle display flicker */
.page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 58%, rgba(0, 0, 0, 0.16) 100%),
    linear-gradient(rgba(255,255,255,0.018), rgba(0,0,0,0.018));
  opacity: 0.34;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
  animation: screenPulse 6s ease-in-out infinite;
}

.page--index .desktop-area,
.page--index .folder {
  position: relative;
  z-index: 1;
}

@keyframes screenPulse {
  0%, 100% { opacity: 0.28; }
  47% { opacity: 0.38; }
  49% { opacity: 0.24; }
  50% { opacity: 0.42; }
  52% { opacity: 0.31; }
}

@keyframes bgFlicker {
  0%, 100% { opacity: 0.07; }
  40% { opacity: 0.06; }
  41% { opacity: 0.085; }
  42% { opacity: 0.065; }
  72% { opacity: 0.075; }
  73% { opacity: 0.055; }
  74% { opacity: 0.08; }
}




/* ========== BACK BUTTON ========== */

.back-button {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 50;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #202020;
  color: #e3e3e3;
  border: 1px solid rgba(127, 225, 162, 0.32);
  border-radius: 3px;
  font-family: inherit;
  cursor: pointer;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 3px 0 rgba(0, 0, 0, 0.42);
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}

.back-button::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px dotted rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.back-button:hover,
.back-button:focus-visible {
  background: #154027;
  color: #7fe1a2;
  border-color: rgba(127, 225, 162, 0.65);
  outline: none;
}

.back-button:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 1px 0 rgba(0, 0, 0, 0.42);
}

.back-button-icon {
  position: relative;
  z-index: 1;
  font-size: 18px;
  line-height: 1;
}

.back-tooltip {
  position: absolute;
  left: 50%;
  top: -28px;
  transform: translateX(-50%) translateY(3px);
  padding: 3px 7px;
  background: #101010;
  color: #7fe1a2;
  border: 1px solid rgba(127, 225, 162, 0.42);
  border-radius: 2px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease, transform 0.12s ease;
  z-index: 20;
}

.back-button:hover .back-tooltip,
.back-button:focus-visible .back-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 600px) {
  .back-button {
    left: 12px;
    bottom: 12px;
    width: 36px;
    height: 36px;
  }

  .back-button-icon {
    font-size: 17px;
  }
}



.home-folder-grid,
.folder-grid,
.folder {
  position: relative;
  z-index: 8;
}


.center-area,
.desktop-home-area,
.home-folder-grid,
.folder-grid,
.folder,
.contact-window,
.about-window,
.pack-window,
.archive-window {
  position: relative;
  z-index: 5;
}

.top-bar,
.back-button,
.desktop-label {
  position: relative;
  z-index: 60;
}


/* explicit layer ordering */
#bouncing-logo {
  z-index: 1;
}

.home-folder-grid,
.folder-grid,
.folder {
  position: relative;
  z-index: 5;
}

/* ========== HOME DESKTOP ========== */

.page--home {
  background:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    radial-gradient(circle at 18% 24%, rgba(31, 82, 51, 0.20), transparent 30%),
    radial-gradient(circle at 82% 78%, rgba(127, 225, 162, 0.055), transparent 28%),
    #2a2a2a;
  background-size:
    34px 34px,
    34px 34px,
    auto,
    auto,
    auto;
}

.desktop-home-area {
  justify-content: flex-start;
  align-items: flex-start;
  padding: 72px 48px;
}

.home-folder-grid {
  justify-content: flex-start;
  align-items: flex-start;
  gap: 28px;
}

.desktop-label {
  position: fixed;
  right: 22px;
  bottom: 20px;
  z-index: 40;
  color: rgba(227, 227, 227, 0.38);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
}

/* ========== PACK / ARCHIVE WINDOWS ========== */

.pack-main,
.archive-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

.pack-window,
.archive-window {
  width: min(720px, 100%);
  background: rgba(12, 14, 13, 0.96);
  border: 1px solid rgba(127, 225, 162, 0.28);
  border-radius: 6px;
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.62),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.pack-intro,
.archive-intro {
  padding: 34px 34px 20px;
}

.pack-intro h1,
.archive-intro h1 {
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.archive-intro p {
  margin-top: 14px;
  color: rgba(227, 227, 227, 0.62);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pack-folder-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 34px 34px;
}

.pack-folder-row {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 14px;
  background: rgba(31, 31, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px;
  color: #e3e3e3;
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.mini-folder {
  position: relative;
  width: 42px;
  height: 29px;
  display: inline-block;
  flex: 0 0 auto;
  background:
    linear-gradient(180deg, #245a39 0%, #143d26 62%, #0f2f1e 100%);
  border-top: 2px solid rgba(127, 225, 162, 0.28);
  border-left: 2px solid rgba(127, 225, 162, 0.18);
  border-right: 2px solid rgba(0, 0, 0, 0.34);
  border-bottom: 2px solid rgba(0, 0, 0, 0.44);
  border-radius: 2px 3px 3px 3px;
  box-shadow:
    inset -2px -2px 0 rgba(0, 0, 0, 0.18),
    0 4px 0 rgba(0, 0, 0, 0.24);
}

.mini-folder::before {
  content: "";
  position: absolute;
  top: -9px;
  left: -2px;
  width: 19px;
  height: 9px;
  background: #1d4f31;
  border-top: 2px solid rgba(127, 225, 162, 0.28);
  border-left: 2px solid rgba(127, 225, 162, 0.18);
  border-right: 2px solid rgba(0, 0, 0, 0.32);
  border-radius: 2px 2px 0 0;
}

@media (max-width: 760px) {
  .desktop-home-area {
    padding: 48px 18px;
  }

  .home-folder-grid {
    gap: 22px;
  }

  .desktop-label {
    right: 14px;
    bottom: 16px;
    font-size: 9px;
  }

  .pack-main,
  .archive-main {
    align-items: flex-start;
    padding: 28px 12px;
  }

  .pack-intro,
  .archive-intro,
  .pack-folder-list {
    padding-left: 18px;
    padding-right: 18px;
  }
}



/* ========== BUILT-IN BEAT PACK PAGE ========== */

.pack-folder-link {
  cursor: url("images/cursor-retro-arrow.svg") 4 3, pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.pack-folder-link:hover,
.pack-folder-link.is-selected {
  background: rgba(21, 64, 39, 0.54);
  border-color: rgba(127, 225, 162, 0.38);
}

.pack-folder-link:active {
  transform: translateY(1px);
}

.digitals-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

.digitals-window {
  width: min(920px, 100%);
  background: rgba(12, 14, 13, 0.96);
  border: 1px solid rgba(127, 225, 162, 0.28);
  border-radius: 6px;
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.62),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.digitals-hero {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
  align-items: center;
  padding: 34px 34px 24px;
}

.digitals-cover {
  width: 210px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    rgba(31, 31, 31, 0.88);
  background-size: 16px 16px;
  border: 1px solid rgba(127, 225, 162, 0.22);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 12px 24px rgba(0, 0, 0, 0.34);
}

.digitals-cover img {
  width: 76%;
  height: 76%;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.4));
}

.digitals-eyebrow {
  margin-bottom: 10px;
  color: #7fe1a2;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.digitals-heading h1 {
  font-size: clamp(34px, 6vw, 70px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.digitals-favourite {
  margin-top: 12px;
  color: rgba(227, 227, 227, 0.48);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}


.digitals-tracklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 34px 28px;
}

.digitals-track {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 360px);
  gap: 18px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(31, 31, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px;
}

.digitals-track-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.digitals-track-number {
  color: #7fe1a2;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.digitals-track h2 {
  font-size: 13px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 500;
}

.digitals-track audio {
  width: 100%;
  height: 32px;
  filter: grayscale(1) contrast(1.05);
}

.digitals-contact-line {
  margin: 0 34px 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(227, 227, 227, 0.66);
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.digitals-contact-line a {
  color: #7fe1a2;
  text-decoration: none;
}

.digitals-contact-line a:hover {
  text-decoration: underline;
}

.missing-audio {
  color: rgba(227, 227, 227, 0.5);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .digitals-main {
    align-items: flex-start;
    padding: 28px 12px;
  }

  .digitals-hero {
    grid-template-columns: 1fr;
    padding: 24px 18px 20px;
  }

  .digitals-cover {
    width: min(260px, 100%);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .digitals-tracklist {
    padding-left: 18px;
    padding-right: 18px;
  }

  .digitals-track {
    grid-template-columns: 1fr;
  }

  .digitals-contact-line {
    margin-left: 18px;
    margin-right: 18px;
  }
}



/* ========== REMIXES ========== */

.remix-main,
.remix-detail-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

.remix-window,
.remix-detail-window {
  width: min(860px, 100%);
  background: rgba(12, 14, 13, 0.96);
  border: 1px solid rgba(127, 225, 162, 0.28);
  border-radius: 6px;
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.62),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.remix-detail-window {
  width: min(980px, 100%);
}

.remix-intro,
.remix-detail-heading {
  padding: 34px 34px 20px;
}

.remix-intro h1,
.remix-detail-heading h1 {
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.remix-eyebrow {
  margin-bottom: 10px;
  color: #7fe1a2;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.remix-file-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 34px 34px;
}

.remix-file-row {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
  background: rgba(31, 31, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px;
  color: #e3e3e3;
  cursor: url("images/cursor-retro-arrow.svg") 4 3, pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.remix-file-row:hover,
.remix-file-row.is-selected {
  background: rgba(21, 64, 39, 0.54);
  border-color: rgba(127, 225, 162, 0.38);
}

.remix-file-row:active {
  transform: translateY(1px);
}

.video-file-icon {
  position: relative;
  width: 42px;
  height: 32px;
  display: inline-block;
  flex: 0 0 auto;
  background: rgba(10, 10, 10, 0.72);
  border: 2px solid rgba(127, 225, 162, 0.32);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 4px 0 rgba(0, 0, 0, 0.24);
}

.video-file-icon::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  border-left: 12px solid #7fe1a2;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

.remix-file-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.remix-file-title {
  font-size: 13px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.remix-file-sub {
  color: rgba(227, 227, 227, 0.48);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.remix-video-shell {
  margin: 0 34px 24px;
  padding: 18px;
  display: flex;
  justify-content: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    rgba(31, 31, 31, 0.78);
  background-size: 18px 18px;
  border: 1px solid rgba(127, 225, 162, 0.18);
  border-radius: 4px;
}

.remix-video-frame {
  width: min(360px, 100%);
  height: 640px;
  display: block;
  background: #090909;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42);
}

.remix-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 34px 24px;
}

.remix-info-card {
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: rgba(31, 31, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px;
}

.remix-info-label {
  color: #7fe1a2;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.remix-info-main {
  color: #e3e3e3;
  font-size: 13px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
}

.remix-find-link {
  color: rgba(227, 227, 227, 0.42);
  text-decoration: none;
}

.remix-find-link:hover {
  color: #7fe1a2;
  text-decoration: underline;
}

.remix-info-hint {
  color: rgba(227, 227, 227, 0.42);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}


.remix-rights-note {
  margin: 0 34px 34px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(227, 227, 227, 0.42);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .remix-main,
  .remix-detail-main {
    align-items: flex-start;
    padding: 28px 12px;
  }

  .remix-intro,
  .remix-detail-heading,
  .remix-file-list,
  .remix-info-grid {
    padding-left: 18px;
    padding-right: 18px;
  }

  .remix-video-shell {
    margin-left: 18px;
    margin-right: 18px;
    padding: 12px;
  }

  .remix-info-grid {
    grid-template-columns: 1fr;
  }

  .remix-rights-note {
    margin-left: 18px;
    margin-right: 18px;
  }
}


/* ========== ABOUT PAGE ========== */

.page--about {
  background:
    radial-gradient(circle at 24% 18%, rgba(31, 82, 51, 0.24), transparent 32%),
    radial-gradient(circle at 76% 74%, rgba(127, 225, 162, 0.07), transparent 28%),
    #2a2a2a;
}

.about-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

.about-window {
  width: min(720px, 100%);
  background: rgba(12, 14, 13, 0.96);
  border: 1px solid rgba(127, 225, 162, 0.28);
  border-radius: 6px;
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.62),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.about-intro {
  padding: 34px 34px 20px;
}

.about-intro h1 {
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0 34px 34px;
}

.about-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 20px;
  background: rgba(31, 31, 31, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px;
  color: #e3e3e3;
  text-align: center;
}

.about-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7fe1a2;
}

.about-icon svg {
  width: 100%;
  height: 100%;
}

.about-card-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7fe1a2;
}

.about-card-main {
  font-size: 15px;
  word-break: break-word;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 760px) {
  .about-main {
    align-items: flex-start;
    padding: 28px 12px;
  }

  .about-intro,
  .about-grid {
    padding-left: 18px;
    padding-right: 18px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-card {
    min-height: 160px;
  }
}


/* ========== CONTACT PAGE ========== */

.page--contact {
  background:
    radial-gradient(circle at 20% 20%, rgba(31, 82, 51, 0.28), transparent 32%),
    radial-gradient(circle at 80% 70%, rgba(127, 225, 162, 0.08), transparent 28%),
    #2a2a2a;
}

.contact-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

.contact-window {
  width: min(880px, 100%);
  background: rgba(12, 14, 13, 0.96);
  border: 1px solid rgba(127, 225, 162, 0.28);
  border-radius: 6px;
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.62),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.window-bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: #252525;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #154027;
  border: 1px solid rgba(127, 225, 162, 0.35);
}

.window-title {
  margin-left: 8px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(227, 227, 227, 0.62);
}

.contact-intro {
  padding: 34px 34px 20px;
}

.contact-intro h1 {
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 34px 34px;
}

.contact-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 20px;
  background: rgba(31, 31, 31, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px;
  color: #e3e3e3;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  background: rgba(21, 64, 39, 0.66);
  border-color: rgba(127, 225, 162, 0.45);
  text-decoration: none;
}

.contact-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7fe1a2;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-card-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7fe1a2;
}

.contact-card-main {
  font-size: 15px;
  word-break: break-word;
}

@media (max-width: 760px) {
  .contact-main {
    align-items: flex-start;
    padding: 28px 12px;
  }

  .contact-intro,
  .contact-grid {
    padding-left: 18px;
    padding-right: 18px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-card {
    min-height: 160px;
  }
}


/* fixed viewport back control override */
.back-button {
  position: fixed !important;
  left: 18px;
  bottom: 18px;
  z-index: 80;
}

@media (max-width: 600px) {
  .back-button {
    left: 12px;
    bottom: 12px;
  }
}


/* DVD logo click/layer reliability */
#bouncing-logo {
  z-index: 4 !important;
  pointer-events: auto !important;
}

#bouncing-logo img {
  pointer-events: auto;
}

.folder,
.folder-grid,
.home-folder-grid {
  z-index: 8;
}


/* ========== ENTRY PAGE CUSTOM COLOURS ========== */

.page--index {
  background:
    linear-gradient(rgba(10, 36, 23, 0.68), rgba(10, 36, 23, 0.68)),
    url("images/bg-main.png"),
    #0a2417;
  background-size:
    cover,
    cover,
    auto;
  background-position:
    center,
    center,
    center;
  background-repeat:
    no-repeat,
    no-repeat,
    no-repeat;
}

.page--index .top-bar {
  background: #06170f;
  border-bottom: 1px solid rgba(127, 225, 162, 0.14);
}

.page--index .folder {
  background:
    linear-gradient(180deg, #5b5b5b 0%, #3b3b3b 58%, #292929 100%);
  border-top: 2px solid rgba(255, 255, 255, 0.22);
  border-left: 2px solid rgba(255, 255, 255, 0.16);
  border-right: 2px solid rgba(0, 0, 0, 0.38);
  border-bottom: 2px solid rgba(0, 0, 0, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset -3px -4px 0 rgba(0, 0, 0, 0.22),
    inset 3px 0 0 rgba(255, 255, 255, 0.05),
    0 10px 0 rgba(0, 0, 0, 0.28),
    0 16px 24px rgba(0, 0, 0, 0.38);
}

.page--index .folder::before {
  background:
    linear-gradient(180deg, #707070 0%, #4a4a4a 100%);
  border-top: 2px solid rgba(255, 255, 255, 0.22);
  border-left: 2px solid rgba(255, 255, 255, 0.16);
  border-right: 2px solid rgba(0, 0, 0, 0.36);
}

.page--index .folder-label-main-entry {
  color: #f3f3f3;
  font-weight: 900;
  text-shadow:
    1px 1px 0 rgba(0, 0, 0, 0.82),
    0 0 8px rgba(0, 0, 0, 0.42);
}



/* ========== LOADING SCREEN + SYSTEM AUDIO ========== */

.page--loading {
  background:
    linear-gradient(rgba(6, 23, 15, 0.78), rgba(6, 23, 15, 0.78)),
    url("images/bg-main.png"),
    #06170f;
  background-size: cover, cover, auto;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

.page--loading .top-bar {
  background: #04110b;
  border-bottom: 1px solid rgba(127, 225, 162, 0.14);
}

.loading-main {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
}

.loading-window {
  width: min(620px, 100%);
  background: rgba(9, 12, 10, 0.96);
  border: 1px solid rgba(127, 225, 162, 0.26);
  border-radius: 6px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.62), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.loading-content { padding: 34px; }

.loading-content h1 {
  margin: 0 0 22px;
  color: #f2f2f2;
  font-size: clamp(24px, 6vw, 48px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.loading-terminal {
  display: grid;
  gap: 7px;
  margin-bottom: 24px;
  color: rgba(227, 227, 227, 0.66);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.loading-terminal p {
  margin: 0;
  opacity: 0;
  animation: boot-line 1.8s steps(1, end) forwards;
}

.loading-terminal p:nth-child(1) { animation-delay: 0.2s; }
.loading-terminal p:nth-child(2) { animation-delay: 0.65s; }
.loading-terminal p:nth-child(3) { animation-delay: 1.1s; }
.loading-terminal p:nth-child(4) { animation-delay: 1.55s; }

.loading-bar {
  height: 18px;
  padding: 3px;
  background: rgba(31, 31, 31, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.loading-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: repeating-linear-gradient(90deg, #7fe1a2 0, #7fe1a2 8px, #61bc82 8px, #61bc82 14px);
  animation: boot-load 2.35s ease-out forwards;
}

@keyframes boot-line { to { opacity: 1; } }
@keyframes boot-load {
  0% { width: 0; }
  22% { width: 18%; }
  47% { width: 44%; }
  72% { width: 76%; }
  100% { width: 100%; }
}

.system-audio-player {
  position: fixed;
  right: 18px;
  bottom: 48px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: rgba(12, 14, 13, 0.92);
  border: 1px solid rgba(127, 225, 162, 0.24);
  border-radius: 4px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(4px);
}

.audio-btn {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: rgba(31, 31, 31, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e3e3e3;
  font-size: 12px;
  line-height: 1;
  cursor: url("images/cursor-retro-arrow.svg") 4 3, pointer;
}

.audio-btn:hover {
  color: #7fe1a2;
  border-color: rgba(127, 225, 162, 0.38);
}

.audio-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.audio-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.audio-icon path:first-child {
  fill: currentColor;
  stroke: currentColor;
}

.sound-line {
  fill: none !important;
}

.mute-cross {
  fill: none !important;
}


.audio-waveform {
  width: 126px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 8px;
  background: rgba(31, 31, 31, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.audio-waveform span {
  width: 4px;
  height: 7px;
  background: #7fe1a2;
  opacity: 0.78;
  transform-origin: center;
  animation: waveform-bounce 0.85s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.08s);
  animation-play-state: paused;
}

.system-audio-player.is-playing .audio-waveform span { animation-play-state: running; }

.system-audio-player.is-muted .audio-waveform span,
.system-audio-player:not(.is-playing) .audio-waveform span {
  opacity: 0.32;
}

@keyframes waveform-bounce {
  0%, 100% { height: 6px; }
  20% { height: 19px; }
  45% { height: 10px; }
  65% { height: 24px; }
  85% { height: 12px; }
}

@media (max-width: 760px) {
  .system-audio-player {
    right: 12px;
    bottom: 44px;
    transform: scale(0.9);
    transform-origin: right bottom;
  }

  .audio-waveform { width: 92px; }
}


/* ========== EXTRA PACK CONTENT ========== */

.stars-tbc-small {
  color: rgba(227, 227, 227, 0.46);
  font-size: clamp(12px, 1.8vw, 18px);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  font-weight: 600;
  vertical-align: baseline;
  margin-left: 12px;
}

.digitals-coming-soon {
  color: rgba(227, 227, 227, 0.42);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
