@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

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

body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #faf7f5 0%, #f5ebe6 50%, #efe4dd 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.quiz-container {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(139, 115, 95, 0.15);
  max-width: 720px;
  width: 100%;
  padding: 60px 50px;
  text-align: center;
  border: 1px solid rgba(199, 177, 160, 0.3);
}

.screen {
  display: none;
}

.screen.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

h1 {
  font-family: 'Cormorant Garamond', serif;
  color: #5a4a42;
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 28px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  color: #5a4a42;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 15px;
  line-height: 1.6;
}

.select-hint {
  color: #9a8a82;
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 25px;
}

.intro-text {
  color: #7a6a62;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.9;
  margin-bottom: 45px;
  letter-spacing: 0.01em;
}

.btn {
  background: linear-gradient(135deg, #c9a89a 0%, #a67c6b 50%, #8b6355 100%);
  color: white;
  border: none;
  padding: 18px 45px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 12px 35px rgba(166, 124, 107, 0.35);
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(166, 124, 107, 0.45);
  background: linear-gradient(135deg, #d4b5a8 0%, #b38a79 50%, #97705f 100%);
}

.progress-bar {
  background: rgba(199, 177, 160, 0.3);
  border-radius: 12px;
  height: 6px;
  margin-bottom: 25px;
  overflow: hidden;
}

.progress {
  background: linear-gradient(90deg, #c9a89a, #a67c6b, #c9a89a);
  background-size: 200% auto;
  height: 100%;
  width: 0%;
  transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: shimmer 3s linear infinite;
}

.question-count {
  color: #9a8a82;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.option {
  background: rgba(250, 247, 245, 0.8);
  border: 1px solid rgba(199, 177, 160, 0.4);
  border-radius: 14px;
  padding: 20px 28px;
  text-align: left;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 0.95rem;
  font-weight: 400;
  color: #5a4a42;
  letter-spacing: 0.01em;
}

.option:hover {
  border-color: #c9a89a;
  background: rgba(201, 168, 154, 0.15);
  transform: translateX(8px);
  box-shadow: 0 4px 20px rgba(166, 124, 107, 0.15);
}

.option.selected {
  border-color: #a67c6b;
  background: linear-gradient(135deg, #c9a89a 0%, #a67c6b 100%);
  color: white;
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(166, 124, 107, 0.3);
}

.next-btn {
  margin-top: 30px;
}

.next-btn:disabled {
  background: linear-gradient(135deg, #d4ccc8 0%, #c4bab5 100%);
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.6;
}

.next-btn:disabled:hover {
  transform: none;
  box-shadow: none;
  background: linear-gradient(135deg, #d4ccc8 0%, #c4bab5 100%);
}

#result-content {
  background: linear-gradient(135deg, rgba(250, 247, 245, 0.9) 0%, rgba(239, 228, 221, 0.7) 100%);
  border-radius: 20px;
  padding: 45px 35px;
  margin: 35px 0;
  border: 1px solid rgba(199, 177, 160, 0.25);
  animation: fadeIn 0.6s ease;
}

#result-content h2 {
  font-family: 'Cormorant Garamond', serif;
  color: #a67c6b;
  font-size: 1.7rem;
  margin-bottom: 22px;
}

#result-content p {
  color: #6a5a52;
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 300;
}

.result-intro {
  margin-bottom: 22px;
}

.result-intro strong {
  color: #a67c6b;
  font-weight: 600;
}

.result-description {
  margin-bottom: 35px;
  font-style: italic;
  color: #8a7a72;
}

.book-btn {
  display: inline-block;
  text-decoration: none;
  margin-top: 15px;
  animation: pulse 2.5s ease-in-out infinite;
}

.book-btn:hover {
  animation: none;
}

@media (max-width: 600px) {
  .quiz-container {
    padding: 30px 20px;
  }
  
  h1 {
    font-size: 1.7rem;
  }
  
  h2 {
    font-size: 1.2rem;
  }
  
  .option {
    padding: 15px 18px;
    font-size: 0.95rem;
  }
}
