/* ===== BRAIN TEASERS ===== */
/* File: /games/brain-teasers/styles-brain-teasers.css */

#game-brain-teasers {
  width: 100%;
  height: 100%;
  background: #10101a;
  overflow: hidden;
}

.brain-teasers-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 480px;
  background: radial-gradient(ellipse at 50% 0%, #201a30 0%, #10101a 70%);
  font-family: 'Space Mono', 'Courier New', monospace;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  padding: 0 0 24px 0;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: visible;
}

.brain-teasers-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 0;
  box-sizing: border-box;
}

.brain-teasers-title {
  font-size: clamp(18px, 4.5vw, 26px);
  font-weight: 700;
  color: #ffb1e6;
  letter-spacing: 0.04em;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.brain-teasers-progress-display {
  font-size: 12px;
  font-weight: 700;
  color: #e0e8f0;
  background: rgba(255, 177, 230, 0.1);
  border: 1.5px solid #ffb1e6;
  border-radius: 8px;
  padding: 5px 10px;
}

.brain-teasers-score-display {
  font-size: 12px;
  font-weight: 700;
  color: #b0e8c0;
  background: rgba(125, 255, 154, 0.1);
  border: 1.5px solid #7dff9a;
  border-radius: 8px;
  padding: 5px 10px;
}

.brain-teasers-riddle-area {
  width: 100%;
  max-width: 440px;
  padding: 26px 20px 0;
  box-sizing: border-box;
}

.brain-teasers-riddle-text {
  font-size: 15px;
  color: #f0eefc;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.brain-teasers-answer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brain-teasers-answer-button {
  width: 100%;
  text-align: left;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid #3a3352;
  border-radius: 10px;
  color: #e0e0f0;
  font-size: 14px;
  font-family: 'Space Mono', monospace;
  padding: 12px 16px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s, border-color 0.15s;
}

.brain-teasers-answer-button:active {
  background: rgba(255, 177, 230, 0.14);
}

.brain-teasers-answer-button-correct {
  border-color: #7dff9a !important;
  background: rgba(125, 255, 154, 0.14) !important;
}

.brain-teasers-answer-button-incorrect {
  border-color: #ff6b6b !important;
  background: rgba(255, 107, 107, 0.14) !important;
}

.brain-teasers-navigation-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  width: 100%;
}

.brain-teasers-navigation-button {
  flex: 1;
  background: rgba(255, 177, 230, 0.1);
  border: 1.5px solid #ffb1e6;
  border-radius: 10px;
  color: #ffb1e6;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  padding: 10px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s;
}

.brain-teasers-navigation-button:active {
  background: rgba(255, 177, 230, 0.28);
}

.brain-teasers-navigation-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.brain-teasers-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(16, 16, 26, 0.94);
  border-radius: 12px;
  text-align: center;
  padding: 24px;
  box-sizing: border-box;
  z-index: 5;
}

.brain-teasers-overlay-hidden {
  display: none;
}

.brain-teasers-overlay-heading {
  font-size: 20px;
  font-weight: 700;
  color: #ffb1e6;
  margin: 0;
}

.brain-teasers-overlay-text {
  font-size: 13px;
  color: #c4c0d8;
  max-width: 320px;
  line-height: 1.5;
  margin: 0;
}

.brain-teasers-primary-button {
  background: rgba(255, 177, 230, 0.1);
  border: 1.5px solid #ffb1e6;
  border-radius: 10px;
  color: #ffb1e6;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  padding: 10px 24px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s;
}

.brain-teasers-primary-button:active {
  background: rgba(255, 177, 230, 0.28);
}


