body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #fff;
  background-color: #111;
  line-height: 1.4;
}

.hero {
  position: relative;
  /* reduce the default height so desktop doesn't overscale the image */
  min-height: 50vh;
  max-height: 720px; /* cap height on large viewports */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden; /* hide overflow so image cropping is controlled */
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* maintain aspect ratio, crop edges instead of stretching */
  object-position: center center; /* prioritize top area; change to center center if desired */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0); /* helps sharpness on some browsers */
  filter: none;
}

/* overlay and content kept above image */
.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(0.5px); /* optional, keep very subtle or remove */
}

.hero-content {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5em;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 1em;
}
.hero-gif {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  padding: 0 16px;
}

.hero-gif__img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain; /* keep whole gif visible */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  background: #000; /* fallback while loading */
}
.gif-cta {
  position: relative;
  display: inline-block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
}
.hero-gif__img {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  object-fit: contain;
  background: #000;
}
.gif-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, background 0.18s ease;
  box-shadow: 0 8px 20px rgba(2, 10, 20, 0.35);
}
.gif-play-button svg {
  width: 34px;
  height: 34px;
  fill: #fff;
  margin-left: 4px;
}
.gif-cta:hover .gif-play-button {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(0, 0, 0, 0.65);
}
/* smaller devices */
@media (max-width: 480px) {
  .gif-play-button {
    width: 64px;
    height: 64px;
  }
  .gif-play-button svg {
    width: 22px;
    height: 22px;
  }
}
/* Add media query for larger screens */
@media (min-width: 1024px) {
  .hero {
    min-height: 90vh;
    max-height: 840px;
  }
  .hero-img {
    object-position: center top; /* prioritize top area on large screens */
    width: 100%;
    height: 100%;
  }
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 480px) {
  .hero-gif__img {
    max-height: 45vh;
  }
}
.closing-image {
  display: block;
  width: 100%;
  max-width: 820px; /* max width on large screens */
  height: auto;
  margin: 24px auto 0;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  object-fit: cover;
}

/* Slightly larger cap on very large screens */
@media (min-width: 1400px) {
  .closing-image {
    max-width: 1100px;
  }
}

/* Tighten spacing on small screens */
@media (max-width: 480px) {
  .closing-image {
    margin: 16px auto 0;
    border-radius: 8px;
    max-width: 100%;
  }
}

.hero2 {
  max-width: 1200px;
  margin: 28px auto;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(0, 0, 0, 0.02)
  );
  border-radius: 12px;
}

/* Headings inside hero2 */
.hero2 h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff; /* adjust to your theme */
  line-height: 1.15;
}

/* Responsive image */
.hero2-img {
  width: 100%;
  max-width: 920px;
  height: auto;
  max-height: 520px; /* prevent excessive vertical growth on desktop */
  border-radius: 12px;
  object-fit: cover; /* preserve aspect ratio and crop gracefully */
  object-position: center; /* change to 'top' if top of image is more important */
  box-shadow: 0 12px 30px rgba(2, 10, 20, 0.12);
  background: #000; /* fallback while loading */
  display: block;
}

/* Slight layout change on wide screens: tighten heading and image ratio */
@media (min-width: 1024px) {
  .hero2 {
    padding: 28px;
    gap: 20px;
  }
  .hero2 h2 {
    font-size: 1.5rem;
  }
  .hero2-img {
    max-height: 420px;
  }
}

/* Small screens: keep image height lower */
@media (max-width: 480px) {
  .hero2 {
    padding: 14px;
    gap: 12px;
  }
  .hero2 h2 {
    font-size: 1rem;
  }
  .hero2-img {
    max-height: 260px;
    border-radius: 10px;
  }
}

.cta {
  display: inline-block;
  background: #e91e63;
  padding: 1em 1.5em;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
}
.cta:hover {
  background: #ff4081;
}

/* Teasers */
.teasers {
  padding: 2em;
  text-align: center;
}
.teaser-grid {
  display: grid;
  gap: 1em;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-top: 1em;
}
.teaser {
  position: relative;
}
.teaser img {
  width: 100%;
  filter: blur(2px);
}
.teaser span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(233, 30, 99, 0.6);
  color: #fff;
  opacity: 0;
  font-weight: bold;
  transition: opacity 0.3s;
}
.teaser:hover span {
  opacity: 1;
}

/* Benefits */
.benefits {
  padding: 2em;
  text-align: center;
  background: #222;
}
.benefits ul {
  list-style: none;
  padding: 0;
}
.benefits li {
  margin: 0.5em 0;
}

/* Dream */
.dream {
  padding: 2em;
  text-align: center;
}
.dream img {
  max-width: 300px;
  border-radius: 10px;
  margin-bottom: 1em;
}
blockquote {
  font-style: italic;
  background: rgba(0, 0, 0, 0.6);
  padding: 1em;
  border-radius: 8px;
}

/* Urgency */
.urgency {
  padding: 2em;
  text-align: center;
  background: #222;
}
#countdown {
  font-size: 2rem;
  margin: 1em 0;
  color: #ff4081;
}

/* Closing */
.closing {
  padding: 2em;
  text-align: center;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #e91e63;
  text-align: center;
  padding: 1em;
}
.sticky-cta a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}
/* Footer */
.site-footer {
  background: #000; /* slightly darker than body for separation */
  color: #fff;
  padding: 2em 1em;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}
.site-footer a {
  color: #ff4081;
  text-decoration: none;
  margin: 0 0.3em;
  transition: color 0.25s;
}
.site-footer a:hover {
  color: #fff;
}
.site-footer .footer-container {
  max-width: 960px;
  margin: 0 auto;
}
.site-footer .contact-line {
  margin-top: 0.5em;
  color: #aaa;
  font-size: 0.9rem;
}
