/* Crypto Gift Finder Styles */

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

/* Quiz Container */
.quiz-container {
  max-width: 700px;
  margin: 30px auto;
  padding: 30px;
  background: var(--background);
  border-radius: 15px;
  box-shadow: var(--shadow);
  border: 3px solid var(--primary-color);
}

.quiz-step {
  display: none;
  animation: fadeIn 0.5s ease-in;
}

.quiz-step.active {
  display: block;
}

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

/* Quiz Questions */
.quiz-step h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Answer Options */
.answer-option {
  display: block;
  margin: 15px 0;
  padding: 20px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  position: relative;
  overflow: hidden;
}

.answer-option:hover {
  border-color: var(--primary-color);
  background: var(--light-background);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.answer-option.selected-answer {
  border-color: var(--primary-color) !important;
  background: var(--light-background) !important;
  box-shadow: 0 0 20px rgba(240, 165, 0, 0.3);
}

.answer-option input[type="radio"] {
  display: none;
}

/* Quiz Navigation */
.quiz-nav {
  margin-top: 30px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quiz-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.quiz-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(240, 165, 0, 0.4);
}

.quiz-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Progress Bar */
.quiz-progress {
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  margin-bottom: 20px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border-radius: 4px;
  transition: width 0.5s ease;
}

/* Results Container */
#results-container {
  max-width: 900px;
  margin: 0 auto;
  animation: slideUp 0.8s ease-out;
}

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

/* Gift Cards */
.gift-card {
  background: white;
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  padding: 25px;
  margin: 20px 0;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.gift-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.gift-card h3 {
  color: var(--primary-color);
  margin-top: 0;
  font-size: 1.4rem;
}

.gift-price {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.5rem;
  margin: 10px 0;
}

/* Affiliate Button */
/* For the call-to-action button */
.affiliate-btn {
  background: var(--secondary-color);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin-top: 15px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.affiliate-btn:hover {
  background: var(--secondary-dark);
  text-decoration: none;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.affiliate-btn::before {
  content: '🎁';
  margin-right: 8px;
}

/* FAQ Section */
.faq-item {
  background: white;
  border-radius: 10px;
  margin: 15px 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  background: var(--light-background);
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.1rem;
  color: var(--text-color);
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #fff3cd;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  padding: 20px;
  max-height: 300px;
}

/* For the yellow highlight box */
.crypto-highlight-box {
  background: #fff8e1;
  padding: 20px;
  border-radius: 10px;
  margin: 30px 0;
  border: 2px solid #f0a500;
}

