/* ========================================
   VARIABILI GLOBALI
   ======================================== */
:root {
  --bg-color: #0a0a0a;
  --surface-color: #141414;
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --accent: #d4af37;
  --accent-glow: rgba(212, 175, 55, 0.3);
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Space Mono", monospace;
  --card-width: 380px;
  --card-offset: 320px;
}

/* ========================================
   RESET & BASE
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--surface-color);
  overflow-x: hidden;
}

html::-webkit-scrollbar {
  width: 6px;
}

html::-webkit-scrollbar-track {
  background: var(--surface-color);
}

html::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

body::-webkit-scrollbar {
  display: none;
}

body {
  -ms-overflow-style: none;
  scrollbar-width: none;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 14px;
  max-width: 100vw;
  position: relative;
}

body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   NAVIGATION
   ======================================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
}

nav.scrolled {
  padding: 1rem 3rem;
  background: rgba(10, 10, 10, 0.9);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 3px;
  z-index: 1001;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s ease;
  position: relative;
  font-weight: 400;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 2px;
  cursor: none;
  padding: 5px 8px;
  transition: var(--transition);
  position: relative;
}

.lang-btn.active {
  color: var(--accent);
}

.lang-btn.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 1px;
  background: var(--accent);
}

.lang-divider {
  color: var(--text-secondary);
  opacity: 0.3;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 4px);
  background: var(--accent);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -4px);
  background: var(--accent);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.97);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.mobile-menu.active {
  display: flex;
  opacity: 1;
}

.mobile-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--accent);
}

.mobile-lang {
  margin-top: 2rem;
  display: flex;
  gap: 0.5rem;
}

/* ========================================
   CURSOR
   ======================================== */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 10001;
  pointer-events: none;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent);
  transition:
    width 0.2s,
    height 0.2s;
}

body:hover .cursor-outline.hovered {
  width: 60px;
  height: 60px;
  border-color: var(--accent);
  opacity: 0.7;
}

.cursor-hidden {
  display: none !important;
}

.cursor-fade-in {
  animation: cursorFadeIn 0.6s ease forwards;
}

@keyframes cursorFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (hover: hover) and (pointer: fine) {
  *,
  *::before,
  *::after {
    cursor: none !important;
  }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 110%;
  opacity: 0.25;
  transform: scale(1.08);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    rgba(10, 10, 10, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 5%;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.hero-subtitle {
  font-size: clamp(0.65rem, 1.5vw, 0.75rem);
  text-transform: uppercase;
  letter-spacing: 6px;
  color: var(--accent);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards 0.5s;
  font-weight: bold;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 9vw, 7rem);
  line-height: 1;
  font-weight: 300;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s ease forwards 0.8s;
  text-shadow: 0 0 60px rgba(212, 175, 55, 0.3);
}

.hero-desc {
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  color: var(--text-secondary);
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards 1.1s;
  font-weight: 400;
}

.soundwave {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  height: 50px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.4s;
}

.bar {
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  animation: sound 1.2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.bar:nth-child(odd) {
  animation-duration: 0.8s;
}

.bar:nth-child(2n) {
  animation-duration: 1.1s;
}

.bar:nth-child(3n) {
  animation-duration: 1.3s;
}

.bar:nth-child(4n) {
  animation-duration: 0.9s;
}

@keyframes sound {
  0%,
  100% {
    height: 10px;
    opacity: 0.4;
  }
  50% {
    height: 50px;
    opacity: 1;
  }
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.5rem;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.7s;
}

.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transition: left 0.4s ease;
  z-index: -1;
}

.cta-btn:hover {
  color: var(--bg-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
}

.cta-btn:hover::before {
  left: 0;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle,
.hero-title,
.hero-desc,
.soundwave,
.cta-btn {
  opacity: 0;
  animation: none !important;
}

/* ========================================
   SECTIONS GENERALI
   ======================================== */
section {
  padding: 6rem 5%;
  position: relative;
  overflow: hidden;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  margin-bottom: 2rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-tag::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--text-primary);
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.2;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   CATEGORY FILTER - STILE COERENTE
   ======================================== */
.category-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0 1rem;
}

.category-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 2px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.category-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transition: left 0.4s ease;
  z-index: -1;
}

.category-btn:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.category-btn:hover::before {
  left: 0;
}

.category-btn:hover .category-label {
  color: var(--bg-color);
}

.category-btn:hover .category-count {
  background: rgba(10, 10, 10, 0.3);
  color: var(--bg-color);
}

.category-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-color);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.category-btn.active::before {
  left: 0;
}

.category-btn.active .category-label {
  color: var(--bg-color);
}

.category-btn.active .category-count {
  background: rgba(10, 10, 10, 0.3);
  color: var(--bg-color);
}

.category-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 0.5rem;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 11px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0;
  transition: all 0.3s ease;
}

.category-label {
  font-weight: 500;
  transition: color 0.3s ease;
}

.work-card-carousel.filtering-out {
  opacity: 0 !important;
  transform: translate(-50%, -50%) scale(0.7) !important;
  pointer-events: none !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.work-card-carousel.filtering-in {
  animation: cardFilterIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardFilterIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
  }
  100% {
    opacity: 1;
  }
}

