/* The root LP templates own layout, typography and animations. Only identity and pending states are shared here. */
html[data-house] .marca { object-fit: contain; }
html[data-house] .trevo-bg img { display: block; width: 100%; height: auto; object-fit: contain; }
html[data-house] #trevo { object-fit: contain; aspect-ratio: 1; height: auto; }
html[data-house] .house-pending { margin-top: 12px; text-align: center; color: var(--house-muted); font-size: 13px; line-height: 1.5; }
html[data-house] a[aria-disabled="true"] { cursor: not-allowed; filter: saturate(.6); }
html[data-house] a[aria-disabled="true"] .seta { opacity: .3; animation: none; }
html[data-house] a[data-affiliate]:focus-visible { outline: 3px solid var(--house-glow); outline-offset: 4px; }
html[data-house] .btn-primary,
html[data-house] .cta { background: linear-gradient(180deg, var(--house-cta-1), var(--house-cta-2)); color: #fff; }
html[data-house][data-route="raspadinha"] .premios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html[data-house][data-route="raspadinha"] .pill,
html[data-house][data-route="raspadinha"] .pill > div { min-width: 0; }
html[data-house][data-route="raspadinha"] .pill > .ico { flex: none; }
html[data-house][data-route="raspadinha"] .pill > div > span { overflow-wrap: anywhere; }
@media (max-width: 767px) {
  html[data-house][data-route="raspadinha"] .pill { padding-top: 32px; align-items: flex-start; }
  html[data-house][data-route="raspadinha"] .pill .chance { position: absolute; top: 9px; right: 9px; margin-left: 0; }
}
@media (min-width: 768px) {
  html[data-house][data-route="raspadinha"] .premios { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Confirmed deposit tiers: a compact block shared by its LP variants. */
html[data-offers] .house-bonus {
  box-sizing: border-box;
  width: 100%;
  max-width: 600px;
  margin: 20px auto 0;
  padding: clamp(14px, 3.5vw, 20px);
  border: 1px solid color-mix(in srgb, var(--house-brand) 44%, #fff 10%);
  border-radius: 18px;
  background: var(--house-surface);
  color: var(--house-text);
  text-align: left;
  line-height: 1.45;
}
html[data-offers] .house-bonus-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 14px;
  font-size: clamp(16px, 4vw, 18px);
  font-weight: 800;
  line-height: 1.3;
}
html[data-offers] .house-bonus-head :is(h2, h3) { margin: 0; font: inherit; }
html[data-offers] .house-bonus-eyebrow {
  margin: 0 0 5px;
  color: var(--house-glow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
html[data-offers] .house-bonus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
}
html[data-offers] .house-bonus-tier {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  padding: 13px 11px;
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: 12px;
  background: rgb(255 255 255 / .035);
}
html[data-offers] .house-bonus-tier dt {
  margin: 0;
  color: var(--house-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
html[data-offers] .house-bonus-tier dt strong { color: var(--house-text); font-weight: 800; }
html[data-offers] .house-bonus-tier dd {
  margin: 0;
  color: var(--house-text);
  font-size: clamp(28px, 7vw, 34px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.05;
}
html[data-offers] .house-bonus-tier dd small {
  display: block;
  margin-top: 5px;
  color: var(--house-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}
html[data-offers] .house-bonus-note {
  margin: 12px 0 0;
  color: var(--house-muted);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.55;
}
html[data-offers] .bonus-unit {
  display: inline-block;
  margin-left: .22em;
  font-size: .42em;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  vertical-align: baseline;
  white-space: nowrap;
}
html[data-offers][data-route="presell2"] #pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 8px;
}
html[data-offers][data-route="presell2"] #pills .pill {
  flex: 1 1 calc(50% - 4px);
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  padding: 12px 10px;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
}
@media (min-width: 640px) {
  html[data-offers] .house-bonus-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  html[data-offers][data-route="presell2"] #pills .pill { flex-basis: calc(25% - 6px); }
}
html[data-offers][data-route="inicio"] body,
html[data-offers][data-route="presell1"] body { overflow-y: auto; overflow-x: hidden; }
html[data-offers][data-route="inicio"] main,
html[data-offers][data-route="presell1"] main { gap: 20px; }
html[data-offers][data-route="inicio"] .palco,
html[data-offers][data-route="presell1"] .palco { width: min(42vw, 160px); }
html[data-offers][data-route="inicio"] .house-bonus,
html[data-offers][data-route="presell1"] .house-bonus { margin-top: 0; }
html[data-offers][data-route="direto"] .c { min-height: 100%; height: auto; }

/* Offer numbers: clear hierarchy, selectable tiers and one-shot motion. */
html[data-offers] #headline :is(.verde, .dest) {
  background: none;
  color: #ffd58a;
  -webkit-text-fill-color: currentColor;
}
html[data-offers][data-route="presell2"] #pills .bonus-preset {
  container-type: inline-size;
  position: relative;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  gap: 3px;
  min-height: 148px;
  padding: 25px 8px 14px;
  border: 1px solid rgb(255 255 255 / .2);
  border-radius: 16px;
  background: linear-gradient(160deg, var(--house-surface), var(--house-bg));
  color: #fff;
  font-family: inherit;
  cursor: pointer;
  transition: transform .18s ease;
}
html[data-offers][data-route="presell2"] #pills .bonus-pill-percent {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  max-width: 100%;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.045em;
  line-height: 1;
  white-space: nowrap;
}
html[data-offers][data-route="presell2"] #pills .bonus-pill-number {
  display: inline-block;
  font-size: clamp(38px, 11vw, 46px);
  font-size: clamp(32px, 38cqi, 46px);
  line-height: 1;
}
html[data-offers][data-route="presell2"] #pills .bonus-pill-percent small {
  margin-left: 1px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
}
html[data-offers][data-route="presell2"] #pills .bonus-pill-label {
  color: var(--house-muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}
html[data-offers][data-route="presell2"] #pills .bonus-pill-deposit {
  display: block;
  margin-top: 7px;
  color: var(--house-muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
}
html[data-offers][data-route="presell2"] #pills .bonus-pill-deposit strong {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}
html[data-offers][data-route="presell2"] #pills .bonus-preset .badge {
  top: 7px;
  padding: 3px 5px;
  background: #ffd58a;
  color: #3b1403;
  font-size: 8px;
  letter-spacing: .035em;
  line-height: 1.2;
}
html[data-offers][data-route="presell2"] #pills .bonus-preset:is(.is-active, [aria-pressed="true"]) {
  border-color: #ffd58a;
  background: linear-gradient(160deg, var(--house-dark), var(--house-surface));
  box-shadow: inset 0 0 0 1px rgb(255 213 138 / .3);
}
html[data-offers][data-route="presell2"] #pills .bonus-preset:is(.is-active, [aria-pressed="true"]) .bonus-pill-percent {
  color: #ffd58a;
}
html[data-offers][data-route="presell2"] #pills .bonus-preset:focus-visible {
  outline: 3px solid #ffd58a;
  outline-offset: 3px;
}
@media (hover: hover) {
  html[data-offers][data-route="presell2"] #pills .bonus-preset:hover { transform: translateY(-3px); }
}
html[data-offers][data-route="presell2"] #pills .bonus-preset:active { transform: translateY(1px); }

