/* Hope Duck — Purple Theme */

:root {
  --purple-primary: #8366B7;
  --purple-bg: #DCC7F6;
  --purple-dark: #4A2E7A;
  --purple-light: #EDE0FA;
  --text-on-purple: #FFFFFF;
  --text-body: #4A2E7A;
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  background-color: #ffffff;
  color: #333333;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
}

.hero-text h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
}

/* Site Header */
.site-header {
  display: none;
}
.site-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--purple-dark);
  text-decoration: none;
}
.site-brand:hover {
  color: var(--purple-primary);
}
.site-nav {
  display: flex;
  gap: 28px;
}
.site-nav-link {
  font-size: 0.95rem;
  color: var(--purple-dark);
  text-decoration: none;
  font-weight: 500;
}
.site-nav-link:hover {
  color: var(--purple-primary);
}

/* Buttons */
.btn-primary {
  background-color: var(--purple-primary);
  border-color: var(--purple-primary);
  border-radius: 25px;
  padding: 12px 32px;
  font-weight: 600;
}
.btn-primary:hover {
  background-color: var(--purple-dark);
  border-color: var(--purple-dark);
}

/* Cards */
.card {
  background-color: white;
  border-radius: 16px;
  border: none;
  box-shadow: 0 4px 16px rgba(131, 102, 183, 0.15);
}

/* Footer */
footer {
  background-color: transparent;
  padding: 24px 40px;
  text-align: left;
  margin-top: 100px;
}
.footer-copyright {
  color: var(--purple-dark);
  font-size: 0.85rem;
}

/* Hero band — full-width light purple section */
.hero-band {
  background-color: var(--purple-light);
  width: 100%;
  overflow: visible;
  padding-bottom: 0;
}
.hero-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 72px 80px 0;
  display: flex;
  align-items: flex-end;
  gap: 48px;
}
.hero-text {
  flex: 1;
  padding-bottom: 72px;
  align-self: center;
}
.hero-text h1 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--purple-dark);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 14px;
  color: var(--purple-primary);
  margin-bottom: 32px;
  max-width: 380px;
  line-height: 1.65;
}
.screenshot-wrapper {
  flex: 0 0 auto;
  min-width: 325px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: -80px;
  background: transparent;
  padding: 0;
}

.hero-copyright {
  font-size: 0.78rem;
  color: var(--purple-dark);
  opacity: 0.65;
  margin-top: 20px;
  margin-bottom: 0;
}

/* Site Footer */
footer {
  background-color: #ffffff;
  padding: 24px 0;
}

.duck-found-bg footer {
  background-color: var(--purple-light);
}

.found-about-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--purple-dark);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.found-about-link:hover {
  color: var(--purple-primary);
}

.footer-copyright {
  display: block;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 80px;
  font-size: 0.78rem;
  color: var(--purple-dark);
  opacity: 0.65;
}

/* Store badge buttons */
.store-badges {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 0;
}
.store-badge-btn {
  display: inline-flex;
  align-items: center;
  background-color: var(--purple-dark);
  color: #fff;
  border-radius: 12px;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  min-height: 48px;
  gap: 8px;
  transition: background-color 0.2s;
}
.store-badge-btn:hover {
  background-color: var(--purple-primary);
  color: #fff;
}
.store-badge-btn .store-icon {
  font-size: 1.4rem;
}

/* Screenshot image */
.screenshot-img {
  width: 325px;
  max-width: 100%;
  height: auto;
  background: transparent;
  filter: drop-shadow(0px 24px 48px rgba(74, 46, 122, 0.45));
  display: block;
}

/* Duck Found page */
.duck-found-bg {
  background-color: var(--purple-light);
  min-height: 100vh;
}
.duck-found-page {
  text-align: center;
  padding: 32px 16px;
  max-width: 480px;
  margin: 0 auto;
}
.duck-found-img {
  height: 96px;
  width: auto;
  display: block;
  margin: 0 auto 16px;
}
.duck-found-page h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--purple-dark);
}
.hope-message {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--purple-dark);
  line-height: 1.7;
  padding: 24px 0;
}
.crisis-card {
  background-color: var(--purple-primary);
  border-radius: 20px;
  padding: 28px 20px;
  margin: 24px 0;
  text-decoration: none;
  display: block;
  color: #fff;
  transition: background-color 0.2s;
}
.crisis-card:hover {
  background-color: var(--purple-dark);
  color: #fff;
}
.crisis-card .crisis-label {
  font-size: 1rem;
  margin-bottom: 12px;
  opacity: 0.9;
}
.crisis-card .crisis-number {
  font-size: 2.6rem;
  font-weight: 900;
  display: block;
  margin-bottom: 8px;
}
.crisis-card .crisis-sub {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* About page */
.about-header {
  text-align: center;
  padding: 40px 16px 24px;
}
.about-duck-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 16px;
}
.about-duck-emoji {
  font-size: 5rem;
  display: block;
  margin-bottom: 12px;
}
.story-section {
  padding: 16px 0;
}
.story-section p {
  margin-bottom: 20px;
  line-height: 1.75;
}
.mission-section {
  background-color: var(--purple-light);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  margin: 24px 0;
}
.mission-section h2 {
  color: var(--purple-dark);
  font-weight: 700;
}

