* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: #DC7A2B;
  color: #f8fafc;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

body, html, #root, .app {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.app-container {
  width: 100%;
  max-width: 420px;
  min-height: 100vh;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-card {
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.title {
  font-size: 1.8rem;
  color: #f9fbfc;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 24px;
}

.button-group, .form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.input-group {
  display: flex;
  align-items: center;
  background: #0f172a;
  padding: 12px;
  border-radius: 10px;
  gap: 10px;
  border: 1px solid #334155;
}

.input-group input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  width: 100%;
  font-size: 1rem;
}

.role-selector {
  display: flex;
  gap: 10px;
}

.role-btn {
  flex: 1;
  padding: 10px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.role-btn.active {
  background: #565968;
}

.role-btn input {
  display: none;
}

.btn {
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s;
}

.btn-primary { background: #565968; color: #fff; }
.btn-secondary { background: #fff; color: #565968; }
.btn-link { background: transparent; color: #94a3b8; padding: 6px; }

.game-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.room-badge {
  background: #334155;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
}

.btn-small {
  background: #ef4444;
  border: none;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.map-placeholder {
  flex: 1;
  background: #0f172a;
  border: 2px dashed #334155;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

