/* Game page specific styles */

/* Header styles */
.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 15px 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-right {
  display: flex;
  align-items: center;
}

.back-button {
  color: #85796b;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  transition: color 0.3s;
}

.back-button:hover {
  color: #ff69b4;
}

#wallet-status {
  background-color: #f6851b;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

#wallet-status:hover {
  background-color: #e2761b;
  transform: scale(1.05);
}

#wallet-status.connected {
  background-color: #28a745;
}

/* MetaMask Overlay */
#metamask-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  color: white;
  font-family: "Montserrat", sans-serif;
}

#metamask-container {
  background-color: #222;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  max-width: 500px;
  width: 80%;
  box-shadow: 0 0 20px rgba(255, 163, 0, 0.5);
}

#metamask-logo {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

#metamask-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: #f6851b;
}

#metamask-status {
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.5;
}

#metamask-connect-button {
  background-color: #f6851b;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 30px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

#metamask-connect-button:hover {
  background-color: #e2761b;
  transform: scale(1.05);
}

#metamask-connect-button:active {
  transform: scale(0.98);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .game-header {
    padding: 10px 15px;
    flex-direction: column;
  }

  .header-left {
    margin-bottom: 10px;
  }
}