/* ==========================================================================
   ESTILOS GENERALES Y RESET PARA LA PÁGINA DE ANIVERSARIO
   ========================================================================== */
body {
  background-color: #1a1a1a;
  color: #ffffff;
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.aniversario-section {
  padding: 60px 0;
}

.bg-dark-tone {
  background-color: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* Títulos elegantes */
.section-title-gold {
  text-align: center;
  font-size: 2rem;
  color: #f1c40f;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-subtitle {
  text-align: center;
  color: #cccccc;
  margin-top: 0;
  margin-bottom: 40px;
  font-size: 1rem;
}

/* ==========================================================================
   HERO BANNER DE ENTRADA
   ========================================================================== */
.aniversario-hero {
  position: relative;
  background: #4a0505; /* Fondo guinda sólido inicial */
  background: linear-gradient(135deg, #4a0505 0%, #240202 100%);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border-bottom: 3px solid #f1c40f;
}

.hero-overlay {
  padding: 70px 20px;
  width: 100%;
}

.emblema-aniversario {
  font-size: 5rem;
  font-weight: 900;
  color: #ffffff;
  background: radial-gradient(circle, #ffffff 40%, #f5f5f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 10px;
  border: 4px solid #f1c40f;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  line-height: 132px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  background-color: #ffffff; /* Fallback */
}

.aniversario-hero h1 {
  font-size: 2.2rem;
  margin: 15px 0 5px 0;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-sub {
  font-size: 1.2rem;
  color: #f1c40f;
  margin: 0;
  font-weight: 600;
}

.divider-gold {
  width: 80px;
  height: 3px;
  background-color: #f1c40f;
  margin: 20px auto 0 auto;
  border-radius: 2px;
}

/* ==========================================================================
   PANEL DE ESTADÍSTICAS (GRID)
   ========================================================================== */
.grid-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 0 auto;
}

.stat-box {
  background: rgba(74, 5, 5, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 30px 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #f1c40f;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* ==========================================================================
   LÍNEA DE TIEMPO (TIMELINE MODERNA Y RESPONSIVA)
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Eje vertical central */
.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: rgba(212, 175, 55, 0.4);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

/* Contenedores de los items */
.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: transparent;
  width: 50%;
  box-sizing: border-box;
}

/* Orientación alternada */
.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

/* Los puntos dorados de la línea central */
.timeline-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  right: -7px;
  background-color: #1a1a1a;
  border: 3px solid #f1c40f;
  top: 25px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.right .timeline-dot {
  left: -7px;
}

/* Cajas internas de texto */
.timeline-content-box {
  padding: 20px 25px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.timeline-year {
  display: inline-block;
  background-color: #700b0b;
  color: #ffffff;
  padding: 3px 10px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 4px;
  border: 1px solid #f1c40f;
  margin-bottom: 10px;
}

.timeline-content-box h3 {
  margin: 0 0 8px 0;
  color: #f1c40f;
  font-size: 1.2rem;
}

.timeline-content-box p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #e0e0e0;
}

/* ==========================================================================
  (TARJETAS) Nuestros Cinturones Negros
   ========================================================================== */
.grid-pilares {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.pilar-card {
  background: linear-gradient(180deg, rgba(74, 5, 5, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 3px solid #700b0b;
  padding: 30px 20px;
  border-radius: 6px;
  text-align: center;
  transition: transform 0.3s ease, border-bottom-color 0.3s ease;
}

.pilar-card:hover {
  transform: translateY(-5px);
  border-bottom-color: #f1c40f;
}

.pilar-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.pilar-card h3 {
  margin: 0 0 10px 0;
  color: #ffffff;
  font-size: 1.25rem;
}

.pilar-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #cccccc;
}

/* ==========================================================================
   ADAPTACIÓN MÓVIL EXTREMA (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 768px) {
  /* Forzar la línea de tiempo a una sola columna a la izquierda */
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 55px;
    padding-right: 20px;
  }
  
  .timeline-item.right {
    left: 0;
  }
  
  .timeline-dot {
    left: 24px !important;
    right: auto;
  }
  
  .aniversario-hero h1 {
    font-size: 1.8rem;
  }
  
  .emblema-aniversario {
    width: 110px;
    height: 110px;
    line-height: 102px;
    font-size: 3.8rem;
  }
}

/* ==========================================================================
   SECCION CINTURONES NEGROS  V4
   ========================================================================== */
 /* Contenedor principal */
.grid-cinturones {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas de tarjetas */
    gap: 20px;
    margin-top: 20px;
}

/* Estilos de los items  */
.item {
  /*   background: #1a1a1a;
    border: 1px solid #333;
    padding: 8px 5px;
    margin-bottom: 5px; 
    font-size: 0.85rem;*/
    text-align: center;
    color: #a0a0a0;
    /*   border-radius: 4px;
    transition: 0.3s; */
}

/* Estilos destacados */
.item.destacado {
   /* background: #2a2215;
    border: 1px solid #d4af37;*/
    color: #d4af37;
    font-weight: 600;
}

/* Hover effect */
.item:hover {
    border-color: #555;
    background: #222;
}

/* Responsividad */
@media (max-width: 900px) {
    .grid-cinturones { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .grid-cinturones { grid-template-columns: 1fr; }
}