/* =============================================
   RESPONSIVE — mobile-first breakpoints
   ============================================= */

/* Tablet & below (< 768px) */
@media (max-width: 767px) {

  /* Header */
  .site-header {
    padding: 14px 20px;
  }

  /* Hero — stack vertically, centre everything */
  .hero-inner {
    flex-direction: column;
    align-items: center;
    padding: 48px 24px 0;
    gap: 32px;
  }

  .hero-text {
    padding-bottom: 0;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-desc {
    font-size: 12px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .store-badges {
    justify-content: center;
  }

  .story-inner {
    padding: 0 24px;
  }

  .ducks-inner {
    padding: 0 24px;
  }

  .hero-section-links {
    justify-content: center;
  }

  .crisis-inner {
    padding: 0 24px;
  }

  .footer-copyright {
    padding: 0 24px;
  }

  /* Screenshot — centred, full-width up to 320px on mobile */
    .screenshot-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: -48px;
    }

    .screenshot-img {
        width: 420px;
        max-width: 100%;
        height: auto;
        filter: drop-shadow(0px 24px 48px rgba(75, 46, 122, 0.25));
    }

    @media (max-width: 768px) {
        .screenshot-img {
            width: 100%;
            max-width: 320px;
        }
    }

  /* Footer — tighter top margin on mobile */
  footer {
    margin-top: 72px;
    padding: 20px 24px;
  }
}

/* Small phones (< 480px) */
@media (max-width: 479px) {

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .store-badge-btn {
    width: 100%;
    justify-content: center;
  }

  .store-badges {
    flex-direction: column;
    align-items: center;
  }
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-primary);
  margin-bottom: 0.4rem;
}

.store-badge-img {
  height: 40px;
  width: auto;
  display: block;
  transition: opacity 0.2s;
}

.store-badge-img:hover {
  opacity: 0.85;
}

.store-badge-link--disabled {
  pointer-events: none;
  cursor: default;
}

.store-badge-link--disabled .store-badge-img {
  opacity: 0.4;
  filter: grayscale(60%);
}

.hero-section-links {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.hero-section-link {
  color: var(--purple-dark);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-section-link:hover {
  color: var(--purple-primary);
}

/* Crisis / Get Help Now Section */
.crisis-band {
  width: 100%;
  background-color: #ffffff;
  padding: 80px 0 28px;
}

.crisis-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.crisis-title {
  color: var(--purple-dark);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
}

.crisis-text {
  color: var(--purple-dark);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.crisis-cta {
  display: inline-block;
  color: var(--purple-primary);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.crisis-cta:hover {
  color: var(--purple-dark);
}

/* Hope Ducks Section */
.ducks-band {
  width: 100%;
  background-color: #ffffff;
  padding: 28px 0;
}

.ducks-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 80px;
}

.ducks-title {
  color: var(--purple-dark);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.ducks-img {
  height: 96px;
  width: auto;
  display: block;
  margin-bottom: 28px;
}

.ducks-body p {
  color: var(--purple-dark);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.ducks-body p:last-child {
  margin-bottom: 0;
}

.ducks-body::after {
  content: '';
  display: table;
  clear: both;
}

.ducks-affirmation {
  font-style: italic;
  font-weight: 600;
  color: var(--purple-primary) !important;
}

/* Story Section */
.story-band {
  width: 100%;
  background-color: #ffffff;
  padding: 28px 0 72px;
}

.story-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 80px;
}

.story-title {
  color: var(--purple-dark);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 32px;
}

.story-body p {
  color: var(--purple-dark);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.story-body p:last-child {
  margin-bottom: 0;
}

.story-closing {
  font-style: italic;
  font-weight: 600;
  color: var(--purple-primary) !important;
}

}