.grid {
  width: 100%;
  height: 100%;
  background-color: transparent;
}

/* Status indicator styles */
.status-light {
  font-size: 16px;
  margin-right: 5px;
}

.online {
  color: #00c853;
}

.offline {
  color: #ff3d00;
}

.loading {
  color: #ffab00;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

.status-light.online {
  color: #2ecc71; /* Green */
}

.status-light.offline {
  color: #e74c3c; /* Red */
}

/* Zen Mode Styles */
.zen-mode-body {
  background-color: #121212;
  color: #e0e0e0;
}

.score-animate {
  animation: score-pulse 0.8s ease-in-out;
}

@keyframes score-pulse {
  0% { transform: scale(1); color: #fff; text-shadow: none; }
  25% { transform: scale(1.3); color: #ffd700; text-shadow: 0 0 10px #ffd700; }
  50% { transform: scale(1.2); color: #fff; text-shadow: 0 0 15px #ffd700; }
  75% { transform: scale(1.3); color: #ffd700; text-shadow: 0 0 10px #ffd700; }
  100% { transform: scale(1); color: #fff; text-shadow: none; }
}

/* Status indicator styles */
.status-container {
  display: flex;
  align-items: center;
  background-color: rgba(0,0,0,0.5);
  padding: 8px 12px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
  cursor: pointer;
}

.status-container.collapsed {
  padding: 8px;
  border-radius: 50%;
}

.status-text {
  transition: all 0.3s ease;
  opacity: 1;
  max-width: 200px;
  white-space: nowrap;
}

.status-container.collapsed .status-text {
  opacity: 0;
  max-width: 0;
  margin-left: 0;
}

/* Responsive game well */
.responsive-game {
  width: 100%;
  height: 100%;
  min-width: 300px;
  min-height: 300px;
  transition: all 0.3s ease;
}

/* Loading overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 18, 18, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-overlay.active {
  opacity: 1;
  visibility: visible;
}

.loading-text {
  color: #e0e0e0;
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  text-shadow: 0 0 10px rgba(224, 224, 224, 0.5);
  animation: loading-pulse 1.5s infinite ease-in-out;
}

@keyframes loading-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
    text-shadow: 0 0 20px rgba(224, 224, 224, 0.8);
  }
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}
