/* ============================================================
   ThankYouAndrewFarmer.com
   ============================================================ */

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

:root {
  --navy: #1C2B5E;
  --red:  #C41230;
  --bg:   #EDEEF4;
  --ui:   Arial, sans-serif;
  --serif: Georgia, serif;
}

html, body { min-height: 100%; }

body {
  font-family: var(--serif);
  background-color: var(--bg);
  overflow-x: hidden;
}

/* ---- Corner wave images fixed to viewport ---- */
.wave-bl, .wave-br {
  position: fixed;
  bottom: 0;
  width: 42vw;
  max-width: 580px;
  pointer-events: none;
  z-index: 0;
  display: block;
}
.wave-bl { left: 0; }
.wave-br { right: 0; }

/* ---- Page content sits above waves ---- */
.page-wrap {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 72px;
  text-align: center;
}

/* ============================================================
   HERO SECTION — dot map background with logo + thank you
   ============================================================ */
.hero-section {
  background-image: url('images/imageBackground.png');
  background-size: 115% auto;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 36px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-logo {
  width: 52%;
  max-width: 420px;
  height: auto;
  display: block;
}

.hero-thankyou {
  width: 58%;
  max-width: 460px;
  height: auto;
  display: block;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
main { padding: 0 24px; }

.intro-text {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.8;
  color: var(--red);
  max-width: 580px;
  margin: 14px auto 28px;
  font-weight: 600;
}

/* ============================================================
   VIDEO
   ============================================================ */
.video-wrapper {
  width: 100%;
  max-width: 740px;
  margin: 0 auto 36px;
  border: 3px solid var(--navy);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(28,43,94,0.18);
  background: #000;
  aspect-ratio: 16 / 9;
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-group {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ui);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 42px;
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  min-width: 200px;
  justify-content: center;
  transition: transform 0.12s, box-shadow 0.12s, filter 0.12s;
}
.btn:hover { transform: translateY(-3px); filter: brightness(1.08); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-icon { font-size: 1.1rem; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 4px 16px rgba(28,43,94,0.28); }
.btn-donate  { background: var(--red);  color: #fff; box-shadow: 0 4px 16px rgba(196,18,48,0.28); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.paid-for-img {
  max-width: 480px;
  width: 85%;
  height: auto;
  display: block;
  opacity: 0.85;
}

/* ============================================================
   DONATE PAGE
   ============================================================ */
.donate-heading {
  font-family: var(--ui);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900; color: var(--navy);
  letter-spacing: 0.05em; text-transform: uppercase;
  margin: 28px 0 8px;
}
.donate-sub {
  font-family: var(--ui); font-size: 1rem;
  color: #444; margin: 0 auto 32px; max-width: 500px;
}
.winred-wrapper { max-width: 780px; margin: 0 auto 48px; padding: 0 24px; }
.winred-wrapper iframe {
  width: 100%; min-height: 620px;
  border: 2px solid #ddd; border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1); display: block; background: #fff;
}
.back-link-wrap { margin-bottom: 32px; }
.back-link {
  font-family: var(--ui); color: var(--navy); font-size: 0.9rem;
  text-decoration: none; border-bottom: 1px solid var(--navy);
  padding-bottom: 1px; opacity: 0.7;
}
.back-link:hover { color: var(--red); border-color: var(--red); opacity: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  .hero-logo   { width: 70%; }
  .hero-thankyou { width: 90%; }
  .btn { width: 100%; min-width: unset; }
  .btn-group { flex-direction: column; align-items: center; }
  .wave-bl, .wave-br { width: 55vw; }
}
