/* =========================================================
   Predator Defense — Component Styles
   Species Intelligence Cards, Predator Hero, Stat Banners
   ========================================================= */

/* ----- Species Intelligence Card ----- */
.species-intel-card {
  background: var(--color-surface, #1a1a1a);
  border: 1px solid var(--color-surface-border, rgba(196, 163, 90, 0.3));
  border-radius: var(--radius-lg, 12px);
  padding: 2rem;
  margin-bottom: 2.5rem;
}

.species-intel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(196, 163, 90, 0.15);
}

.species-intel-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(196, 163, 90, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.species-intel-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-neutral-900, #fff);
  margin: 0;
  line-height: 1.2;
}

.species-intel-subtitle {
  font-size: 0.85rem;
  color: var(--color-neutral-600, #999);
  font-style: italic;
  margin: 0;
}

.species-intel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .species-intel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.intel-stat {
  background: rgba(15, 20, 25, 0.6);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(196, 163, 90, 0.15);
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.intel-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 163, 90, 0.4);
}

.intel-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary, #C4A35A);
  font-weight: 600;
}

.intel-stat-value {
  font-size: 0.95rem;
  color: var(--color-neutral-800, #ddd);
  font-weight: 500;
  line-height: 1.4;
}

.species-intel-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(196, 163, 90, 0.1);
  border: 1px solid rgba(196, 163, 90, 0.25);
  border-radius: 8px;
  color: var(--color-primary, #C4A35A);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.species-intel-cta:hover {
  background: rgba(196, 163, 90, 0.2);
  border-color: rgba(196, 163, 90, 0.4);
  transform: translateY(-1px);
}

/* ----- Predator Hero Image ----- */
.predator-hero-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg, 12px);
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.5s ease;
}

.predator-hero-img:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .predator-hero-img {
    height: 200px;
    border-radius: 8px;
  }
}

/* ----- Predator Stat Banner ----- */
.predator-stat-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: rgba(196, 163, 90, 0.15);
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.predator-stat-item {
  background: var(--color-surface, #1a1a1a);
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.predator-stat-number {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary, #C4A35A);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.predator-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-neutral-400, #999);
}

/* ----- Threat Level Badge ----- */
.threat-level {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.threat-level--extreme {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.threat-level--high {
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.threat-level--moderate {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.threat-level--low {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* ----- Hero Header (Global for Predator Pages) ----- */
.hero-header {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 4rem 0 3rem;
  margin-bottom: 2rem;
  border-bottom: none;
}
.hero-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,15,20,0.9) 0%, rgba(10,15,20,0.7) 40%, rgba(10,15,20,0.4) 100%);
  z-index: 1;
}
.hero-header .container {
  position: relative;
  z-index: 2;
}
.hero-header h1 {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.hero-header .page-subtitle, .hero-header .lead {
  color: #e2e8f0;
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}
.hero-header .breadcrumbs {
  color: #94a3b8;
}
.hero-header .breadcrumbs a {
  color: #60a5fa;
}
.hero-header .breadcrumbs a:hover {
  color: #93c5fd;
}

@media (max-width: 768px) {
  .hero-header {
    padding: 2.5rem 0 1.5rem;
  }
  .hero-header h1 {
    font-size: 2rem;
  }
}

/* ----- Responsive Floated Images ----- */
.predator-inline-fig {
  float: right;
  width: 45%;
  max-width: 400px;
  margin: 0.5rem 0 1.5rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.small-predator-img {
  float: right;
  width: 35%;
  max-width: 250px;
  margin: 0 0 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .predator-inline-fig,
  .small-predator-img {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0;
  }
}
