/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Serif 4', Georgia, serif;
  color: #e0e0e0;
  background: #0a0a0a;
  line-height: 1.5;
}

/* Offset pour les ancres (compense le header sticky) */
#releases, #artists {
  scroll-margin-top: 120px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* Header */
.header {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  background: #0a0a0a;
  z-index: 100;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo svg {
  display: block;
}

.logo img {
  filter: brightness(0) invert(1);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 200;
  letter-spacing: 2px;
  color: #999;
  transition: color 0.2s;
  position: relative;
}

.nav-item:hover {
  color: #fff;
}

.nav-item .arrow {
  font-size: 10px;
  margin-left: 2px;
}

.nav-item.has-dropdown {
  position: relative;
}

.nav-item.has-dropdown > a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1px;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  min-width: 200px;
  padding: 8px 0;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.nav-item.has-dropdown:hover .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 2px;
  color: #888;
  text-transform: uppercase;
  transition: color 0.2s;
}

.dropdown a:hover {
  color: #fff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 200;
  letter-spacing: 2px;
  color: #999;
}

.header-right a {
  transition: color 0.2s;
}

.header-right a:hover {
  color: #fff;
}

.search-bar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 30px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e5e5e5;
}

.search-bar svg {
  color: #999;
  flex-shrink: 0;
}

.search-bar input {
  border: none;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  color: #1a1a1a;
  width: 100%;
  background: transparent;
}

.search-bar input::placeholder {
  color: #999;
}

/* Hero Carousel */
.hero-carousel {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

.carousel-track {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  height: 420px;
  background: #0a0a0a;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.slide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 30px 50px;
  gap: 0;
  position: relative;
}

.slide-image {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.slide-image .album-cover {
  height: 140px;
  width: 140px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.slide-image-right {
  display: none;
}

.artist-typo-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'DM Mono', monospace;
  font-size: 120px;
  font-weight: 300;
  letter-spacing: 10px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.06);
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
  line-height: 1;
}

.slide-text {
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.slide-title {
  font-family: 'DM Mono', monospace;
  font-size: 52px;
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 12px;
}

.slide-title em {
  font-style: normal;
}

.slide-divider {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.3);
  margin: 10px auto;
}

.slide-subtitle {
  font-family: 'Source Serif 4', serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
}

.slide-logo {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  font-family: 'DM Mono', monospace;
}

.carousel-btn:hover {
  border-color: rgba(255,255,255,0.8);
  color: #fff;
}

.carousel-btn.prev {
  left: 40px;
}

.carousel-btn.next {
  right: 40px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #fff;
}

/* Landing Hero */
.landing-hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  text-align: center;
  padding: 40px 20px;
}

.landing-logo {
  width: 180px;
  filter: brightness(0) invert(1);
  margin-bottom: 40px;
  animation: logoFadeIn 2s ease-out forwards;
  opacity: 0;
}

