/**
 * FrenchDemande - Styles principaux CORRIGÉS selon template
 * Design system moderne avec thème sombre et accents rouge/rose
 */

:root {
  /* Couleurs principales */
  --primary: #e11d48;
  --primary-hover: #be123c;
  --primary-light: rgba(225, 29, 72, 0.1);
  
  /* Couleurs de base */
  --secondary: #1f1f1f;
  --background: #000000;
  --card-bg: #121212;
  --card-hover: #1a1a1a;
  --border: #333333;
  
  /* Textes */
  --text: #ffffff;
  --text-muted: #a0a0a0;
  --text-secondary: #d1d5db;
  
  /* Couleurs d'état */
  --green: #22c55e;
  --blue: #3b82f6;
  --amber: #f59e0b;
  --red: #ef4444;
  --purple: #8b5cf6;
  --orange: #f97316;
  
  /* Propriétés de design */
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(225, 29, 72, 0.15);
  
  /* Espacements */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  
  /* Tailles de police */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
}

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =============================================================================
 * HEADER
 * ============================================================================= */

.header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 50%, #7c1d3a 100%);
  padding: var(--spacing-lg) var(--spacing-xl);
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header h1 {
  font-size: var(--text-4xl);
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  letter-spacing: -0.025em;
}

.header .icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

/* =============================================================================
 * LAYOUT
 * ============================================================================= */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--spacing-xl);
  display: grid;
  gap: var(--spacing-xl);
}

.modules-grid {
  display: grid;
  grid-template-areas: 
    "search search"
    "trending trending"
    "reported reported"
    "actions info";
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

/* =============================================================================
 * MODULES
 * ============================================================================= */

.module {
  background: linear-gradient(145deg, var(--card-bg) 0%, #0f0f0f 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.module::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--primary) 0%, 
    var(--amber) 25%, 
    var(--blue) 50%, 
    var(--green) 75%, 
    var(--purple) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.module:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(225, 29, 72, 0.4);
}

.module:hover::before {
  opacity: 1;
}

.module-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--border);
}

.module-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
  flex-shrink: 0;
}

.module-title {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text);
  flex: 1;
}

.module-actions {
  display: flex;
  gap: var(--spacing-sm);
}

/* Assignation des zones de grille */
.search-module { grid-area: search; }
.carousel-module { grid-area: trending; }
.reported-module { grid-area: reported; }
.actions-module { grid-area: actions; }
.info-module { grid-area: info; }

/* =============================================================================
 * FORMULAIRES
 * ============================================================================= */

.search-form {
  display: grid;
  gap: var(--spacing-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.form-group.full-width {
  grid-column: 1 / -1;
}

label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: var(--spacing-xs);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.875rem var(--spacing-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--secondary);
  color: var(--text);
  font-size: var(--text-base);
  font-family: inherit;
  transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
  background: var(--card-bg);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

/* =============================================================================
 * BOUTONS
 * ============================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 0.75rem var(--spacing-lg);
  border: none;
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  position: relative;
  overflow: hidden;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: white;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.4);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--card-hover);
  border-color: var(--primary);
}

.btn-success {
  background: linear-gradient(135deg, var(--green), #16a34a);
  color: white;
}

.btn-warning {
  background: linear-gradient(135deg, var(--amber), #d97706);
  color: white;
}

.btn-danger {
  background: linear-gradient(135deg, var(--red), #dc2626);
  color: white;
}

.btn-sm {
  padding: 0.5rem var(--spacing-md);
  font-size: var(--text-sm);
}

.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--text-lg);
}

.search-btn {
  padding: var(--spacing-md) var(--spacing-xl);
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.4);
}

/* =============================================================================
 * CARROUSELS
 * ============================================================================= */

.carousel-container {
  position: relative;
  margin: var(--spacing-md) 0;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: var(--text-xl);
  transition: var(--transition);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-nav:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.4);
}

.carousel-prev { left: -24px; }
.carousel-next { right: -24px; }

.carousel {
  display: flex;
  gap: var(--spacing-md);
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: var(--spacing-md) 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.poster-card {
  flex: 0 0 auto;
  width: 160px;
  height: 240px;
  background: linear-gradient(145deg, var(--card-bg), #222);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border: 1px solid transparent;
}

.poster-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(225, 29, 72, 0.3);
}

.poster-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-muted);
  background: linear-gradient(135deg, #333, #222);
}

.poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: var(--spacing-md);
  transform: translateY(100%);
  transition: var(--transition);
}

