/* General layout */
body {
  font-family: Arial, sans-serif;
  background: #f4f4f9;
  margin: 0;
  padding: 0;
  text-align: center;
}

header {
  background: #333;
  color: #fff;
  padding: 15px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 20px;
}

.logout-btn {
  padding: 5px 10px;
  font-size: 14px;
  cursor: pointer;
}

/* Container */
.container {
  padding: 20px;
}

.game-area {
  margin: 30px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 80%;
  max-width: 800px;
}

/* Board */
#board {
  display: grid;
  grid-template-columns: repeat(4, 100px);
  grid-template-rows: repeat(4, 100px);
  gap: 5px;
  justify-content: center;
  margin-bottom: 20px;
}

.cell {
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  padding: 5px;
  background: white;
  border-radius: 8px;
  transition: opacity 0.3s;
}

.highlight {
  background: gold;
  border-color: black;
  font-weight: bold;
}

/* Results */
#result {
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  color: #333;
  white-space: pre-wrap;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 3px 6px rgba(0,0,0,0.1);
}

#resultContainer {
  margin-top: 20px;
  text-align: center;
}

/* Buttons */
#copyBtn, #chatLink {
  margin: 5px;
  padding: 10px 15px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 5px;
}

#copyBtn {
  background: #4CAF50;
  color: white;
  border: none;
}

#chatLink {
  background: #1a73e8;
  color: white;
  text-decoration: none;
}

#chatLink:hover {
  opacity: 0.9;
}

/* Spin button */
#toggleBtn {
  width: 100px;
  height: 100px;
  font-size: 24px;
  font-weight: bold;
  color: white;
  background: red;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 15px #ff0000, inset 0 0 10px #ff6666;
  transition: all 0.2s ease;
}

#toggleBtn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px #ff0000, inset 0 0 15px #ff6666;
}

/* Industry list */
#industryList {
  max-width: 700px;
  margin: 20px auto;
  text-align: left;
  font-size: 14px;
}

.industry-item {
  display: inline-block;
  margin: 3px 8px;
  padding: 3px 6px;
  border-radius: 5px;
  background: #ddd;
}

.used {
  background: #aaa;
  color: #666;
}
