/**
 * Void Walkers Series Page Styling
 * Detailed series page with worldbuilding and character information
 */

:root {
  --void-primary: #ff6b35;
  --void-secondary: #00bcd4;
  --void-accent: #4caf50;
  --void-dark: #0a0a0a;
  --void-dark-light: #1a1a1a;
  --void-text: #e0e0e0;
  --void-text-muted: #a0a0a0;
}

/* Series Hero */
.series-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: 
    linear-gradient(135deg, var(--void-dark) 0%, #0d0d1a 30%, #12121f 70%, var(--void-dark) 100%);
  overflow: hidden;
}

.series-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 188, 212, 0.1) 0%, transparent 50%);
}

.series-hero .hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.series-hero .hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 2rem;
  animation: fadeInUp 0.8s ease-out;
}

.series-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 107, 53, 0.15);
  border: 1px solid rgba(255, 107, 53, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: var(--void-primary);
}

.series-badge .featured-mark {
  color: var(--void-primary);
  font-size: 1.25rem;
}

.series-hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: 4px;
}

.series-strapline {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  color: var(--void-text-muted);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.series-meta-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.series-meta-hero .meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.925rem;
  color: var(--void-text-muted);
}

.series-meta-hero .meta-icon {
  font-size: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Series Content */
.series-content {
  background: var(--void-dark-light);
}

.content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.content-wrapper > section {
  margin-bottom: 6rem;
}

/* Section Overview */
.section-overview {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
}

.overview-main h2 {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.series-description {
  line-height: 1.8;
  color: var(--void-text-muted);
}

.series-description p {
  margin-bottom: 1.5rem;
}

.series-description .lead-text {
  font-size: 1.125rem;
  color: var(--void-text);
  font-weight: 300;
}

.series-description .highlight {
  color: var(--void-primary);
  font-weight: 500;
}

/* Overview Sidebar Info Cards */
.info-card {
  background: rgba(255, 107, 53, 0.05);
  border: 1px solid rgba(255, 107, 53, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.info-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1rem;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  gap: 0.25rem;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list .info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--void-text-muted);
}

.info-list .info-value {
  font-size: 0.925rem;
  color: var(--void-text);
}

.world-atlas-card {
  background: rgba(0, 188, 212, 0.05);
  border: 1px solid rgba(0, 188, 212, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
}

.world-atlas-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--void-text-muted);
}

/* Reading Order Timeline */
.section-reading-order h2,
.section-themes h2,
.section-characters h2,
.section-timeline h2 {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 2rem;
}

.reading-order-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.reading-order-item {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  transition: all 0.3s ease;
}

.reading-orderItem:hover {
  border-color: var(--void-secondary);
  transform: translateX(10px);
}

.reading-order-item.current {
  background: rgba(255, 107, 53, 0.05);
  border-color: var(--void-primary);
}

.reading-order-item.published {
  border-left: 4px solid var(--void-accent);
}

.reading-order-item .order-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--void-primary), var(--void-secondary));
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  border-radius: 50%;
}

.reading-order-item .order-content {
  flex: 1;
}

.reading-order-item .order-content h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.reading-order-item .order-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  color: var(--void-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.reading-order-item .order-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.reading-order-item .order-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--void-text-muted);
}

.reading-order-item .order-status {
  margin-bottom: 1rem;
}

.order-connector {
  position: absolute;
  left: calc(2rem + 30px);
  top: 100%;
  width: 2px;
  height: 2rem;
  background: linear-gradient(to bottom, var(--void-primary), var(--void-secondary));
}

/* Themes Grid */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.theme-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.theme-card:hover {
  border-color: var(--void-accent);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.1);
}

.theme-card .theme-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.theme-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: #fff;
  margin: 0;
}

/* Characters Grid */
.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.character-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.character-card:hover {
  border-color: var(--void-secondary);
  transform: translateY(-3px);
}

.character-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.character-header .character-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 188, 212, 0.1);
  border-radius: 50%;
  font-size: 1.5rem;
}

.character-header .character-info {
  flex: 1;
}

.character-header .character-info h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  color: #fff;
  margin: 0 0 0.25rem 0;
}

.character-header .character-role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--void-secondary);
}

.character-description {
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--void-text-muted);
  margin: 0;
}

/* Timeline */
.timeline-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 3rem;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--void-primary), var(--void-secondary));
}

.timeline-event {
  position: relative;
  padding: 1.5rem;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border-left: 3px solid var(--void-primary);
}

.timeline-event::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--void-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.timeline-year {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--void-primary);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--void-text-muted);
  margin: 0;
  line-height: 1.5;
}

.timeline-connector {
  display: none;
}

/* World Building */
.section-worldbuilding h2 {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 2rem;
}

.worldbuilding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.world-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.world-card:hover {
  border-color: var(--void-accent);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(76, 175, 80, 0.1);
}

.world-card .world-card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.world-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.world-card p {
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--void-text-muted);
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
  
  .overview-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .series-hero h1 {
    font-size: 2rem;
  }
  
  .series-strapline {
    font-size: 1rem;
  }
  
  .series-meta-hero {
    gap: 1rem;
  }
  
  .content-wrapper {
    padding: 2rem 1rem;
  }
  
  .reading-order-item {
    padding: 1.5rem;
  }
  
  .reading-order-item .order-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .timeline-track {
    padding-left: 2rem;
  }
  
  .timeline-event::before {
    left: -2rem;
  }
  
  .worldbuilding-grid,
  .characters-grid {
    grid-template-columns: 1fr;
  }
  
  .themes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}