/* ============================================================
   VALEZART — Components
   Header, Navigation, Carousel, Cards, Footer, Noise, Video
   ============================================================ */

/* =========================
   HEADER
   ========================= */
.header {
  position: relative;
  z-index: 1000;
  background: var(--color-bg);
  margin-bottom: 30px; /* Margin to separate from demoreel */
}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-sm);
}

.header__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.header__logo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transition: transform var(--duration-base) var(--ease-out);
}

.header__brand:hover .header__logo {
  transform: scale(1.1);
}

.header__title {
  font-size: 60px;
  font-weight: 700;
  letter-spacing: 50px;
  padding-left: 50px;
  text-transform: uppercase;
}

.header__logo-mobile {
  display: none;
  height: 60px; /* Original size */
  width: auto;
  margin: 15px auto 0 auto; /* Slight top margin */
}

@media (max-width: 1200px) {
  .header__title {
    display: none;
  }
  
  .header__logo-mobile {
    display: block;
  }

  .header__brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* =========================
   NAVIGATION
   ========================= */
.nav {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: var(--space-xs); /* Reduced from space-md */
  flex-wrap: nowrap; /* Force single line */
  justify-content: center;
  white-space: nowrap; /* Prevent text wrapping */
}

.nav__link {
  font-weight: 400;
  font-size: 24px;
  color: #ffffff;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  text-transform: uppercase; /* Ensure uppercase */
  letter-spacing: 3px;
  padding: 10px 15px 5px 15px; /* Reduced padding left/right to keep it tight */
  position: relative;
  transition: color var(--duration-slow) var(--ease-out); /* Slower transition */
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  width: 0;
  height: 3px; /* Thicker underline */
  background: var(--gradient-text); /* Use the exact gradient */
  transition: width var(--duration-slow) var(--ease-out); /* Slower animation */
}

.nav__link:hover,
.nav__link--active {
  color: transparent;
}

.nav__link:hover::after,
.nav__link--active::after {
  width: calc(100% - 30px);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: 1001;
}

.nav__toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-bright);
  margin: 5px 0;
  transition: transform var(--duration-fast) var(--ease-out),
              opacity var(--duration-fast) var(--ease-out);
}

.nav__toggle.is-active .nav__toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.is-active .nav__toggle-line:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-active .nav__toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1200px) {
  .header__inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .nav__toggle {
    display: block;
  }

  .nav__toggle.is-active {
    position: fixed;
    top: 25px;
    right: var(--space-md);
    z-index: 10000;
  }

  .nav__list {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md); /* Reduced gap to prevent scroll */
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration-base) var(--ease-out),
                visibility var(--duration-base) var(--ease-out);
  }

  .nav__list.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    font-size: 32px; /* Reduced to avoid vertical scroll */
  }
}

/* =========================
   HERO VIDEO
   ========================= */
.hero-video {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  overflow: hidden;
  border-bottom: none;
  padding-bottom: 40px; /* Protect video controls from overlapping text */
}