html[data-offers][data-route="presell2"] #sim .resultado {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
html[data-offers][data-route="presell2"] #sim .resultado > div { min-width: 0; padding: 16px 7px; }
html[data-offers][data-route="presell2"] :is(#r-bonus, #r-total) {
  display: flex;
  min-width: 0;
  max-width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 9px;
  font-size: clamp(30px, 8.7vw, 34px);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
  line-height: 1.05;
}
html[data-offers][data-route="presell2"] #r-bonus { color: #ffd58a; }
html[data-offers][data-route="presell2"] #r-total { color: #fff; }
html[data-offers][data-route="presell2"] :is(#r-bonus, #r-total) .bonus-currency {
  display: block;
  color: inherit;
  font-size: .38em;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
}
html[data-offers][data-route="presell2"] :is(#r-bonus, #r-total) .bonus-money-number {
  display: block;
  max-width: 100%;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-variant-numeric: tabular-nums;
  letter-spacing: inherit;
  line-height: inherit;
}
html[data-offers][data-route="presell2"] :is(#r-bonus, #r-total)[data-length="7"],
html[data-offers][data-route="presell2"] .bonus-money-number[data-length="7"] { font-size: 32px; }
html[data-offers][data-route="presell2"] :is(#r-bonus, #r-total)[data-length="8"],
html[data-offers][data-route="presell2"] .bonus-money-number[data-length="8"] { font-size: 30px; }
html[data-offers][data-route="presell2"] :is(#r-bonus, #r-total)[data-length="9"],
html[data-offers][data-route="presell2"] .bonus-money-number[data-length="9"] { font-size: 28px; }
html[data-offers][data-route="presell2"] :is(#r-bonus, #r-total):is([data-length="10"], [data-length="11"], [data-length="12"]),
html[data-offers][data-route="presell2"] .bonus-money-number:is([data-length="10"], [data-length="11"], [data-length="12"]) { font-size: 26px; }
html[data-offers][data-route="presell2"] #sim #r-pct { color: #ffd58a; font-size: 14px; font-weight: 800; }

html[data-offers] .house-bonus-tier { container-type: inline-size; }
html[data-offers] .house-bonus-tier dd {
  color: #ffd58a;
  font-size: 34px;
  font-size: clamp(28px, 42cqi, 44px);
  white-space: nowrap;
}
html[data-offers] .house-bonus-tier .bonus-tier-number {
  display: inline-block;
  font-size: inherit;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
html[data-offers] .house-bonus-tier .bonus-tier-unit {
  display: inline-block;
  margin-left: .05em;
  font-size: .44em;
  font-weight: 800;
  letter-spacing: 0;
}
html[data-offers] .house-bonus-tier dd small { white-space: normal; }
html[data-offers] .house-bonus-tier.is-active {
  border-color: #ffd58a;
  background: rgb(255 213 138 / .075);
}
html[data-offers] #r-rodadas {
  display: inline-block;
  color: #ffd58a;
  font-size: clamp(52px, 15vw, 76px);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.045em;
  line-height: 1;
}
html[data-offers][data-route="indique"] .beneficio strong {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  color: #ffd58a;
  font-size: clamp(48px, 13vw, 62px);
  font-weight: 900;
  line-height: 1;
}
html[data-offers][data-route="indique"] .referral-percent { display: inline-block; font-size: inherit; line-height: inherit; }
html[data-offers][data-route="indique"] .beneficio strong small { color: inherit; font-size: .42em; font-weight: 800; line-height: 1; }
html[data-offers][data-route="indique"] .referral-withdrawal {
  max-width: 43ch;
  margin: 14px 0 0;
  color: var(--house-muted);
  font-size: 13px;
  line-height: 1.65;
}
html[data-offers][data-route="indique"] .referral-withdrawal-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 4px 4px 0;
  padding: 4px 8px;
  border: 1px solid rgb(255 213 138 / .3);
  border-radius: 6px;
  background: rgb(255 213 138 / .07);
  color: #ffd58a;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  vertical-align: baseline;
}
html[data-offers][data-route="indique"] .referral-withdrawal-badge .ico { width: 15px; height: 15px; flex: none; }

@keyframes bonus-number-enter {
  from { opacity: .35; transform: translateY(9px) scale(.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes bonus-value-hit {
  from { opacity: .7; transform: translateY(5px) scale(.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
html[data-offers] :is(.bonus-tier-number, .bonus-pill-number, .referral-percent, #r-rodadas).is-visible {
  animation: bonus-number-enter .6s cubic-bezier(.2, .8, .2, 1) both;
}
html[data-offers][data-route="presell2"] #sim.is-counting .bonus-money-number,
html[data-offers][data-route="presell2"] #sim.bonus-tier-up .resultado,
html[data-offers][data-route="presell2"] .resultado.bonus-value-hit {
  animation: bonus-value-hit .5s cubic-bezier(.2, .8, .2, 1) both;
}
@media (min-width: 640px) {
  html[data-offers][data-route="presell2"] :is(#r-bonus, #r-total) { font-size: 46px; }
  html[data-offers][data-route="presell2"] :is(#r-bonus, #r-total):is([data-length="7"], [data-length="8"]),
  html[data-offers][data-route="presell2"] .bonus-money-number:is([data-length="7"], [data-length="8"]) { font-size: 44px; }
  html[data-offers][data-route="presell2"] :is(#r-bonus, #r-total)[data-length="9"],
  html[data-offers][data-route="presell2"] .bonus-money-number[data-length="9"] { font-size: 40px; }
  html[data-offers][data-route="presell2"] :is(#r-bonus, #r-total):is([data-length="10"], [data-length="11"], [data-length="12"]),
  html[data-offers][data-route="presell2"] .bonus-money-number:is([data-length="10"], [data-length="11"], [data-length="12"]) { font-size: 36px; }
}
@media (max-width: 359px) {
  html[data-offers][data-route="presell2"] #sim .resultado { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  html[data-offers][data-route="indique"] .referral-withdrawal { margin-left: auto; margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-offers] :is(.bonus-tier-number, .bonus-pill-number, .referral-percent, #r-rodadas).is-visible,
  html[data-offers][data-route="presell2"] #sim.is-counting .bonus-money-number,
  html[data-offers][data-route="presell2"] #sim.bonus-tier-up .resultado,
  html[data-offers][data-route="presell2"] .resultado.bonus-value-hit,
  html[data-offers][data-route="presell2"] #pills .bonus-preset {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* Marca provisória: as moedas de fundo ficam discretas para não competir com o botão. */
html[data-house] .trevo-bg { opacity: .16; }
html[data-house][data-route="indique"] .beneficio strong { font-size: clamp(22px, 6.4vw, 30px); line-height: 1.15; }
