/* Página /afiliados — vídeo de fundo + visual furry */

html.landing-page-body,
html.landing-page-body body.landing-page-body,
body.landing-page-body.affiliate-page {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100dvh !important;
  max-height: none !important;
  position: static !important;
  width: 100% !important;
  max-width: none !important;
  left: auto !important;
  transform: none !important;
}

.affiliate-page {
  --aff-ink: #fff7ed;
  --aff-muted: rgba(255, 226, 204, 0.74);
  --aff-line: rgba(255, 122, 26, 0.24);
  --aff-red: #ff7a1a;
  --aff-red-deep: #c2410c;
  --aff-glass: rgba(14, 8, 4, 0.62);
  font-family: Manrope, system-ui, sans-serif;
  color: var(--aff-ink);
  background: #0c0c0e;
}

.affiliate-page__shell {
  position: relative;
  z-index: 1;
  isolation: isolate;
  height: auto !important;
  min-height: 100dvh;
  max-height: none !important;
  overflow: visible;
}

/* Fundo: vídeo em loop */
.affiliate-page__backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0c0c0e;
  pointer-events: none;
}

.affiliate-page__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.1) contrast(1.05);
}

.affiliate-page__veil {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(255, 122, 26, 0.2), transparent 70%),
    radial-gradient(ellipse 90% 70% at 50% 45%, rgba(8, 5, 3, 0.2), rgba(8, 5, 3, 0.7) 100%),
    linear-gradient(180deg, rgba(8, 5, 3, 0.35) 0%, rgba(8, 5, 3, 0.55) 50%, rgba(8, 5, 3, 0.85) 100%);
}

/* Patinhas flutuando */
.aff-paws {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.aff-paws__paw {
  position: absolute;
  bottom: -3rem;
  color: rgba(255, 138, 48, 0.22);
  font-size: 1.6rem;
  font-variation-settings: "FILL" 1;
  animation: aff-paw-float 16s linear infinite;
}

.aff-paws__paw:nth-child(1) { left: 6%; animation-delay: 0s; font-size: 1.4rem; }
.aff-paws__paw:nth-child(2) { left: 18%; animation-delay: -5s; font-size: 2rem; animation-duration: 19s; }
.aff-paws__paw:nth-child(3) { left: 31%; animation-delay: -11s; font-size: 1.2rem; }
.aff-paws__paw:nth-child(4) { left: 46%; animation-delay: -2s; font-size: 1.7rem; animation-duration: 21s; }
.aff-paws__paw:nth-child(5) { left: 60%; animation-delay: -8s; font-size: 1.3rem; }
.aff-paws__paw:nth-child(6) { left: 72%; animation-delay: -14s; font-size: 2.2rem; animation-duration: 23s; }
.aff-paws__paw:nth-child(7) { left: 84%; animation-delay: -4s; font-size: 1.5rem; }
.aff-paws__paw:nth-child(8) { left: 94%; animation-delay: -10s; font-size: 1.8rem; animation-duration: 18s; }

@keyframes aff-paw-float {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(-18deg);
  }
  12% {
    opacity: 1;
  }
  50% {
    transform: translateY(-55vh) rotate(14deg) translateX(1.2rem);
  }
  88% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-110vh) rotate(-12deg);
  }
}

.affiliate-page__main,
.affiliate-page__shell > .affiliate-home-chrome,
.affiliate-page__shell > .site-footer-shell {
  position: relative;
  z-index: 1;
}

.affiliate-page__shell > .site-footer-shell {
  width: 100%;
  max-width: none;
  margin: auto 0 0;
}

.affiliate-page__shell > .site-footer-shell .site-footer {
  width: 100%;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: none;
}

.affiliate-page__shell > .site-footer-shell .site-footer__bloom {
  bottom: 0;
  height: 4.25rem;
}

.affiliate-home-chrome {
  position: sticky;
  top: 0;
  z-index: 40;
  height: auto !important;
  min-height: 0 !important;
  background: transparent;
  border-bottom: 0;
}

.affiliate-home-chrome .home-top-bar,
.affiliate-home-chrome .home-top-bar.home-header-extended-bg,
.affiliate-home-chrome .catalog-row,
.affiliate-home-chrome .home-promo-row {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100%;
  background: rgba(8, 5, 3, 0.55) !important;
  backdrop-filter: blur(14px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.15) !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(255, 122, 26, 0.14) !important;
}

.affiliate-home-chrome .home-top-bar {
  pointer-events: auto;
}

/* Programa de afiliados: sem abas Vídeo/Imagem */
.affiliate-home-chrome .home-primary-tab-row,
.affiliate-page .home-primary-tab-row {
  display: none !important;
}