.poster-card:hover .poster-info {
  transform: translateY(0);
}

.poster-title {
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: var(--spacing-xs);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: white;
}

.poster-status {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: var(--green);
  color: white;
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.reported-status {
  background: var(--amber);
  color: #000;
}

/* =============================================================================
 * ACTIONS RAPIDES
 * ============================================================================= */

.action-buttons {
  display: grid;
  gap: var(--spacing-md);
}

.action-btn {
  padding: var(--spacing-md) var(--spacing-lg);
  border: none;
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  text-decoration: none;
  color: white;
  position: relative;
  overflow: hidden;
}

.action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.action-btn:hover::before {
  left: 100%;
}

.action-btn.report {
  background: linear-gradient(135deg, var(--amber), #d97706);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.action-btn.admin {
  background: linear-gradient(135deg, var(--purple), #7c3aed);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* =============================================================================
 * STATISTIQUES
 * ============================================================================= */

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.stat-item {
  text-align: center;
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  background: var(--primary-light);
  border-color: rgba(225, 29, 72, 0.3);
  transform: translateY(-2px);
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-number {
  font-size: var(--text-3xl);
  font-weight: bold;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  display: block;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
}

/* =============================================================================
 * RÉSULTATS DE RECHERCHE
 * ============================================================================= */

.results-container {
  margin-top: var(--spacing-xl);
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.results-container.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.result-item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: var(--spacing-md);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.result-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.result-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--primary-light);
  border-color: rgba(225, 29, 72, 0.3);
}

.result-item:hover::before {
  transform: scaleY(1);
}

.result-poster {
  width: 80px;
  height: 120px;
  background: linear-gradient(135deg, #333, #222);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
  color: var(--text-muted);
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--border);
}

.result-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.result-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--primary);
  margin: 0;
  line-height: 1.4;
}

.result-meta {
  color: var(--text-muted);
  font-size: var(--text-sm);
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.result-overview {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text-secondary);
  margin-top: auto;
}

/* =============================================================================
 * FLOATING ACTION BUTTON
 * ============================================================================= */

.fab {
  position: fixed;
  bottom: var(--spacing-xl);
  right: var(--spacing-xl);
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border: none;
  border-radius: 50%;
  color: white;
  font-size: var(--text-xl);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.4);
  transition: var(--transition);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(225, 29, 72, 0.6);
}

.fab.pulse {
  animation: fabPulse 2s infinite;
}

@keyframes fabPulse {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.4);
  }
  50% { 
    transform: scale(1.05); 
    box-shadow: 0 12px 32px rgba(225, 29, 72, 0.6);
  }
}

/* =============================================================================
 * ANIMATIONS
 * ============================================================================= */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0, 0, 0);
  }
  40%, 43% {
    transform: translate3d(0, -8px, 0);
  }
  70% {
    transform: translate3d(0, -4px, 0);
  }
  90% {
    transform: translate3d(0, -2px, 0);
  }
}

.animate-fade-in { animation: fadeIn 0.6s ease forwards; }
.animate-fade-in-up { animation: fadeInUp 0.6s ease forwards; }
.animate-slide-in-right { animation: slideInRight 0.6s ease forwards; }
.animate-bounce { animation: bounce 1s ease; }

/* =============================================================================
 * RESPONSIVE DESIGN
 * ============================================================================= */

