/* ============================================================================
 * RobloxPets — How To Claim
 * Customer delivery guide. Dark-navy site theme, automated-delivery framing.
 * Palette is aligned to the canonical header tokens so the page sits 1:1 with
 * the homepage / game pages / wallet.
 * ========================================================================== */

/* --- Page shell + Breakdance/theme-leak guards -------------------------- */
.rbp-how-to-claim-body {
  margin: 0;
  background: #050e1b;
}
/* Neutralise the default theme wrapper + footer so no grey band leaks in. */
.rbp-how-to-claim-body,
.rbp-how-to-claim-body #page,
.rbp-how-to-claim-body .site,
.rbp-how-to-claim-body .wp-site-blocks,
.rbp-how-to-claim-body main {
  background-color: #050e1b;
}
.rbp-how-to-claim-body footer,
.rbp-how-to-claim-body .site-footer,
.rbp-how-to-claim-body #colophon,
.rbp-how-to-claim-body .wp-site-blocks > footer {
  background: #050e1b !important;
  color: #e7ecff !important;
}

/* --- Tokens (scoped to the page root) ----------------------------------- */
.rbp-htc {
  --bg: #050e1b;
  --panel: rgba(14, 24, 46, 0.72);
  --panel-2: rgba(20, 33, 60, 0.66);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(123, 166, 255, 0.30);
  --text: #e7ecff;
  --muted: #aab7da;
  --dim: #7a89ad;
  --accent: #3b82f6;
  --accent-2: #6db0ff;
  --accent-soft: rgba(59, 130, 246, 0.16);
  --accent-glow: rgba(59, 130, 246, 0.42);
  --green: #34d399;
  --cyan: #54d6ff;
  --violet: #a78bfa;
  --amber: #ffbd55;
  --red: #ff5f72;
  --radius: 18px;
  --radius-sm: 13px;
}

.rbp-htc,
.rbp-htc * {
  box-sizing: border-box;
}

.rbp-htc {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(18px, 2.6vw, 40px) 0 clamp(56px, 7vw, 96px);
  color: var(--text);
  font-family: Inter, "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background:
    radial-gradient(820px 520px at 70% -4%, rgba(59, 130, 246, 0.18), transparent 62%),
    radial-gradient(640px 460px at 6% 14%, rgba(84, 214, 255, 0.07), transparent 70%),
    linear-gradient(rgba(123, 166, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 166, 255, 0.028) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 46px 46px, 46px 46px, auto;
}
.rbp-htc::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 14, 27, 0) 0%, rgba(5, 14, 27, 0.55) 78%, var(--bg) 100%);
}

