/* HERO */

.hero {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-image: url('../img/jugadorMobile.png?v=2');
  background-repeat: no-repeat;
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* TEXTO */

.hero-texto {
  text-align: center;
  margin: 0 auto;
  max-width: 600px;
}

.hero-texto h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: var(--fs-hero);
  color: var(--color3);
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8);
}

.hero-texto h1 span {
  display: inline-block;
  margin-bottom: 0.2em;
}

.highlight {
  background-color: var(--color4);
  padding: 0.1em 0.4em;
  display: inline-block;
  line-height: 1.1;
  margin: 0.1em 0;
  white-space: nowrap;
}

.hero-texto p {
  font-size: var(--fs-body);
  color: var(--color3);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.btn-hero {
  background-color: var(--color4);
  color: var(--color3);
  padding: 0.9em 2em; 
  font-size: var(--fs-button);
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 2rem;
}

.btn-hero:hover  {
  background-color: var(--color6);
}

/* TABLET */

@media screen and (min-width: 768px) {
  .hero {
    background-image: url('../img/imagenPortada2.png?v=2');
    background-position: 70% center;
  }

   .hero-texto p {
    font-size: 1.1rem;
    margin: 0 2rem 1.5rem;
  }
}

/* DESKTOP */

@media screen and (min-width: 1024px) {

  .hero {
    background-image: url('../img/imagenPortada2.png?v=2');
    background-position: 60% center;
    align-items: center;
  }

  .hero::before {
    background: rgba(0, 0, 0, 0.1);
  }

  .hero-texto {
    text-align: left;
    margin: 0; 
    max-width: 500px;
  }

.hero-texto h1 {
    color: var(--color2);
    text-shadow: none;
    line-height: 0.9;
    margin-top: 1rem;
  }

  .highlight {
    color: var(--color3); 
  }
  
  .hero-texto p {
    font-size: var(--fs-h4);
    color: var(--color2);
    font-weight: 700;
    margin: 0px;
  }
}