.hero-video__wrapper {
  background: linear-gradient(#000, #000) padding-box, linear-gradient(90deg, #bf52ff, #47ebff) border-box;
  border: 20px solid transparent;
  display: block;
}

.hero-video__player {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: auto; /* explicit */
}

/* .hero-video::after removed to show the border fully without bottom gradient */

/* =========================
   HERO INTRO
   ========================= */
.hero-intro {
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  pointer-events: none; /* ensure container doesn't block video controls */
}

.hero-intro__name {
  font-size: var(--fs-hero);
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: var(--space-lg);
}

.hero-intro__roles {
  font-size: var(--fs-lg);
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.5 !important; /* Increased line-height for these roles specifically */
}

.hero-intro__roles span {
  display: block;
}

@media (max-width: 768px) {
  .hero-intro__roles {
    font-size: 0.9rem;
  }
  
  .hero-intro__roles.custom-heading {
    font-size: 20px; /* Ampliado a 20px */
    letter-spacing: 2px;
    line-height: 1.5;
  }
}

/* =========================
   CUSTOM TYPOGRAPHY (From Oxygen)
   ========================= */
.custom-heading {
  font-weight: 400;
  color: #ffffff;
  font-size: 55px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 15px;
  line-height: .8;
  margin-top: -100px;
  position: relative;
  z-index: 10;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  pointer-events: none; /* Allow clicks to pass through to video controls */
}

.custom-heading.gradient {
  color: transparent;
}

.custom-heading--no-margin {
  margin-top: -30px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .custom-heading {
    font-size: 30px;
    letter-spacing: 8px;
    margin-top: -50px;
  }
}

/* =========================
   CAROUSEL
   ========================= */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.carousel:active {
  cursor: grabbing;
}

.carousel__track {
  display: flex;
  gap: var(--space-md);
  will-change: transform;
}

.carousel__track.is-dragging a {
  pointer-events: none;
}

.carousel__item img,
.carousel__item a {
  -webkit-user-drag: none;
  user-select: none;
}

.carousel__track.is-dragging {
  transition: none;
}

.carousel__item {
  flex: 0 0 auto;
  width: 420px;
}

.carousel__item a {
  display: block;
  padding: 6px;
  background: #383838;
  border-radius: 0;
  transition: background var(--duration-fast) var(--ease-out),
              filter 1s var(--ease-out),
              opacity 1s var(--ease-out);
  filter: grayscale(100%) blur(4px);
  opacity: 0.2;
}

.carousel__item.is-focused a {
  filter: grayscale(0%) blur(0px);
  opacity: 1;
}

.carousel__item.is-focused a:hover {
  background: var(--gradient-text);
}

.carousel__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0;
  transition: box-shadow var(--duration-base) var(--ease-out),
              filter var(--duration-base) var(--ease-out);
  filter: brightness(0.85);
}

.carousel__item.is-focused:hover img {
  box-shadow: var(--shadow-glow);
  filter: brightness(1);
}

.carousel__item--poster {
  width: 405px;
}

.carousel__item--poster img {
  width: 405px;
  height: 600px;
  aspect-ratio: auto; /* override the previous aspect-ratio if needed */
}

/* Carousel for poster-style items (audiovisual) */
@media (max-width: 768px) {
  .carousel__item {
    width: 75vw;
  }

  .carousel__item--poster {
    width: 75vw;
  }
  
  .carousel__item--poster img {
    height: auto;
    aspect-ratio: 405 / 600;
  }
  
  .hero-video__player {
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
  }
}

/* =========================
   PROJECT GRID (Base)
   ========================= */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
  padding: var(--space-md);
}

/* --- Music Grid: 3 columns, large square covers --- */
.project-grid--music {
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1600px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .project-grid--music {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .project-grid--music {
    grid-template-columns: 1fr;
  }
}

/* --- Films Grid: 2 columns, horizontal videos --- */
.project-grid--films {
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1600px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .project-grid--films {
    grid-template-columns: 1fr;
  }
}

/* --- Single Album Subpage --- */
.album-title {
  font-size: 80px;
  margin-top: var(--space-md);
  margin-bottom: 0;
  letter-spacing: 40px;
  padding-left: 40px;
}

.album-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 26px;
  color: var(--text-color);
  margin-top: 30px;
  font-weight: 300;
  letter-spacing: 4px;
}

@media (max-width: 768px) {
  .album-title {
    font-size: 40px;
    letter-spacing: 15px;
    padding-left: 15px;
  }
  .album-subtitle {
    font-size: 16px;
    letter-spacing: 2px;
  }
}
.album-cover-large {
  max-width: 600px;
  width: 100%;
  border-radius: 0;
  border: 10px solid transparent;
  background: linear-gradient(var(--color-bg), var(--color-bg)) padding-box,
              var(--gradient-text) border-box;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  margin: 0 auto var(--space-xl) auto;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.album-cover-large:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.album-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--duration-fast) var(--ease-out);
}

.album-links svg {
  fill: currentColor;
  transition: filter var(--duration-fast) var(--ease-out), fill var(--duration-fast) var(--ease-out);
}

.album-links:hover {
  transform: translateY(-5px);
}

.album-links:hover svg {
  fill: #bf52ff;
}

.streaming-icons-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: var(--space-md);
}

@media (max-width: 768px) {
  .streaming-icons-container {
    flex-direction: column;
    gap: 50px;
  }
}

