/* Buy gift cards with crypto — pillar + bitcoin/USDT support pages */

.cs-bgc-crypto {
  --cs-bgc-ink: #0f172a;
  --cs-bgc-navy: #0b1f3a;
  --cs-bgc-blue: #1677ff;
  --cs-bgc-blue-deep: #0d5fd4;
  --cs-bgc-muted: #64748b;
  --cs-bgc-line: #e2e8f0;
  --cs-bgc-soft: #f4f7fb;
  --cs-bgc-btc: #f7931a;
  color: var(--cs-bgc-ink);
  background: #fff;
}

.cs-bgc-crypto *,
.cs-bgc-crypto *::before,
.cs-bgc-crypto *::after {
  box-sizing: border-box;
}

.cs-bgc-crypto__wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.cs-bgc-crypto-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(22, 119, 255, 0.12);
  border: 1px solid rgba(22, 119, 255, 0.28);
  color: #e8f1ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cs-bgc-crypto-hero {
  background:
    radial-gradient(ellipse 70% 55% at 15% 10%, rgba(22, 119, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 45% at 90% 20%, rgba(247, 147, 26, 0.16), transparent 50%),
    linear-gradient(160deg, #050a14 0%, #0a1730 48%, #07101f 100%);
  color: #fff;
  padding: 36px 0 48px;
}

.cs-bgc-crypto-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 36px;
  align-items: center;
}

.cs-bgc-crypto-hero__title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.cs-bgc-crypto-hero__lead {
  margin: 0 0 22px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #c9d8e8;
  max-width: 38rem;
}

.cs-bgc-crypto-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 14px;
}

.cs-bgc-crypto-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.cs-bgc-crypto-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.cs-bgc-crypto-btn--primary {
  background: var(--cs-bgc-blue);
  color: #fff;
}

.cs-bgc-crypto-btn--primary:hover {
  background: var(--cs-bgc-blue-deep);
  color: #fff;
}

.cs-bgc-crypto-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.cs-bgc-crypto-btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

.cs-bgc-crypto-btn--ink {
  background: var(--cs-bgc-ink);
  color: #fff;
}

.cs-bgc-crypto-btn--ink:hover {
  background: #1e293b;
  color: #fff;
}

.cs-bgc-crypto-btn--outline {
  background: #fff;
  border-color: var(--cs-bgc-line);
  color: var(--cs-bgc-ink);
}

.cs-bgc-crypto-btn--outline:hover {
  border-color: var(--cs-bgc-blue);
  color: var(--cs-bgc-blue-deep);
}

.cs-bgc-crypto-note {
  margin: 10px 0 0;
  font-size: 13px;
  color: #94a3b8;
}

.cs-bgc-crypto-flow {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
}

.cs-bgc-crypto-flow__step {
  margin: 0;
  font-size: 14px;
  color: #cbd5e1;
}

.cs-bgc-crypto-flow__arrow {
  margin: 8px 0;
  color: var(--cs-bgc-btc);
  font-weight: 700;
}

.cs-bgc-crypto-flow__card {
  margin: 10px auto 0;
  max-width: 220px;
  padding: 14px 12px;
  border-radius: 12px;
  background: #fff;
  color: var(--cs-bgc-ink);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.cs-bgc-crypto-flow__card strong {
  display: block;
  font-size: 18px;
}

.cs-bgc-crypto-flow__card span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #166534;
  font-weight: 700;
}

.cs-bgc-crypto-section {
  padding: 56px 0;
}

.cs-bgc-crypto-section--soft {
  background: var(--cs-bgc-soft);
}

.cs-bgc-crypto-section--ink {
  background: linear-gradient(160deg, #0b1f3a, #102a4a);
  color: #fff;
}

.cs-bgc-crypto-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cs-bgc-blue-deep);
}

.cs-bgc-crypto-section--ink .cs-bgc-crypto-kicker {
  color: #93c5fd;
}

.cs-bgc-crypto-title {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--cs-bgc-ink);
}

.cs-bgc-crypto-section--ink .cs-bgc-crypto-title {
  color: #fff;
}

.cs-bgc-crypto-sub {
  margin: 0 0 22px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--cs-bgc-muted);
  max-width: 46rem;
}

.cs-bgc-crypto-section--ink .cs-bgc-crypto-sub {
  color: #c9d8e8;
}

.cs-bgc-crypto-prose p {
  margin: 0 0 14px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #334155;
}

.cs-bgc-crypto-prose p:last-child {
  margin-bottom: 0;
}

.cs-bgc-crypto-head--center {
  text-align: center;
  margin: 0 auto 28px;
}

.cs-bgc-crypto-head--center .cs-bgc-crypto-sub {
  margin-left: auto;
  margin-right: auto;
}

.cs-bgc-crypto-math {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-bgc-crypto-math li {
  background: #fff;
  border: 1px solid var(--cs-bgc-line);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
}

.cs-bgc-crypto-math dt,
.cs-bgc-crypto-math .lbl {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--cs-bgc-muted);
  margin-bottom: 6px;
}

.cs-bgc-crypto-math dd,
.cs-bgc-crypto-math .val {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cs-bgc-ink);
}

.cs-bgc-crypto-math .val--save {
  color: #166534;
}

.cs-bgc-crypto-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: csbgc;
}

.cs-bgc-crypto-step {
  background: #fff;
  border: 1px solid var(--cs-bgc-line);
  border-radius: 14px;
  padding: 18px 16px;
  counter-increment: csbgc;
}

