/* ===== THE STUPIDITY TEST ===== */
/* File: /games/the-stupidity-test/styles-the-stupidity-test.css */

#game-the-stupidity-test {
  width: 100%;
  height: 100%;
  background: #10121a;
  overflow: hidden;
}

.the-stupidity-test-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 480px;
  background: radial-gradient(ellipse at 50% 0%, #241a30 0%, #10121a 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;
}

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

.the-stupidity-test-title {
  font-size: clamp(16px, 4.2vw, 22px);
  font-weight: 700;
  color: #c98bff;
  letter-spacing: 0.03em;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.the-stupidity-test-progress-display {
  font-size: 12px;
  font-weight: 700;
  color: #e0e0f0;
  background: rgba(201, 139, 255, 0.1);
  border: 1.5px solid #c98bff;
  border-radius: 8px;
  padding: 5px 10px;
}

.the-stupidity-test-progress-bar-track {
  width: calc(100% - 32px);
  max-width: 440px;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  margin: 12px 16px 0;
  overflow: hidden;
}

.the-stupidity-test-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #c98bff, #7ad4ff);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.the-stupidity-test-question-area {
  width: 100%;
  max-width: 440px;
  padding: 24px 20px 0;
  box-sizing: border-box;
}

.the-stupidity-test-question-text {
  font-size: 16px;
  color: #f0eefc;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

.the-stupidity-test-answer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.the-stupidity-test-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;
}

.the-stupidity-test-answer-button:active {
  background: rgba(201, 139, 255, 0.14);
}

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

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

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

.the-stupidity-test-overlay-hidden {
  display: none;
}

.the-stupidity-test-overlay-heading {
  font-size: 20px;
  font-weight: 700;
  color: #c98bff;
  margin: 0;
}

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

.the-stupidity-test-result-percentage {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
}

.the-stupidity-test-cumulative-best {
  font-size: 12px;
  font-weight: 600;
  color: #8a84a8;
  min-height: 16px;
}

.the-stupidity-test-primary-button {
  background: rgba(201, 139, 255, 0.1);
  border: 1.5px solid #c98bff;
  border-radius: 10px;
  color: #c98bff;
  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;
}

.the-stupidity-test-primary-button:active {
  background: rgba(201, 139, 255, 0.28);
}


