/* /products/raffle: the live section (#live) with the Prize Clock widget (partial rfp-live). */
.rfp-sec { --rfp-text: #c3c9e6; --rfp-gold: #ffc34d; --rfp-red: #ff6464; position: relative; z-index: 2; color: #fff; overflow: hidden;
  background: radial-gradient(80% 60% at 50% 0%, #22234f 0%, #070b1f 70%); }
.rfp-sec::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, .5), transparent), radial-gradient(1px 1px at 72% 14%, rgba(255, 255, 255, .4), transparent),
    radial-gradient(1px 1px at 88% 62%, rgba(255, 255, 255, .35), transparent), radial-gradient(1px 1px at 32% 82%, rgba(255, 255, 255, .3), transparent); }
.rfp-sec > * { position: relative; }
.rfp-head { max-width: 50rem; margin: 0 auto 2.5rem; text-align: center; display: grid; gap: 1rem; }
.rfp-head .section_title { margin: 0; color: #fff; }
.rfp-head .title_sub { margin: 0; color: var(--rfp-text); opacity: 1; }
.rfp-kicker { justify-self: center; padding: .3rem .8rem; border-radius: 999px; background: rgba(255, 195, 77, .14); color: var(--rfp-gold); font: 700 .75rem/1.2 "Lexend Deca", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.rfp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 17.5rem; gap: 1rem; align-items: start; width: 100%; max-width: 80rem; margin: 0 auto; }
.rfp-part { width: 100%; min-width: 0; scroll-margin-top: var(--nav-fixed-h, 6rem); }
/* the simulation panel: page controls beside the widget, drawn as a dashed "not part of the product" box */
.rfp-sim { position: sticky; top: calc(var(--nav-fixed-h, 6rem) + 1rem); display: grid; gap: .6rem; padding: .9rem; border-radius: 1rem; border: 2px dashed rgba(195, 201, 230, .45); background: rgba(13, 20, 51, .7); font-family: "Lexend Deca", sans-serif; color: #fff; }
.rfp-sim_tag { justify-self: start; padding: .2rem .5rem; border-radius: .35rem; background: #fff; color: #181b2b; font-size: .62rem; font-weight: 800; letter-spacing: .12em; }
.rfp-sim p { margin: 0; font-size: .75rem; line-height: 1.45; color: var(--rfp-text); }
.rfp-sim_btn { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) auto; gap: .5rem; align-items: center; width: 100%; padding: .55rem .65rem; border-radius: .65rem; border: 1px solid rgba(195, 201, 230, .25); background: rgba(255, 255, 255, .06); color: #fff; text-align: left; cursor: pointer; font: 600 .8rem "Lexend Deca", sans-serif; }
.rfp-sim_btn:hover:not(:disabled) { border-color: var(--rfp-gold); }
.rfp-sim_btn:disabled { opacity: .5; cursor: default; }
.rfp-sim_btn i { font-style: normal; font-size: 1.1rem; }
.rfp-sim_btn small { display: block; font-size: .64rem; font-weight: 400; color: var(--rfp-text); opacity: .8; }
.rfp-sim_btn em { font-style: normal; font-weight: 800; font-size: .8rem; color: var(--rfp-gold); white-space: nowrap; }
.rfp-sim_meta { display: flex; flex-wrap: wrap; gap: .35rem; }
.rfp-sim_meta span { padding: .2rem .55rem; border-radius: 999px; border: 1px solid rgba(195, 201, 230, .3); font-size: .68rem; font-weight: 700; color: var(--rfp-text); }
.rfp-sim_meta span.is-hot { border-color: var(--rfp-gold); color: var(--rfp-gold); }
.rfp-tip { position: relative; cursor: help; }
.rfp-tip::after { content: attr(data-tip); position: absolute; z-index: 20; right: 0; bottom: calc(100% + .5rem); width: 14rem; padding: .5rem .65rem; border-radius: .6rem; background: #fff; color: #181b2b; font-size: .72rem; font-weight: 600; line-height: 1.45; box-shadow: 0 .6rem 1.4rem rgba(0, 0, 0, .4); display: none; }
.rfp-tip:hover::after, .rfp-tip:focus-visible::after { display: block; }
.rfp-sim_np { position: relative; }
.rfp-sim_np > button { padding: .35rem .7rem; border-radius: 999px; border: 1px solid rgba(195, 201, 230, .4); background: transparent; color: var(--rfp-text); font: 600 .75rem "Lexend Deca", sans-serif; cursor: pointer; }
.rfp-sim_card { margin-top: .5rem; padding: .7rem; border-radius: .7rem; background: #121a3d; border: 1px solid rgba(255, 195, 77, .55); }
.rfp-sim_card b { font-size: .85rem; } .rfp-sim_card p { margin: .3rem 0 .5rem; }
.rfp-sim_card div { display: flex; justify-content: flex-end; gap: .4rem; }
.rfp-sim_card button { padding: .4rem .7rem; border-radius: .5rem; border: 1px solid #39426e; background: transparent; color: #c3c9e6; font: 600 .75rem "Lexend Deca", sans-serif; cursor: pointer; }
.rfp-sim_card button.is-yes { border: 0; background: var(--rfp-gold); color: #2b1d00; }
.rfp-widget { width: 100%; min-height: 44rem; }
.rfp-widget_err { padding: 3rem 1rem; text-align: center; color: var(--rfp-red); }

/* ------------------------------------------------ the rest of the page (partials/sp-raffle.hbs): the hero (the Prize
   Clock: five rings fill up, a ticket splits into all five; pure CSS, a 8 s loop), the side panels (#why one ticket to
   five draws, #tickets the multipliers, #rules the weekly draw), the cards of #draws and #prizes, and the FAQ. The five
   draw colours are the widget's: hour teal, day blue, week violet, month pink, year gold. */
:root { --rfl-bg: #070b1f; --rfl-card: #111a40; --rfl-line: #262f63; --rfl-text: #d0d6f0; --rfl-muted: #8a93bd;
  --rfl-gold: #ffc34d; --rfl-green: #3ddc84; --rfl-red: #ff8a8a; }
.rfl-panel { width: 100%; max-width: 34rem; margin: 0 auto; padding: 1.25rem; border-radius: 1rem; background: radial-gradient(120% 90% at 50% 0%, #1f2356 0%, var(--rfl-bg) 65%); border: 1px solid var(--rfl-line); box-shadow: 0 1.5rem 3rem rgba(24, 27, 43, .18); font-family: "Lexend Deca", sans-serif; color: #fff; }
.rfl-panel_title { font-size: .8125rem; color: var(--rfl-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }

/* hero: the ticket fan (four draw tickets with their top prizes; the Grand Finale ticket rises, a toast shows a deposit's tickets) */
.rfl-hero { --T: 5s; position: relative; width: 100%; max-width: 34rem; height: 23rem; margin: 0 auto; border-radius: 1.25rem; overflow: hidden; background: radial-gradient(70% 60% at 50% 0%, #22234f, var(--rfl-bg) 70%); box-shadow: 0 2rem 4rem rgba(10, 12, 24, .35); font-family: "Lexend Deca", sans-serif; color: #fff; }
.rfl-fan_count { position: absolute; right: 1.1rem; top: 1rem; text-align: right; font-size: .7rem; color: var(--rfl-muted); letter-spacing: .1em; text-transform: uppercase; }
.rfl-fan_count b { display: block; font-size: 1.5rem; color: #fff; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.rfl-fan { position: absolute; left: 50%; top: 56%; width: 0; height: 0; }
.rfl-tk { position: absolute; left: -7.8rem; top: -3.6rem; width: 15.6rem; display: grid; grid-template-columns: minmax(0, 1fr) 4rem; border-radius: .65rem; color: #2b1d00; background: linear-gradient(135deg, #ffe08a, #f2a93b); transform-origin: 50% 220%; box-shadow: 0 .9rem 1.6rem rgba(0, 0, 0, .45);
  -webkit-mask: radial-gradient(circle .5rem at calc(100% - 4rem) 0, #0000 98%, #000) top/100% 51% no-repeat, radial-gradient(circle .5rem at calc(100% - 4rem) 100%, #0000 98%, #000) bottom/100% 51% no-repeat;
          mask: radial-gradient(circle .5rem at calc(100% - 4rem) 0, #0000 98%, #000) top/100% 51% no-repeat, radial-gradient(circle .5rem at calc(100% - 4rem) 100%, #0000 98%, #000) bottom/100% 51% no-repeat; }
.rfl-tk img { position: absolute; right: 4.4rem; top: -1.6rem; width: 5.1rem; filter: drop-shadow(0 .4rem .6rem rgba(0, 0, 0, .45)); }
.rfl-tk_main { padding: .7rem .8rem; border-right: 2px dashed rgba(43, 29, 0, .35); }
.rfl-tk small { display: block; font-size: .56rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.rfl-tk b { display: block; font-size: 1rem; }
.rfl-tk span { font: 700 .7rem/1.2 ui-monospace, Menlo, monospace; letter-spacing: .06em; }
.rfl-tk_stub { display: grid; place-items: center; font-size: .62rem; font-weight: 800; letter-spacing: .1em; writing-mode: vertical-rl; transform: rotate(180deg); }
.rfl-tk.is-day { transform: rotate(-22deg); background: linear-gradient(135deg, #bfe3ff, #4fb3ff); }
.rfl-tk.is-week { transform: rotate(-7deg); background: linear-gradient(135deg, #e3d4ff, #9b6bff); }
.rfl-tk.is-month { transform: rotate(8deg); background: linear-gradient(135deg, #ffd1e6, #ff5fa8); }
.rfl-tk.is-year { transform: rotate(23deg); animation: rflRise var(--T) ease-in-out infinite; }
.rfl-htoast { position: absolute; left: 1rem; bottom: 1rem; z-index: 3; display: flex; align-items: center; gap: .6rem; padding: .55rem .8rem; border-radius: .8rem; background: #fff6d6; color: #2b1d00; box-shadow: 0 1rem 2rem rgba(0, 0, 0, .4); font-size: .72rem; animation: rflToast var(--T) infinite; }
.rfl-htoast img { width: 1.8rem; }
.rfl-htoast b { display: block; font-size: .9rem; }
@keyframes rflRise { 0%, 100% { transform: rotate(23deg); } 40%, 62% { transform: rotate(17deg) translateY(-1.75rem) scale(1.06); } }
@keyframes rflToast { 0%, 30% { opacity: 0; transform: translateY(.5rem); } 38%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@keyframes rflFloat { 50% { transform: translateY(-6px); } }

/* #why: one ticket to every draw */
.rfl-split_body { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); align-items: center; gap: 1rem; }
.rfl-split_ticket { display: grid; justify-items: center; gap: .3rem; font-size: .72rem; color: var(--rfl-muted); }
.rfl-split_ticket img { width: 100%; filter: drop-shadow(0 .5rem 1rem rgba(255, 195, 77, .45)); animation: rflFloat 4s ease-in-out infinite; }
.rfl-split_rows { position: relative; display: grid; gap: .45rem; margin: 0; padding: 0 0 0 1rem; list-style: none; }
.rfl-split_rows::before { content: ""; position: absolute; left: 0; top: 1.2rem; bottom: 1.2rem; width: 2px; background: linear-gradient(180deg, #2ee6c5, #4fb3ff, #9b6bff, #ff5fa8, #ffc34d); }
.rfl-split_rows li { position: relative; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); align-items: center; gap: .65rem; padding: .45rem .65rem; border-radius: .75rem; background: var(--rfl-card); border: 1px solid color-mix(in srgb, var(--c) 45%, var(--rfl-line)); font-size: .8rem; animation: rflRow 5s ease-in-out infinite; }
.rfl-split_rows li::before { content: ""; position: absolute; left: -1rem; top: 50%; width: 1rem; height: 2px; background: var(--c); }
.rfl-split_rows li:nth-child(2) { animation-delay: .25s; } .rfl-split_rows li:nth-child(3) { animation-delay: .5s; } .rfl-split_rows li:nth-child(4) { animation-delay: .75s; } .rfl-split_rows li:nth-child(5) { animation-delay: 1s; }
.rfl-split_rows img { width: 2.6rem; height: 2.6rem; object-fit: contain; }
.rfl-split_rows b { display: block; font-weight: 600; }
.rfl-split_rows span { font-size: .7rem; color: var(--rfl-muted); }
@keyframes rflRow { 0%, 18%, 100% { box-shadow: none; } 8% { box-shadow: 0 0 1rem color-mix(in srgb, var(--c) 55%, transparent); } }

/* #draws, #prizes: cards */
.rfl-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.rfl-cards.is-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rfl-cards li { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem; border-radius: .875rem; background: #fff; border: 1px solid var(--sp-line, #e3e6f0); }
.rfl-cards li > b { font-weight: 600; }
.rfl-cards li > span { font-size: .9375rem; line-height: 1.5; color: #4a5068; }
.rfl-cards_art { position: relative; display: flex; align-items: flex-end; justify-content: flex-start; height: 6.5rem; margin-bottom: .25rem; padding: .5rem; border-radius: .7rem; background: var(--rfl-bg) center / cover no-repeat; color: #fff; font-family: "Lexend Deca", sans-serif; font-size: .8rem; overflow: hidden; }
.rfl-cards_art > span { padding: .2rem .55rem; border-radius: .45rem; background: rgba(7, 11, 31, .8); border: 1px solid var(--c, var(--rfl-line)); font-weight: 700; font-size: .72rem; }
.rfl-cards_art.is-prize { align-items: center; justify-content: center; flex-direction: column; gap: .35rem; background: radial-gradient(70% 80% at 50% 40%, #1f2356, var(--rfl-bg)); }
.rfl-cards_art.is-prize > img { height: 3.4rem; width: auto; object-fit: contain; }
.rfl-cards_art.is-prize > img.is-locked { filter: grayscale(.85) brightness(.6); }
.rfl-art_bar { display: grid; gap: .2rem; width: 75%; padding: 0; border: 0; background: none; }
.rfl-art_bar i { height: .4rem; border-radius: 999px; background: linear-gradient(90deg, #9b6bff var(--w), rgba(255, 255, 255, .1) var(--w)); }
.rfl-art_bar.is-me i { background: linear-gradient(90deg, #fff var(--w), rgba(255, 255, 255, .1) var(--w)); }
.rfl-art_bar em { font-style: normal; font-size: .62rem; color: var(--rfl-text); text-align: center; }
.rfl-art_lock { position: absolute; top: .45rem; left: .55rem; padding: 0; border: 0; background: none; font-size: 1rem; }
.rfl-art_pool { display: flex; gap: .15rem; padding: 0; border: 0; background: none; }
.rfl-art_pool img { width: 2.3rem; height: 2.3rem; object-fit: contain; }
.rfl-art_pool img.is-new { animation: rflNew 3s ease-in-out infinite; }
.rfl-art_tag { font-style: normal; font-size: .66rem; font-weight: 700; color: var(--rfl-gold); }
.rfl-art_order { display: flex; align-items: flex-end; gap: .5rem; padding: 0; border: 0; background: none; }
.rfl-art_order img { width: 2.2rem; height: 2.2rem; object-fit: contain; opacity: .7; }
.rfl-art_order img.is-last { width: 3.6rem; height: 3.6rem; opacity: 1; filter: drop-shadow(0 0 .8rem rgba(155, 107, 255, .7)); animation: rflFloat 3s ease-in-out infinite; }
@keyframes rflNew { 0%, 30% { opacity: 0; transform: scale(.4); } 45%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* #tickets: one deposit, the tickets it brings */
.rfl-calc { display: grid; gap: .45rem; }
.rfl-calc .rfl-panel_title { margin-bottom: .4rem; }
.rfl-calc_row { display: flex; justify-content: space-between; align-items: center; padding: .55rem .8rem; border-radius: .7rem; background: var(--rfl-card); border: 1px solid var(--rfl-line); font-size: .85rem; animation: rflStep 6s ease-in-out infinite; }
.rfl-calc_row b { font-size: 1rem; color: var(--rfl-gold); font-variant-numeric: tabular-nums; }
.rfl-calc_row.is-2 { animation-delay: .6s; } .rfl-calc_row.is-3 { animation-delay: 1.2s; } .rfl-calc_row.is-4 { animation-delay: 1.8s; }
.rfl-calc_sum { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; align-items: center; gap: .7rem; margin-top: .3rem; padding: .7rem .9rem; border-radius: .8rem; background: linear-gradient(90deg, rgba(255, 195, 77, .2), rgba(255, 195, 77, .04)); border: 1px solid rgba(255, 195, 77, .7); }
.rfl-calc_sum img { width: 2.4rem; }
.rfl-calc_sum b { font-size: 1.6rem; color: var(--rfl-gold); }
.rfl-calc_cap { justify-self: start; padding: .3rem .65rem; border-radius: 999px; background: rgba(46, 230, 197, .12); color: #2ee6c5; font-size: .72rem; }
@keyframes rflStep { 0%, 20%, 100% { border-color: var(--rfl-line); transform: none; } 8% { border-color: var(--rfl-gold); transform: translateX(4px); } }

/* #rules: the weekly draw */
.rfl-rules { padding: 0; overflow: hidden; }
.rfl-rules_head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: .8rem; min-height: 7.5rem; padding: 1rem 1.1rem; background: center / cover no-repeat; }
.rfl-rules_head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(7, 11, 31, .95)); }
.rfl-rules_head > * { position: relative; }
.rfl-rules_head b { font-size: 1.15rem; }
.rfl-rules_btn { padding: .35rem .75rem; border-radius: .6rem; border: 1px solid #9b6bff; color: #c9b3ff; font-size: .78rem; font-weight: 700; }
.rfl-rules_list { display: grid; gap: .4rem; margin: 0; padding: 1rem 1.1rem 1.2rem; list-style: none; font-size: .84rem; }
.rfl-rules_list li { display: flex; align-items: center; gap: .55rem; padding: .45rem .7rem; border-radius: .65rem; background: var(--rfl-card); }
.rfl-rules_list li::before { flex: none; display: grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 50%; font-size: .7rem; font-weight: 800; }
.rfl-rules_list .is-ok::before { content: "✓"; background: rgba(61, 220, 132, .18); color: var(--rfl-green); }
.rfl-rules_list .is-info::before { content: "1"; background: rgba(255, 195, 77, .18); color: var(--rfl-gold); }
.rfl-rules_list .is-no::before { content: "✕"; background: rgba(255, 138, 138, .16); color: var(--rfl-red); }

/* FAQ: the Webflow look, opened by js/raffle.js (no Webflow interaction for these items) */
.rfp-faq .faq-p-3 { height: 80px; transition: height .35s ease; }
.rfp-faq .faq-3 { position: relative; cursor: pointer; }
.rfp-faq .faq-icon { inset: 50% 0 auto auto; width: 24px; height: 24px; margin: -12px 0 0; filter: none; }
.rfp-faq .faq-icon::before, .rfp-faq .faq-icon::after { content: ""; position: absolute; left: 4px; right: 4px; top: 11px; height: 2px; border-radius: 2px; background: #181b2b; transition: transform .3s; }
.rfp-faq .faq-icon::after { transform: rotate(90deg); }
.rfp-faq .faq-p-3.is-open .faq-icon::after { transform: rotate(0); }

@media screen and (max-width: 991px) {
  .rfp-grid { grid-template-columns: minmax(0, 1fr); } .rfp-sim { position: static; }
  .rfl-cards, .rfl-cards.is-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 600px) {
  .rfl-cards, .rfl-cards.is-5 { grid-template-columns: minmax(0, 1fr); }
  .rfl-hero { height: 20rem; }
  .rfl-tk { left: -6.6rem; width: 13.2rem; }
  .rfl-split_body { grid-template-columns: 4.5rem minmax(0, 1fr); gap: .6rem; }
  .rfp-widget { min-height: 56rem; }
}
@media (prefers-reduced-motion: reduce) {
  .rfl-hero *, .rfl-panel *, .rfl-cards * { animation: none !important; transition: none !important; }
  .rfl-htoast { opacity: 1; }
}
