/* ========================================
   RAVENCOREX MAG - ENHANCEMENTS & IMPROVEMENTS
   Mejoras visuales y UX basadas en recomendaciones
   ======================================== */

/* ===== NAVBAR FONT SIZE ===== */
.navbar1_link,
.w-nav-link {
  font-size: 0.875rem !important;
  font-family: 'Montserrat', sans-serif !important;
}

/* ===== FEATURED EDITION IMPROVEMENTS ===== */

/* Barra vertical de color en el título del volumen */
.mag-volume-content {
  position: relative;
  padding-left: 3rem;
}

.mag-volume-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--mag-accent) 0%, transparent 100%);
  border-radius: 4px;
}

/* Mejorar secciones list con iconos*/
.mag-sections-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.875rem 0;
  padding-left: 1rem;
  border-left: 2px solid transparent;
  transition: all 0.3s ease;
}

.mag-sections-list li:hover {
  border-left-color: var(--mag-accent);
  background: rgba(0, 174, 239, 0.05);
  padding-left: 1.25rem;
}

.section-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.mag-sections-list li:hover .section-icon {
  transform: scale(1.15);
}

.section-content {
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Más espaciado vertical en la sección featured */
.mag-volume-description {
  margin-bottom: 2.5rem !important; /* Mayor aire */
}

.mag-volume-tags {
  margin-bottom: 2.5rem !important; /* Mayor aire */
}

/* ===== ARCHIVE SECTION IMPROVEMENTS ===== */

/* Timeline visual sobre el grid */
.mag-archive {
  position: relative;
}

.mag-editions-timeline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 3rem auto;
  padding: 1.5rem;
  background: rgba(0, 174, 239, 0.05);
  border: 1px solid rgba(0, 174, 239, 0.2);
  border-radius: 50px;
  max-width: 600px;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mag-bg-card);
  border: 2px solid rgba(0, 174, 239, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mag-font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mag-text-secondary);
  transition: all 0.3s ease;
}

.timeline-item.active .timeline-dot {
  background: var(--mag-accent);
  border-color: var(--mag-accent);
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(0, 174, 239, 0.5);
}

.timeline-item.coming .timeline-dot {
  opacity: 0.5;
}

.timeline-label {
  font-family: var(--mag-font-body);
  font-size: 0.75rem;
  color: var(--mag-text-secondary);
  text-align: center;
}

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  right: -2rem;
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 174, 239, 0.3) 0%, rgba(0, 174, 239, 0.1) 100%);
}

/* Hover states más expresivos en cards */
.mag-volume-card {
  position: relative;
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mag-volume-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--mag-accent) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: var(--mag-card-radius);
}

.mag-volume-card:hover::before {
  opacity: 0.15;
}

.mag-volume-card:hover {
  background: rgba(30, 35, 41, 0.8);
}

/* Botón aparece al hover en cards */
.mag-volume-card .mag-cta {
  opacity: 0.9;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.mag-volume-card:hover .mag-cta {
  opacity: 1;
  transform: translateY(-4px);
}

/* Jerarquía mejorada en cards del archivo */
.mag-volume-card .mag-volume-title {
  font-size: 1.75rem !important;
  margin-bottom: 0.75rem;
}

.mag-volume-card .mag-cover-vol {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

/* ===== CTA FINAL IMPROVEMENTS ===== */

/* Diferenciación visual del CTA final */
.mag-final-cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg,
    rgba(0, 174, 239, 0.12) 0%,
    rgba(0, 152, 212, 0.08) 50%,
    rgba(0, 174, 239, 0.12) 100%
  );
  border: 1px solid rgba(0, 174, 239, 0.25);
  border-radius: 20px;
  padding: 4rem 2rem;
}

.mag-final-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--mag-accent) 50%,
    transparent 100%
  );
}

.mag-final-cta-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.mag-final-cta-title {
  position: relative;
  z-index: 1;
  font-family: var(--mag-font-heading);
  font-size: clamp(1.75rem, 3vw, 2.75rem) !important;
  font-weight: 600;
  color: var(--mag-text-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.mag-final-cta-subtitle {
  position: relative;
  z-index: 1;
  font-family: var(--mag-font-body);
  font-size: 1.125rem;
  color: var(--mag-text-secondary);
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Social Proof */
.mag-social-proof {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  margin: 0 auto 2rem;
  font-family: var(--mag-font-body);
  font-size: 0.9375rem;
  color: var(--mag-text-secondary);
}

.social-proof-icon {
  font-size: 1.25rem;
}

.social-proof-number {
  font-weight: 600;
  color: var(--mag-accent);
}

.mag-final-cta-button {
  position: relative;
  z-index: 1;
  background: var(--mag-accent);
  color: #FFFFFF;
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  box-shadow: 0 6px 30px rgba(0, 174, 239, 0.4),
              inset 0 -2px 0 rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.mag-final-cta-button:hover {
  background: var(--mag-accent-hover);
  box-shadow: 0 8px 40px rgba(0, 174, 239, 0.5),
              inset 0 -2px 0 rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

/* ===== BREADCRUMB NAVIGATION ===== */

.mag-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  font-family: var(--mag-font-body);
  font-size: 0.875rem;
  color: var(--mag-text-secondary);
}

.mag-breadcrumb a {
  color: var(--mag-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mag-breadcrumb a:hover {
  color: var(--mag-accent);
}

.mag-breadcrumb-separator {
  color: rgba(255, 255, 255, 0.3);
  user-select: none;
}

.mag-breadcrumb-current {
  color: var(--mag-text-primary);
}

/* ===== FILTER SYSTEM ===== */

.mag-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.mag-filter-label {
  font-family: var(--mag-font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mag-text-secondary);
}

.mag-filter-btn {
  padding: 0.625rem 1.25rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-family: var(--mag-font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mag-text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.mag-filter-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--mag-text-primary);
}

.mag-filter-btn.active {
  background: var(--mag-accent);
  border-color: var(--mag-accent);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
}

/* ===== ICONOGRAFÍA RAVENCOREX ===== */

/* Isotipo "R" como marca de agua */
.mag-section-watermark {
  position: relative;
}

.mag-section-watermark::before {
  content: 'R';
  position: absolute;
  top: -80px;
  right: -40px;
  font-family: var(--mag-font-heading);
  font-size: 200px;
  font-weight: 700;
  color: rgba(0, 174, 239, 0.03);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Bullets personalizados en listas */
.mag-custom-list {
  list-style: none;
  padding: 0;
}

.mag-custom-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}

.mag-custom-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--mag-accent);
  font-weight: bold;
  font-size: 1.25rem;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

@media (max-width: 991px) {
  .mag-volume-content {
    padding-left: 2rem;
  }

  .mag-editions-timeline {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .timeline-item:not(:last-child)::after {
    display: none;
  }

  .mag-final-cta-section {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 767px) {
  .mag-volume-content::before {
    display: none;
  }

  .mag-volume-content {
    padding-left: 2rem;
  }

  .mag-section-watermark::before {
    font-size: 100px;
    top: -40px;
    right: -20px;
  }

  .mag-breadcrumb {
    font-size: 0.8125rem;
  }

  .mag-filters {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mag-final-cta-section::after {
    width: 200px;
    height: 200px;
  }
}

/* ===== PRINT STYLES ===== */

@media print {
  .mag-editions-timeline,
  .mag-filters,
  .mag-breadcrumb,
  .mag-floating-cta {
    display: none !important;
  }

  .mag-volume-card::before {
    display: none !important;
  }
}
