/* Live Stats Banner */
.live-stats-banner {
  background: linear-gradient(135deg, var(--color-brand-brown-dark) 0%, var(--color-brand-brown) 100%);
  padding: var(--space-8) 0;
  border-top: 3px solid var(--color-accent);
  border-bottom: 3px solid var(--color-accent);
  position: relative;
  overflow: hidden;
}

.live-stats-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.stats-ticker {
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  position: relative;
  z-index: 1;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--color-text-inverse);
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 1.5rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.stat-number {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-accent);
  line-height: 1;
  display: inline-block;
}

.stat-plus {
  font-size: var(--font-size-xl);
  color: var(--color-accent);
  margin-left: 2px;
}

.stat-label {
  font-size: var(--font-size-xs);
  color: var(--color-neutral-200);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: var(--font-weight-semibold);
}

.stat-divider {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Animation for counting numbers */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-number {
  animation: countUp 0.6s ease-out;
}

@media (max-width: 1024px) {
  .stats-ticker {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .stats-ticker {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    padding: 0 var(--space-4);
  }

  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-3);
    justify-content: center;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .stat-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    align-items: center;
  }

  .stat-number {
    font-size: var(--font-size-2xl);
    display: block;
  }

  .stat-label {
    white-space: nowrap;
  }
}
