/* ========================================
   Daily Dog Facts Styles
   ======================================== */

.daily-facts-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2em;
}

/* Back Button - matches feeding_guide_styles pattern */
.back-button {
  display: inline-block;
  margin-bottom: 2em;
  padding: 0.75em 1.5em;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
}

.back-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Page Header */
.page-header {
  text-align: center;
  margin-bottom: 1.5em;
}

.page-header h1 {
  font-size: 2.8em;
  color: #0078d4;
  margin-bottom: 0.3em;
}

.page-header .subtitle {
  font-size: 1.1em;
  color: #666;
  margin: 0;
}

/* Date Badge */
.date-badge {
  text-align: center;
  margin-bottom: 2em;
}

.date-badge span {
  display: inline-block;
  background: linear-gradient(135deg, #0078d4 0%, #00a8e8 100%);
  color: white;
  padding: 0.6em 1.8em;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

/* Main Fact Card */
.fact-card {
  background: white;
  border-radius: 16px;
  padding: 2.5em;
  margin-bottom: 1.5em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid #e8f0fe;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle top-edge accent line */
.fact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(135deg, #667eea 0%, #0078d4 50%, #00a8e8 100%);
}

.fact-number {
  font-size: 2.5em;
  color: #667eea;
  margin-bottom: 0.2em;
}

.fact-category {
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 2px;
  color: #0078d4;
  margin-bottom: 0.8em;
  min-height: 1em;
}

.fact-title {
  font-size: 1.6em;
  color: #333;
  margin: 0 0 1em 0;
  line-height: 1.3;
}

.fact-text {
  font-size: 1.15em;
  color: #555;
  line-height: 1.8;
  margin: 0;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Context / Did You Know box */
.fact-context {
  display: flex;
  align-items: flex-start;
  gap: 1em;
  background: linear-gradient(135deg, #f0f8ff 0%, #e8f4fd 100%);
  border-left: 5px solid #0078d4;
  border-radius: 10px;
  padding: 1.5em;
  margin-bottom: 2em;
}

.context-icon {
  font-size: 1.8em;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1em;
}

.context-content h3 {
  color: #0078d4;
  margin: 0 0 0.4em 0;
  font-size: 1.1em;
}

.context-content p {
  color: #444;
  margin: 0;
  line-height: 1.6;
}

/* Yesterday / Today / Tomorrow Navigation */
.fact-navigation {
  display: flex;
  justify-content: center;
  gap: 0.8em;
  margin-bottom: 2.5em;
  flex-wrap: wrap;
}

.nav-btn {
  padding: 0.7em 1.4em;
  border: 2px solid #667eea;
  background: white;
  color: #667eea;
  border-radius: 8px;
  font-size: 0.95em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}

.nav-btn:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.35);
}

.nav-btn.today-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.35);
}

/* Stats Strip */
.stats-strip {
  display: flex;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
  background: #f5f7fa;
  border-radius: 10px;
  padding: 1em 1.5em;
  min-width: 130px;
}

.stat-number {
  font-size: 1.6em;
  font-weight: 700;
  color: #0078d4;
}

.stat-label {
  font-size: 0.78em;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========================================
   RESPONSIVE - 768px
   ======================================== */
@media (max-width: 768px) {
  .daily-facts-container {
    padding: 1em;
  }

  .page-header h1 {
    font-size: 2em;
  }

  .fact-card {
    padding: 1.8em 1.2em;
  }

  .fact-title {
    font-size: 1.3em;
  }

  .fact-text {
    font-size: 1.05em;
  }

  .stats-strip {
    gap: 1em;
  }

  .stat-item {
    min-width: 110px;
    padding: 0.8em 1em;
  }
}

/* ========================================
   RESPONSIVE - 480px
   ======================================== */
@media (max-width: 480px) {
  .page-header h1 {
    font-size: 1.6em;
  }

  .date-badge span {
    font-size: 0.95em;
    padding: 0.5em 1.2em;
  }

  .fact-card {
    padding: 1.5em 1em;
  }

  .fact-number {
    font-size: 2em;
  }

  .fact-title {
    font-size: 1.15em;
  }

  .fact-text {
    font-size: 1em;
  }

  .fact-navigation {
    gap: 0.5em;
  }

  .nav-btn {
    padding: 0.6em 1em;
    font-size: 0.88em;
  }

  .stats-strip {
    gap: 0.6em;
  }

  .stat-item {
    min-width: 90px;
    padding: 0.7em 0.8em;
  }

  .stat-number {
    font-size: 1.3em;
  }

  .stat-label {
    font-size: 0.7em;
  }
}