.cs-bgc-crypto-step::before {
  content: "Step " counter(csbgc);
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--cs-bgc-blue-deep);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cs-bgc-crypto-step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--cs-bgc-ink);
}

.cs-bgc-crypto-step p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--cs-bgc-muted);
}

.cs-bgc-crypto-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.cs-bgc-crypto-split--flip {
  grid-template-columns: 0.9fr 1.1fr;
}

.cs-bgc-crypto-split--flip > :first-child {
  order: 2;
}

.cs-bgc-crypto-timeline {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-left: 3px solid #bfdbfe;
}

.cs-bgc-crypto-timeline li {
  position: relative;
  padding: 0 0 22px 22px;
}

.cs-bgc-crypto-timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cs-bgc-blue);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #bfdbfe;
}

.cs-bgc-crypto-timeline strong {
  display: block;
  font-size: 0.95rem;
  color: var(--cs-bgc-ink);
}

.cs-bgc-crypto-timeline span {
  display: block;
  margin-top: 4px;
  font-size: 0.92rem;
  color: var(--cs-bgc-muted);
  line-height: 1.5;
}

.cs-bgc-crypto-warn {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.95rem;
  line-height: 1.55;
}

.cs-bgc-crypto-grid-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 18px;
}

.cs-bgc-crypto-search {
  flex: 1 1 240px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--cs-bgc-line);
  border-radius: 10px;
  font-size: 15px;
}

.cs-bgc-crypto-cat {
  margin: 28px 0 0;
}

.cs-bgc-crypto-cat h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--cs-bgc-navy);
}

.cs-bgc-crypto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-bgc-crypto-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
  padding: 14px 12px;
  border: 1px solid var(--cs-bgc-line);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: #0b1f3a !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.cs-bgc-crypto-grid a:link,
.cs-bgc-crypto-grid a:visited,
.cs-bgc-crypto-grid a:hover,
.cs-bgc-crypto-grid a:focus,
.cs-bgc-crypto-grid a:active {
  color: #0b1f3a !important;
  text-decoration: none;
}

.cs-bgc-crypto-grid a:hover,
.cs-bgc-crypto-grid a:focus {
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.cs-bgc-crypto-tile__art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding: 0;
  margin: 0 0 10px;
  background: transparent !important;
  border: 0;
}

.cs-bgc-crypto-tile__art img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Many gift-card assets ship with a light grey plate; blend it into the white tile. */
  mix-blend-mode: multiply;
  background: transparent;
}

.cs-bgc-crypto-tile__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--cs-bgc-soft);
  color: var(--cs-bgc-navy);
  font-weight: 800;
  font-size: 18px;
}

.cs-bgc-crypto-tile__label {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: #0b1f3a !important;
}

.cs-bgc-crypto-tile__status {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--cs-bgc-muted);
}

.cs-bgc-crypto-tile__status.is-live {
  color: #166534;
}

.cs-bgc-crypto-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.cs-bgc-crypto-pills a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--cs-bgc-line);
  background: #fff;
  color: var(--cs-bgc-ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.cs-bgc-crypto-pills a:hover {
  border-color: var(--cs-bgc-blue);
  color: var(--cs-bgc-blue-deep);
  text-decoration: none;
}

.cs-bgc-crypto-faq details {
  border: 1px solid var(--cs-bgc-line);
  border-radius: 12px;
  background: #fff;
  margin: 0 0 10px;
  padding: 12px 14px;
}

.cs-bgc-crypto-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--cs-bgc-ink);
}

.cs-bgc-crypto-faq details p {
  margin: 10px 0 0;
  color: #475569;
  line-height: 1.6;
}

.cs-bgc-crypto-ways {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.cs-bgc-crypto-ways li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px;
}

.cs-bgc-crypto-ways a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.cs-bgc-crypto-ways a:hover {
  text-decoration: underline;
}

.cs-bgc-crypto-ways span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #cbd5e1;
}

.cs-bgc-crypto-founder {
  background: #fff;
  border: 1px solid var(--cs-bgc-line);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
}

.cs-bgc-crypto-founder__quote {
  margin: 16px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--cs-bgc-btc);
  background: #fffaf3;
  color: #7c2d12;
  font-size: 1.02rem;
  line-height: 1.6;
}

.is-hidden-tile {
  display: none !important;
}

@media (max-width: 900px) {
  .cs-bgc-crypto-hero__grid,
  .cs-bgc-crypto-split,
  .cs-bgc-crypto-split--flip,
  .cs-bgc-crypto-steps,
  .cs-bgc-crypto-math {
    grid-template-columns: 1fr;
  }

  .cs-bgc-crypto-split--flip > :first-child {
    order: 0;
  }

  .cs-bgc-crypto-section {
    padding: 40px 0;
  }
}

@media (max-width: 560px) {
  .cs-bgc-crypto-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Legacy class aliases used by bitcoin/USDT slim layout */
.cs-crypto-page .cs-crypto-tile__art,
.cs-bgc-crypto .cs-crypto-tile__art {
  background: transparent !important;
  border-bottom: 0 !important;
  min-height: 64px;
  padding: 0;
}

.cs-crypto-page .cs-crypto-tile__label,
.cs-bgc-crypto .cs-crypto-tile__label {
  color: #0f172a !important;
  padding: 0;
}