/* --- Shared primitives -------------------------------------------------- */
.rbp-htc-shell {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.rbp-htc svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.rbp-htc a {
  color: inherit;
  text-decoration: none;
}
.rbp-htc :is(a, button, summary):focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Heading colour guard — Breakdance's theme sets -webkit-text-fill-color on
   headings, which silently overrides a plain `color`. Force both (the old
   page relied on this) so headings never leak the theme's dark-grey. */
.rbp-htc h1,
.rbp-htc h2,
.rbp-htc h3 {
  margin: 0;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.rbp-htc h1 {
  margin-top: 14px;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.02;
  font-weight: 900;
  max-width: 16ch;
}
.rbp-htc h1 span {
  background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent !important;
  color: transparent;
}
.rbp-htc h2 {
  font-size: clamp(25px, 2.9vw, 38px);
  line-height: 1.08;
}
.rbp-htc h3 {
  font-size: 16px;
}
.rbp-htc p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.rbp-htc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rbp-htc-eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(109, 176, 255, 0.18);
}

/* Buttons */
.rbp-htc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.rbp-htc-btn svg { width: 17px; height: 17px; }
.rbp-htc-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(123, 166, 255, 0.5);
  background: rgba(255, 255, 255, 0.07);
}
.rbp-htc-btn--primary {
  border-color: transparent;
  background: linear-gradient(180deg, #4f93ff 0%, #2f6fe0 100%);
  color: #fff;
  box-shadow: 0 12px 30px -12px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.rbp-htc-btn--primary:hover {
  background: linear-gradient(180deg, #5b9bff 0%, #3577ec 100%);
  box-shadow: 0 16px 36px -12px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.rbp-htc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.rbp-htc-actions--compact { margin-top: 18px; }

/* Section rhythm */
.rbp-htc-section {
  margin-top: clamp(40px, 6vw, 84px);
}
.rbp-htc-section__head {
  max-width: 640px;
  margin-bottom: clamp(20px, 3vw, 34px);
}
.rbp-htc-section__head h2 { margin-top: 12px; }
.rbp-htc-section__head p { margin-top: 12px; font-size: 15.5px; }

/* ========================================================================== */
/* Hero                                                                       */
/* ========================================================================== */
.rbp-htc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 3.4vw, 56px);
  align-items: center;
  padding-top: clamp(8px, 2vw, 26px);
}
.rbp-htc-hero__copy p {
  margin-top: 18px;
  max-width: 52ch;
  font-size: clamp(15px, 1.15vw, 17px);
}
.rbp-htc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.rbp-htc-pills span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
}
.rbp-htc-pills svg { width: 15px; height: 15px; color: var(--accent-2); }

/* Hero tracker mock */
.rbp-htc-tracker {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(18px, 1.6vw, 24px);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(59, 130, 246, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(18, 30, 56, 0.92), rgba(9, 17, 35, 0.94));
  box-shadow: 0 32px 64px -28px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.rbp-htc-tracker__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rbp-htc-tracker__top > div span {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.rbp-htc-tracker__top > div strong {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
}
.rbp-htc-tracker__top b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.12);
  color: #7ff0c4;
  font-size: 12px;
  font-weight: 700;
}
.rbp-htc-tracker__top b i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
  animation: rbp-htc-pulse 1.8s ease-in-out infinite;
}
@keyframes rbp-htc-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.rbp-htc-tracker__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}
.rbp-htc-tracker__item > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.28), rgba(59, 130, 246, 0.1));
  color: var(--accent-2);
}
.rbp-htc-tracker__item > span svg { width: 21px; height: 21px; }
.rbp-htc-tracker__item strong { display: block; font-size: 14.5px; font-weight: 700; color: #fff; }
.rbp-htc-tracker__item em { font-style: normal; font-size: 12px; color: var(--dim); }
.rbp-htc-tracker__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.rbp-htc-tracker__details > div {
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}
.rbp-htc-tracker__details span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 4px;
}
.rbp-htc-tracker__details strong { font-size: 13px; font-weight: 700; color: #fff; }

.rbp-htc-tracker__rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 4px 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.rbp-htc-tracker__rail li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--dim);
  text-align: center;
}
.rbp-htc-tracker__rail li span {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.16);
  background: #0a1428;
  z-index: 1;
}
.rbp-htc-tracker__rail li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
}
.rbp-htc-tracker__rail li:first-child::before { display: none; }
.rbp-htc-tracker__rail li.is-done span,
.rbp-htc-tracker__rail li.is-active span {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16);
}
.rbp-htc-tracker__rail li.is-done::before,
.rbp-htc-tracker__rail li.is-active::before { background: var(--green); }
.rbp-htc-tracker__rail li.is-active b { color: #fff; }
.rbp-htc-tracker__rail li.is-done b { color: var(--muted); }

.rbp-htc-tracker__next {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
}
.rbp-htc-tracker__next > svg { width: 20px; height: 20px; color: var(--accent-2); margin-top: 1px; }
.rbp-htc-tracker__next strong { display: block; font-size: 13.5px; font-weight: 700; color: #fff; }
.rbp-htc-tracker__next span { font-size: 12.5px; color: var(--muted); }

/* ========================================================================== */
/* Reassurance strip                                                          */
/* ========================================================================== */
.rbp-htc-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.rbp-htc-highlight {
  display: flex;
  gap: 13px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.rbp-htc-highlight > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.26), rgba(59, 130, 246, 0.08));
  color: var(--accent-2);
}
.rbp-htc-highlight > span svg { width: 21px; height: 21px; }
.rbp-htc-highlight h3 { font-size: 15px; }
.rbp-htc-highlight p { margin-top: 5px; font-size: 13.5px; }

/* ========================================================================== */
/* Delivery methods                                                           */
/* ========================================================================== */
.rbp-htc-methods__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rbp-htc-method {
  --tone: var(--accent);
  --tone-2: var(--accent-2);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.rbp-htc-method::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tone), transparent 85%);
  opacity: 0.85;
}
.rbp-htc-method--mailbox { --tone: var(--green); --tone-2: #7ff0c4; }
.rbp-htc-method--trade   { --tone: var(--cyan);  --tone-2: #9be8ff; }
.rbp-htc-method--private { --tone: var(--violet); --tone-2: #c9b8ff; }
.rbp-htc-method__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.rbp-htc-method__ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: color-mix(in oklab, var(--tone) 18%, transparent);
  border: 1px solid color-mix(in oklab, var(--tone) 36%, transparent);
  color: var(--tone-2);
}
.rbp-htc-method__ico svg { width: 23px; height: 23px; }
.rbp-htc-method__tag {
  padding: 4px 11px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--tone) 14%, transparent);
  color: var(--tone-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.rbp-htc-method h3 { font-size: 18px; }
.rbp-htc-method__games {
  font-size: 12px;
  font-weight: 600;
  color: var(--dim);
  letter-spacing: 0.01em;
}
.rbp-htc-method p { margin-top: 4px; font-size: 13.5px; flex: 1 0 auto; }
.rbp-htc-method__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 700;
  width: max-content;
  max-width: 100%;
}
.rbp-htc-method__badge svg { width: 15px; height: 15px; color: var(--tone-2); }

/* ========================================================================== */
/* Split layout (prep + help)                                                 */
/* ========================================================================== */
.rbp-htc-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(22px, 3vw, 48px);
  align-items: start;
}
.rbp-htc-split h2 { margin-top: 12px; }
.rbp-htc-split > div > p { margin-top: 12px; font-size: 15px; }