.affiliate-home-chrome a.home-tab-button,
.affiliate-home-chrome a.home-catalog-pill,
.affiliate-home-chrome a.home-promo-banner {
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

.affiliate-page__main {
  max-width: 42rem;
  padding: 1.5rem 1.15rem 4.5rem;
  margin: 0 auto;
}

/* Intro */
.aff-intro {
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  text-align: center;
  padding: 1.1rem 0 2rem;
}

.aff-intro__logo {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 0.15rem;
  filter: drop-shadow(0 0.55rem 1.4rem rgba(0, 0, 0, 0.5));
  animation: aff-logo-bob 4.2s ease-in-out infinite;
}

.aff-intro__logo .site-brand-logo {
  border-radius: 999px;
  box-shadow:
    0 0 0 3px rgba(255, 122, 26, 0.85),
    0 0 0 7px rgba(255, 122, 26, 0.18),
    0 0 2.2rem rgba(255, 122, 26, 0.45);
}

@keyframes aff-logo-bob {
  0%,
  100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-0.4rem) rotate(2deg); }
}

.aff-intro__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.32rem 0.85rem 0.32rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 48, 0.45);
  background: rgba(255, 122, 26, 0.14);
  color: #ffb870;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.aff-intro__kicker .material-symbols-outlined {
  font-size: 1rem;
  font-variation-settings: "FILL" 1;
  color: #ff8a30;
  animation: aff-paw-wiggle 2.4s ease-in-out infinite;
}

@keyframes aff-paw-wiggle {
  0%,
  100% { transform: rotate(0deg); }
  25% { transform: rotate(-16deg); }
  50% { transform: rotate(10deg); }
}

.aff-intro h1 {
  margin: 0;
  max-width: 20ch;
  font-family: Manrope, system-ui, sans-serif;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55);
  text-wrap: balance;
}

.aff-hl {
  background: linear-gradient(135deg, #ffd08a, #ff8a30 50%, #ff5e00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 0.6rem rgba(255, 122, 26, 0.45));
}

.aff-lead {
  margin: 0;
  max-width: 34rem;
  color: var(--aff-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

.affiliate-page .aff-cta {
  gap: 0.45rem;
  margin-top: 0.4rem;
  min-height: 2.9rem;
  padding: 0 1.4rem 0 1.1rem;
  border-radius: 999px !important;
  font-size: 0.92rem;
  font-weight: 800;
  color: #1a0d04 !important;
  background: linear-gradient(135deg, #ffb35c, #ff7a1a 55%, #e0560b) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0.55rem 1.6rem rgba(255, 122, 26, 0.4) !important;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.affiliate-page .aff-cta .material-symbols-outlined {
  font-size: 1.15rem;
  font-variation-settings: "FILL" 1;
}

.affiliate-page .aff-cta:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.07);
}

.affiliate-page .aff-cta:hover .material-symbols-outlined {
  animation: aff-paw-wiggle 0.8s ease-in-out infinite;
}

/* Títulos de seção */
.aff-journey h2,
.aff-perks h2,
.aff-activate h2,
.aff-faq h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.15rem;
  font-family: Manrope, system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.6vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.aff-journey h2 .material-symbols-outlined,
.aff-perks h2 .material-symbols-outlined,
.aff-faq h2 .material-symbols-outlined {
  font-size: 1.25rem;
  color: #ff8a30;
  font-variation-settings: "FILL" 1;
  transform: rotate(-14deg);
}

.aff-journey,
.aff-perks,
.aff-activate,
.aff-faq {
  position: relative;
  margin-top: 0.75rem;
  padding-top: 1.6rem;
}

.aff-journey::before,
.aff-perks::before,
.aff-activate::before,
.aff-faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 22rem);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 122, 26, 0.55), transparent);
}

.aff-faq {
  margin-top: 2.5rem;
}

/* Passo a passo */
.aff-journey__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.aff-journey__step {
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: stretch;
}

.aff-journey__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Número com orelhinhas */
.aff-journey__num,
.aff-activate__step {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-top: 0.35rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: linear-gradient(145deg, #ffb35c, #ff7a1a 55%, var(--aff-red-deep));
  color: #1a0d04;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 0 0.9rem rgba(255, 122, 26, 0.45);
}

.aff-journey__num::before,
.aff-journey__num::after,
.aff-activate__step::before,
.aff-activate__step::after {
  content: "";
  position: absolute;
  top: -0.42rem;
  width: 0.8rem;
  height: 0.8rem;
  background: #ff9a3c;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  z-index: -1;
}

.aff-journey__num::before,
.aff-activate__step::before {
  left: 0.05rem;
  transform: rotate(-22deg);
}

.aff-journey__num::after,
.aff-activate__step::after {
  right: 0.05rem;
  transform: rotate(22deg);
}

.aff-journey__line {
  flex: 1 1 auto;
  width: 0;
  min-height: 1.4rem;
  margin: 0.4rem 0;
  border-left: 2px dashed rgba(255, 138, 48, 0.5);
}

.aff-journey__body {
  padding: 0.15rem 0 1rem;
}

.aff-journey__body p {
  margin: 0;
  padding: 0.75rem 0.95rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 122, 26, 0.16);
  background: rgba(14, 8, 4, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f6e2d2;
  font-size: 0.94rem;
  line-height: 1.55;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.aff-journey__step:hover .aff-journey__body p {
  border-color: rgba(255, 122, 26, 0.45);
  transform: translateX(3px);
}

/* Benefícios em cards */
.aff-perks__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.aff-perks__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 1.05rem;
  border: 1px solid rgba(255, 122, 26, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 122, 26, 0.12), transparent 55%),
    rgba(14, 8, 4, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.aff-perks__item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 122, 26, 0.5);
  box-shadow: 0 0.8rem 1.8rem rgba(255, 122, 26, 0.14);
}

