/* Pickleball Paddy — Paddle Picker Quiz styles */

:root {
  --ochre: #CC7722;
  --sky-blue: #87CEEB;
  --eucalyptus: #9CAF88;
  --cream: #FFF8E7;
  --charcoal: #2F2F2F;
  --light-gray: #E8E5DD;
  --shadow: 0 2px 8px rgba(47, 47, 47, 0.08);
  --shadow-hover: 0 4px 16px rgba(47, 47, 47, 0.15);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--cream);
  min-height: 100vh;
}

.quiz-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* HEADER */
.quiz-header {
  margin-bottom: 1.5rem;
}

.brand-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--ochre);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ochre);
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--charcoal);
  opacity: 0.7;
}

h1 {
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}

.quiz-intro {
  font-size: 1.05rem;
  color: var(--charcoal);
  opacity: 0.85;
  margin-bottom: 1rem;
}

/* PROGRESS BAR */
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--light-gray);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.progress-fill {
  height: 100%;
  background: var(--ochre);
  transition: width 0.3s ease;
}

/* QUIZ SCREEN */
.quiz-screen {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-height: 400px;
}

.question {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--charcoal);
}

.question-counter {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ochre);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.option {
  display: block;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  text-align: left;
  transition: all 0.15s ease;
  width: 100%;
}

.option:hover {
  border-color: var(--ochre);
  background: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.option:active {
  transform: translateY(0);
}

.option.selected {
  border-color: var(--ochre);
  background: var(--ochre);
  color: white;
}

.skip-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--charcoal);
  opacity: 0.6;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.skip-link:hover {
  opacity: 1;
  color: var(--ochre);
}

/* NAV BUTTONS */
.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.btn-primary {
  padding: 0.85rem 2rem;
  background: var(--ochre);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.btn-primary:hover {
  background: #B36420;
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

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

.btn-secondary {
  padding: 0.75rem 1.5rem;
  background: white;
  color: var(--charcoal);
  border: 2px solid var(--light-gray);
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.15s ease;
  font-family: inherit;
}

.btn-secondary:hover {
  border-color: var(--ochre);
  color: var(--ochre);
}

/* RESULT SCREEN */
.result-screen {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.result-screen h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}

.result-intro {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: var(--charcoal);
  opacity: 0.85;
}

.results-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.result-card {
  background: var(--cream);
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  padding: 1.5rem;
  position: relative;
  transition: all 0.15s ease;
}

.result-card:hover {
  border-color: var(--ochre);
  box-shadow: var(--shadow-hover);
}

.result-card.top-pick {
  border-color: var(--ochre);
  background: white;
}

.top-pick-badge {
  position: absolute;
  top: -10px;
  left: 1.25rem;
  background: var(--ochre);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  text-transform: uppercase;
}

.result-rank {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ochre);
  margin-bottom: 0.25rem;
}

.result-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.result-summary {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--charcoal);
  opacity: 0.85;
  line-height: 1.5;
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.meta-tag {
  background: var(--eucalyptus);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

.meta-tag.price {
  background: var(--sky-blue);
  color: var(--charcoal);
}

.result-reasoning {
  background: rgba(255, 248, 231, 0.5);
  border-left: 4px solid var(--ochre);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-style: italic;
}

.result-cta-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-amazon {
  flex: 1;
  min-width: 150px;
  padding: 0.75rem 1rem;
  background: var(--ochre);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.15s ease;
}

.btn-amazon:hover {
  background: #B36420;
  transform: translateY(-1px);
}

/* EMAIL CAPTURE */
.email-capture {
  background: var(--eucalyptus);
  color: white;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.email-capture h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.email-capture p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  opacity: 0.95;
}

.email-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.email-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

.email-form button {
  padding: 0.85rem 1.5rem;
  background: var(--ochre);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.email-form button:hover {
  background: #B36420;
}

.email-disclaimer {
  font-size: 0.8rem;
  margin-top: 0.75rem;
  opacity: 0.85;
}

/* RESULT CTA */
.result-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* AFFILIATE DISCLOSURE */
.affiliate-disclosure {
  background: var(--light-gray);
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 1rem;
}

/* FOOTER */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  color: var(--charcoal);
  opacity: 0.7;
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .quiz-container {
    padding: 1rem 0.75rem;
  }

  .quiz-screen,
  .result-screen {
    padding: 1.25rem;
  }

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

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .email-form {
    flex-direction: column;
  }

  .email-form input,
  .email-form button {
    width: 100%;
  }
}