/* Prep */
.rbp-htc-warning {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 189, 85, 0.32);
  border-radius: var(--radius-sm);
  background: rgba(255, 189, 85, 0.08);
}
.rbp-htc-warning > svg { width: 20px; height: 20px; color: var(--amber); margin-top: 1px; }
.rbp-htc-warning strong { display: block; font-size: 14px; color: #fff; }
.rbp-htc-warning span { font-size: 13px; color: var(--muted); }

.rbp-htc-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rbp-htc-check {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.rbp-htc-check:hover { border-color: var(--line-strong); transform: translateX(2px); }
.rbp-htc-check > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.24), rgba(59, 130, 246, 0.07));
  color: var(--accent-2);
}
.rbp-htc-check > span svg { width: 22px; height: 22px; }
.rbp-htc-check h3 { font-size: 15.5px; }
.rbp-htc-check p { margin-top: 5px; font-size: 13.5px; }

/* ========================================================================== */
/* Status guide                                                               */
/* ========================================================================== */
.rbp-htc-statuses {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.rbp-htc-status {
  --tone: var(--dim);
  display: flex;
  gap: 13px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--tone);
  border-radius: var(--radius-sm);
  background: var(--panel);
}
.rbp-htc-status--wait   { --tone: var(--amber); }
.rbp-htc-status--active { --tone: var(--accent); }
.rbp-htc-status--done   { --tone: var(--green); }
.rbp-htc-status--bad    { --tone: var(--red); }
.rbp-htc-status__dot {
  width: 11px;
  height: 11px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--tone);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--tone) 18%, transparent);
  flex: 0 0 auto;
}
.rbp-htc-status h3 { font-size: 15px; }
.rbp-htc-status p { margin-top: 4px; font-size: 13px; }

/* ========================================================================== */
/* Common questions (accordion)                                               */
/* ========================================================================== */
.rbp-htc-issues {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rbp-htc-issue {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.rbp-htc-issue[open] { border-color: var(--line-strong); }
.rbp-htc-issue summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
}
.rbp-htc-issue summary::-webkit-details-marker { display: none; }
.rbp-htc-issue__chev {
  position: relative;
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-right: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -3px;
}
.rbp-htc-issue[open] .rbp-htc-issue__chev { transform: rotate(225deg); margin-top: 3px; }
.rbp-htc-issue p {
  margin: 0;
  padding: 0 18px 17px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ========================================================================== */
/* Final CTA                                                                  */
/* ========================================================================== */
.rbp-htc-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 44px);
  flex-wrap: wrap;
  padding: clamp(26px, 3vw, 44px);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background:
    radial-gradient(120% 120% at 8% 0%, rgba(59, 130, 246, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(18, 30, 56, 0.78), rgba(9, 17, 35, 0.86));
}
.rbp-htc-cta h2 { margin-top: 12px; }
.rbp-htc-cta p { margin-top: 10px; max-width: 46ch; font-size: 15px; }
.rbp-htc-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ========================================================================== */
/* Responsive                                                                 */
/* ========================================================================== */
@media (max-width: 980px) {
  .rbp-htc-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .rbp-htc-hero__copy { order: 1; }
  .rbp-htc-tracker { order: 2; }
  .rbp-htc-methods__grid { grid-template-columns: 1fr; }
  .rbp-htc-highlights { grid-template-columns: 1fr; }
  .rbp-htc-split { grid-template-columns: 1fr; }
  .rbp-htc-statuses { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .rbp-htc-shell { width: calc(100% - 32px); }
  .rbp-htc h1 { font-size: clamp(30px, 9vw, 40px); max-width: none; }
  .rbp-htc-actions .rbp-htc-btn { flex: 1 1 auto; }
  .rbp-htc-tracker__details { grid-template-columns: 1fr; }
  .rbp-htc-tracker__rail li b { font-size: 9.5px; }
  .rbp-htc-cta { flex-direction: column; align-items: flex-start; }
  .rbp-htc-cta__actions { width: 100%; }
  .rbp-htc-cta__actions .rbp-htc-btn { flex: 1 1 calc(50% - 6px); }
}

@media (prefers-reduced-motion: reduce) {
  .rbp-htc-tracker__top b i { animation: none; }
  .rbp-htc * { transition: none !important; }
}
