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

:root {
  --primary: #6c5ce7;
  --primary-light: #a29bfe;
  --primary-dark: #4834d4;
  --accent: #00cec9;
  --bg: #0f0f1a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #222240;
  --text: #eef0f6;
  --text-muted: #8a8da0;
  --border: #2d2d4a;
  --success: #00b894;
  --error: #e17055;
  --warning: #fdcb6e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

html {
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-x: hidden;
  padding-bottom: 3.5rem;
  padding-top: 3vh;
}

body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 20%, rgba(108, 92, 231, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(0, 206, 201, 0.06) 0%, transparent 50%);
  z-index: -1;
}

.app {
  width: 100%;
  max-width: 680px;
  padding: 1.5rem;
  position: relative;
}

/* Top Bar (logo + language selector) */
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.topbar-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  background: transparent;
}

#lang-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 0.4rem 0.6rem;
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease;
}

#lang-select:hover,
#lang-select:focus {
  border-color: var(--primary);
}

/* Screens */
.screen {
  display: none;
  animation: fadeIn 0.4s ease;
}

.screen.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

/* Welcome & Results screens: re-center vertically */
#welcome-screen.active {
  display: flex;
  align-items: flex-start;
}

#results-screen.active {
  display: flex;
  align-items: flex-start;
}

#welcome-screen .card,
#results-screen .card {
  width: 100%;
}

/* Welcome Screen */
.welcome-card {
  text-align: center;
}

.logo {
  margin-bottom: 1.5rem;
}

.logo-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.welcome-card h1 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.info-badges {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.badge {
  background: rgba(108, 92, 231, 0.12);
  color: var(--primary-light);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(108, 92, 231, 0.2);
}

/* Buttons */
.btn {
  padding: 0.85rem 2.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(108, 92, 231, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  color: var(--text);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

/* Quiz Header */
.quiz-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.progress-container {
  flex: 1;
}

.progress-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

#question-counter {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.category-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  background: rgba(0, 206, 201, 0.12);
  color: var(--accent);
  border: 1px solid rgba(0, 206, 201, 0.2);
}

.progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 100px;
  transition: width 0.4s ease;
  width: 0%;
}

.timer {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  min-width: 60px;
  text-align: right;
}

/* Question */
.question-text {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--text);
}

.quiz-card.visual-mode {
  padding: 1.5rem;
}

.quiz-card.visual-mode .question-text {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

/* Options */
.options-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.option:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-light);
}

.option.selected {
  background: rgba(108, 92, 231, 0.1);
  border-color: var(--primary);
}

.option-letter {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.option.selected .option-letter {
  background: var(--primary);
  color: white;
}

.option-text {
  flex: 1;
  line-height: 1.5;
}

/* Quiz Footer */
.quiz-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 1.25rem;
}

/* Results Screen */
.results-card {
  text-align: center;
}

.results-card h1 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.score-ring-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
}

.score-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-ring-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 8;
}

.score-ring-fill {
  fill: none;
  stroke: url(#scoreGradient);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 534;
  stroke-dashoffset: 534;
  transition: stroke-dashoffset 1.5s ease;
}

.score-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.iq-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.iq-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.score-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1rem 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Category Breakdown */
.category-breakdown {
  text-align: left;
  margin-bottom: 2rem;
}

.category-breakdown h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.category-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.category-name {
  width: 120px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.category-bar-bg {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}

.category-bar-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 1s ease;
}

.category-score {
  width: 40px;
  text-align: right;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Matrix Grid (Raven's-style visual questions) */
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: fit-content;
  max-width: 220px;
  margin: 0 auto 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px;
}

.matrix-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 5px;
}

.matrix-cell svg {
  width: 100%;
  height: 100%;
  display: block;
}

.matrix-cell.missing {
  border: 2px dashed var(--primary-light);
  background: rgba(108, 92, 231, 0.05);
}

.missing-mark {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-light);
}

/* Visual Options (2×2 grid) */
.visual-options {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.visual-option {
  flex-direction: column !important;
  align-items: center !important;
  text-align: center;
  padding: 0.5rem !important;
  gap: 0.35rem !important;
}

.visual-option .option-letter {
  width: 28px;
  height: 28px;
  font-size: 0.75rem;
}

.option-visual {
  width: 50px;
  height: 50px;
}

.option-visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Compact layout when visual question is showing */
.matrix-grid ~ .options-container,
.quiz-card:has(.matrix-grid) {
  /* handled by visual-options rules above */
}

.matrix-grid + .options-container {
  margin-top: 0.75rem;
}

/* Payment Screen */
.payment-card {
  text-align: center;
}

.payment-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.payment-card h1 {
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.payment-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 420px;
  margin: 0 auto 1.5rem;
}

.payment-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
}

