.dashboard-fivem-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 1rem 1rem 2rem;
}

.dashboard-fivem-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  width: min(100%, 45rem);
}

.dashboard-fivem-download {
  display: flex;
  flex: 0 0 9.5rem;
  align-items: center;
  gap: 0.55rem;
  min-height: 5.25rem;
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 15% 0%, rgba(96, 165, 250, 0.16), transparent 48%),
    linear-gradient(135deg, rgba(20, 37, 63, 0.98), rgba(15, 23, 42, 0.98));
  color: #dbeafe;
  text-decoration: none;
  box-shadow: 0 1rem 2.25rem rgba(2, 6, 23, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.dashboard-fivem-download:hover {
  transform: translateY(-3px);
  border-color: rgba(147, 197, 253, 0.72);
  box-shadow: 0 1.25rem 2.75rem rgba(2, 6, 23, 0.38), 0 0 0 4px rgba(96, 165, 250, 0.08);
}

.dashboard-fivem-download:focus-visible {
  outline: 3px solid rgba(147, 197, 253, 0.55);
  outline-offset: 3px;
}

.dashboard-fivem-download-icon {
  display: grid;
  flex: 0 0 2rem;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: 0.7rem;
  background: rgba(96, 165, 250, 0.13);
  color: #93c5fd;
  font-size: 1.05rem;
  font-weight: 900;
}

.dashboard-fivem-download-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.2rem;
  line-height: 1.15;
}

.dashboard-fivem-download-copy strong {
  color: #f8fafc;
  font-size: 0.74rem;
  font-weight: 850;
}

.dashboard-fivem-download-copy span {
  color: #93c5fd;
  font-size: 0.61rem;
  line-height: 1.25;
}

.dashboard-fivem-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 1 1 34rem;
  min-height: 5.25rem;
  padding: 0.8rem 1rem 0.8rem 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 10% 0%, rgba(52, 211, 153, 0.18), transparent 40%),
    linear-gradient(135deg, rgba(15, 45, 43, 0.98), rgba(15, 23, 42, 0.98));
  color: #f8fafc;
  box-shadow: 0 1rem 2.25rem rgba(2, 6, 23, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.dashboard-fivem-stats {
  display: flex;
  flex: 0 0 10.5rem;
  min-height: 5.25rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 90% 0%, rgba(96, 165, 250, 0.18), transparent 48%),
    linear-gradient(135deg, rgba(15, 35, 63, 0.98), rgba(15, 23, 42, 0.98));
  box-shadow: 0 1rem 2.25rem rgba(2, 6, 23, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dashboard-fivem-stats-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #93c5fd;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-fivem-stats-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.13);
}

.dashboard-fivem-stats-value {
  color: #f8fafc;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.dashboard-fivem-stats-detail {
  color: #94a3b8;
  font-size: 0.68rem;
  text-transform: lowercase;
}

.dashboard-fivem-stats.is-offline {
  border-color: rgba(148, 163, 184, 0.24);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
}

.dashboard-fivem-stats.is-offline .dashboard-fivem-stats-label {
  color: #94a3b8;
}

.dashboard-fivem-stats.is-offline .dashboard-fivem-stats-dot {
  background: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.12);
}

.dashboard-fivem-card::after {
  position: absolute;
  z-index: -1;
  top: -4rem;
  right: -2rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.12);
  content: "";
  filter: blur(1rem);
  transition: transform 220ms ease, opacity 220ms ease;
}

.dashboard-fivem-card:hover {
  transform: translateY(-3px);
  border-color: rgba(110, 231, 183, 0.7);
  box-shadow: 0 1.25rem 2.75rem rgba(2, 6, 23, 0.38), 0 0 0 4px rgba(52, 211, 153, 0.08);
}

.dashboard-fivem-card:hover::after {
  transform: scale(1.2);
  opacity: 0.85;
}

.dashboard-fivem-card:focus-visible {
  outline: 3px solid rgba(110, 231, 183, 0.55);
  outline-offset: 3px;
}

.dashboard-fivem-icon {
  position: relative;
  display: grid;
  flex: 0 0 3.25rem;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(167, 243, 208, 0.28);
  border-radius: 1rem;
  background: rgba(2, 6, 23, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.dashboard-fivem-icon img {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  object-fit: cover;
}

.dashboard-fivem-status {
  position: absolute;
  right: -0.15rem;
  bottom: -0.15rem;
  width: 0.72rem;
  height: 0.72rem;
  border: 2px solid #0f2d2b;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.14);
}

.dashboard-fivem-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 0.14rem;
  line-height: 1.2;
}

.dashboard-fivem-eyebrow {
  color: #6ee7b7;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-fivem-copy strong {
  font-size: 1rem;
  font-weight: 800;
}

.dashboard-fivem-copy > span:last-child {
  overflow: hidden;
  color: #94a3b8;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-fivem-arrow {
  display: grid;
  flex: 0 0 2.25rem;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(110, 231, 183, 0.2);
  border-radius: 0.75rem;
  background: rgba(52, 211, 153, 0.12);
  color: #a7f3d0;
  font-size: 1.25rem;
  transition: transform 180ms ease, background 180ms ease;
}

.dashboard-fivem-card:hover .dashboard-fivem-arrow {
  transform: translate(2px, -2px);
  background: rgba(52, 211, 153, 0.22);
}

@media (max-width: 520px) {
  .dashboard-fivem-wrap {
    padding: 0.75rem 0.85rem 1.35rem;
  }

  .dashboard-fivem-card {
    min-height: 4.8rem;
    padding-right: 0.8rem;
  }

  .dashboard-fivem-row {
    flex-direction: column;
  }

  .dashboard-fivem-download {
    flex: 0 0 auto;
    min-height: 3.9rem;
    width: 100%;
  }

  .dashboard-fivem-stats {
    flex: 0 0 auto;
    min-height: 4.35rem;
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
  }

  .dashboard-fivem-stats-label {
    margin-right: auto;
  }

  .dashboard-fivem-stats-detail {
    display: none;
  }

  .dashboard-fivem-icon {
    flex-basis: 2.9rem;
    width: 2.9rem;
    height: 2.9rem;
  }

  .dashboard-fivem-icon img {
    width: 2.1rem;
    height: 2.1rem;
  }

  .dashboard-fivem-copy > span:last-child {
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-fivem-card,
  .dashboard-fivem-card::after,
  .dashboard-fivem-arrow {
    transition: none;
  }
}
