/* ============================================================
   GIVEAWAY LANDING — builds on aiga-styles.css
   Two hero variants (split / full-bleed) + entry form + thank-you
   ============================================================ */

/* ---- Subtle link to the full bootcamp page ---- */
.gv-detail-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 26px;
  font-weight: 600; font-size: 15px; color: var(--ink-2);
  border-bottom: 1.5px solid var(--line-strong); padding-bottom: 2px;
  transition: color .18s ease, border-color .18s ease;
}
.gv-detail-link:hover { color: var(--orange-700); border-color: var(--orange); }
.gv-hero-split .gv-detail-link { margin-top: 31px; }
.gv-detail-link .arrow { transition: transform .22s ease; }
.gv-detail-link:hover .arrow { transform: translateX(4px); }

/* ---- Prize tag pill ---- */
.gv-prize {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px;
  font-weight: 600; font-size: 14.5px;
}
.gv-prize b { color: var(--orange); }

/* ============================================================
   VARIANT A — SPLIT HERO (vertical image)
   ============================================================ */
.gv-hero-split .hero-grid { align-items: center; grid-template-columns: 1fr 440px; gap: clamp(28px, 3.5vw, 52px); }
.gv-hero-split .hero-sub { max-width: 42ch; }
.gv-hero-img { width: 100%; max-width: 440px; justify-self: end; position: relative; }
.gv-confetti { position: absolute; top: -80px; left: -70px; right: -70px; bottom: -70px;
  width: calc(100% + 140px); height: calc(100% + 160px); z-index: 0; pointer-events: none; }
.gv-hero-img .ph { position: relative; z-index: 1; }
.gv-hero-img .ph {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4; background: var(--cream-2);
}
.gv-hero-img .ph img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .gv-hero-split .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .gv-hero-img { order: -1; max-width: 380px; margin-inline: auto; }
}

/* ============================================================
   VARIANT B — FULL-BLEED HERO (horizontal image)
   ============================================================ */
.gv-hero-full {
  position: relative; min-height: clamp(600px, 86vh, 900px); display: flex; align-items: flex-end;
  padding-top: 0; padding-bottom: 0; overflow: hidden;
}
.gv-hero-full .gv-bg { position: absolute; inset: 0; z-index: 0; }
.gv-hero-full .gv-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.gv-hero-full .gv-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(23,18,15,0) 22%, rgba(23,18,15,.5) 62%, rgba(23,18,15,.88) 100%);
}
.gv-hero-full .wrap { position: relative; z-index: 2; width: 100%; padding-block: clamp(52px, 7vw, 104px); }
.gv-hero-full .hero-copy { max-width: 720px; }
.gv-hero-full .hero-title,
.gv-hero-full .hero-sub { color: #fff; }
.gv-hero-full .hero-sub { color: rgba(255,255,255,.92); max-width: 46ch; }
.gv-hero-full .hero-kicker { background: rgba(255,255,255,.16); color: #fff; }
.gv-hero-full .hero-list li { color: rgba(255,255,255,.94); }
.gv-hero-full .gv-detail-link { color: #fff; border-color: rgba(255,255,255,.5); }
.gv-hero-full .gv-detail-link:hover { color: #fff; border-color: #fff; }

/* ============================================================
   ENTRY SECTION (shared)
   ============================================================ */
.gv-enter { background: var(--orange); color: #fff; }
.gv-enter .head { text-align: center; margin-bottom: 40px; }
.gv-enter .eyebrow { color: rgba(255,255,255,.85); justify-content: center; width: 100%; }
.gv-enter .eyebrow::before { display: none; }
.gv-enter .section-title { color: #fff; }
.gv-enter .sub { margin-top: 14px; color: rgba(255,255,255,.92); font-size: 18px; line-height: 1.6; max-width: 64ch; margin-inline: auto; }
.gv-form-wrap { max-width: 580px; margin-inline: auto; }

.gv-form { background: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow-lg); display: grid; gap: 14px; }
.gv-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gv-form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.gv-form .field select {
  width: 100%; background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 15px; font-size: 15px; color: var(--ink); appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23786b62' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px;
  transition: border-color .18s ease, background-color .18s ease;
}
.gv-form .field select:focus { outline: none; border-color: var(--orange); background-color: #fff; }
.gv-form .field select:invalid { color: var(--muted); }
.gv-form .field select option { color: var(--ink); }
.gv-form .field .optional { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--muted); }
@media (max-width: 560px) { .gv-form .row { grid-template-columns: 1fr; } }

/* ---- Moving glow on the submit button (same sweep as the hero CTA) ---- */
.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
@media (prefers-reduced-motion: no-preference) {
  .btn-shine::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; z-index: -1;
    background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.5) 50%, transparent 100%);
    transform: translateX(-160%) skewX(-18deg);
    animation: btnShine 4s ease-in-out infinite;
  }
}

/* ---- Thank-you state ---- */
.gv-thanks { display: none; background: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 52px); box-shadow: var(--shadow-lg); text-align: center; }
.gv-thanks.show { display: block; animation: gvFadeUp .5s cubic-bezier(.22,1,.36,1) both; }
.gv-thanks .tick { width: 66px; height: 66px; border-radius: 50%; background: var(--orange-tint); color: var(--orange-700); display: grid; place-items: center; margin: 0 auto 22px; }
.gv-thanks .tick svg { width: 32px; height: 32px; }
.gv-thanks h3 { font-family: var(--display); font-weight: var(--h2-weight); letter-spacing: var(--display-tracking); font-size: clamp(26px, 3vw, 34px); color: var(--ink); margin-bottom: 12px; }
.gv-thanks p { color: var(--ink-2); font-size: 17px; line-height: 1.65; max-width: 40ch; margin-inline: auto; }
@keyframes gvFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ============================================================
   TRAINERS — cream section + white cards on giveaway pages
   (breaks the twin-white run between the two orange bands)
   ============================================================ */
.trainers { background: var(--cream); }
.trainers .trainer { background: var(--paper); }

/* ---- FAQ answer links: clearly tappable, brand orange ---- */
.faq-a .inner a { color: var(--orange-700); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1.5px; transition: color .18s ease; }
.faq-a .inner a:hover { color: var(--orange); }

/* ============================================================
   GIVEAWAY FOOTER
   ============================================================ */
.gv-footer { background: var(--ink); color: #fff; text-align: center; padding-block: 40px; }
.gv-footer img { height: 30px; margin: 0 auto 20px; filter: brightness(0) invert(1); opacity: .9; }
.gv-footer .links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-bottom: 16px; }
.gv-footer .links a { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.62); transition: color .18s ease; }
.gv-footer .links a:hover { color: #fff; }
.gv-footer small { font-size: 13px; color: rgba(255,255,255,.5); }

/* ---- Slim header for the giveaway page ---- */
.gv-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.gv-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; }
.gv-header .brand img { height: 32px; width: auto; }

/* Mobile — compact gv-header CTA so logo + button fit at 390px */
@media (max-width: 600px) {
  .gv-header .btn { padding: 10px 14px; font-size: 14px; }
  /* Reduce hero top padding to bring image up — offsets the sticky header's layout height */
  .gv-hero-split.section { padding-top: 40px; }
}