/* ========================================
   ABOUT - EDITORIAL LAYOUT
======================================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: stretch;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.9;
  margin-bottom: 1.6rem;
  text-align: justify;
  hyphens: auto;
}

.about-text p:last-of-type:not(.about-quote) {
  margin-bottom: 0;
}

.about-text p:first-of-type::first-letter {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  float: left;
  line-height: 0.85;
  margin-right: 0.6rem;
  margin-top: 0.25rem;
  color: var(--accent);
  font-weight: 600;
  text-shadow: 0 0 20px var(--accent-glow);
}

.about-text .accent-text {
  color: var(--accent);
  font-weight: 700;
  position: relative;
  white-space: nowrap;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.about-text .accent-text::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-text .accent-text:hover {
  color: var(--text-primary);
  text-shadow: 0 0 10px var(--accent-glow);
}

.about-text .accent-text:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.about-text em {
  font-style: italic;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.08em;
  letter-spacing: 0.3px;
}

.about-text .keyword {
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-primary);
  font-weight: 700;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}

.about-text .highlight {
  color: var(--text-primary);
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(212, 175, 55, 0.15) 60%
  );
  padding: 0 2px;
  font-weight: 500;
}

.about-image {
  position: relative;
  height: 80%;
  min-height: 500px;
  background: var(--surface-color);
  border-radius: 4px;
  overflow: hidden;
}

.about-image::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 4px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    var(--accent),
    var(--accent-glow),
    var(--accent)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  z-index: 1;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s ease,
    filter 0.6s ease;
  filter: grayscale(100%);
}

.about-image:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.about-text .about-quote {
  position: relative;
  margin-top: 2.5rem !important;
  padding: 1.8rem 2rem 1.8rem 4rem !important;
  border-left: 3px solid var(--accent);
  background: linear-gradient(
    90deg,
    rgba(212, 175, 55, 0.05) 0%,
    transparent 100%
  );
  font-family: var(--font-heading) !important;
  font-size: 1.35rem !important;
  font-style: italic;
  color: var(--text-primary) !important;
  line-height: 1.5;
  text-align: left !important;
  border-radius: 0 4px 4px 0;
  box-shadow: -5px 0 20px -10px var(--accent-glow);
}

.about-text .about-quote::before {
  content: "\201C";
  font-family: var(--font-heading);
  font-size: 6rem;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: -15px;
  left: 15px;
  line-height: 1;
  pointer-events: none;
} 

@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
  }
  .about-image {
    height: 500px;
    min-height: unset;
    order: -1;
  }
}

@media (max-width: 768px) {
  .about-image {
    height: 400px;
  }
  .about-text p {
    text-align: left;
    font-size: 0.98rem;
  }
  .about-text .about-quote {
    font-size: 1.15rem !important;
    padding: 1.2rem 1.5rem 1.2rem 3rem !important;
  }
  .about-text .about-quote::before {
    font-size: 4rem;
  }
}

@media (max-width: 480px) {
  .about-image {
    height: 320px;
  }
  .about-text p {
    font-size: 0.92rem;
    line-height: 1.8;
  }
  .about-text p:first-of-type::first-letter {
    font-size: 3.5rem;
  }
}
/* ========================================
   GALLERY
   ======================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 250px);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  content-visibility: auto;
  contain-intrinsic-size: auto 250px;
}

.gallery-item:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 4;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  mix-blend-mode: saturation;
  z-index: 2;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.gallery-item:hover::before {
  opacity: 0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  filter: grayscale(100%);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(10, 10, 10, 0.9) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 3;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.gallery-overlay span {
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.gallery-zoom-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* ========================================
LIGHTBOX NAVIGATION ARROWS
======================================== */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(10, 10, 10, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--accent);
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10002;
  opacity: 0;
  pointer-events: none;
}

.lightbox.active .lightbox-arrow {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-arrow-prev {
  left: 2rem;
}

.lightbox-arrow-next {
  right: 2rem;
}

.lightbox-arrow:hover {
  background: var(--accent);
  color: var(--bg-color);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.lightbox-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.lightbox-arrow.hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}

.lightbox-img-transition {
  animation: lightboxImgSwap 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxImgSwap {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .lightbox-arrow {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .lightbox-arrow-prev {
    left: 1rem;
  }

  .lightbox-arrow-next {
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .lightbox-arrow {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .lightbox-arrow-prev {
    left: 0.5rem;
  }

  .lightbox-arrow-next {
    right: 0.5rem;
  }
}

/* ========================================
LIGHTBOX - FIX WIDTH CAPTION
======================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 40px; 
}

.lightbox-media {
  position: relative;
  display: inline-block;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(
    90vh - 80px
  ); 
  object-fit: contain;
  border-radius: 4px;
  transform: scale(0.9);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10002;
}

.lightbox-close:hover {
  background: var(--accent);
  color: var(--bg-color);
  transform: rotate(90deg);
}

.lightbox-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%; 
  text-align: center;
  color: var(--text-primary);
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(10, 10, 10, 0.8) 30%,
    rgba(10, 10, 10, 0.5) 60%,
    rgba(10, 10, 10, 0.2) 80%,
    transparent 100%
  );
  padding: 3rem 1.5rem 1.5rem;
  z-index: 10001;
  box-sizing: border-box; 
  border-radius: 0 0 4px 4px; 
}

.lightbox-caption h4 {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 400;
  margin-bottom: 0.3rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.lightbox-caption span {
  color: var(--accent);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  overflow-wrap: break-word;
}

/* ========================================
   PREMIUM CAROUSEL WHEEL - FLUID
   ======================================== */

.work-card-carousel {
  opacity: 0;
  pointer-events: none;
}

.works-carousel.js-ready .work-card-carousel.initialized {
  opacity: 1;
  pointer-events: auto;
}
.work-card-carousel.initialized {
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.5s ease,
    box-shadow 0.5s ease;
}
.work-card-carousel.filter-transition {
  transition: filter 0.5s ease;
}

.works-carousel-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.works-carousel {
  position: relative;
  width: 100%;
  height: 620px;
  perspective: 2000px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.work-card-carousel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  will-change: transform, opacity, filter;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  transform-style: preserve-3d;
}

.work-card-inner {
  background: linear-gradient(
    145deg,
    rgba(20, 20, 20, 0.95) 0%,
    rgba(10, 10, 10, 0.98) 100%
  );
  border: 1px solid rgba(212, 175, 55, 0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition:
    box-shadow 0.5s ease,
    border-color 0.5s ease;
}

.work-card-carousel.active .work-card-inner {
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(212, 175, 55, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

@keyframes cardGlow {
  0%,
  100% {
    box-shadow:
      0 30px 80px rgba(0, 0, 0, 0.6),
      0 0 40px rgba(212, 175, 55, 0.08);
  }
  50% {
    box-shadow:
      0 30px 80px rgba(0, 0, 0, 0.6),
      0 0 60px rgba(212, 175, 55, 0.15);
  }
}

.work-card-carousel.active .work-card-inner {
  animation: cardGlow 4s ease-in-out infinite;
}

.work-card-carousel .work-image {
  height: 320px;
  background: #222;
  position: relative;
  overflow: hidden;
}

.work-card-carousel .work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
  filter: grayscale(100%);
}

.work-card-carousel.active .work-image img {
  filter: grayscale(0%);
}

.work-card-carousel.active:hover .work-image img {
  transform: scale(1.08);
}

.work-card-carousel .work-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(10, 10, 10, 0.6) 80%,
    rgba(10, 10, 10, 0.95) 100%
  );
  pointer-events: none;
  opacity: 0.8;
  transition: opacity 0.5s ease;
}

.work-card-carousel.active .work-image::after {
  opacity: 0.5;
}

.work-card-carousel .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.work-card-carousel.active:hover .play-overlay {
  opacity: 1;
}

.work-card-carousel .play-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--bg-color);
  font-size: 1.3rem;
  transform: scale(0.8);
  transition: all 0.4s ease;
  cursor: pointer;
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
}

.work-card-carousel.active:hover .play-btn {
  transform: scale(1);
}

.work-card-carousel .play-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 15px 50px rgba(212, 175, 55, 0.6);
}

.work-card-carousel .work-info {
  padding: 1.875rem;
  position: relative;
}

.work-card-carousel .work-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.2),
    transparent
  );
}