@media (max-width: 1200px) {
  .container {
    padding: var(--spacing-lg);
  }
  
  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: var(--text-lg);
  }
  
  .carousel-prev { left: -20px; }
  .carousel-next { right: -20px; }
}

@media (max-width: 768px) {
  .header {
    padding: var(--spacing-md) var(--spacing-lg);
  }
  
  .header h1 {
    font-size: var(--text-2xl);
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .container {
    padding: var(--spacing-md);
  }
  
  .modules-grid {
    grid-template-areas: 
      "search"
      "trending"
      "reported"
      "actions"
      "info";
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .module {
    padding: var(--spacing-lg);
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .result-item {
    flex-direction: column;
    text-align: center;
  }
  
  .result-poster {
    align-self: center;
  }
  
  .carousel-nav {
    display: none;
  }
  
  .fab {
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    width: 56px;
    height: 56px;
    font-size: var(--text-lg);
  }
  
  .action-btn {
    font-size: var(--text-sm);
    padding: var(--spacing-sm) var(--spacing-md);
  }
}

@media (max-width: 640px) {
  .header h1 {
    font-size: var(--text-xl);
  }
  
  .module {
    padding: var(--spacing-md);
  }
  
  .module-icon {
    width: 36px;
    height: 36px;
    font-size: var(--text-lg);
  }
  
  .module-title {
    font-size: var(--text-lg);
  }
  
  .poster-card {
    width: 140px;
    height: 210px;
  }
  
  .stat-number {
    font-size: var(--text-2xl);
  }
}

/* =============================================================================
 * DARK MODE SUPPORT
 * ============================================================================= */

@media (prefers-color-scheme: dark) {
  :root {
    --background: #000000;
    --card-bg: #0a0a0a;
    --secondary: #111111;
  }
}

/* =============================================================================
 * PRINT STYLES
 * ============================================================================= */

@media print {
  .fab,
  .carousel-nav,
  .module-actions {
    display: none !important;
  }
  
  .module {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .header {
    background: none !important;
    color: #000 !important;
  }
}

/* =============================================================================
 * ACCESSIBILITY
 * ============================================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .fab.pulse {
    animation: none;
  }
}

/* Focus styles for keyboard navigation */
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border: #666;
    --text-muted: #ccc;
  }
  
  .module {
    border-width: 2px;
  }
}

/* CSS additionnel pour les résultats de recherche */

/* Assurer l'affichage des résultats */
.results-container {
  margin-top: 2rem;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.results-container.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto;
}

/* Items de résultats */
.result-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--card-bg, #121212);
  border: 1px solid var(--border, #333);
  border-radius: 12px;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.result-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary, #e11d48);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.result-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(225, 29, 72, 0.15);
  border-color: rgba(225, 29, 72, 0.3);
}

.result-item:hover::before {
  transform: scaleY(1);
}

/* Poster du résultat */
.result-poster {
  width: 80px;
  height: 120px;
  background: linear-gradient(135deg, #333, #222);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #666;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--border, #333);
}

.poster-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #333, #222);
}

/* Informations du résultat */
.result-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.result-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary, #e11d48);
  margin: 0;
  line-height: 1.4;
  word-break: break-word;
}

.result-meta {
  color: #a0a0a0;
  font-size: 0.875rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.result-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.result-overview {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #d1d5db;
  margin-top: auto;
  word-break: break-word;
}

/* Actions des résultats */
.result-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.btn-select {
  background: linear-gradient(135deg, var(--primary, #e11d48), #be123c);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-select:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.4);
}

/* État vide */
.no-results {
  text-align: center;
  padding: 3rem;
  color: #666;
}

.no-results h3 {
  color: #fff;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .result-item {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .result-poster {
    align-self: center;
    width: 100px;
    height: 150px;
  }
  
  .result-meta {
    justify-content: center;
  }
}

/* Animations d'apparition */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-item {
  animation: slideInUp 0.6s ease forwards;
}