* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(to bottom, #1a0f0a 0%, #3d1f14 100%);
  color: #ffede0;
  padding: 20px;
}

.header-banner {
  text-align: center;
  padding: 40px 20px;
  background: rgba(80, 30, 20, 0.8);
  border-radius: 15px;
  margin-bottom: 40px;
  border: 3px solid #ff6633;
  box-shadow: 0 0 25px #ff663388;
}

h1 {
  font-size: 3rem;
  color: #ff6633;
  text-shadow: 0 0 15px #ff6633;
  margin-bottom: 10px;
}

.tagline {
  font-size: 1.3rem;
  color: #ffaa66;
  margin-bottom: 20px;
}

.intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  background: rgba(60, 30, 20, 0.7);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #ffaa66;
  color: #ffffff;
}

/* Adding styles for intro image */
.intro-image {
  max-width: 900px;
  margin: 0 auto 50px;
  border-radius: 12px;
  border: 2px solid #ff6633;
  overflow: hidden;
  box-shadow: 0 0 20px #ff663366;
}

.intro-image img {
  width: 100%;
  height: auto;
  display: block;
}

.creatures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1400px;
  margin: 0 auto 50px;
}

.creature-card {
  background: linear-gradient(135deg, rgba(80, 30, 20, 0.9) 0%, rgba(120, 50, 30, 0.9) 100%);
  border: 2px solid #ff8844;
  border-radius: 15px;
  padding: 25px;
}

.creature-icon {
  width: 100%;
  height: 200px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  overflow: hidden;
}

.creature-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.creature-card h2 {
  color: #ff6633;
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-align: center;
}

.creature-type {
  text-align: center;
  color: #ffaa66;
  font-style: italic;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.creature-desc {
  line-height: 1.6;
  margin-bottom: 15px;
  color: #ffffff;
}

.creature-stats {
  background: rgba(60, 30, 20, 0.5);
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
}

.stat-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #ffffff;
}

.stat-label {
  color: #ffaa66;
  font-weight: bold;
}

.danger-level {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.85rem;
  margin-top: 10px;
}

.danger-extreme {
  background: #ff0000;
  color: white;
}
.danger-high {
  background: #ff6600;
  color: white;
}
.danger-medium {
  background: #ffaa00;
  color: black;
}
.danger-low {
  background: #66cc66;
  color: black;
}

.survival-tips {
  max-width: 1200px;
  margin: 50px auto;
  background: rgba(80, 30, 20, 0.8);
  padding: 40px;
  border-radius: 15px;
  border: 3px solid #ff6633;
}

.survival-tips h2 {
  color: #ff6633;
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 0 0 10px #ff6633;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.tip-box {
  background: rgba(100, 50, 30, 0.3);
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #ffaa66;
  color: #ffffff;
}

.tip-box h3 {
  color: #ffaa66;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.footer-info {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background: rgba(80, 30, 20, 0.8);
  border-radius: 15px;
  color: #ffffff;
}

.footer-info h3 {
  color: #ff6633;
  margin-bottom: 15px;
}

a.button-link {
  display: inline-block;
  padding: 12px 30px;
  background: #ff6633;
  color: #1a0f0a;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin: 5px;
}

.liens {margin-top: 30px;}

#phrases_liens {
  margin-top: 20px; 
  color: #aaaaaa;
}

#mentions_legales {
  text-align: center; 
  padding: 30px; 
  background: rgba(10, 5, 5, 0.8); 
  margin-top: 40px; 
  border-top: 2px solid #ff6633; 
  color: #aaaaaa;
}

#suite_mentions_legales {
  color: #aaaaaa; 
  text-decoration: none; 
  font-size: 0.95rem;
}

.btn-retour {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #007BFF; /* bleu par défaut */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-retour:hover {
    background-color: #0056b3; /* bleu plus foncé au survol */
}


@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  .tagline {
    font-size: 1.1rem;
  }
  .creatures-grid {
    grid-template-columns: 1fr;
  }
}