@keyframes logoFadeIn {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes textFadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.landing-quote {
  animation: textFadeIn 2s ease-out 0.8s forwards;
  opacity: 0;
  font-family: 'Source Serif 4', serif;
  font-size: 16px;
  font-weight: 300;
  color: #888;
  line-height: 1.8;
  max-width: 500px;
  letter-spacing: 0.5px;
  margin-bottom: 50px;
}

.landing-enter {
  animation: textFadeIn 2s ease-out 1.5s forwards;
  opacity: 0;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 4px;
  color: #555;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 12px 40px;
  transition: all 0.3s;
}

.landing-enter:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

/* Product Sections */
.product-section {
  max-width: 100%;
  margin: 0 auto;
  padding: 80px 50px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.section-title {
  text-align: center;
  font-family: 'DM Mono', monospace;
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 10px;
  text-transform: uppercase;
  margin-bottom: 70px;
  padding-bottom: 20px;
  color: #fff;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 1px;
  background: rgba(255,255,255,0.3);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* Artists Section */
.artists-section {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #111;
}

.artists-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.artist-card {
  padding: 20px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s;
}

.artist-card:hover {
  background: rgba(255,255,255,0.03);
}

.artist-card-name {
  font-family: 'DM Mono', monospace;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: #fff;
}

.artist-card-genre {
  font-family: 'Source Serif 4', serif;
  font-size: 11px;
  font-weight: 300;
  color: #555;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Product Card - matching 4AD style */
.product-card {
  position: relative;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 16px;
}

.product-card .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #1a1a1a;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  z-index: 2;
  letter-spacing: 0.3px;
}

.product-card .product-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: transparent;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-card .product-image img {
  width: 85%;
  height: 85%;
  object-fit: contain;
}

/* Vinyl disc effect */
.product-image.has-vinyl {
  overflow: visible;
}

.product-image.has-vinyl img.sleeve {
  position: relative;
  z-index: 2;
  width: 80%;
  height: 80%;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
}

.vinyl-disc {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #333 0%,
    #1a1a1a 15%,
    #2a2a2a 16%,
    #111 30%,
    #1a1a1a 31%,
    #222 45%,
    #111 46%,
    #1a1a1a 60%,
    #222 61%,
    #111 75%,
    #1a1a1a 76%,
    #222 90%,
    #111 100%
  );
  z-index: 1;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  transition: right 0.4s ease, transform 0.4s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.vinyl-label {
  position: absolute;
  width: 35%;
  height: 35%;
  border-radius: 50%;
  background: radial-gradient(circle, #444 10%, #e8e0d0 11%, #e8e0d0 45%, #d4ccc0 100%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.vinyl-label::after {
  content: '';
  position: absolute;
  width: 12%;
  height: 12%;
  border-radius: 50%;
  background: #333;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.product-card:hover .vinyl-disc {
  right: -20%;
  transform: translateY(-50%) rotate(15deg);
}

.product-card:hover .product-image.has-vinyl img.sleeve {
  transform: translateX(-5%);
}

.product-card .product-info {
  padding: 0 2px;
}

.product-card .product-artist {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  font-weight: 200;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2px;
  color: #999;
}

.product-card .product-name {
  font-family: 'DM Mono', monospace;
  font-size: 15px;
  font-weight: 300;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.product-card .product-play {
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 8px;
  cursor: pointer;
  transition: color 0.2s;
}

.product-card .product-play:hover {
  color: #fff;
}

.product-card .play-icon {
  display: none;
}

.audio-progress {
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 0;
  margin-top: 6px;
  overflow: hidden;
}

.audio-progress-bar {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 0;
  transition: width 0.3s linear;
}

.product-card .product-meta {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 8px;
}

.product-card .product-format {
  font-size: 12px;
  color: #444;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-card .product-price {
  font-size: 14px;
  font-weight: 600;
  margin-top: 2px;
}

/* Newsletter */
.newsletter-section {
  background: #0a0a0a;
  text-align: center;
  padding: 120px 30px;
  margin-top: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.newsletter-section h2 {
  font-family: 'DM Mono', monospace;
  font-size: 18px;
  font-weight: 200;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #fff;
}

.newsletter-section p {
  color: #555;
  margin-bottom: 30px;
  font-size: 13px;
  letter-spacing: 1px;
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-right: none;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  background: transparent;
  color: #fff;
}

.newsletter-form input::placeholder {
  color: #555;
}

.newsletter-form input:focus {
  border-color: rgba(255,255,255,0.5);
}

.newsletter-form button {
  padding: 14px 24px;
  background: #fff;
  color: #0a0a0a;
  border: 1px solid #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.newsletter-form button:hover {
  background: transparent;
  color: #fff;
}

/* Footer */
.footer {
  background: #050505;
  color: #fff;
  padding: 80px 30px 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h3 {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 200;
  letter-spacing: 3px;
  margin-bottom: 16px;
  color: #fff;
}

.footer-col a {
  display: block;
  font-size: 12px;
  color: #444;
  margin-bottom: 8px;
  transition: color 0.2s;
  letter-spacing: 0.5px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 11px;
  color: #333;
  letter-spacing: 1px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  padding: 24px;
  max-width: 420px;
  z-index: 1000;
}

.cookie-banner h3 {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: #fff;
}

.cookie-banner p {
  font-size: 12px;
  color: #555;
  margin-bottom: 16px;
  line-height: 1.5;
}

.cookie-banner button {
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.cookie-banner button:hover {
  background: #fff;
  color: #0a0a0a;
}

.cookie-banner a {
  display: block;
  font-size: 11px;
  color: #444;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .slide-content {
    grid-template-columns: 1fr 1.5fr;
  }
  .slide-image-right {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 10px 16px;
  }
  .header-left {
    gap: 20px;
  }
  .logo img {
    height: 48px !important;
  }
  .main-nav {
    gap: 14px;
  }
  .nav-item {
    font-size: 10px;
  }
  .header-right {
    gap: 14px;
    font-size: 10px;
  }
  .product-section {
    padding: 30px 20px;
  }
  .section-title {
    font-size: 22px;
    letter-spacing: 2px;
    margin-bottom: 20px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    gap: 10px;
  }
  .slide-text {
    order: 1;
  }
  .slide-image {
    order: 2;
    display: flex;
    justify-content: center;
  }
  .slide-image-right {
    display: none;
  }
  .slide-image .album-cover {
    height: 160px;
    width: 160px;
  }
  .carousel-track {
    height: auto;
    min-height: 340px;
  }
  .slide-title {
    font-size: 22px;
    margin-bottom: 8px;
    letter-spacing: 4px;
  }
  .slide-subtitle {
    font-size: 10px;
    letter-spacing: 1.5px;
  }
  .artist-typo-bg {
    font-size: 60px;
    letter-spacing: 6px;
  }
  .slide-divider {
    margin: 8px auto;
  }
  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .carousel-btn.prev {
    left: 10px;
  }
  .carousel-btn.next {
    right: 10px;
  }
  .artists-grid {
    grid-template-columns: 1fr;
  }
  .artist-card {
    padding: 20px 10px;
  }
  .artist-card-name {
    font-size: 22px;
  }
  .newsletter-section {
    padding: 40px 20px;
  }
  .newsletter-section h2 {
    font-size: 22px;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 0;
  }
  .newsletter-form input {
    border-right: 1px solid #ccc;
    border-bottom: none;
  }
  .newsletter-form button {
    width: 100%;
  }
  .footer {
    padding: 40px 20px 20px;
  }
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .cookie-banner {
    left: 12px;
    right: 12px;
    max-width: none;
    bottom: 12px;
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    flex-direction: column;
    gap: 8px;
    padding: 8px 12px;
  }
  .header-left {
    flex-direction: column;
    gap: 8px;
  }
  .main-nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .header-right {
    gap: 12px;
    justify-content: center;
  }
  .logo img {
    height: 40px !important;
  }
  .product-section {
    padding: 24px 12px;
  }
  .section-title {
    font-size: 18px;
    letter-spacing: 1.5px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .carousel-track {
    min-height: 360px;
  }
  .slide-content {
    padding: 16px;
  }
  .slide-image .album-cover {
    height: 140px;
    width: 140px;
  }
  .slide-title {
    font-size: 18px;
    letter-spacing: 3px;
  }
  .artist-typo-bg {
    font-size: 40px;
    letter-spacing: 4px;
  }
  .carousel-btn {
    display: none;
  }
  .artists-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}