.work-card-carousel .work-category {
  color: var(--accent);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 0.75rem;
}

.work-card-carousel .work-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 0.94rem;
  font-weight: 500;
  line-height: 1.3;
}

.work-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work-card-carousel .audio-player-ui {
  display: flex;
  align-items: center;
  gap: 0.94rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.work-card-carousel .progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.work-card-carousel .progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #f0d878);
  border-radius: 2px;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.work-card-carousel .time {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
  min-width: 80px;
  text-align: right;
}

/* CAROUSEL CONTROLS */
.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
}

.carousel-btn {
  width: 60px;
  height: 60px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: transparent;
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.carousel-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.carousel-btn:hover::before {
  transform: scale(1);
}

.carousel-btn:hover {
  color: var(--bg-color);
  border-color: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-counter {
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 2px;
  min-width: 80px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.carousel-counter .current {
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.carousel-counter .separator {
  margin: 0 0.3rem;
  opacity: 0.4;
}

/* DOTS */
.carousel-dots-wrapper {
  width: 290px;
  margin: 2rem auto 0;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}

.carousel-dots {
  display: flex;
  gap: 10px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  justify-content: flex-start;
  padding: 0;
}

.carousel-dot {
  width: 30px;
  height: 3px;
  background: rgba(212, 175, 55, 0.15);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
  flex-shrink: 0;
  border: none;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.carousel-dot::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.3s ease;
}

.carousel-dot:hover {
  background: rgba(212, 175, 55, 0.35);
}

.carousel-dot.active {
  width: 50px;
  background: rgba(212, 175, 55, 0.2);
}

.carousel-dot.active::before {
  width: 100%;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.work-card-carousel.filtering-out {
  animation: cardFilterOut 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: none;
}

.work-card-carousel.filtering-in {
  animation: cardFilterIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.work-card-carousel.filtering-done {
  animation: none;
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.5s ease,
    box-shadow 0.5s ease;
}

@keyframes cardFilterOut {
  0% {
    opacity: var(--current-opacity, 1);
    transform: translate(-50%, -50%) scale(var(--current-scale, 1));
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
    filter: blur(10px);
  }
}

@keyframes cardFilterIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0);
  }
}

.work-card-carousel.filtering-in.initialized {
  animation: none;
  opacity: 1;
}

.works-carousel.is-dragging,
.works-carousel.is-dragging .work-card-carousel {
  touch-action: none;
}

.works-carousel.is-dragging .work-card-carousel {
  transition: none !important;
}
.work-card-carousel.filtering-out,
.work-card-carousel.filtering-in {
  transition: none !important;
}

/* ========================================
   TABLET
   ======================================== */
@media (max-width: 1024px) {
  .works-carousel {
    height: 580px;
    perspective: 1800px;
  }
  .work-card-carousel {
    width: 340px;
  }
  .work-card-carousel .work-image {
    height: 280px;
  }
  .work-card-carousel .work-info {
    padding: 1.5rem;
  }
  .work-card-carousel .work-title {
    font-size: 1.4rem;
  }
  .carousel-controls {
    gap: 1.5rem;
  }
  .carousel-btn {
    width: 55px;
    height: 55px;
  }
  .carousel-dots-wrapper {
    width: 260px;
  }
}

/* ========================================
   MOBILE
   ======================================== */
@media (max-width: 768px) {
  .works-carousel-container {
    overflow: visible !important;
    touch-action: pan-y;
  }
  .works-carousel {
    overflow: visible !important;
    height: 520px;
    perspective: 1500px;
    touch-action: pan-y; 
    cursor: grab;
  }

  .work-card-carousel {
    width: var(--card-width);
    transition:
      border-color 0.5s ease,
      box-shadow 0.5s ease;
  }

  .works-carousel:active {
    cursor: grabbing;
  }
  .works-carousel,
  .work-card-carousel {
    touch-action: pan-y; 
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .work-card-carousel .work-image {
    height: 240px;
  }
  .work-card-carousel .work-info {
    padding: 1.2rem;
  }
  .work-card-carousel .work-title {
    font-size: 1.1rem;
  }
  .work-desc {
    font-size: 0.75rem;
  }

  .carousel-controls {
    gap: 1rem;
    margin-top: 0.5rem;
  }

  .carousel-btn {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .carousel-dots-wrapper {
    width: 240px;
    margin-top: 1.5rem;
  }
}

/* ========================================
   SMALL MOBILE
   ======================================== */
@media (max-width: 480px) {
  .works-carousel {
    height: 470px;
    perspective: 1200px;
  }

  .work-card-carousel {
    width: 78vw;
  }

  .work-card-carousel .work-image {
    height: 200px;
  }
  .work-card-carousel .work-info {
    padding: 1rem;
  }
  .work-card-carousel .work-title {
    font-size: 1rem;
  }

  .carousel-dots-wrapper {
    width: 200px;
  }
  .carousel-btn {
    width: 44px;
    height: 44px;
  }
}

/* ========================================
   SERVICES
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 3rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(20, 20, 20, 0.4);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  border-color: rgba(212, 175, 55, 0.2);
  transform: translateY(-5px);
  background: rgba(20, 20, 20, 0.7);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 1.875rem;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ========================================
   ARTICLES
   ======================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.article-card {
  background: rgba(20, 20, 20, 0.4);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.article-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.article-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.08);
}

.article-date {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--bg-color);
  color: var(--accent);
  padding: 0.5rem 0.94rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid var(--accent);
}

.article-content {
  padding: 1.875rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-category {
  color: var(--accent);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 0.94rem;
}

.article-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.94rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.article-card:hover .article-title {
  color: var(--accent);
}

.article-excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 1.56rem;
  flex: 1;
}

.article-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  transition: gap 0.3s ease;
  align-self: flex-start;
}

.article-link:hover {
  gap: 1.125rem;
}

/* ========================================
   CONTACT
   ======================================== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1.56rem;
  font-weight: 400;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-size: 1rem;
  line-height: 1.8;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1.56rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: var(--accent);
  padding-left: 0.625rem;
}

.contact-form {
  background: rgba(20, 20, 20, 0.5);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 4px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 2px;
  padding: 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.05);
}

.form-group label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  background: transparent;
  padding: 0 0.3rem;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
  top: -0.6rem;
  left: 0.7rem;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--surface-color);
}

.submit-btn {
  align-self: flex-start;
  padding: 1rem 3rem;
  background: var(--accent);
  color: var(--bg-color);
  border: none;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border-radius: 2px;
}

.submit-btn:hover {
  background: #b5952f;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

/* ========================================
   FOOTER - LAYOUT A 3 COLONNE
   ======================================== */
footer {
  padding: 2rem 5%;
  border-top: 1px solid rgba(212, 175, 55, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 1px;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: var(--text-secondary);
  font-size: 1.3rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-links a:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

.social-links a[data-social="spotify"]:hover {
  color: #1db954;
  text-shadow: 0 0 15px rgba(29, 185, 84, 0.5);
}

.social-links a[data-social="soundcloud"]:hover {
  color: #ff5500;
  text-shadow: 0 0 15px rgba(255, 85, 0, 0.5);
}

.social-links a[data-social="instagram"]:hover {
  color: #e4405f;
  text-shadow: 0 0 15px rgba(228, 64, 95, 0.5);
}

.social-links a[data-social="linkedin"]:hover {
  color: #0a66c2;
  text-shadow: 0 0 15px rgba(10, 102, 194, 0.5);
}

.social-links a[data-social="youtube"]:hover {
  color: #ff0000;
  text-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.social-links a[data-social="apple"]:hover {
  color: #fc3c44;
  text-shadow: 0 0 15px rgba(252, 60, 68, 0.5);
}

.footer-copyright {
  color: var(--text-secondary);
}

.footer-vat {
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.5px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.footer-credits {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.footer-credits strong {
  color: var(--accent);
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-credits:hover {
  color: var(--text-secondary);
}

.footer-credits:hover strong {
  color: var(--text-primary);
  text-shadow: 0 0 10px var(--accent-glow);
}

.footer-privacy {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
}

.footer-privacy::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-privacy:hover {
  color: var(--accent);
}

.footer-privacy:hover::after {
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2.5rem 5%;
  }

  .footer-left,
  .footer-right {
    align-items: center;
  }
}

/* ========================================
   ENTER OVERLAY
   ======================================== */
.enter-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-color);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 1s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.enter-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.enter-overlay::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  opacity: 1;
  filter: blur(60px);
  animation: pulseGlowBlack 4s ease-in-out infinite;
  z-index: 0;
}

@keyframes pulseGlowBlack {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
  }
}

.enter-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.enter-logo {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 8px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.3s;
}

.enter-logo span {
  color: var(--accent);
}

.enter-subtitle {
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-secondary);
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.6s;
}

.enter-button {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.9s;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.enter-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  opacity: 95%;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.enter-button:hover::before {
  transform: scale(1);
}

.enter-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 60px var(--accent-glow);
}

.enter-button:hover .enter-text {
  color: var(--bg-color);
}

.enter-button:hover .enter-icon {
  color: var(--bg-color);
  transform: scale(1.2);
}

.enter-button::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: ripple 2.5s ease-out infinite;
}

@keyframes ripple {
  0% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.enter-icon {
  font-size: 1.5rem;
  color: var(--accent);
  transition: all 0.4s ease;
  margin-bottom: 0;
}

.enter-text {
  position: absolute;
  bottom: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.4s ease;
}

.enter-hint {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.2s;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.enter-overlay {
  transition: opacity 11s cubic-bezier(0.4, 0, 0.2, 1);
}

.enter-overlay.cinematic {
  pointer-events: none;
}

.enter-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 11s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s 11s;
}

/* ========================================
   ANIMAZIONE CINEMATOGRAFICA
   ======================================== */
.enter-overlay.cinematic .enter-logo {
  animation: cinematicLogo 1.5s ease forwards;
}

@keyframes cinematicLogo {
  0% {
    opacity: 1;
    letter-spacing: 8px;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
  60% {
    opacity: 1;
    letter-spacing: 15px;
    transform: scale(1.3);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    letter-spacing: 25px;
    transform: scale(1.5);
    filter: blur(20px);
  }
}

.enter-overlay.cinematic .enter-subtitle {
  animation: cinematicSubtitle 1s ease forwards;
}

@keyframes cinematicSubtitle {
  to {
    opacity: 0;
    transform: translateY(-30px);
    filter: blur(10px);
  }
}

.enter-overlay.cinematic .enter-button {
  animation: cinematicButton 1.2s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

@keyframes cinematicButton {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
    box-shadow: 0 0 100px var(--accent-glow);
  }
  100% {
    opacity: 0;
    transform: scale(3);
    box-shadow: 0 0 200px var(--accent);
  }
}

.enter-overlay.cinematic .enter-hint {
  animation: fadeOutFast 0.5s ease forwards;
}

@keyframes fadeOutFast {
  to {
    opacity: 0;
  }
}

.enter-overlay.cinematic.phase-2 {
  animation: cinematicOverlay 2s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

@keyframes cinematicOverlay {
  0% {
    background: var(--bg-color);
    opacity: 1;
  }
  30% {
    background: #ffffff;
    opacity: 1;
  }
  50% {
    background: #000000;
    opacity: 1;
  }
  70% {
    background: #ffffff;
    opacity: 1;
  }
  85% {
    background: var(--bg-color);
    opacity: 1;
  }
  100% {
    background: var(--bg-color);
    opacity: 0;
  }
}

.cinematic-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99998;
  opacity: 0;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    transparent 50%,
    rgba(212, 175, 55, 0.3) 100%
  );
}

.cinematic-vignette.active {
  animation: vignetteFlash 2s ease forwards 1.5s;
}

@keyframes vignetteFlash {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.enter-overlay.cinematic .cinematic-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.cinematic-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  opacity: 0;
}

.enter-overlay.cinematic .cinematic-particle {
  animation: cinematicParticle 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cinematicParticle {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0);
  }
  20% {
    opacity: 1;
    transform: translate(var(--tx-start), var(--ty-start)) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx-end), var(--ty-end)) scale(0.3);
  }
}

/* ========================================
   HERO & NAV REVEAL A CASCATA
   ======================================== */
.hero-content.cinematic-prep .hero-subtitle,
.hero-content.cinematic-prep .hero-title,
.hero-content.cinematic-prep .hero-desc,
.hero-content.cinematic-prep .soundwave,
.hero-content.cinematic-prep .cta-btn,
nav.cinematic-prep {
  animation: none !important;
  opacity: 0 !important;
  transform: translateY(30px) !important;
  filter: blur(10px) !important;
  transition: none !important;
}

nav.cinematic-reveal {
  animation: navReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s !important;
}

@keyframes navReveal {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content.cinematic-reveal .hero-subtitle {
  animation: heroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s !important;
}

.hero-content.cinematic-reveal .hero-title {
  animation: heroTitleReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.8s !important;
}

.hero-content.cinematic-reveal .hero-desc {
  animation: heroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 1.1s !important;
}

.hero-content.cinematic-reveal .soundwave {
  animation: heroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 1.3s !important;
}

.hero-content.cinematic-reveal .cta-btn {
  animation: heroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 1.5s !important;
}

@keyframes heroReveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroTitleReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(15px);
    letter-spacing: 15px;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    letter-spacing: 2px;
  }
}

/* ========================================
   AUDIO TOGGLE
   ======================================== */
.audio-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(10, 10, 10, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--accent);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 99999;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.audio-toggle.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.audio-toggle:hover {
  background: var(--accent);
  color: var(--bg-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--accent-glow);
}

.audio-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 16px;
}

.audio-bars .audio-bar {
  width: 2px;
  background: currentColor;
  border-radius: 2px;
  animation: audioBar 1s ease-in-out infinite;
}

.audio-bars .audio-bar:nth-child(1) {
  height: 40%;
  animation-delay: 0s;
}

.audio-bars .audio-bar:nth-child(2) {
  height: 70%;
  animation-delay: 0.15s;
}

.audio-bars .audio-bar:nth-child(3) {
  height: 100%;
  animation-delay: 0.3s;
}

.audio-bars .audio-bar:nth-child(4) {
  height: 60%;
  animation-delay: 0.45s;
}

.audio-bars .audio-bar:nth-child(5) {
  height: 30%;
  animation-delay: 0.6s;
}

@keyframes audioBar {
  0%,
  100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}

.audio-toggle.muted .audio-bars .audio-bar {
  animation: none;
  height: 2px !important;
}

/* ========================================
   DISCOGRAFIA
   ======================================== */
#discography {
  position: relative;
  overflow: hidden;
}