.price-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.payment-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  text-align: left;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.payment-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.check-icon {
  color: var(--success);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Payment Form */
.payment-form {
  max-width: 380px;
  margin: 0 auto;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input::placeholder {
  color: rgba(138, 141, 160, 0.5);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.form-input.invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(225, 112, 85, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Stripe Card Element */
.stripe-card-element {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 0.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  height: 44px;
  box-sizing: border-box;
  overflow: hidden;
}

.stripe-card-element.StripeElement--focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.stripe-card-element.StripeElement--invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(225, 112, 85, 0.15);
}

.card-errors {
  color: var(--error);
  font-size: 0.82rem;
  min-height: 1.2em;
  margin-bottom: 0.75rem;
}

.btn-pay {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.hidden {
  display: none !important;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.payment-secure {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  opacity: 0.7;
}

#payment-screen.active {
  min-height: calc(100vh - 6vh);
  display: flex;
  align-items: center;
}

#payment-screen .card {
  width: 100%;
}

/* Certificate Section */
.certificate-section {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.certificate-section h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.certificate-preview {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  background: #fff;
}

.btn-cert {
  margin-bottom: 0.5rem;
}

.cert-email-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
  transition: color 0.3s ease;
}

.cert-email-note.email-sending {
  color: var(--warning);
  opacity: 1;
}

.cert-email-note.email-error {
  color: var(--error);
  opacity: 1;
}

/* Breakdown Upsell Card */
.breakdown-upsell {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.08), rgba(184, 134, 11, 0.04));
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  text-align: center;
}

.breakdown-badge {
  display: inline-block;
  background: linear-gradient(135deg, #d4a017, #b8860b);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.breakdown-upsell h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.breakdown-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 420px;
  margin: 0 auto 1.25rem;
}

.breakdown-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.25rem;
}

.breakdown-price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #d4a017, #e6b422);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.breakdown-price-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.breakdown-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  text-align: left;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.breakdown-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breakdown-feature .check-icon {
  color: #d4a017;
}

.breakdown-form {
  max-width: 380px;
  margin: 0 auto;
  text-align: left;
}

.btn-gold {
  background: linear-gradient(135deg, #d4a017, #b8860b);
  color: white;
  box-shadow: 0 4px 16px rgba(212, 160, 23, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 160, 23, 0.45);
}

.btn-gold:active {
  transform: translateY(0);
}

.breakdown-purchased {
  text-align: center;
}

.breakdown-success-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.breakdown-purchased h3 {
  color: var(--success);
  margin-bottom: 0.5rem;
}

.breakdown-purchased-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.breakdown-email-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
  margin-top: 0.75rem;
  transition: color 0.3s ease;
}

.breakdown-email-note.email-sending {
  color: var(--warning);
  opacity: 1;
}

.breakdown-email-note.email-error {
  color: var(--error);
  opacity: 1;
}

/* Footer */
.app-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  z-index: 100;
}

.footer-btn {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: inherit;
  text-decoration: none;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-btn:hover {
  color: var(--text);
  border-color: var(--primary-light);
  background: rgba(108, 92, 231, 0.08);
}

/* Privacy Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
  animation: fadeIn 0.3s ease;
}

.modal-overlay.hidden {
  display: none;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.modal-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-body h3 {
  font-size: 0.95rem;
  color: var(--text);
  margin: 1.25rem 0 0.5rem;
}

.modal-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.modal-card .btn {
  margin-top: 1.5rem;
  width: 100%;
}

/* Responsive */
@media (max-width: 600px) {
  .card {
    padding: 1.5rem;
  }

  .welcome-card h1 {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quiz-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .timer {
    text-align: left;
  }

  .quiz-card.visual-mode {
    padding: 1rem;
  }

  .quiz-card.visual-mode .question-text {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
  }

  .matrix-grid {
    max-width: 190px;
    gap: 3px;
    padding: 5px;
    margin: 0 auto;
  }

  .matrix-cell {
    padding: 4px;
    width: 55px;
    height: 55px;
  }

  .missing-mark {
    font-size: 1.1rem;
  }

  .matrix-grid + .options-container {
    margin-top: 1.25rem;
  }

  .visual-options {
    gap: 0.4rem;
  }

  .visual-option {
    padding: 0.4rem !important;
    gap: 0.25rem !important;
    min-height: 0 !important;
  }

  .visual-option .option-letter {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
    border-radius: 6px;
  }

  .option-visual {
    width: 44px;
    height: 44px;
  }

  .quiz-header {
    margin-bottom: 0.75rem;
    gap: 0.5rem;
  }

  .quiz-footer {
    margin-top: 0.5rem;
  }

  .quiz-footer .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}
