/*
==============================================
PLEY — FOOTER CSS
Contiene: footer base, divider, columnas,
social links, app store links, copyright.
==============================================
*/

/* ============================================
   FOOTER — Contenedor principal
   ============================================ */
footer {
  background-color: #0a021a;
  position: relative;
  z-index: 10;
}

/* Línea divisora superior */
.footer-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
}

.footer-body {
  padding-top: clamp(3.5rem, 4.5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 3.5vw, 3.5rem);
}

/* ============================================
   FOOTER GRID
   ============================================ */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand {
  /* Columna de branding */
}

.footer-brand img {
  height: 3rem;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 1.5rem;
}

.footer-description {
  font-family: 'Montserrat', sans-serif;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 22rem;
}

/* ============================================
   REDES SOCIALES
   ============================================ */
.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.footer-social-link:hover {
  background-color: #dd00ff;
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ============================================
   COLUMNAS DE ENLACES
   ============================================ */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-col-title {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav-link {
  font-family: 'Montserrat', sans-serif;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-nav-link:hover {
  color: #dd00ff;
}

/* ============================================
   APP STORE LINKS
   ============================================ */
.footer-app-col {
  grid-column: span 2;
}

.footer-app-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-store-link {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #ffffff;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  gap: 0.75rem;
}

.footer-store-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.footer-store-link svg {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.footer-store-info {
  display: flex;
  flex-direction: column;
}

.footer-store-label {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

.footer-store-name {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

/* ============================================
   COPYRIGHT BAR
   ============================================ */
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: #dd00ff;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 768px) {
  .footer-app-col {
    grid-column: span 1;
  }

  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-copyright {
    text-align: left;
    margin-bottom: 0;
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 4fr 8fr;
  }

  .footer-brand img {
    height: 4rem;
  }
}

@media (max-width: 767px) {
  .footer-body {
    padding-top: 2.25rem;
    padding-bottom: 1.75rem;
  }
}

@media (max-width: 480px) {
  .footer-body {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }
}
