/* How Well Do You Know Me */
:root {
  --primary-color: #ffae00;
  --secondary-color: #ffae00;
  --text-dark: #2c3e50;
  --bg-card: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.know-me-page {
  /* max-width: 700px; */
  margin: 0 auto;
  padding: 24px 20px;
}

.know-me-page h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.know-me-page .subtitle { color: var(--text-light); margin-bottom: 24px; font-size: 20px; }

.lang-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.lang-toggle-wrap span { font-size: 0.9rem; color: var(--text-light); margin-right: 4px; }

.lang-btn {
  background: #f0f0f0;
  border: 2px solid #e0e0e0;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #000;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #000;
  border-color: transparent;
}

.lang-btn:hover { 
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #000;
  border-color: transparent; 
}

.primary-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 16px 36px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  margin-top: 35px;
  width: 100%;
}

.primary-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.primary-btn.full-width { width: 100%; }
.primary-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.know-me-page .quiz-card {
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.step-indicator { font-size: 0.95rem; color: var(--text-light); margin-bottom: 12px; }
.question-text { font-size: 1.4rem; margin-bottom: 20px; color: var(--text-dark); }

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.option-btn {
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  padding: 14px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  transition: all 0.2s;
  color: #000;
}

.option-btn:hover { border-color: var(--primary-color); background: #fff5f7; }

@media (hover: hover) {
  .option-btn:hover {
    border-color: var(--primary-color); 
    background: #fff5f7;
  }
}

.progress-container { margin-bottom: 20px; }
.progress-bar { height: 8px; background: #eee; border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); transition: width 0.3s; }
.progress-text { font-size: 0.9rem; color: var(--text-light); margin-top: 6px; }

.lead-gen-form .form-group { margin-bottom: 20px; }
.lead-gen-form label { display: block; margin-bottom: 6px; font-weight: 600; }
.lead-gen-form input { width: 100%; padding: 12px; font-size: 1rem; border: 2px solid #e0e0e0; border-radius: 8px; box-sizing: border-box; }
.lead-gen-form small { color: var(--text-light); font-size: 0.85rem; display: block; margin-top: 4px; }

.share-box {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  word-break: break-all;
}

.share-box input { margin-bottom: 12px; }
.share-box .copy-btn { margin-top: 8px; }

.score-display {
  font-size: 3rem;
  font-weight: bold;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 20px 0;
}

.step-landing, .step-quiz, .step-email, .step-share { display: none; }
.step-landing.active, .step-quiz.active, .step-email.active, .step-share.active { display: block; }

.visitor-name-form { max-width: 400px; margin: 0 auto 24px; }
.visitor-name-form input { margin-bottom: 12px; }

.error-msg { color: #c0392b; margin: 12px 0; }

.step-loading, .step-error { text-align: center; padding: 40px 20px; }
.step-error a { color: var(--primary-color); }
.step-results { text-align: center; padding: 24px 20px; }
.step-results .score-display { margin: 16px 0; }

.stats-link { color: var(--primary-color); font-weight: 600; }
.stats-link:hover { text-decoration: underline; }

.stats-page h2 { font-size: 1.4rem; margin: 20px 0 12px; color: var(--text-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin: 20px 0; }
.stats-card { background: var(--bg-card); border-radius: 12px; padding: 20px; box-shadow: var(--shadow); text-align: center; }
.stats-card .value { font-size: 2rem; font-weight: bold; color: var(--primary-color); }
.stats-card .label { font-size: 0.9rem; color: var(--text-light); margin-top: 4px; }
.stats-per-question { list-style: none; padding: 0; margin: 20px 0; }
.stats-per-question li { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding: 10px; background: #f8f9fa; border-radius: 8px; }
.stats-per-question .q-num { font-weight: bold; min-width: 24px; }
.stats-per-question .q-bar { flex: 1; height: 12px; background: #e0e0e0; border-radius: 6px; overflow: hidden; }
.stats-per-question .q-fill { height: 100%; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); border-radius: 6px; transition: width 0.3s; }
.stats-per-question .q-pct { min-width: 48px; font-weight: 600; font-size: 0.95rem; }



.info-section {
  margin-top: 40px;
  text-align: center;
}

.info-section h2 {
  margin-bottom: 12px;
  font-size: 30px;
}

.info-section p {
  font-size: 18px;
}

.question-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

.preview-card {
  background: #ffffff;
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 4px 10px #454545;
  font-size: 24px;
  margin-top: 25px;;
}
.preview-card:hover {
  transform: translateY(-10px);
}

#landingSubtitle {
  white-space: pre-line;
}

.how-it-works {
  display: flex;
  gap: 20px;
}
.how-it-works p {
  border: 1px solid #000;
  border-radius: 15px;
  padding: 15px;
}
.how-it-works p:hover {
  transform: translateY(-10px);
}
.steps_icon {
  display: block !important;
  margin: 15px;
  font-size: 36px;
}

/* Play page footer: more quizzes */
.play-more-quizzes {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e0e0e0;
}

.play-more-section {
  margin-bottom: 36px;
}

.play-more-section:last-child {
  margin-bottom: 0;
}

.play-more-heading {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.play-more-link {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.play-more-link:hover {
  text-decoration: underline;
}

.play-more-quiz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 640px) {
  .play-more-quiz-grid {
    grid-template-columns: 1fr;
  }
}

.play-more-quiz-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.2s, box-shadow 0.2s;
}

.play-more-quiz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.play-more-quiz-img {
  /* width: 100%;
  height: 100px; */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
  height: 250px;
}

.play-more-quiz-title {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

.play-more-vibe {
  text-align: center;
}

.vibe-check-banner-link {
  display: inline-block;
  max-width: 100%;
}

.vibe-check-banner-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}

.vibe-check-banner-link:hover .vibe-check-banner-img {
  box-shadow: var(--shadow-hover);
}

@media (max-width: 480px) {
  .how-it-works {
    display: block;
  }
}

.know-me_bunner {
  display: none;
}

/* Force quiz card background - must override common.css and any cascade */
.main_container.know-me-page .quiz-card,
.know-me-page .quiz-card {
  background-color: #e9e9e9 !important;
  background: #e9e9e9 !important;
}