/*
 * The activation landing. site.min.css (a copy of ipu.bet's) gives the tokens,
 * the fonts and the button; this file is the shell of the site's promo
 * landers (resources/views/layouts/promo.blade.php: backdrop, column, title,
 * lead, button) and the blocks of this page (act-*).
 */

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* The page is English in the markup and gets its language from the address in
   JS: hidden until that pass so the text never flips in front of the reader. */
html.js-pending .act { visibility: hidden; }
[hidden] { display: none !important; }

body.promo { min-height: 100dvh; margin: 0; background: #070a14; color: #fff; }

/* The backdrop: neon light and gold coins at the edges, a dark calm middle.
   A fixed layer of its own rather than a body background: iOS ignores
   background-attachment: fixed, and site.min.css already spends the body's
   ::before and ::after on its glows. The page scrolls over it for five
   screens, so it is dimmed hard and the cards below are opaque: text over the
   coins was unreadable. */
.promo-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: #070a14 url("/assets/img/bg-mobile.webp") center top / cover no-repeat; }
.promo-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,10,20,.5), rgba(7,10,20,.86) 60%); }
@media (min-width: 768px) {
    .promo-bg { background-image: url("/assets/img/bg-desktop.webp"); background-position: center; }
}

.promo-shell { position: relative; z-index: 1; min-height: 100dvh; max-width: 30rem; margin: 0 auto; padding: calc(1.25rem + env(safe-area-inset-top)) 1.25rem calc(1rem + env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow-x: clip; }
.promo-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; padding: .5rem 0 1rem; }
.promo-title { font-size: 1.625rem; line-height: 1.12; font-weight: 700; margin: 0 0 .5rem; }
.promo-title b { color: var(--gold); font-weight: 700; }
.promo-lead { color: rgba(255,255,255,.66); font-size: .875rem; line-height: 1.45; margin: 0 0 1rem; }
.promo-cta { display: flex; align-items: center; justify-content: center; gap: .625rem; border-radius: 1rem; box-shadow: 0 10px 30px rgba(255,170,40,.35); }