.video-container-wide {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.video-container-ultrawide {
  position: relative;
  width: 100%;
  aspect-ratio: 2.35 / 1;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .video-container-ultrawide {
    aspect-ratio: 16 / 9; /* Revert to 16:9 on mobile to prevent YouTube side bars */
  }
}

.video-container-wide iframe,
.video-container-wide video,
.video-container-ultrawide iframe,
.video-container-ultrawide video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-links-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.store-link:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.store-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.license-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.license-link:hover {
  transform: scale(1.05);
}

/* =========================
   PROJECT CARD (Base)
   ========================= */
.project-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  transition: transform var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
}

.project-card__image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
}

.project-card--poster .project-card__image {
  aspect-ratio: 2/3;
}

.project-card:hover .project-card__image {
  transform: scale(1.05);
}

.project-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
  transform: translateY(10px);
  opacity: 0;
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-base) var(--ease-out);
}

.project-card:hover .project-card__overlay {
  transform: translateY(0);
  opacity: 1;
}

.project-card__title {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-card__subtitle {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* =========================
   MUSIC CARD — Gradient Border Hover
   ========================= */
.music-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(var(--color-bg), var(--color-bg)) padding-box,
              linear-gradient(90deg, rgba(100,100,100,0.3), rgba(100,100,100,0.3)) border-box;
  border: 6px solid transparent;
  border-radius: 0;
  transition: box-shadow var(--duration-base) var(--ease-out);
  cursor: pointer;
}

.music-card:hover {
  background: linear-gradient(var(--color-bg), var(--color-bg)) padding-box,
              var(--gradient-text) border-box;
  box-shadow: var(--shadow-glow);
}

.music-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out),
              filter var(--duration-base) var(--ease-out);
  filter: brightness(0.85);
}


.music-card-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out),
              transform var(--duration-slow) var(--ease-out),
              filter var(--duration-base) var(--ease-out);
  pointer-events: none;
  z-index: 1;
  filter: brightness(0.85);
}

.music-card:hover .music-card-video {
  opacity: 1;
  transform: scale(1.03);
  filter: brightness(1);
}

.music-card:hover img {
  transform: scale(1.03);
  filter: brightness(1);
}

/* =========================
   VIDEO BOX — Audiovisual Hover-to-Play
   ========================= */
.video-box {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(var(--color-bg), var(--color-bg)) padding-box,
              linear-gradient(90deg, rgba(100,100,100,0.3), rgba(100,100,100,0.3)) border-box;
  border: 6px solid transparent;
  border-radius: 0;
  transition: box-shadow var(--duration-base) var(--ease-out);
  cursor: pointer;
}

.video-box:hover {
  background: linear-gradient(var(--color-bg), var(--color-bg)) padding-box,
              var(--gradient-text) border-box;
  box-shadow: var(--shadow-glow);
}

.video-box video {
  width: 100%;
  height: auto;
  display: block;
  transition: filter var(--duration-base) var(--ease-out);
  filter: brightness(0.85);
}

.video-box:hover video {
  filter: brightness(1);
}

/* =========================
   SINGLE PROJECT PAGE
   ========================= */
.project-hero {
  padding-top: calc(var(--header-height) + var(--space-xl));
  text-align: center;
}

.project-hero__poster {
  max-width: 350px;
  margin: 0 auto var(--space-lg);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.project-hero__title {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-sm);
}

.project-hero__subtitle {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  font-weight: 400;
}

