/* Variables CSS pour les couleurs personnalisables */
:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #3b82f6;
  --background: #ffffff;
  --text-color: #000000;
  --card-background: rgba(0, 0, 0, 0.05);
  --card-hover: rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Styles pour les notes et avis */
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.ratings-summary {
  flex: 0 0 auto;
  padding: 1rem;
  background: #f3f4f6;
  border-radius: var(--border-radius);
  border: 1px solid #e5e7eb;
  text-align: center;
}

.rating-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rating-box {
  text-align: center;
}

.rating-value {
  font-size: 2rem;
  font-weight: 700;
  color: #f59e0b;
  margin-bottom: 0.25rem;
}

.rating-stars {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  letter-spacing: 0.2rem;
}

.rating-count {
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
}

/* Styles pour les notes dans les cartes */
.platform-rating {
  margin: 1rem 0;
  padding: 0.75rem;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 8px;
  text-align: center;
}

.platform-rating-stars {
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
  margin-bottom: 0.5rem;
}

.platform-rating-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #f59e0b;
}

.ratings-updated {
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.5);
  margin-top: 1rem;
}

/* Reset et styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Forcer l'affichage correct sur tous les navigateurs */
html, body {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: #ffffff;
}


body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--background);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 3rem;
}

.logo {
  box-shadow: var(--shadow);
  display: block;
  object-fit: cover;
  background-color: rgba(0, 0, 0, 0.05);
  border: 3px solid rgba(0, 0, 0, 0.15);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  flex-shrink: 0;
}

.title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #000000;
}

.subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.9;
}

/* Main content */
.main {
  display: block !important;
  margin-bottom: 2rem;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  align-self: flex-start !important;
  position: relative !important;
  top: 0 !important;
}

.platforms-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  align-self: flex-start;
}

.platform-card {
  background: var(--card-background);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(0, 0, 0, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-5px);
  background: var(--card-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.platform-card:hover::before {
  opacity: 1;
}

.platform-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background-color: #f0f0f0;
}

.platform-icon img {
  max-width: 90%;
  max-height: 90%;
}

.platform-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.platform-description {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-text {
  font-size: 0.9rem;
  opacity: 0.8;
}


/* Responsive */
@media (max-width: 768px) {
  
  .header-content {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .ratings-summary {
    width: 100%;
  }
  
  .logo {
    width: 120px;
    height: 120px;
  }
  
  .container {
    padding: 1rem;
  }
  
  .title {
    font-size: 2rem;
    color: #000000 !important;
  }
  
  .subtitle {
    font-size: 1rem;
    color: #000000 !important;
  }
  
  .platforms-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .platform-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 1.8rem;
  }
  
  .platform-card {
    padding: 1rem;
  }
  
  .platform-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.platform-card {
  animation: fadeInUp 0.6s ease forwards;
}

.platform-card:nth-child(1) { animation-delay: 0.1s; }
.platform-card:nth-child(2) { animation-delay: 0.2s; }
.platform-card:nth-child(3) { animation-delay: 0.3s; }
.platform-card:nth-child(4) { animation-delay: 0.4s; }
.platform-card:nth-child(5) { animation-delay: 0.5s; }
.platform-card:nth-child(6) { animation-delay: 0.6s; }


