/* Career Selection Screen */
.career-selection-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.career-btn {
  background: #ffffff;
  border: 3px solid #ccc;
  border-radius: 12px;
  padding: 20px;
  width: 160px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.career-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.career-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 10px;
}

.career-btn h3 {
  margin: 0 0 5px 0;
  font-size: 1.2rem;
  color: #333;
}

.career-btn p {
  margin: 0;
  font-weight: bold;
  color: #666;
}

.stars {
  margin-top: 5px;
  font-size: 0.9rem;
  min-height: 20px;
}

/* Tokens */
.career-token {
  border: 2px solid;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  width: 60px !important;
  height: 60px !important;
  z-index: 10;
}

/* Question Modal */
#question-modal {
  max-width: 800px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
}

.question-content {
  text-align: center;
  width: 100%;
  padding: 40px !important;
  box-sizing: border-box;
}

.question-title {
  color: #2c3e50;
  margin-bottom: 10px;
}

.question-text {
  font-size: 1.5rem;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #333;
}

.question-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.question-option-btn {
  padding: 15px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  border: 2px solid #3498db;
  background: white;
  color: #3498db;
  cursor: pointer;
  transition: all 0.2s;
}

.question-option-btn:hover:not(:disabled) {
  background: #3498db;
  color: white;
}

.question-option-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.question-option-btn.correct {
  background: #2ecc71;
  border-color: #2ecc71;
  color: white;
  opacity: 1;
}

.question-option-btn.wrong {
  background: #e74c3c;
  border-color: #e74c3c;
  color: white;
  opacity: 1;
}

.question-feedback {
  margin-top: 20px;
  font-size: 1.5rem;
  font-weight: bold;
}

.question-feedback.correct-text { color: #2ecc71; }
.question-feedback.wrong-text { color: #e74c3c; }

/* Podium */
.podium-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.podium-item {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  font-size: 1.2rem;
}

.podium-item.first-place {
  background: #fff3cd;
  border: 2px solid #ffeeba;
  font-size: 1.5rem;
  font-weight: bold;
}

.podium-rank {
  font-weight: bold;
  width: 40px;
  color: #666;
}

.podium-career {
  flex-grow: 1;
}

.podium-score {
  font-weight: bold;
  margin-right: 15px;
}

/* Dice CSS */
.dice-face {
  width: 100%;
  height: 100%;
  position: relative;
  background: white;
  border-radius: 10px;
}

.dot {
  width: 20%;
  height: 20%;
  background: #333;
  border-radius: 50%;
  position: absolute;
}

.center { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.top-left { top: 15%; left: 15%; }
.top-right { top: 15%; right: 15%; }
.bottom-left { bottom: 15%; left: 15%; }
.bottom-right { bottom: 15%; right: 15%; }
.middle-left { top: 50%; left: 15%; transform: translateY(-50%); }
.middle-right { top: 50%; right: 15%; transform: translateY(-50%); }

.big-dice-result-text {
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  margin-top: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  text-align: center;
}

/* Custom Photos and Token Stars */
.custom-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: transparent !important;
}

.token-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}

.token-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.token-stars {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  font-size: 16px;
  background: transparent;
  padding: 0;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.token-stars .star-plus {
  font-weight: bold;
  color: #f1c40f;
  margin-left: 2px;
  font-size: 14px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.token-stars .star {
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.8));
}

.photo-upload-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f1f2f6;
  padding: 10px;
  border-radius: 8px;
  margin: 5px;
  width: 120px;
}

.photo-upload-container label {
  font-weight: bold;
  margin-bottom: 5px;
}

.photo-upload-container small {
  display: block;
  margin-top: 5px;
}

/* Visual Roll Indicator */
.rolls-visual-indicator {
  display: flex;
  gap: 5px;
}

.roll-icon {
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.roll-icon.spent {
  opacity: 0.3;
  filter: grayscale(100%);
  transform: scale(0.8);
}

.career-photo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