.aff-perks__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, #ffb35c, #ff7a1a 55%, #d9540e);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0.35rem 0.9rem rgba(255, 122, 26, 0.3);
}

.aff-perks__icon .material-symbols-outlined {
  font-size: 1.35rem;
  color: #1a0d04;
  font-variation-settings: "FILL" 1;
}

.aff-perks__text {
  min-width: 0;
}

.aff-perks__item strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.aff-perks__item p {
  margin: 0;
  color: var(--aff-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Passo final: ativar link */
.aff-activate {
  margin-top: 1.25rem;
}

.aff-activate__head {
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  margin-bottom: 1.6rem;
}

.aff-activate__head h2 {
  margin: 0 0 0.35rem;
}

.aff-activate__head p {
  margin: 0;
  color: var(--aff-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.affiliate-page__signup-wrap {
  position: relative;
  margin-top: 1.4rem;
}

.aff-ear {
  position: absolute;
  top: -1.15rem;
  width: 2.6rem;
  height: 2.2rem;
  z-index: 0;
  background: linear-gradient(180deg, #ff9a3c, #c2410c);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.aff-ear::after {
  content: "";
  position: absolute;
  inset: 0.55rem 0.7rem 0;
  background: #ffc9a0;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: 0.8;
}

.aff-ear--left {
  left: 1.6rem;
  transform: rotate(-14deg);
  transform-origin: bottom center;
  animation: aff-ear-left 3.4s ease-in-out infinite;
}

.aff-ear--right {
  right: 1.6rem;
  transform: rotate(14deg);
  transform-origin: bottom center;
  animation: aff-ear-right 3.4s ease-in-out infinite;
}

@keyframes aff-ear-left {
  0%,
  100% { transform: rotate(-14deg); }
  50% { transform: rotate(-4deg); }
}

@keyframes aff-ear-right {
  0%,
  100% { transform: rotate(14deg); }
  50% { transform: rotate(4deg); }
}

.affiliate-page__signup-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  padding: 1.35rem 1.15rem 1.3rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 122, 26, 0.38);
  background:
    linear-gradient(145deg, rgba(255, 122, 26, 0.18), transparent 45%),
    var(--aff-glass);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 1.1rem 2.4rem rgba(0, 0, 0, 0.45),
    0 0 2rem rgba(255, 122, 26, 0.12);
}

.affiliate-page .landing-page__affiliate-form,
.affiliate-page .landing-page__affiliate-result {
  max-width: none;
  margin-top: 0;
}

.affiliate-page .landing-page__affiliate-form[hidden],
.affiliate-page .landing-page__affiliate-result[hidden] {
  display: none !important;
}

.affiliate-page .landing-page__affiliate-field span {
  color: #ffb870;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.affiliate-page .landing-page__affiliate-field input,
.affiliate-page .landing-page__affiliate-field textarea {
  border-radius: 0.85rem !important;
  border-color: rgba(255, 122, 26, 0.24) !important;
  background: rgba(8, 5, 3, 0.75) !important;
  color: #fff !important;
}

.affiliate-page .landing-page__affiliate-field input:focus {
  border-color: rgba(255, 122, 26, 0.75) !important;
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.2) !important;
}

.affiliate-page__earnings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 0.2rem 0;
}

.affiliate-page__earnings[hidden] {
  display: none !important;
}

.affiliate-page__earning {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--aff-line);
  border-radius: 0.95rem;
  background: rgba(8, 5, 3, 0.6);
}

.affiliate-page__earning span {
  color: rgba(255, 210, 180, 0.6);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.affiliate-page__earning strong {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.affiliate-page__earning:first-child strong {
  color: #ffb86c;
}

.affiliate-page__signup-panel.is-success {
  grid-template-columns: 1fr;
}

.affiliate-page__submit {
  width: 100%;
  min-height: 2.95rem;
  border: 0;
  border-radius: 999px !important;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  color: #1a0d04 !important;
  background: linear-gradient(135deg, #ffb35c, #ff7a1a 55%, #e0560b) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0.55rem 1.5rem rgba(255, 122, 26, 0.38) !important;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.affiliate-page__submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
}

/* FAQ */
.affiliate-page .landing-page__faq details {
  background: rgba(14, 8, 4, 0.55) !important;
  border-radius: 0.95rem !important;
  border: 1px solid var(--aff-line) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.2s ease;
}

.affiliate-page .landing-page__faq details[open],
.affiliate-page .landing-page__faq details:hover {
  border-color: rgba(255, 122, 26, 0.5) !important;
}

.affiliate-page .landing-page__faq summary {
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .aff-paws {
    display: none;
  }

  .aff-intro__logo,
  .aff-intro__kicker .material-symbols-outlined,
  .aff-ear--left,
  .aff-ear--right,
  .affiliate-page .aff-cta:hover .material-symbols-outlined {
    animation: none !important;
  }
}
