#gqsv-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
#gqsv-modal div {
  background: #111;
  padding: 1em;
  border-radius: 8px;
  text-align: center;
  border: 3px solid #ffd700;
  box-shadow: 0 0 24px #ffd70055;
  position: relative;
}
#gqsv-close-modal {
  background: none;
  border: none;
  color: #ffd700;
  font-weight: bold;
  font-size: 2em;
  cursor: pointer;
  position: absolute;
  top: 8px;
  right: 16px;
  z-index: 10001;
}
#gqsv-modal button,
#gqsv-modal input {
  margin: 0.5em;
}
#gqsv-modal input {
  width: 80%;
  padding: 0.5em;
}
#gqsv-modal button {
  cursor: pointer;
}

#gqsv-quiz-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 32px 40px 32px;
  background: #1e1e1e !important;
  color: #f5f5f5 !important;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(212, 175, 55, 0.08);
}

#gqsv-progress-container {
  margin-bottom: 30px;
  background: #232016;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #1a1a15;
  padding: 8px 16px;
  box-shadow: 0 1px 8px 0 rgba(230, 184, 0, 0.08);
}

#gqsv-progress-bar {
  height: 12px;
  background: linear-gradient(90deg, #d4af37 0%, #1c3958 100%);
  width: 0;
  transition: width 0.3s ease;
  border-radius: 6px;
  box-shadow: 0 1px 8px 0 rgba(212, 175, 55, 0.15);
}

#gqsv-progress-text {
  text-align: right;
  margin-top: 6px;
  font-weight: 600;
  color: #d4af37;
  font-size: 1.1em;
}

.gqsv-question {
  background: linear-gradient(135deg, #181e2a 85%, #23243a 100%);
  border: 1.5px solid #d4af37;
  border-radius: 18px;
  padding: 48px 40px 32px 40px;
  margin-bottom: 36px;
  box-shadow: 0 8px 32px 0 rgba(28, 57, 88, 0.12), 0 2px 0 #d4af37;
  position: relative;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.gqsv-question.current {
  border-color: #d4af37;
  box-shadow: 0 12px 48px 0 rgba(212, 175, 55, 0.22), 0 3px 0 #d4af37;
  background: linear-gradient(135deg, #23243a 85%, #1c3958 100%);
}

.gqsv-question-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 1.1em;
  color: #d4af37;
}

.gqsv-question-number {
  font-weight: bold;
  color: #d4af37;
  font-size: 1.25em;
}

.gqsv-question-category {
  background: rgba(28, 57, 88, 0.18);
  color: #d4af37;
  border-left: 3px solid #d4af37;
  border-radius: 6px;
  font-style: italic;
  font-weight: 500;
  font-size: 1em;
  padding: 4px 14px;
  margin-left: 8px;
  letter-spacing: 0.04em;
  box-shadow: none;
  transition: background 0.2s;
}

.gqsv-question p {
  font-size: 2em;
  margin: 0 0 40px 0;
  line-height: 1.3;
  color: #d4af37;
  font-family: "Playfair Display", "Cinzel", "Cormorant Garamond", serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px #1e1e1e, 0 1px 0 #d4af37;
}

.gqsv-answers {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 16px;
}

.gqsv-btn {
  min-width: 140px;
  min-height: 64px;
  font-size: 1.3em;
  font-family: "Montserrat", "Arial", sans-serif;
  font-weight: 700;
  color: #d4af37;
  background: #0a0f1c;
  border: 2.5px solid #d4af37;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(212, 175, 55, 0.1);
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  letter-spacing: 0.04em;
}

.gqsv-btn.selected,
.gqsv-btn:hover {
  background: linear-gradient(90deg, #f5f5f5 60%, #d4af37 100%);
  color: #581c1c;
  border-color: #d4af37;
  box-shadow: 0 4px 24px 0 rgba(212, 175, 55, 0.18);
}

#gqsv-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.gqsv-nav-btn {
  padding: 12px 28px;
  background: #d4af37;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: "Montserrat", "Arial", sans-serif;
}

.gqsv-result {
  text-align: center;
  padding: 40px;
  background: #0f0f0b;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: #fff;
  animation: fadeIn 0.5s ease;
}

.gqsv-archetype-image {
  margin: 20px 0 30px 0;
}

.gqsv-archetype-image img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 3px solid #ffd700;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.gqsv-archetype-image img:hover {
  transform: scale(1.05);
}

.gqsv-archetype-result {
  text-align: left;
  max-width: none;
}

.gqsv-archetype-result h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #ffd700;
}

