.tilted-card-figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  margin: 0;
  padding: 0;
}

.tilted-card-inner {
  position: relative;
  transform-style: preserve-3d;
  border-radius: 35px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  /* Animation supprimée pour éviter la rotation sur iPhone */
}

.tilted-card-inner.playing {
  /* Animation supprimée pour éviter la rotation sur iPhone */
}

.tilted-card-img {
  display: block;
  object-fit: cover;
  border-radius: 35px;
  filter: contrast(1.05) saturate(1.1);
  transition: filter 0.3s ease;
}

.tilted-card-inner:hover .tilted-card-img {
  filter: contrast(1.1) saturate(1.2);
}

.tilted-card-caption {
  position: absolute;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 16px;
  color: #FFFFFF;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  z-index: 100;
}

.tilted-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tilted-card-mobile-alert {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff6b6b;
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  z-index: 1000;
}

/* Animations */
/* @keyframes artworkBreathing supprimé pour éviter la rotation sur iPhone */

/* @keyframes artworkPlaying supprimé pour éviter la rotation sur iPhone */

/* Responsive */
@media (max-width: 768px) {
  .tilted-card-figure {
    perspective: 800px;
  }
  
  .tilted-card-inner {
    transform-style: preserve-3d;
  }
}
