.greeting-text {
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stats-button {
  position: absolute;
  top: -5px;
  right: 10px;
  background-color: rgba(50, 50, 50, 0.8);
  color: var(--light-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.stats-button:hover {
  background-color: rgba(80, 80, 80, 0.9);
}

/* WiFi connection indicator */

/* Network stats panel */
.network-stats-panel {
  position: fixed;
  top: calc(45px + var(--sat));
  right: 10px;
  background-color: rgba(20, 20, 20, 0.9);
  color: var(--light-color);
  padding: 12px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 12px;
  z-index: 1002;
  width: 220px;
  display: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.network-stats-panel h3 {
  margin: 0 0 10px 0;
  font-size: 14px;
  text-align: center;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.network-stats-panel .stat-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  margin-bottom: 6px;
  height: 20px;
}

.network-stats-panel .stat-label {
  color: #aaa;
  text-align: left;
  white-space: nowrap;
  font-size: 12px;
}

.network-stats-panel .stat-value {
  font-weight: bold;
  text-align: right;
  font-size: 11px;
}

/* Status color indicators */
.network-stats-panel .stat-value.good { color: #4CAF50; }
.network-stats-panel .stat-value.moderate { color: #FFC107; }
.network-stats-panel .stat-value.poor { color: #FF9800; }
.network-stats-panel .stat-value.critical { color: #F44336; }

/* Loading states */
.loading-terrains {
  text-align: center;
  padding: 20px;
  color: #aaa;
  font-style: italic;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.loading-terrains:after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: loading-shine 1.5s ease-in-out infinite;
}

.loading-games {
  text-align: center;
  padding: 20px;
  color: #aaa;
  font-style: italic;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.loading-games:after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: loading-shine 1.5s ease-in-out infinite;
}