/*
 * RobloxPets — Weekly Giveaway (Phase D rebuild).
 * On the shared design system (Support/homepage/wheel): navy gradient, grid +
 * diagonal texture, .rbp-card panels, Manrope, gold/blue + a violet "Hall of
 * Fame" accent. Self-contained scope on .rbp-wg (renders in its own <main>).
 */

body.rbp-weekly-giveaway-body {
  background:
    radial-gradient(1000px 600px at 50% -8%, rgba(96, 165, 250, .16), transparent 62%),
    radial-gradient(900px 620px at 0% 4%, rgba(59, 130, 246, .12), transparent 58%),
    radial-gradient(900px 640px at 100% 2%, rgba(139, 92, 246, .14), transparent 58%),
    linear-gradient(180deg, #040912 0%, #050d1f 60%, #060f22 100%);
  background-attachment: fixed;
}

.rbp-wg, .rbp-wg * { box-sizing: border-box; }
.rbp-wg {
  --line: rgba(96, 165, 250, .16);
  --line-strong: rgba(96, 165, 250, .34);
  --text: #e6edf7;
  --muted: #9aa9c2;
  --blue: #3b82f6;
  --blue-2: #5bb7ff;
  --green: #10b981;
  --gold: #ffd76a;
  --gold-2: #e6a700;
  --violet: #a78bfa;
  --violet-2: #c4b5fd;

  position: relative;
  min-height: 100vh;
  /* This <main> gets NO theme header padding, so clear the fixed header here. */
  padding-top: calc(var(--rbp-fixed-main-h, var(--rbp-h-main-d, 88px)) + clamp(16px, 2.5vw, 30px));
  padding-bottom: clamp(48px, 7vw, 90px);
  color: var(--text);
  font-family: Manrope, Chivo, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
  isolation: isolate;
}
.rbp-wg.rbp-wg :is(h1, h2, h3, h4) { color: #fff !important; margin: 0; }
.rbp-wg :where(section, div, header, p, h1, h2, h3, h4) { min-width: 0; }
.rbp-wg svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* page texture */
.rbp-wg::before, .rbp-wg::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.rbp-wg::before {
  background-image:
    linear-gradient(to right, rgba(96, 165, 250, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(96, 165, 250, .05) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 6%, #000 32%, transparent 76%);
  mask-image: radial-gradient(ellipse at 50% 6%, #000 32%, transparent 76%);
}
.rbp-wg::after { background-image: repeating-linear-gradient(135deg, rgba(96, 165, 250, .03) 0 1px, transparent 1px 18px); }

.rbp-wg-shell { position: relative; z-index: 1; width: min(100%, 1300px); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.rbp-wg > section { position: relative; z-index: 1; }
.rbp-wg-shell + .rbp-wg-shell, .rbp-wg-hero + .rbp-wg-shell { margin-top: clamp(20px, 3vw, 34px); }

/* shared card + tags */
.rbp-card, .rbp-wg-panel, .rbp-wg-status-card, .rbp-wg-draw-panel, .rbp-wg-order-row, .rbp-wg-winner-row, .rbp-wg-faq-grid article, .rbp-wg-trust > div {
  position: relative; border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(180deg, rgba(20, 38, 80, .5), rgba(10, 21, 48, .5));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 20px 54px -30px rgba(2, 6, 18, .95);
  backdrop-filter: blur(8px);
}
.rbp-wg-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8ec3ff; background: rgba(59, 130, 246, .12); border: 1px solid var(--line-strong); }
.rbp-wg-tag svg { font-size: 15px; }
.rbp-wg-tag b { color: #fff; font-weight: 800; background: rgba(255, 255, 255, .1); padding: 2px 8px; border-radius: 999px; letter-spacing: .04em; }
.rbp-wg-tag--amber { color: var(--gold); background: rgba(230, 167, 0, .12); border-color: rgba(255, 215, 120, .3); }
.rbp-wg-tag--purple { color: var(--violet-2); background: rgba(139, 92, 246, .14); border-color: rgba(167, 139, 250, .34); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.rbp-wg-hero { padding-bottom: clamp(8px, 1.5vw, 16px); }
.rbp-wg-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 940px) { .rbp-wg-hero-grid { grid-template-columns: 1fr; } }
.rbp-wg-hero-copy h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.02; letter-spacing: -.025em; margin: clamp(20px, 2.4vw, 30px) 0 14px; }
.rbp-wg-hero-copy h1 span { background: linear-gradient(90deg, #5bb7ff, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rbp-wg-hero-copy > p { color: var(--muted); font-size: clamp(15px, 1.7vw, 17px); line-height: 1.6; max-width: 560px; }

.rbp-wg-countdown-block { margin-top: 22px; }
.rbp-wg-countdown-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.rbp-wg-countdown-head span { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 12px; color: #8ec3ff; }
.rbp-wg-countdown-head time { color: #cfe0ff; font-weight: 600; }
.rbp-wg-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rbp-wg-countdown span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; border-radius: 14px; background: linear-gradient(180deg, rgba(59, 130, 246, .12), rgba(2, 6, 18, .34)); border: 1px solid var(--line); }
.rbp-wg-countdown b { font-size: clamp(24px, 4vw, 34px); font-weight: 800; color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rbp-wg-countdown small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.rbp-wg-status-card { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; padding: 16px 18px; margin-top: 20px; }
.rbp-wg-status-card span { grid-row: span 2; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(96, 165, 250, .14); border: 1px solid var(--line); color: var(--blue-2); font-size: 20px; }
.rbp-wg-status-card strong { color: #fff; font-size: 15px; }
.rbp-wg-status-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.rbp-wg-status-card.is-good span { background: rgba(16, 185, 129, .16); border-color: rgba(16, 185, 129, .34); color: #7ff0c2; }

.rbp-wg-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.rbp-wg-cta {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  padding: 14px 26px; border-radius: 14px; font-weight: 800; font-size: 15px;
  color: #fff; background: linear-gradient(180deg, #5bb7ff, #3b82f6);
  box-shadow: 0 16px 38px -14px rgba(59, 130, 246, .85), inset 0 1px 0 rgba(255, 255, 255, .32);
  transition: transform .12s ease, filter .2s ease;
}
.rbp-wg-cta svg { font-size: 18px; }
.rbp-wg-cta, .rbp-wg-cta:link, .rbp-wg-cta:visited, .rbp-wg-cta:hover, .rbp-wg-cta:focus { color: #fff !important; text-decoration: none !important; }
.rbp-wg-cta:hover { transform: translateY(-1px); filter: brightness(1.06); }
.rbp-wg-cta.is-entered { background: linear-gradient(180deg, rgba(16, 185, 129, .22), rgba(16, 185, 129, .12)); border: 1px solid rgba(16, 185, 129, .4); box-shadow: none; }
.rbp-wg-cta.is-entered, .rbp-wg-cta.is-entered:hover { color: #b8f5d8 !important; }
.rbp-wg-entry-note { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.rbp-wg-entry-note i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(16, 185, 129, .18); }
.rbp-wg-entry-note b { color: #fff; }

.rbp-wg-draw-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: 12px; color: var(--muted); }
.rbp-wg-draw-meta span { display: inline-flex; gap: 5px; }
.rbp-wg-draw-meta b { color: #cfe0ff; font-weight: 700; }

/* prize showcase — unboxed: the prize floats concentric inside the orbit rings */
.rbp-wg-prize-showcase { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0; background: none; border: 0; box-shadow: none; }
.rbp-wg-live-chip { position: absolute; top: 4px; right: clamp(0px, 3vw, 24px); z-index: 4; display: flex; flex-direction: column; align-items: flex-end; padding: 8px 13px; border-radius: 12px; background: rgba(2, 6, 18, .55); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.rbp-wg-live-chip small { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rbp-wg-live-chip strong { font-size: 20px; color: #fff; font-variant-numeric: tabular-nums; }

/* square stage keeps the rings + orb perfectly concentric */
.rbp-wg-prize-stage { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin: 0 auto; }
.rbp-wg-prize-stage::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle at 50% 44%, rgba(139, 92, 246, .34), rgba(91, 183, 255, .14) 46%, transparent 70%); filter: blur(8px); z-index: 0; }
.rbp-wg-prize-orbit { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; }
.rbp-wg-prize-orbit span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(139, 92, 246, .22); }
.rbp-wg-prize-orbit span:nth-child(1) { width: 58%; height: 58%; border-color: rgba(96, 165, 250, .22); animation: rbp-wg-spin 26s linear infinite; }
.rbp-wg-prize-orbit span:nth-child(2) { width: 80%; height: 80%; border-style: dashed; border-color: rgba(167, 139, 250, .22); animation: rbp-wg-spin 40s linear infinite reverse; }
.rbp-wg-prize-orbit span:nth-child(3) { width: 100%; height: 100%; border-color: rgba(255, 215, 120, .14); }
@keyframes rbp-wg-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.rbp-wg-prize-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; width: 52%; height: 52%; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 44% 32%, rgba(91, 183, 255, .3), rgba(6, 14, 32, .35) 72%); box-shadow: inset 0 2px 20px rgba(255, 255, 255, .12), inset 0 -12px 34px -8px rgba(139, 92, 246, .5); }
.rbp-wg-prize-core img { width: 92%; height: 92%; object-fit: contain; filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .55)); }
.rbp-wg-prize-core > span { font-size: 74px; color: var(--gold); filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .5)); }
.rbp-wg-prize-chip { position: relative; z-index: 2; text-align: center; }
.rbp-wg-prize-chip small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8ec3ff; }
.rbp-wg-prize-chip strong { display: block; font-size: clamp(20px, 2.6vw, 26px); color: #fff; margin: 5px 0 2px; letter-spacing: -.01em; }
.rbp-wg-prize-chip em { font-style: normal; font-size: 13.5px; color: var(--muted); }

/* hero stat chips (tickets / win chance / pool) + urgency banner */
.rbp-wg-hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.rbp-wg-hero-stats > div { flex: 1 1 130px; padding: 13px 16px; border-radius: 14px; background: linear-gradient(180deg, rgba(59, 130, 246, .1), rgba(2, 6, 18, .32)); border: 1px solid var(--line); }
.rbp-wg-hero-stats b { display: block; font-size: 24px; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rbp-wg-hero-stats small { display: block; margin-top: 5px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rbp-wg-hero-stats > div.is-good { border-color: rgba(16, 185, 129, .32); background: linear-gradient(180deg, rgba(16, 185, 129, .14), rgba(2, 18, 14, .34)); }
.rbp-wg-hero-stats > div.is-good b { color: #7ff0c2; }
.rbp-wg-reminder { display: flex; align-items: center; gap: 11px; margin-top: 18px; padding: 13px 16px; border-radius: 14px; background: rgba(230, 167, 0, .12); border: 1px solid rgba(255, 215, 120, .3); color: #ffe6a0; font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.rbp-wg-reminder svg { flex: none; font-size: 19px; color: var(--gold); }

/* ── Live draw / reveal panel ─────────────────────────────────────────── */
.rbp-wg-draw-panel { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(20px, 3vw, 30px); overflow: hidden; }
.rbp-wg-draw-panel::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; background: radial-gradient(600px 200px at 30% 0%, rgba(139, 92, 246, .22), transparent 60%); transition: opacity .5s; }
.rbp-wg-draw-panel.is-active::before, .rbp-wg-draw-panel.is-drawing::before { opacity: 1; }
.rbp-wg-draw-panel > div { position: relative; z-index: 1; }
.rbp-wg-draw-panel [data-rbp-wg-draw-tag] { margin-bottom: 12px; }
.rbp-wg-draw-panel strong { display: block; font-size: clamp(24px, 4vw, 40px); font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.05; }
.rbp-wg-draw-panel.is-drawing strong { color: var(--violet-2); text-shadow: 0 0 24px rgba(167, 139, 250, .5); animation: rbp-wg-flick .09s steps(1) infinite; }
@keyframes rbp-wg-flick { 50% { opacity: .82; } }
.rbp-wg-draw-panel p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.rbp-wg-draw-panel > b { position: relative; z-index: 1; flex: none; align-self: stretch; display: grid; place-items: center; padding: 0 24px; border-radius: 16px; font-size: 15px; font-weight: 800; color: #052e22; background: linear-gradient(180deg, var(--gold), var(--gold-2)); box-shadow: 0 16px 36px -16px rgba(230, 167, 0, .8); text-align: center; }
.rbp-wg-draw-panel.is-drawing [data-rbp-wg-draw-tag] { animation: rbp-wg-pulse 1s ease-in-out infinite; }
@keyframes rbp-wg-pulse { 50% { opacity: .55; } }

/* ── Section heads ────────────────────────────────────────────────────── */
.rbp-wg-section-head { margin-bottom: 20px; }
.rbp-wg-section-head span { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #6db0ff; }
.rbp-wg-section-head h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -.02em; margin: 8px 0 8px; }
.rbp-wg-section-head p { color: var(--muted); font-size: 14px; max-width: 620px; line-height: 1.55; margin: 0; }

/* ── Ticket track + orders ────────────────────────────────────────────── */
.rbp-wg-ticket-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 10px; margin-bottom: 18px; }
.rbp-wg-ticket-track span { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 14px 8px; border-radius: 14px; border: 1px dashed var(--line-strong); background: rgba(2, 6, 18, .3); color: var(--muted); }
.rbp-wg-ticket-track span b { font-size: 16px; font-weight: 800; color: #cfe0ff; }
.rbp-wg-ticket-track span small { font-size: 10.5px; letter-spacing: .04em; }
.rbp-wg-ticket-track span.is-filled { border-style: solid; border-color: rgba(16, 185, 129, .4); background: linear-gradient(180deg, rgba(16, 185, 129, .16), rgba(2, 18, 14, .4)); color: #b8f5d8; }
.rbp-wg-ticket-track span.is-filled b { color: #fff; }

.rbp-wg-order-list { display: grid; gap: 10px; }
.rbp-wg-order-row { display: grid; grid-template-columns: auto 1fr auto auto auto auto; align-items: center; gap: 8px 16px; padding: 14px 16px; border-radius: 14px; }
.rbp-wg-order-ticket { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(96, 165, 250, .14); border: 1px solid var(--line); color: #cfe0ff; font-weight: 800; font-size: 14px; }
.rbp-wg-order-main strong { color: #fff; font-size: 14px; display: block; }
.rbp-wg-order-main small { color: var(--muted); font-size: 12px; }
.rbp-wg-order-status { font-size: 12px; color: #b8f5d8; background: rgba(16, 185, 129, .14); border: 1px solid rgba(16, 185, 129, .28); padding: 4px 10px; border-radius: 999px; }
.rbp-wg-order-row time { font-size: 12px; color: var(--muted); }
.rbp-wg-order-row em { font-style: normal; font-size: 12px; color: #8ec3ff; }
.rbp-wg-order-row b { color: #fff; font-weight: 800; font-size: 14px; }
.rbp-wg-order-row b .woocommerce-Price-amount, .rbp-wg-order-row b bdi { color: #fff; }
@media (max-width: 720px) { .rbp-wg-order-row { grid-template-columns: auto 1fr auto; } .rbp-wg-order-row time, .rbp-wg-order-row em { display: none; } }

.rbp-wg-empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 28px; border-radius: 16px; border: 1px dashed var(--line-strong); background: rgba(2, 6, 18, .3); color: var(--muted); }
.rbp-wg-empty-state svg, .rbp-wg-empty-state > span svg { font-size: 30px; color: var(--blue-2); }
.rbp-wg-empty-state strong { color: #fff; font-size: 15px; }
.rbp-wg-empty-state p { margin: 0; font-size: 13px; }
.rbp-wg-empty-state em { font-style: normal; font-size: 12px; color: #8ec3ff; margin-top: 4px; }
.rbp-wg-empty-state--inline { flex-direction: row; text-align: left; gap: 14px; }
.rbp-wg-empty-state--inline svg { flex: none; }

/* ── Midgrid: tiers + winners ─────────────────────────────────────────── */
.rbp-wg-midgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
@media (max-width: 900px) { .rbp-wg-midgrid { grid-template-columns: 1fr; } }
.rbp-wg-panel { padding: clamp(22px, 2.6vw, 30px); }
.rbp-wg-panel h2 { font-size: clamp(19px, 2.4vw, 24px); letter-spacing: -.01em; margin: 12px 0 8px; }
.rbp-wg-panel > p { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 0 0 16px; }

.rbp-wg-tier-meter { height: 8px; border-radius: 999px; background: rgba(2, 6, 18, .5); border: 1px solid var(--line); overflow: hidden; margin-bottom: 16px; }
.rbp-wg-tier-meter i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--blue-2)); transition: width .5s ease; }
.rbp-wg-tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 10px; }
.rbp-wg-tier-grid span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px; border-radius: 13px; border: 1px solid var(--line); background: rgba(2, 6, 18, .3); text-align: center; }
.rbp-wg-tier-grid span b { font-size: 13px; font-weight: 800; color: #cfe0ff; }
.rbp-wg-tier-grid span strong { font-size: 20px; color: #fff; }
.rbp-wg-tier-grid span small { font-size: 10.5px; color: var(--muted); }
.rbp-wg-tier-grid span.is-active { border-color: rgba(255, 215, 120, .34); background: linear-gradient(180deg, rgba(230, 167, 0, .14), rgba(2, 6, 18, .4)); }
.rbp-wg-tier-grid span.is-active strong, .rbp-wg-tier-grid span.is-active b { color: var(--gold); }
.rbp-wg-tier-note { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(2, 6, 18, .3); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.rbp-wg-tier-note svg { flex: none; font-size: 18px; color: var(--blue-2); }

.rbp-wg-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rbp-wg-panel-head a { color: var(--violet-2); font-weight: 700; font-size: 13px; text-decoration: none; }
.rbp-wg-panel-head a:hover { color: #fff; }
.rbp-wg-winner-list { display: grid; gap: 10px; }
.rbp-wg-winner-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 14px; padding: 12px 14px; border-radius: 14px; }
.rbp-wg-winner-row > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(139, 92, 246, .14); border: 1px solid rgba(167, 139, 250, .3); color: var(--violet-2); font-size: 22px; overflow: hidden; }
.rbp-wg-winner-row > span img { width: 100%; height: 100%; object-fit: cover; }
.rbp-wg-winner-row strong { color: #fff; font-size: 14px; }
.rbp-wg-winner-row strong small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; margin-top: 2px; }
.rbp-wg-winner-row code { font-family: ui-monospace, monospace; font-size: 11px; color: #cfe0ff; background: rgba(2, 6, 18, .5); border: 1px solid var(--line); padding: 4px 8px; border-radius: 8px; }
.rbp-wg-winner-row em { grid-column: 1 / -1; font-style: normal; font-size: 12px; color: var(--muted); }

/* ── Trust + FAQ + final CTA ──────────────────────────────────────────── */
.rbp-wg-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .rbp-wg-trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .rbp-wg-trust { grid-template-columns: 1fr; } }
.rbp-wg-trust > div { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.rbp-wg-trust svg { font-size: 24px; color: var(--blue-2); }
.rbp-wg-trust strong { color: #fff; font-size: 14.5px; }
.rbp-wg-trust span { color: var(--muted); font-size: 13px; line-height: 1.5; }

.rbp-wg-faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 760px) { .rbp-wg-faq-grid { grid-template-columns: 1fr; } }
.rbp-wg-faq-grid article { padding: 20px; }
.rbp-wg-faq-grid strong { display: block; color: #fff; font-size: 15px; margin-bottom: 6px; }
.rbp-wg-faq-grid p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

.rbp-wg-final-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: clamp(24px, 3vw, 36px); border-radius: 22px; border: 1px solid var(--line-strong); background: radial-gradient(120% 140% at 100% 0%, rgba(139, 92, 246, .2), transparent 55%), linear-gradient(180deg, rgba(20, 38, 80, .55), rgba(10, 21, 48, .55)); }
.rbp-wg-final-cta strong { display: block; color: #fff; font-size: clamp(20px, 2.6vw, 26px); letter-spacing: -.01em; }
.rbp-wg-final-cta p { margin: 8px 0 0; color: var(--muted); font-size: 14px; max-width: 560px; }

/* ── History page ─────────────────────────────────────────────────────── */
.rbp-wg-history-page { padding-top: 8px; }
.rbp-wg-backlink { display: inline-flex; align-items: center; gap: 8px; color: #8ec3ff; text-decoration: none; font-weight: 700; font-size: 13px; margin-bottom: 16px; }
.rbp-wg-backlink svg { transform: rotate(180deg); font-size: 16px; }
.rbp-wg-history-page h1 { font-size: clamp(30px, 5vw, 48px); letter-spacing: -.02em; margin: 14px 0 12px; }
.rbp-wg-history-page > p { color: var(--muted); font-size: 15px; max-width: 620px; margin-bottom: 24px; }
.rbp-wg-winner-list--history { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

/* ── Overlays / toast / polling ───────────────────────────────────────── */
.rbp-wg-refresh-overlay { position: fixed; inset: 0; z-index: 99998; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; background: rgba(2, 6, 18, .8); backdrop-filter: blur(6px); color: #fff; }
.rbp-wg-refresh-overlay.is-visible { display: flex; }
.rbp-wg-refresh-overlay span { width: 40px; height: 40px; border-radius: 50%; border: 3px solid rgba(96, 165, 250, .25); border-top-color: var(--blue-2); animation: rbp-wg-spin 1s linear infinite; }
.rbp-wg-refresh-overlay small { color: var(--muted); }
.rbp-wg-update-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px); z-index: 99999; display: flex; flex-direction: column; gap: 2px; padding: 14px 20px; border-radius: 14px; background: rgba(10, 21, 48, .95); border: 1px solid var(--line-strong); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); opacity: 0; transition: opacity .22s, transform .22s; }
.rbp-wg-update-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.rbp-wg-update-toast strong { color: #fff; font-size: 14px; }
.rbp-wg-update-toast span { color: var(--muted); font-size: 12.5px; }

/* confetti canvas is created by JS (#rbp-wg-confetti) and needs no styling */
@media (prefers-reduced-motion: reduce) {
  .rbp-wg-prize-orbit span, .rbp-wg-draw-panel.is-drawing strong, .rbp-wg-draw-panel.is-drawing [data-rbp-wg-draw-tag], .rbp-wg-refresh-overlay span { animation: none !important; }
}
