/*
 * Globals
 */
/* Por defecto en celulares, hacemos la base más pequeña */
html {
  font-size: 14px; 
}

/* Cuando la pantalla sea de tablet para arriba, la regresamos a la normalidad */
@media (min-width: 768px) {
  html {
    font-size: 18px;
  }
}
 
/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}


/*
 * Base structure
 */

html,
body {
  /* height: 100%; */
  background-color: #333;
}

body {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-pack: center;
  -webkit-box-pack: center;
  justify-content: center;
  color: #fff;
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);

  min-height: 100vh;
  background-image: url('img/hs-cover.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.cover-container {
  max-width: 60em;
}


/*
 * Header
 */
.masthead {
  margin-bottom: 2rem;
}

.masthead-brand {
  margin-bottom: 0;
}

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }
}

.btn-cta {
    background-color: #00c853; /* Verde esmeralda */
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 200, 83, 0.3);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: #00b248;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 200, 83, 0.5);
}

/*
 * Cover
 */
.cover {
  /* Añadimos un fondo oscuro semitransparente para que el texto resalte */
  background-color: rgba(0, 0, 0, 0.8); 
  padding: 0.5rem 1.5rem; /* Aumentamos el espacio interior del cuadro negro */
  border-radius: 1rem; /* Bordes redondeados para el fondo */
  margin-top: 2rem; /* Esto empuja la sección hacia abajo, separándola del header */
}

.cover.cover-contact {
  background-color: rgba(0, 0, 0, 0.78);
}

.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}

.card {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.25);
  border-radius: 0.75rem;
  color: #333;
  text-shadow: none;
}

.card-title {
  margin-bottom: 1rem;
  font-weight: 700;
}

.card-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

.img-cover {
  object-fit: cover;
}

.border-gold {
  border-color: #D4AF37 !important; /* Tono oro clásico */
  border-width: 3px !important;     /* Un poco más grueso para que luzca */
}

.email-adaptative {
  font-size: 1.5rem;
} 

@media (min-width: 768px){
  .email-adaptative {
    font-size: 2rem;
  }
}

/* Estilos para el formulario de correo */
.form-control-lg {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 8px 0 0 8px;
}

.form-control-lg:focus {
  background-color: #ffffff;
  box-shadow: 0 0 0 0.2rem rgba(0, 200, 83, 0.25);
  outline: none;
}

.input-group .btn-cta {
  border-radius: 0 8px 8px 0;
  font-size: 1.1rem;
}

/* Mejoras en las tarjetas para hacerlas más atractivas */
.card {
  transition: transform 0.2s ease-in-out;
  background-color: rgba(30, 30, 30, 0.9) !important;
}

.card:hover {
  transform: translateY(-5px);
}

.rounded-left {
  border-top-left-radius: 0.75rem;
  border-bottom-left-radius: 0.75rem;
}

.rounded-right {
  border-top-right-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
}

/* --- ESTILOS DEL HERO --- */

/* 1. Título principal en una sola línea */
.hero-title {
  /* clamp(mínimo, preferido, máximo) ajusta el texto automáticamente */
  font-size: clamp(1.0rem, 5.0vw, 2.0rem); 
  white-space: nowrap; /* Obliga a que el texto no baje a una segunda línea */
  
  /* Efecto de degradado plateado/blanco para que luzca premium */
  background: linear-gradient(to right, #ffffff, #b0bec5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  
  text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5); /* Sombra para separar del fondo */
  letter-spacing: 1px;
}

/* 2. Subtítulo (Revista digital) */
.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  line-height: 1.5;
  color: #e0e0e0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* 3. Textos destacados (Gratis, Pronósticos) */
.highlight-gold {
  color: #ffd700; /* Amarillo/Oro vibrante */
  font-weight: 800;
  letter-spacing: 0.5px;
  /* Efecto de brillo (glow) alrededor del texto */
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4), 2px 2px 4px rgba(0, 0, 0, 0.9);
}

/* 4. Lista de Ligas */
.hero-leagues {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: #cfd8dc;
  font-style: italic;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/*
 * Footer
 */
.mastfoot {
  color: rgba(255, 255, 255, .5);
}