#discography::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent) 50%,
    transparent 100%
  );
  opacity: 0.3;
}

.discography-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
  padding: 1rem 0;
}

.discography-item {
  position: relative;
  background: linear-gradient(
    145deg,
    rgba(20, 20, 20, 0.8) 0%,
    rgba(10, 10, 10, 0.9) 100%
  );
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(212, 175, 55, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.discography-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 175, 55, 0.1) 50%,
    transparent 100%
  );
  transition: left 0.8s ease;
  z-index: 2;
  pointer-events: none;
}

.discography-item:hover::before {
  left: 100%;
}

.discography-item::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    transparent 50%,
    var(--accent) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 3;
  pointer-events: none;
}

.discography-item:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(212, 175, 55, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.discography-item:hover::after {
  opacity: 1;
}

.discography-cover {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--bg-color);
}

.discography-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 60%,
    rgba(10, 10, 10, 0.9) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.discography-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: saturate(0.9) contrast(1.05);
}

.discography-item:hover .discography-cover img {
  transform: scale(1.1);
  filter: saturate(1.1) contrast(1.1);
}

.discography-play {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(10, 10, 10, 0.4) 0%,
    rgba(10, 10, 10, 0.85) 100%
  );
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 3;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.discography-item:hover .discography-play {
  opacity: 1;
}

