/**
 * PERFORMANCE OPTIMIZATION
 * Désactive tous les effets CSS lourds pour chargement ultra-rapide
 */

/* Désactiver tous les backdrop-filter (très gourmands) */
* {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Simplifier les box-shadows multiples */
.site-header,
.card,
.btn,
.modal-admin,
.modal,
.stat-card,
.premium-table-wrapper,
.table,
.form-input,
.input,
.search-container {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Désactiver les animations CSS gourmandes */
@keyframes gradientShift,
@keyframes glowPulse,
@keyframes shimmerSlide,
@keyframes float3D,
@keyframes floatBook,
@keyframes floatBookPremium {
  to { transform: none; }
}

/* Désactiver les pseudo-éléments animés */
.site-header::before,
.site-header::after,
.card::before,
.card::after,
.btn::before,
.btn::after,
.brand::before,
.section-header::after {
  display: none !important;
}

/* Simplifier les gradients animés */
.hero .title,
.section-title,
.brand .name,
.price {
  background: none !important;
  color: var(--accent-gold) !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  background-clip: unset !important;
  animation: none !important;
}

/* Animation de flottement pour le livre */
@keyframes floatBook {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(2deg);
  }
  50% {
    transform: translateY(-20px) rotate(0deg);
  }
  75% {
    transform: translateY(-15px) rotate(-2deg);
  }
}

/* Removed - floating books section deleted */

/* Simplifier les transitions */
* {
  transition-duration: 0.2s !important;
}

/* Désactiver will-change (optimisation GPU) */
* {
  will-change: auto !important;
}

/* Simplifier les borders */
.nav-links a,
.btn,
.input,
.card {
  border-width: 1px !important;
}

/* Désactiver text-shadow et filter drop-shadow */
.hero .title,
.section-title,
.brand .name {
  text-shadow: none !important;
  filter: none !important;
}

.brand img,
.btn,
.card .thumb {
  filter: none !important;
}

/* Hover effects réactivés avec glow */
.card:hover {
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.4) !important;
  border-color: var(--accent-gold) !important;
}

.card:hover .thumb {
  box-shadow: 15px 0 30px -6px rgba(212, 175, 55, 0.6) !important;
}

.btn:hover {
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.5) !important;
}

.social-link:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4) !important;
}

/* Optimiser les images */
img {
  image-rendering: auto;
  will-change: auto !important;
}

/* Désactiver perspective 3D */
.hero,
.card,
.card .thumb {
  perspective: none !important;
  transform-style: flat !important;
}