.act { display: grid; gap: 2.25rem; }
/* site.min.css pads every section of the public site. */
.act > section { padding: 0; }
.act-top { display: flex; justify-content: center; }
.act-top img { height: 2rem; width: auto; }
.act-hero { display: grid; gap: 1rem; justify-items: center; text-align: center; }
.act-hero__art { width: 8.5rem; height: 8.5rem; object-fit: contain; filter: drop-shadow(0 12px 28px rgba(60,130,255,.45)); }
.act-hero__text { display: grid; gap: .75rem; justify-items: center; width: 100%; }
.act-title { margin: 0; font-size: 1.75rem; text-transform: uppercase; }
.act-hero .promo-lead { margin: 0; font-size: .9375rem; }
.act-plate { display: inline-flex; align-items: center; gap: .5rem; padding: .625rem 1.125rem; border-radius: 1rem; font-size: 1.375rem; line-height: 1.15; font-weight: 700; color: var(--gold); background: linear-gradient(135deg, rgba(255,213,47,.18), rgba(248,128,48,.08)); border: 1.5px solid rgba(255,213,47,.6); box-shadow: 0 0 22px rgba(255,190,40,.28); transform: rotate(-2deg); }
.act-cta { width: 100%; }
.act-h { margin: 0 0 .875rem; text-align: center; font-size: 1.25rem; line-height: 1.2; font-weight: 700; }
.act-h b { color: var(--gold); font-weight: 700; }
.act-benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; }
.act-benefit { padding: .875rem .625rem; border-radius: 1rem; text-align: center; background: linear-gradient(180deg, #13214d, #0b1330); border: 1px solid rgba(84,167,255,.32); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.act-benefit img { width: 3.5rem; height: 3.5rem; object-fit: contain; margin: 0 auto .375rem; display: block; }
.act-benefit__title { font-size: .9375rem; line-height: 1.2; font-weight: 700; color: var(--gold); overflow-wrap: anywhere; }
.act-benefit__text { margin-top: .25rem; font-size: .8125rem; line-height: 1.35; color: rgba(255,255,255,.72); }
.act-steps { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .625rem; counter-reset: act-step; }
.act-step { counter-increment: act-step; display: flex; align-items: center; gap: .75rem; padding: .75rem .875rem; border-radius: 1rem; font-size: .9375rem; line-height: 1.35; background: #0d1532; border: 1px solid rgba(255,255,255,.14); }
.act-step::before { content: counter(act-step); flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #0b1020; background: var(--grad-gold); }
.act > .act-rating { padding: 1.25rem .875rem; border-radius: 1.25rem; background: linear-gradient(180deg, #111f52, #0b1433); border: 1px solid rgba(84,167,255,.45); box-shadow: 0 0 28px rgba(60,130,255,.2); }
.act-rating .act-h { margin-bottom: .25rem; }
.act-rating__lead { margin: 0 0 1rem; text-align: center; font-size: .875rem; line-height: 1.4; color: rgba(255,255,255,.7); }
.act-cards { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .75rem; }
.act-card { position: relative; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: .25rem .75rem; align-items: center; padding: .875rem; border-radius: 1rem; background: #0a1230; border: 1px solid rgba(255,255,255,.14); }
.act-card--first { border-color: rgba(255,213,47,.7); box-shadow: 0 0 18px rgba(255,190,40,.25); }
.act-card__rank { position: absolute; top: -.625rem; left: -.375rem; min-width: 2rem; height: 2rem; padding: 0 .375rem; border-radius: 1rem; display: grid; place-items: center; font-size: .8125rem; font-weight: 700; color: #0b1020; background: var(--grad-gold); box-shadow: 0 4px 10px rgba(0,0,0,.4); }
.act-card__logo { width: 4.5rem; height: 4.5rem; border-radius: .875rem; overflow: hidden; display: grid; place-items: center; background: #111a3a; font-weight: 700; font-size: 1.5rem; }
.act-card__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.act-card__name { font-size: 1.0625rem; line-height: 1.2; font-weight: 700; overflow-wrap: anywhere; }
.act-card__score { display: flex; align-items: center; gap: .5rem; margin-top: .25rem; font-size: .875rem; font-weight: 600; }
.act-stars { position: relative; display: inline-block; font-size: .9375rem; line-height: 1; letter-spacing: .1em; color: rgba(255,255,255,.22); }
.act-stars i { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; font-style: normal; color: var(--gold); }
.act-card__facts { grid-column: 1 / -1; list-style: none; margin: .375rem 0 0; padding: 0; display: grid; gap: .25rem; font-size: .8125rem; line-height: 1.35; color: rgba(255,255,255,.82); }
.act-card__facts li { display: flex; gap: .5rem; align-items: flex-start; }
/* An operator's bonus line can be a paragraph: three lines keep the cards level. */
.act-card__facts li > span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.act-card__facts li::before { content: ""; flex: none; width: .5rem; height: .5rem; margin-top: .3125rem; border-radius: 50%; background: var(--green); }
.act-card__facts b { color: var(--gold); font-weight: 700; }
.act-card__more { grid-column: 1 / -1; margin-top: .5rem; padding: .625rem; border-radius: .75rem; text-align: center; font-size: .875rem; font-weight: 700; color: #0b1020; text-decoration: none; background: var(--grad-gold); }
.act-all { display: block; padding: .875rem; border-radius: 1rem; text-align: center; font-weight: 600; font-size: .9375rem; color: #fff; text-decoration: none; border: 1px solid rgba(255,213,47,.55); background: rgba(255,255,255,.03); }
.act-method { display: block; margin-top: .75rem; text-align: center; font-size: .8125rem; color: rgba(255,255,255,.62); text-decoration: underline; text-underline-offset: 3px; }
.act-final { display: grid; gap: .75rem; text-align: center; }
.act-final .act-h { margin: 0; font-size: 1.5rem; }
.act-final .promo-lead { margin: 0; }
.act-foot { display: grid; gap: .75rem; justify-items: center; padding-bottom: .5rem; font-size: .75rem; color: rgba(255,255,255,.5); }
.act-langs { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .75rem; margin: 0; padding: 0; list-style: none; }
.act-langs a { color: rgba(255,255,255,.62); text-decoration: none; }
.act-langs a[aria-current] { color: #fff; font-weight: 700; }

@media (min-width: 900px) {
    .promo-shell { max-width: 62rem; }
    .act { gap: 3.5rem; }
    .act-top { justify-content: flex-start; }
    .act-hero { grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; justify-items: start; text-align: left; }
    .act-hero__text { justify-items: start; order: -1; }
    .act-hero__art { width: 17rem; height: 17rem; }
    .act-title { font-size: 2.75rem; }
    .act-hero .promo-lead { font-size: 1.0625rem; }
    .act-plate { font-size: 1.75rem; }
    .act-cta { width: auto; min-width: 20rem; }
    .act-h { font-size: 1.625rem; margin-bottom: 1.25rem; }
    .act-benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
    .act-benefit { padding: 1.25rem 1rem; }
    .act-benefit img { width: 5rem; height: 5rem; }
    .act-benefit__title { font-size: 1.0625rem; }
    .act-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
    .act-how, .act-final { justify-items: center; }
    .act-how { display: grid; }
    .act-how .act-steps { width: 100%; }
    .act > .act-rating { padding: 2rem 1.5rem; }
    .act-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
    .act-card { align-content: start; }
    .act-card__more { align-self: end; }
    .act-all { max-width: 20rem; margin: 0 auto; }
    .act-final .act-h { font-size: 2rem; }
}
