.home-page {
  background:
    linear-gradient(rgba(5, 7, 10, 0.45), rgba(5, 7, 10, 0.58)),
    url('/images/background.webp');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.home-header-spacer {
  background: none !important;
}

.live-dashboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.live-tile {
  display: block;
  min-height: 145px;
  padding: 14px;
  color: #fff;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 208, 0, 0.22);
  border-radius: 16px;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.28);
  transition: 0.2s;
}

.live-tile:hover {
  background: rgba(0, 0, 0, 0.56);
  border-color: rgba(0, 255, 90, 0.85);
  box-shadow: 0 0 20px rgba(0, 255, 90, 0.18);
  transform: translateY(-2px);
}

.live-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 9px;
  color: #ffd000;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(255, 208, 0, 0.18);
  border-radius: 999px;
}

.live-tile h3 {
  margin: 0 0 8px;
  color: #ffd000;
  font-size: 1rem;
}

.live-tile.is-live {
  border-color: rgba(57, 255, 20, 0.7);
  box-shadow:
    0 0 10px rgba(57, 255, 20, 0.2),
    inset 0 0 12px rgba(57, 255, 20, 0.05);
}

.live-tile.is-live h3 {
  color: #39ff14;
  text-shadow: 0 0 6px rgba(57, 255, 20, 0.55);
}

.live-tile.is-live .live-badge {
  color: #111;
  background: #39ff14;
  box-shadow:
    0 0 7px rgba(57, 255, 20, 0.95),
    0 0 18px rgba(57, 255, 20, 0.55);
  animation: jungle-badge-pulse 1.6s ease-in-out infinite alternate;
}

@keyframes jungle-badge-pulse {
  from {
    box-shadow: 0 0 5px rgba(57, 255, 20, 0.65);
  }

  to {
    box-shadow:
      0 0 14px rgba(57, 255, 20, 1),
      0 0 26px rgba(57, 255, 20, 0.45);
  }
}

.live-value {
  display: block;
  margin: 5px 0;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.05;
}

.live-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  line-height: 1.35;
}

.live-link {
  display: inline-block;
  margin-top: 10px;
  color: #ffd000;
  font-size: 0.9rem;
  font-weight: 900;
}

.banana-tag,
.banana-alert-badge {
  display: inline-block;
  margin-bottom: 10px;
  color: #111;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #ffd000;
  border-radius: 999px;
}

.banana-tag {
  padding: 5px 10px;
  font-size: 11px;
  box-shadow:
    0 0 6px rgba(255, 208, 0, 0.8),
    0 0 12px rgba(255, 208, 0, 0.4);
}

.banana-alert-badge {
  padding: 5px 11px;
  font-size: 0.72rem;
  box-shadow:
    0 0 7px rgba(255, 208, 0, 0.8),
    0 0 18px rgba(255, 208, 0, 0.35);
}

@media (max-width: 768px) {
  .home-page {
    background-attachment: scroll;
  }

  .live-dashboard {
    grid-template-columns: 1fr;
  }

  .live-tile {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-tile.is-live .live-badge {
    animation: none;
  }
}
