/* Variables CSS pour les couleurs personnalisables */
:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #3b82f6;
  --background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --text-color: #ffffff;
  --card-background: rgba(255, 255, 255, 0.1);
  --card-hover: rgba(255, 255, 255, 0.2);
  --border-radius: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* 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%;
}


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(255, 255, 255, 0.1);
  border: 3px solid rgba(255, 255, 255, 0.3);
  max-width: none !important;
  max-height: none !important;
  min-width: 250px !important;
  min-height: 250px !important;
  width: 250px !important;
  height: 250px !important;
}

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

.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(255, 255, 255, 0.2);
  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(255, 255, 255, 0.1));
  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);
}

.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(255, 255, 255, 0.2);
}

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


/* Responsive */
@media (max-width: 768px) {
  
  .container {
    padding: 1rem;
  }
  
  .title {
    font-size: 2rem;
    color: white !important;
  }
  
  .subtitle {
    font-size: 1rem;
    color: white !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; }


