/* ==========================================================================
   Stop Pampering Your Ducks — Main Stylesheet
   A premium startup landing page. For ducks.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base / Reset
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
}

body {
  background: #0f0f23;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #e94560, #f5a623) 1;
}

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

img {
  max-width: 100%;
  display: block;
}

/* --------------------------------------------------------------------------
   Typography — Headings
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  padding: 0 2rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn-primary {
  display: inline-block;
  background: #e94560;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 1rem 3rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(233, 69, 96, 0.4);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #e94560;
  border: 2px solid #e94560;
  border-radius: 50px;
  padding: 1rem 3rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: #e94560;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Hero (#hero)
   -------------------------------------------------------------------------- */

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(233, 69, 96, 0.08) 0%, transparent 70%),
    linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  padding: 2rem;
}

#hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

#hero .subheadline {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b8b8d0;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

#hero .counter-text {
  font-size: 0.9rem;
  font-style: italic;
  color: #b8b8d0;
  margin-top: 2rem;
}

#counter {
  color: #e94560;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Origin (#origin)
   -------------------------------------------------------------------------- */

#origin {
  background: #1a1a2e;
  padding: 100px 0;
}

#origin .container {
  max-width: 720px;
}

#origin p {
  line-height: 1.8;
  font-size: 1.1rem;
  color: #b8b8d0;
  margin-bottom: 1.5rem;
}

#origin blockquote {
  font-size: 1.8rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  border-left: 4px solid #e94560;
  padding-left: 2rem;
  margin: 3rem 0;
  color: #ffffff;
  line-height: 1.4;
}

#origin blockquote cite {
  font-size: 0.9rem;
  color: #b8b8d0;
  font-style: normal;
  display: block;
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   Stats (#stats)
   -------------------------------------------------------------------------- */

#stats {
  background: #0f0f23;
  padding: 100px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number,
.stat-suffix {
  font-size: 4rem;
  font-weight: 900;
  color: #e94560;
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: #b8b8d0;
  margin-top: 0.5rem;
}

.stat-source {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   Quiz (#quiz)
   -------------------------------------------------------------------------- */

#quiz {
  background: #16213e;
  padding: 100px 0;
}

#quiz-container {
  max-width: 600px;
  margin: 0 auto;
}

.quiz-question {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
}

.quiz-option {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin: 0.5rem 0;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  width: 100%;
  text-align: left;
}

.quiz-option:hover {
  border-color: #e94560;
}

.quiz-option.selected {
  border-color: #e94560;
  background: rgba(233, 69, 96, 0.15);
}

.quiz-result {
  text-align: center;
  font-size: 1.3rem;
  padding: 2rem;
}

.quiz-next-btn,
.quiz-share-btn {
  display: inline-block;
  background: #e94560;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 1rem 3rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 1rem;
}

.quiz-next-btn:hover,
.quiz-share-btn:hover {
  box-shadow: 0 0 30px rgba(233, 69, 96, 0.4);
}

/* --------------------------------------------------------------------------
   Testimonials (#testimonials)
   -------------------------------------------------------------------------- */

#testimonials {
  background: #1a1a2e;
  padding: 100px 0;
}

.carousel {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 3rem;
  text-align: center;
}

.stars {
  color: #f5a623;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: 0.2em;
}

.testimonial-quote {
  font-size: 1.3rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-size: 0.9rem;
  color: #b8b8d0;
  letter-spacing: 0.05em;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.3s;
  z-index: 2;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.carousel-btn-prev {
  left: 0;
}

.carousel-btn-next {
  right: 0;
}

/* --------------------------------------------------------------------------
   Wall of Shame (#shame)
   -------------------------------------------------------------------------- */

#shame {
  background: #0f0f23;
  padding: 100px 0;
}

