/* ============================================================
   ThankYouAndrewFarmer.com — Styles
   ============================================================ */

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

:root {
  --navy:  #1C2B5E;
  --red:   #C41230;
  --white: #FFFFFF;
  --bg:    #EDEDF0;
  --body-font: 'Georgia', serif;
  --ui-font:   'Arial', sans-serif;
}

html {
  height: 100%;
}

body {
  font-family: var(--body-font);
  background-color: var(--bg);
  /* Subtle dot-grid pattern */
  background-image: radial-gradient(circle, rgba(100,110,170,0.18) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* ---- Corner wave swooshes ---- */
.wave-bl,
.wave-br {
  position: fixed;
  bottom: 0;
  width: 380px;
  height: 260px;
  pointer-events: none;
  z-index: 0;
}

.wave-bl { left: 0; }
.wave-br { right: 0; }

.wave-bl svg,
.wave-br svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---- Page wrapper (sits above waves) ---- */
.page-wrap {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 48px;
  text-align: center;
}

/* ---- Logo header ---- */
.logo-header {
  padding: 36px 0 16px;
}

.hero-logo {
  max-width: 480px;
  width: 85%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.12));
}

/* ---- "THANK YOU" heading ---- */
.thank-you-heading {
  font-family: var(--ui-font);
  font-size: clamp(3.8rem, 11vw, 7rem);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 8px;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.06);
}

/* ---- Star divider ---- */
.star-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px auto 22px;
  max-width: 300px;
}

.divider-line {
  flex: 1;
  height: 2px;
  background-color: var(--red);
  border-radius: 2px;
}

.divider-star {
  color: var(--red);
  font-size: 1.3rem;
  line-height: 1;
}

/* ---- Body text ---- */
.intro-text {
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  line-height: 1.75;
  color: #2a2a2a;
  max-width: 620px;
  margin: 0 auto 14px;
}

/* ---- "Watch the video" prompt ---- */
.watch-prompt {
  font-family: var(--ui-font);
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  font-weight: 700;
  color: var(--red);
  margin-bottom: 28px;
}

/* ---- Video player ---- */
.video-wrapper {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 36px;
  border: 3px solid var(--navy);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 36px rgba(28,43,94,0.22);
  background: #000;
  line-height: 0;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- 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);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 40px;
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s, filter 0.12s;
  border: none;
  min-width: 200px;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  filter: brightness(1.08);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.btn-primary {
  background-color: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(28,43,94,0.3);
}

.btn-donate {
  background-color: var(--red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(196,18,48,0.3);
}

/* ---- Footer ---- */
footer {
  margin-top: 52px;
  color: rgba(40,40,60,0.55);
  font-family: var(--ui-font);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

footer .site-name {
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.7;
  margin-bottom: 4px;
}

footer .paid-for {
  font-size: 0.72rem;
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- Donate page ---- */
.donate-heading {
  font-family: var(--ui-font);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 8px;
}

.donate-sub {
  font-family: var(--ui-font);
  font-size: 1rem;
  color: #444;
  margin: 10px auto 36px;
  max-width: 500px;
}

.winred-wrapper {
  max-width: 780px;
  margin: 0 auto 48px;
}

.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-font);
  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: 520px) {
  .btn {
    width: 100%;
    min-width: unset;
  }
  .btn-group {
    flex-direction: column;
    align-items: center;
  }
  .wave-bl,
  .wave-br {
    width: 220px;
    height: 160px;
  }
}