.discography-play-btn {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 10px 30px rgba(212, 175, 55, 0.4),
    0 0 0 0 rgba(212, 175, 55, 0.5);
  z-index: 4;
}

.discography-play-btn::before,
.discography-play-btn::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  transition: all 0.4s ease;
}

.discography-play-btn::after {
  inset: -16px;
  border-width: 1px;
  transition-delay: 0.1s;
}

.discography-item:hover .discography-play-btn::before,
.discography-item:hover .discography-play-btn::after {
  opacity: 0.6;
  animation: pulseRing 2s ease-out infinite;
}

.discography-item:hover .discography-play-btn::after {
  animation-delay: 0.5s;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.discography-play-btn:hover {
  transform: scale(1.15);
  box-shadow:
    0 15px 40px rgba(212, 175, 55, 0.6),
    0 0 60px rgba(212, 175, 55, 0.3);
}

.discography-play-btn:active {
  transform: scale(0.95);
}

.discography-info {
  padding: 1.8rem 1.5rem 1.5rem;
  position: relative;
  z-index: 2;
}

.discography-info::before {
  content: attr(data-track-num);
  position: absolute;
  top: -12px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 2px;
  opacity: 0.6;
  font-weight: 600;
}

.discography-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.discography-item:hover .discography-title {
  color: var(--accent);
}

.discography-info::after {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background: var(--accent);
  margin: 0.8rem 0;
  opacity: 0.4;
  transition: width 0.4s ease;
}

.discography-item:hover .discography-info::after {
  width: 50px;
  opacity: 0.8;
}

.discography-artist {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
}

.discography-player {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.discography-player .play-icon {
  font-size: 0.7rem;
  color: var(--accent);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.discography-item:hover .play-icon {
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.discography-progress {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: height 0.3s ease;
}

.discography-progress:hover {
  height: 5px;
}

.discography-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent) 0%, #f0d878 100%);
  border-radius: 3px;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.discography-progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.discography-time {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  min-width: 75px;
  text-align: right;
}

.discography-load-more {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
  padding-bottom: 2rem;
}

.discography-load-more-btn {
  position: relative;
  padding: 1.2rem 3.5rem;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  border-radius: 2px;
}

.discography-load-more-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, #f0d878 100%);
  transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.discography-load-more-btn:hover::before {
  left: 0;
}

.discography-load-more-btn:hover {
  color: var(--bg-color);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow:
    0 15px 40px rgba(212, 175, 55, 0.3),
    0 0 30px rgba(212, 175, 55, 0.2);
  letter-spacing: 5px;
}

.discography-load-more-btn:active {
  transform: translateY(-1px);
}

.discography-item.hidden-track {
  display: none;
}

.discography-item.reveal-track {
  animation: trackReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

@keyframes trackReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.discography-counter {
  text-align: center;
  margin-top: 2rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
}

.discography-counter::before,
.discography-counter::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
  vertical-align: middle;
  margin: 0 1rem;
  opacity: 0.3;
}

.discography-counter::after {
  background: linear-gradient(90deg, var(--accent), transparent);
}

.discography-item.playing {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(212, 175, 55, 0.2);
}

.discography-item.playing .discography-cover img {
  filter: saturate(1.2) contrast(1.1);
}

.discography-item.playing .discography-player .play-icon {
  animation: pulse 1.5s ease-in-out infinite;
}

/* ========================================
   MINI PLAYER
   ======================================== */
.mini-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(20, 20, 20, 0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  z-index: 9990;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  gap: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.mini-player.active {
  transform: translateY(0);
}

.mini-player-cover {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.mini-player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-player-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mini-player-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.mini-player-artist {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-player-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.mini-player-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: transparent;
  color: var(--accent);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.mini-player-btn:hover {
  background: var(--accent);
  color: var(--bg-color);
  border-color: var(--accent);
  transform: scale(1.1);
}

.mini-player-btn.play-pause {
  width: 42px;
  height: 42px;
  font-size: 1rem;
  background: var(--accent);
  color: var(--bg-color);
  border-color: var(--accent);
}

.mini-player-btn.play-pause:hover {
  background: #f0d878;
  transform: scale(1.15);
}

.mini-player-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
  border-radius: 0 0 0 8px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  z-index: 9991;
}

.mini-player:hover .mini-player-close {
  color: rgba(255, 255, 255, 0.4);
}

.mini-player-close:hover {
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent);
  transform: scale(1.1);
}

.mini-player-close:active {
  transform: scale(0.95);
}

.mini-player-progress-container {
  flex: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 200px;
}

.mini-player-time {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  min-width: 40px;
  text-align: center;
}

.mini-player-progress {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
  transition: height 0.2s ease;
}

.mini-player-progress:hover {
  height: 6px;
}

.mini-player-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #f0d878);
  border-radius: 2px;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.mini-player-volume {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.mini-player-volume-icon {
  color: var(--accent);
  font-size: 0.9rem;
  cursor: pointer;
}

.mini-player-volume-slider {
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.mini-player-volume-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 60%;
  background: var(--accent);
  border-radius: 2px;
}

/* ========================================
   SUCCESS OVERLAY
   ======================================== */
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 20000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.success-content {
  text-align: center;
  padding: 4rem 3rem;
  max-width: 500px;
  width: 90%;
  background: linear-gradient(
    145deg,
    rgba(20, 20, 20, 0.95) 0%,
    rgba(10, 10, 10, 0.98) 100%
  );
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 8px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(212, 175, 55, 0.08);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.success-overlay.active .success-content {
  transform: translateY(0) scale(1);
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 2rem;
  font-size: 1.8rem;
  color: var(--accent);
  animation: successIconIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  opacity: 0;
  transform: scale(0.5);
}

@keyframes successIconIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.success-content h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.success-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.success-close-btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 3rem;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.success-close-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transition: left 0.4s ease;
  z-index: -1;
}

.success-close-btn:hover {
  color: var(--bg-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
}

.success-close-btn:hover::before {
  left: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .success-content {
    padding: 3rem 2rem;
  }

  .success-content h3 {
    font-size: 1.6rem;
  }

  .success-icon {
    width: 65px;
    height: 65px;
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .success-content {
    padding: 2.5rem 1.5rem;
  }

  .success-content h3 {
    font-size: 1.4rem;
  }

  .success-content p {
    font-size: 0.85rem;
  }

  .success-close-btn {
    padding: 0.9rem 2.5rem;
    font-size: 0.7rem;
  }
}

/* ========================================
   CINEMATIC GRAIN
   ======================================== */
.cinematic-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  animation: grain 0.5s steps(10) infinite;
}

@keyframes grain {
  0%,
  100% {
    transform: translate(0, 0);
  }
  10% {
    transform: translate(-5%, -5%);
  }
  20% {
    transform: translate(-10%, 5%);
  }
  30% {
    transform: translate(5%, -10%);
  }
  40% {
    transform: translate(-5%, 15%);
  }
  50% {
    transform: translate(-10%, 5%);
  }
  60% {
    transform: translate(15%, 0);
  }
  70% {
    transform: translate(0, 10%);
  }
  80% {
    transform: translate(-15%, 0);
  }
  90% {
    transform: translate(10%, 5%);
  }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  :root {
    --card-width: 320px;
    --card-offset: 250px;
  }

  nav {
    padding: 1rem 1.5rem;
  }

  nav.scrolled {
    padding: 0.7rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  section {
    padding: 5rem 5%;
  }

  .section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image {
    height: 500px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 220px);
  }

  .gallery-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }

  .services-grid,
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-carousel {
    height: 580px;
  }

  .discography-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --card-width: 280px;
    --card-offset: 160px;
  }

  section {
    padding: 4rem 1.5rem;
  }

  .hero-content {
    padding: 0 1.5rem;
    gap: 1.5rem;
  }

  .hero-subtitle {
    letter-spacing: 4px;
  }

  .hero-desc {
    letter-spacing: 2px;
  }

  .cta-btn {
    padding: 0.94rem 2rem;
    font-size: 0.7rem;
  }

  .about-content,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image {
    height: 400px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 250px repeat(4, 180px);
    gap: 0.625rem;
  }

  .gallery-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  .gallery-overlay {
    padding: 1.25rem;
  }

  .gallery-overlay h4 {
    font-size: 1.2rem;
  }

  .services-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 2.5rem 1.5rem;
  }

  .contact-info h3 {
    font-size: 2rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .carousel-controls {
    gap: 1.25rem;
  }

  .carousel-btn {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }

  footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 2.5rem 1.5rem;
  }

  .lightbox {
    padding: 1.5rem;
  }

  .lightbox-media {
    max-width: 95vw;
  }

  .lightbox img {
    max-height: calc(85vh - 60px);
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }

  .lightbox-caption {
    padding: 2.5rem 1rem 1rem;
  }

  .lightbox-caption h4 {
    font-size: 1.1rem;
  }

  .mobile-menu a {
    font-size: 1.8rem;
  }

  .lang-switcher {
    margin: 0;
  }

  *,
  *::before,
  *::after {
    cursor: auto !important;
  }

  .cursor-dot,
  .cursor-outline {
    display: none;
  }

  :root {
    --card-width: 75vw;
    --card-offset: 55vw;
  }

  .works-carousel-container {
    overflow: visible !important;
  }

  .works-carousel {
    overflow: visible !important;
    height: 500px;
    perspective: 1200px;
  }

  .work-card-carousel {
    width: var(--card-width);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .discography-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .discography-cover {
    height: 240px;
  }

  .discography-title {
    font-size: 1.15rem;
  }

  .discography-load-more-btn {
    padding: 1rem 2.5rem;
    font-size: 0.7rem;
    letter-spacing: 3px;
  }

  .audio-toggle {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
  }

  .enter-button {
    width: 100px;
    height: 100px;
  }

  .mini-player {
    padding: 0 1rem;
    gap: 0.75rem;
    height: 65px;
  }

  .mini-player-cover {
    width: 45px;
    height: 45px;
  }

  .mini-player-progress-container {
    min-width: 120px;
  }

  .mini-player-volume {
    display: none;
  }

  .mini-player-btn {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }

  .mini-player-btn.play-pause {
    width: 38px;
    height: 38px;
  }

  .mini-player-close {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .category-filter {
    gap: 0.5rem;
  }

  .category-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.65rem;
    gap: 0.5rem;
  }

  .category-count {
    min-width: 20px;
    height: 20px;
    font-size: 0.6rem;
  }
}

@media (max-width: 480px) {
  :root {
    --card-width: 260px;
    --card-offset: 130px;
  }

  section {
    padding: 3.5rem 1rem;
  }

  nav {
    padding: 1rem;
  }

  nav.scrolled {
    padding: 0.7rem 1rem;
  }

  .logo {
    font-size: 1.3rem;
    letter-spacing: 2px;
  }

  .section-tag {
    font-size: 0.6rem;
    letter-spacing: 3px;
  }

  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .hero-subtitle {
    font-size: clamp(0.6rem, 2.5vw, 0.7rem);
    letter-spacing: 3px;
  }

  .soundwave {
    height: 40px;
  }

  .bar {
    width: 2px;
  }

  @keyframes sound {
    0%,
    100% {
      height: 8px;
    }
    50% {
      height: 40px;
    }
  }

  .about-image {
    height: 320px;
  }

  .about-text p {
    font-size: 0.9rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(9, 200px);
    gap: 0.75rem;
  }

  .gallery-item:nth-child(1) {
    grid-column: 1;
    grid-row: auto;
  }

  .gallery-overlay {
    padding: 1.125rem;
  }

  .gallery-overlay h4 {
    font-size: 1.1rem;
  }

  .work-image {
    height: 240px;
  }

  .work-info {
    padding: 1.375rem;
  }

  .work-title {
    font-size: 1.3rem;
  }

  .article-image {
    height: 200px;
  }

  .article-content {
    padding: 1.375rem;
  }

  .article-title {
    font-size: 1.25rem;
  }

  .service-title {
    font-size: 1.4rem;
  }

  .contact-info h3 {
    font-size: 1.7rem;
  }

  .submit-btn {
    padding: 0.94rem 2rem;
    width: 100%;
    text-align: center;
  }

  .lightbox-caption h4 {
    font-size: 1.1rem;
  }

  .mobile-menu a {
    font-size: 1.6rem;
  }

  .carousel-btn {
    width: 45px;
    height: 45px;
  }

  .social-links {
    gap: 1.125rem;
  }

  .social-links a {
    font-size: 1.1rem;
  }

  .discography-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .discography-cover {
    height: 280px;
  }

  .discography-info {
    padding: 1.5rem 1.2rem 1.2rem;
  }

  .discography-title {
    font-size: 1.3rem;
  }

  .discography-play-btn {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }

  .mini-player-info {
    max-width: 100px;
  }

  .mini-player-progress-container {
    min-width: 80px;
  }

  .category-filter {
    gap: 0.4rem;
  }

  .category-btn {
    padding: 0.5rem 1rem;
    font-size: 0.6rem;
    letter-spacing: 1.5px;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 0.65rem;
    letter-spacing: 2px;
  }

  .service-card {
    padding: 1.5rem 1rem;
  }

  .service-icon {
    font-size: 1.8rem;
  }

  .service-title {
    font-size: 1.2rem;
  }

  .mobile-menu a {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px), (hover: none), (pointer: coarse) {
  *,
  *::before,
  *::after {
    cursor: auto !important;
  }

  .cursor-dot,
  .cursor-outline {
    display: none !important;
    pointer-events: none;
  }
}
/* ========================================
   CONTACT WITH BABUSH - Editorial Layout
   ======================================== */
.contact-with-babush {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-babush {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.babush-frame {
    position: relative;
    background: var(--surface-color);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.babush-frame::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 4px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        var(--accent),
        rgba(212, 175, 55, 0.1),
        var(--accent)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.4;
    transition: opacity 0.5s ease;
    z-index: 2;
    pointer-events: none;
}

.babush-frame:hover::before {
    opacity: 0.8;
}

.babush-photo {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center 30%;
    filter: grayscale(60%) contrast(1.05) brightness(0.9);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.babush-frame:hover .babush-photo {
    filter: grayscale(0%) contrast(1.1) brightness(1);
    transform: scale(1.03);
}

.babush-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 1.5rem 1.5rem;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.95) 0%,
        rgba(10, 10, 10, 0.7) 50%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    z-index: 3;
}

.babush-label {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.babush-role {
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 400;
}

.babush-quote {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-left: 1.5rem;
    border-left: 2px solid var(--accent);
    opacity: 0.7;
    transition: all 0.4s ease;
}

.contact-babush:hover .babush-quote {
    opacity: 1;
    border-left-width: 3px;
    padding-left: 1.8rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-with-babush {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-babush {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .babush-photo {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .babush-photo {
        height: 300px;
    }
    
    .babush-label {
        font-size: 1.1rem;
    }
    
    .babush-quote {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .babush-photo {
        height: 260px;
    }
    
    .babush-caption {
        padding: 2rem 1.2rem 1.2rem;
    }
    
    .babush-quote {
        font-size: 0.95rem;
        padding-left: 1.2rem;
    }
}