.shame-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.shame-card {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.shame-card:hover {
  transform: scale(1.03);
}

.shame-image-placeholder {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.shame-image-placeholder {
  position: relative;
}

.shame-image-placeholder::after {
  content: '\1F986';
  font-size: 4rem;
  opacity: 0.3;
}

.shame-case {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.25);
  font-family: 'Inter', sans-serif;
}

.shame-card:nth-child(1) .shame-image-placeholder { background: linear-gradient(135deg, #2d1b3d, #1a1a2e); }
.shame-card:nth-child(2) .shame-image-placeholder { background: linear-gradient(135deg, #1b2d3d, #16213e); }
.shame-card:nth-child(3) .shame-image-placeholder { background: linear-gradient(135deg, #3d2d1b, #2e1a1a); }
.shame-card:nth-child(4) .shame-image-placeholder { background: linear-gradient(135deg, #1b3d2d, #1a2e1a); }
.shame-card:nth-child(5) .shame-image-placeholder { background: linear-gradient(135deg, #3d1b2d, #2e1a2a); }
.shame-card:nth-child(6) .shame-image-placeholder { background: linear-gradient(135deg, #2d3d1b, #1a2e16); }
.shame-card:nth-child(7) .shame-image-placeholder { background: linear-gradient(135deg, #1b1b3d, #2e1a2e); }
.shame-card:nth-child(8) .shame-image-placeholder { background: linear-gradient(135deg, #3d1b1b, #1a2e2e); }
.shame-card:nth-child(9) .shame-image-placeholder { background: linear-gradient(135deg, #2d2d1b, #1a1a2e); }

.shame-caption {
  padding: 1.2rem;
  font-size: 0.95rem;
  color: #b8b8d0;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Merch (#merch)
   -------------------------------------------------------------------------- */

#merch {
  background: #16213e;
  padding: 100px 0;
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.merch-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: transform 0.3s;
}

.merch-card:hover {
  transform: translateY(-4px);
}

.merch-image-placeholder {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.3);
}

.merch-image-placeholder::after {
  font-size: 3rem;
}

/* Tee */
.merch-card:nth-child(1) .merch-image-placeholder {
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
}
.merch-card:nth-child(1) .merch-image-placeholder::after {
  content: '👕';
}

/* Bumper Sticker */
.merch-card:nth-child(2) .merch-image-placeholder {
  background: linear-gradient(135deg, #2d1b3d, #0f3460);
}
.merch-card:nth-child(2) .merch-image-placeholder::after {
  content: '🚗💨';
}

/* Mug */
.merch-card:nth-child(3) .merch-image-placeholder {
  background: linear-gradient(135deg, #16213e, #1a1a2e);
}
.merch-card:nth-child(3) .merch-image-placeholder::after {
  content: '☕';
}

/* Hoodie */
.merch-card:nth-child(4) .merch-image-placeholder {
  background: linear-gradient(135deg, #1b3d2d, #0f3460);
}
.merch-card:nth-child(4) .merch-image-placeholder::after {
  content: '🧥';
}

/* Tote Bag */
.merch-card:nth-child(5) .merch-image-placeholder {
  background: linear-gradient(135deg, #3d1b2d, #16213e);
}
.merch-card:nth-child(5) .merch-image-placeholder::after {
  content: '👜';
}

/* Children's Book */
.merch-card:nth-child(6) .merch-image-placeholder {
  background: linear-gradient(135deg, #2d3d1b, #1a1a2e);
}
.merch-card:nth-child(6) .merch-image-placeholder::after {
  content: '📖';
}

.merch-card h3 {
  font-size: 1.3rem;
  padding: 1.5rem 1.5rem 0.5rem;
  font-family: 'Playfair Display', serif;
}

.merch-description {
  padding: 0 1.5rem;
  font-size: 0.9rem;
  color: #b8b8d0;
  line-height: 1.5;
}

.merch-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e94560;
  padding: 1rem;
}

.merch-card .btn-secondary {
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   Tips (#tips)
   -------------------------------------------------------------------------- */

#tips {
  background: #1a1a2e;
  padding: 100px 0;
}

.tips-list {
  max-width: 700px;
  margin: 0 auto;
}

.tip-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

.tip-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #e94560;
  font-family: 'Playfair Display', serif;
  flex-shrink: 0;
  width: 60px;
  text-align: center;
  line-height: 1;
}

.tip-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #b8b8d0;
  padding-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

footer {
  background: #0a0a1a;
  padding: 60px 0;
  text-align: center;
}

.footer-org {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.footer-tax {
  font-size: 0.9rem;
  color: #b8b8d0;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  list-style: none;
}

.social-links a {
  color: #b8b8d0;
  text-decoration: none;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #e94560;
}

.footer-links {
  margin-bottom: 2rem;
}

.footer-links a {
  color: #b8b8d0;
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #e94560;
}

.btn-donate {
  background: #e94560;
  color: #ffffff;
  padding: 0.5rem 2rem;
  border-radius: 50px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  cursor: pointer;
}

.btn-donate:hover {
  box-shadow: 0 0 30px rgba(233, 69, 96, 0.4);
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   Duck Dividers
   -------------------------------------------------------------------------- */

.duck-divider {
  text-align: center;
  padding: 1rem 0;
  background: transparent;
}

/* --------------------------------------------------------------------------
   Placeholder Duck SVGs
   -------------------------------------------------------------------------- */

.placeholder-duck {
  color: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   Accessibility — Screen Reader Only
   -------------------------------------------------------------------------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --------------------------------------------------------------------------
   Scroll Animations
   -------------------------------------------------------------------------- */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Responsive — 1024px
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shame-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Responsive — 768px
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  .merch-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Responsive — 480px
   -------------------------------------------------------------------------- */

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .shame-grid {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  #hero,
  #origin,
  #stats,
  #quiz,
  #testimonials,
  #shame,
  #merch,
  #tips {
    padding: 60px 0;
  }

  #hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

/* --------------------------------------------------------------------------
   Accessibility — Reduced Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }

  .carousel-track {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}
