* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0e0e10;
  color: #efeff1;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  max-width: 500px;
  width: 100%;
  padding: 2rem;
  text-align: center;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: 0.3em;
  color: #9147ff;
  margin-bottom: 0.25rem;
}

.subtitle {
  color: #adadb8;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.hidden {
  display: none !important;
}

/* Channel Picker */
.channel-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.channel-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #2f2f35;
  border-radius: 10px;
  background: #1f1f23;
  color: #efeff1;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.channel-btn:hover {
  border-color: #9147ff;
  background: #2a2a35;
}

.channel-name {
  font-weight: 600;
}

.channel-stats {
  color: #adadb8;
  font-size: 0.875rem;
}

.footer-note {
  color: #6b6b7b;
  font-size: 0.8rem;
  margin-top: 1.5rem;
}

button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  background: #9147ff;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: #7c3aed;
}

button:disabled {
  background: #3b3b44;
  cursor: not-allowed;
}

.status {
  color: #adadb8;
  font-size: 0.875rem;
}

/* Waiting Screen */
.waiting-text {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.waiting-text span {
  color: #9147ff;
  font-weight: 600;
}

.stats {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hint {
  color: #adadb8;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

/* Game Screen */
.score-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.message-card {
  margin-bottom: 1.5rem;
}

.label {
  color: #adadb8;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.message-bubble {
  background: #1f1f23;
  border: 2px solid #2f2f35;
  border-radius: 12px;
  padding: 1.25rem;
  font-size: 1.1rem;
  line-height: 1.5;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: break-word;
}

.options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.option-btn {
  padding: 1rem;
  border: 2px solid #2f2f35;
  border-radius: 10px;
  background: #1f1f23;
  color: #efeff1;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.option-btn:hover:not(:disabled) {
  border-color: #9147ff;
  background: #2a2a35;
}

.option-btn.correct {
  border-color: #00c853;
  background: rgba(0, 200, 83, 0.15);
  color: #00c853;
}

.option-btn.wrong {
  border-color: #ff4444;
  background: rgba(255, 68, 68, 0.15);
  color: #ff4444;
}

.option-btn:disabled {
  cursor: default;
}

/* Result */
.result {
  margin-top: 1rem;
}

#result-text {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

#result-text.correct {
  color: #00c853;
}

#result-text.wrong {
  color: #ff4444;
}

#next-btn {
  width: 100%;
}
