/* Daily Digest Hero Styles - Externalized from layouts/partials/daily-digest-hero.html */

.daily-digest-hero {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  margin-bottom: 3rem;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.digest-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
  animation: glow-rotate 20s linear infinite;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .digest-glow {
    animation: none;
  }
}

@keyframes glow-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.digest-container {
  position: relative;
  z-index: 1;
}

.digest-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}

.pulse {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .pulse {
    animation: none;
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.badge-text {
  color: #93c5fd;
  font-weight: 600;
  font-size: 0.9rem;
}

.digest-date {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.digest-headline {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.digest-headline a {
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #fff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.digest-headline a:hover {
  background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.digest-summary {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 700px;
}

.digest-stats-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #60a5fa;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.digest-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.digest-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

@media (max-width: 768px) {
  .daily-digest-hero {
    padding: 2rem 1.5rem;
  }
  
  .digest-headline {
    font-size: 1.75rem;
  }
  
  .digest-stats-row {
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
}

/* Light mode adjustments */
.light .daily-digest-hero {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 50%, #93c5fd 100%);
  border-color: rgba(59, 130, 246, 0.4);
}

.light .digest-headline a {
  background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.light .digest-summary {
  color: rgba(30, 58, 95, 0.9);
}

.light .stat-label {
  color: rgba(30, 58, 95, 0.7);
}

.light .badge-text {
  color: #1e40af;
}

.light .digest-date {
  color: rgba(30, 58, 95, 0.6);
}
