/* Base Reset & Body */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #121212;
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Un peu plus moderne */
  line-height: 1.6;
  padding: 0 20px;
}

/* Headings */
h1, h2, h3 {
  color: #D90000; /* Nouveau Rouge Primaire Ludo Gasy */
  text-align: center;
  margin-bottom: 10px;
}

p, li {
  color: #e0e0e0;
  font-size: 1rem;
}

a {
  color: #FF3333; /* Un rouge plus clair pour les liens pour assurer le contraste */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Logo */
.logo {
  width: 120px;
  height: auto;
  margin: 20px auto 10px;
  display: block;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 40px 20px;
}

.hero-image {
  width: 100%;
  max-width: 1024px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 2px solid #D90000; /* Ajout d'une bordure rouge discrète */
}

.tagline {
  font-size: 1.2em;
  margin: 10px 0 20px;
}

.cta-button {
  display: inline-block;
  background-color: #D90000; /* Bouton Rouge */
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
  margin-top: 10px;
}

.cta-button:hover {
  background-color: #b30000; /* Rouge plus foncé au survol */
  transform: scale(1.05);
}

/* Sections */
section {
  margin: 40px 0;
  padding: 0 10px;
}

.intro p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

/* Modes Section */
.modes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.mode {
  flex: 1 1 300px;
  background-color: #1e1e1e;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  border-bottom: 3px solid #D90000; /* Accentuation en bas des cartes */
}

.policy-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.policy-section h2, .policy-section h3 {
  text-align: left;
}

.policy-section ul {
  margin-left: 20px;
}

.policy-section li {
  margin-bottom: 8px;
}

/* Features */
.features ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.features li {
  margin: 10px 0;
  font-size: 1.05rem;
}

/* Screenshots */
.screenshots h2 {
  margin-bottom: 20px;
}

.screenshot-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.screenshot-gallery img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(217, 0, 0, 0.2); /* Ombre rouge légère */
}

/* Footer */
footer {
  text-align: center;
  padding: 20px 0;
  font-size: 0.9em;
  border-top: 1px solid #D90000; /* Ligne rouge */
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .logo {
    width: 80px;
  }

  .cta-button {
    width: 80%;
    max-width: 300px;
  }

  .modes {
    flex-direction: column;
    align-items: center;
  }

  .screenshot-gallery {
    flex-direction: column;
    align-items: center;
  }
}