/* Video embed */
.video-embed {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: var(--space-lg) auto;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Content sections */
.project-section {
  padding: var(--space-xl) 0;
}

.project-section__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.project-section__text {
  font-size: var(--fs-base);
  line-height: 1.9;
  color: var(--color-text);
  max-width: 75ch;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: var(--space-xs) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all var(--duration-fast) var(--ease-out);
}

.project-link:hover {
  border-color: var(--color-accent);
  background: rgba(167, 139, 250, 0.08);
  color: var(--color-accent);
}

/* =========================
   BIO SECTION
   ========================= */
.bio {
  max-width: 1600px; /* Match hero-video max-width */
  margin: 0 auto;
  padding: 0 var(--space-md); /* Removed massive vertical padding */
}

.bio p {
  max-width: none; /* override 75ch max-width */
  margin-bottom: var(--space-md);
  color: #ffffff;
  font-size: 22px;
  text-align: left; /* reset to left inside the centered block */
}

.bio a {
  display: inline;
  color: #ffffff;
  font-weight: bold;
  text-decoration: underline;
  text-decoration-color: #ffffff;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: all var(--duration-fast) var(--ease-out);
}

.bio a * {
  color: inherit;
  transition: all var(--duration-fast) var(--ease-out);
}

.bio a:hover {
  color: #47ebff;
  text-decoration-color: #47ebff;
}

/* =========================
   ABOUT PAGE
   ========================= */
.about-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-border);
  margin: 0 auto var(--space-lg);
  display: block;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.tool-tag {
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: var(--fs-xs);
  text-align: center;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.tool-tag:hover {
  border-color: var(--color-accent);
}

/* =========================
   CONTACT FORM
   ========================= */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  padding: var(--space-sm);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text-bright);
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-sm) var(--space-lg);
  background: transparent;
  color: var(--color-text-bright);
  border: 1px solid var(--color-text-bright);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  align-self: flex-start;
}

.form-submit:hover {
  background: var(--color-text-bright);
  color: var(--color-bg);
}

/* =========================
   FOOTER
   ========================= */
.footer {
  padding: var(--space-xl) var(--space-md);
  text-align: center;
}

.footer__copyright {
  color: #ffffff;
  font-size: 24px;
  letter-spacing: 10px;
  text-align: center;
  font-weight: 200;
  margin: 0 auto 35px auto;
  text-transform: uppercase;
  width: 100%;
}

.footer__socials {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: none;
  color: var(--color-text-muted);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer__social-link:hover {
  color: #a26dff;
  transform: translateY(-2px);
}

.footer__social-link svg {
  width: 50px;
  height: 50px;
  fill: currentColor;
}

/* =========================
   NOISE OVERLAY
   ========================= */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.1;
  background: url('../assets/img/grain.gif');
}

/* =========================
   PAGE CONTENT OFFSET
   ========================= */
.page-content {
  padding-top: 0;
}

/* =========================
   FADE-IN ANIMATIONS
   ========================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   BACK LINK
   ========================= */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  transition: color var(--duration-fast) var(--ease-out);
}

.back-link:hover {
  color: var(--color-accent);
}






/* =========================
   CUSTOM CURSOR STYLES
   ========================= */
body {
  cursor: none;
}
a, button, .album-card, .album-card__image-container, .album-card__hover-trigger, .music-card, .film-card, .project-card {
  cursor: none !important;
}

.cursor-dot, .cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 999999;
  pointer-events: none;
  opacity: 0; /* Hidden until mouse moves */
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  transition: width 0.2s ease-out, height 0.2s ease-out, box-shadow 0.2s ease-out, background-color 0.2s ease-out;
}

.cursor-outline {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: width 0.2s ease-out, height 0.2s ease-out, background-color 0.2s ease-out, border 0.2s ease-out;
}

/* Hover state for interactive elements */
.cursor-outline.hover {
  width: 22px;
  height: 22px;
  background-color: rgba(255, 255, 255, 0);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.cursor-dot.hover {
  width: 14px;
  height: 14px;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
}

/* Touch devices fallback */
@media (pointer: coarse) {
  .cursor-dot, .cursor-outline {
    display: none !important;
  }
  body, a, button, .album-card, .album-card__image-container, .album-card__hover-trigger, .music-card, .film-card, .project-card {
    cursor: auto !important;
  }
}

/* Custom Play Button Overlay */
.custom-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  z-index: 10;
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
}
.custom-play-btn:hover {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.9), rgba(0, 194, 255, 0.9));
  transform: translate(-50%, -50%) scale(1.1);
  border-color: #fff;
  box-shadow: 0 0 25px rgba(0, 194, 255, 0.6);
}
.custom-play-btn svg {
  width: 40px;
  height: 40px;
  fill: #fff;
  margin-left: 6px;
}

/* Footer Legal Links */
.footer__legal-links { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #666; margin: 0 auto 35px auto; display: flex; gap: 20px; justify-content: center; text-transform: uppercase; letter-spacing: 2px; }
.footer__legal-link { color: inherit; text-decoration: none; transition: color 0.3s ease; }
.footer__legal-link:hover { color: #47ebff; }
