.hero {
    height: 85vh;
    background: 
        linear-gradient(135deg, 
            rgba(255, 170, 0, 0.1) 0%, 
            rgba(255, 68, 68, 0.08) 50%, 
            rgba(10, 10, 10, 0.9) 100%),
        url('assets/hero-bg.jpg');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at center, 
        transparent 0%, 
        rgba(68, 68, 68, 0.4) 50%,
        rgba(10, 10, 10, 0.8) 100%  
    );
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffaa00;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 40px;
}

/* Images des jeux */
.battlefield-images {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.battlefield-game {
    position: relative;
    width: 180px;
    height: 240px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
    border: 2px solid #ffaa00;
}

.battlefield-game:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.battlefield-game img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.battlefield-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px;
}

.battlefield-overlay h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffaa00;
    margin: 0;
}

/* Partie texte */
.txt-bf {
    max-width: 1000px;
    margin: 80px auto;
    padding: 40px;
    background-color: #1a1a1a;
    border-radius: 15px;
    border: 1px solid #ffaa00;
}

.txt-bf h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #ffaa00;
    border-bottom: 3px solid #ffaa00;
    padding-bottom: 10px;
}

.txt-bf h3:first-child {
    margin-top: 0;
}

.txt-bf p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 4px solid #ffaa00;
    text-align: justify;
}
@media (min-width: 768px) and (max-width: 1024px) {

  /* Hero */
  .hero {
    height: 70vh; /* réduire un peu la hauteur */
    background-attachment: scroll; /* pour fluidité sur tablette */
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .hero-content {
    max-width: 90%;
    padding: 0 15px;
  }

  /* Galerie / images des jeux */
  .battlefield-images {
    gap: 15px;
  }

  .battlefield-game {
    width: 150px;
    height: 200px;
  }

  .battlefield-overlay h3 {
    font-size: 1rem;
  }

  /* Partie texte */
  .txt-bf {
    padding: 30px;
    margin: 50px auto;
  }

  .txt-bf h3 {
    font-size: 1.5rem;
  }

  .txt-bf p {
    font-size: 0.95rem;
    padding-left: 10px;
  }
}