/* ============================================
   REGLAMENTO — iconos homogéneos y con contraste
   Sobreescribe el estilo de .rule-icon para que
   todos los iconos sean SVG blancos sobre fondo
   oscuro, evitando que se pierdan en el fondo azul.
   ============================================ */

.rule-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.rule-icon svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

/* ============================================
   ICONOS SOCIALES EN EL HEADER
   ============================================ */

.nav-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: 0.5rem;
}

.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.nav-social a svg {
  width: 16px;
  height: 16px;
}

.nav-social a:hover {
  background: var(--gold);
  color: white;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .nav-social {
    margin-right: 0;
    margin-left: auto;
    order: 2;
  }
}

@media (max-width: 480px) {
  .nav-social a {
    width: 28px;
    height: 28px;
  }
  .nav-social a svg {
    width: 14px;
    height: 14px;
  }
}

/* ============================================
   REDES SOCIALES — estilos adicionales
   Agrega este bloque a assets/css/styles.css
   (o deja el archivo social.css enlazado en index.php)
   ============================================ */

#redes {
  background: var(--off-white);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: white;
  padding: 1.5rem 1.6rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-left: 5px solid var(--teal);
  transition: transform 0.2s, box-shadow 0.2s;
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}

.social-card .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  color: white;
}

.social-card .social-icon svg {
  width: 26px;
  height: 26px;
}

.social-youtube { border-left-color: #FF0000; }
.social-youtube .social-icon { background: #FF0000; }

.social-tiktok { border-left-color: #000000; }
.social-tiktok .social-icon { background: #000000; }

.social-instagram { border-left-color: #C13584; }
.social-instagram .social-icon {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}

.social-info {
  display: flex;
  flex-direction: column;
}

.social-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 1px;
  color: var(--text-dark);
  line-height: 1.1;
}

.social-handle {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-mid);
}

/* Footer social icons */
.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-social a:hover {
  background: var(--gold);
  color: white;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
  .social-grid {
    grid-template-columns: 1fr;
  }
}
