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

body {
  font-family: Lato, sans-serif;
  background: #f5f5f5;
  min-height: 100vh;
  padding: 20px;
  color: #333;
}

.container {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.screen {
  display: none;
}

.screen.active {
  display: block;
}

.card {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-top: 4px solid #ffde21;
}

h1 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 10px;
}

h2 {
  font-size: 1.75rem;
  color: #333;
  margin-bottom: 15px;
}

h3 {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 10px;
}

h4 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 15px;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  background: #ffde21;
  transition: width 0.3s;
  border-radius: 3px;
}

.progress-text {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 20px;
}

/* Question Text */
.question-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

/* Answer Options */
#answers-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.answer-option {
  padding: 15px 20px;
  background: #fafafa;
  border: 2px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
  color: #333;
}

.answer-option:hover {
  background: #fff;
  border-color: #ffde21;
}

.answer-option.selected {
  background: #ffde21;
  border-color: #ffde21;
  color: #000;
  font-weight: 600;
}

/* Buttons */
.btn {
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  background: #ffde21;
  color: #000;
}

.btn:hover:not(:disabled) {
  background: #ffe847;
}

.btn:disabled {
  background: #ddd;
  color: #999;
  cursor: not-allowed;
}

.btn-secondary {
  background: white;
  border: 2px solid #ddd;
  color: #666;
}

.btn-secondary:hover {
  background: #f5f5f5;
  border-color: #999;
}

.button-group {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
}

/* Results */
.result-section {
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e0e0e0;
}

.result-section:last-child {
  border-bottom: none;
}

.cluster-title {
  font-size: 1.6rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 8px;
}

.cluster-desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 12px;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  padding: 8px 0 8px 25px;
  position: relative;
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}

ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ffde21;
  font-weight: bold;
  font-size: 1.5rem;
}

.warning-box {
  background: #fff9e6;
  border-left: 3px solid #ffde21;
  padding: 15px;
  border-radius: 4px;
  margin-top: 12px;
}

/* Scripture Section */
.scripture-section {
  background: #fffef0;
  padding: 20px;
  border-radius: 6px;
  text-align: center;
  border: 1px solid #ffde21;
}

.scripture-text {
  font-size: 1.1rem;
  font-style: italic;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.6;
}

.scripture-ref {
  font-size: 0.95rem;
  color: #666;
  font-weight: 600;
}

.scripture-section.hidden {
  display: none;
}

/* Author Button */
.author-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #ffde21;
  border: 2px solid white;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
  z-index: 1000;
  padding: 0;
  overflow: hidden;
}

.author-button:hover {
  transform: scale(1.1);
}

.author-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Author Tooltip */
.author-tooltip {
  position: fixed;
  bottom: 85px;
  right: 20px;
  width: 280px;
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
  border: 1px solid #ddd;
}

.author-tooltip.visible {
  opacity: 1;
  visibility: visible;
}

.author-tooltip h4 {
  margin-bottom: 12px;
  color: #333;
}

.author-tooltip p {
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}

.author-tooltip p:last-child {
  margin-bottom: 0;
}

.author-tooltip strong {
  color: #333;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 15px;
  }

  .card {
    padding: 20px;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .question-text {
    font-size: 1.1rem;
  }

  .answer-option {
    padding: 12px 15px;
  }

  .btn {
    padding: 10px 20px;
  }

  .button-group {
    flex-direction: column;
  }

  .button-group .btn {
    width: 100%;
  }

  .author-button {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

  .author-tooltip {
    width: calc(100% - 30px);
    max-width: 300px;
    bottom: 75px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 18px;
  }

  h1 {
    font-size: 1.5rem;
  }

  .answer-option {
    padding: 12px;
    font-size: 0.95rem;
  }

  .author-tooltip {
    padding: 15px;
  }
}