.gqsv-archetype-tagline {
  font-size: 0.8em;
  font-weight: normal;
  opacity: 0.9;
  display: block;
  margin-top: 5px;
}

.gqsv-archetype-section {
  margin: 32px 0;
  padding: 28px;
  background: #232016;
  border-radius: 12px;
  border-left: 6px solid #d4af37;
  box-shadow: 0 2px 12px 0 rgba(212, 175, 55, 0.08);
}

.gqsv-archetype-section h3 {
  color: #d4af37;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Cinzel", "Playfair Display", "Cormorant Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gqsv-icon {
  font-size: 1.2em;
}

.gqsv-archetype-section p {
  line-height: 1.7;
  margin-bottom: 12px;
  font-family: "Lora", "EB Garamond", "Merriweather", serif;
}

.gqsv-archetype-section ul {
  list-style: none;
  padding: 0;
}

.gqsv-archetype-section li {
  margin: 12px 0;
  padding: 12px;
  background: #1e1e1e;
  border-radius: 7px;
  border-left: 4px solid #d4af37;
  line-height: 1.5;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#gqsv-retake {
  margin-top: 20px;
  padding: 12px 24px;
  font-size: 1.1em;
  background: #ffd700;
  color: #0f0f0b;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#gqsv-retake:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#gqsv-back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffd700;
  border: none;
  cursor: pointer;
  font-size: 2em;
  box-shadow: 0 2px 12px 0 rgba(230, 184, 0, 0.18);
  z-index: 9999;
  transition: background 0.2s, color 0.2s;
  color: #2d230c;
}

#gqsv-back-to-top:hover {
  background: #e6b800;
  color: #fffbe6;
}

.gqsv-share-buttons {
  margin: 20px 0;
}

.gqsv-share-buttons button {
  margin: 0 10px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background: #581c1c;
  color: #f5f5f5;
  transition: all 0.3s ease;
  border: 1.5px solid #d4af37;
}

.gqsv-share-buttons button:hover {
  background: #1c3958;
  color: #d4af37;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading state */
.gqsv-loading {
  text-align: center;
  padding: 40px;
  color: #fff;
}

.gqsv-loading:after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 3px solid #ffd700;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

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

/* Disabled button styles */
.gqsv-nav-btn.disabled {
  background: #666 !important;
  color: #999 !important;
  cursor: not-allowed !important;
  opacity: 0.6;
}

.gqsv-nav-btn.disabled:hover {
  background: #666 !important;
  color: #999 !important;
}

/* Error message styles */
.gqsv-error-message,
.gqsv-error {
  background: #fff3cd;
  color: #a67c00;
  border: 1.5px solid #ffd700;
  border-radius: 8px;
  padding: 12px 20px;
  margin-bottom: 18px;
  font-size: 1.1em;
  font-weight: 500;
  box-shadow: 0 1px 8px 0 rgba(230, 184, 0, 0.1);
}

/* Luxury font for headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cinzel", "Playfair Display", "Cormorant Garamond", serif;
  color: #d4af37;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 0.5em;
}

/* Book design drop cap for first letter in paragraphs */
/* .gqsv-question p::first-letter {
  float: left;
  font-size: 2.5em;
  line-height: 1;
  font-family: 'Cinzel', 'Playfair Display', 'Cormorant Garamond', serif;
  color: #d4af37;
  padding-right: 0.1em;
  font-weight: 900;
} */
