/* MEGA ROBUX V4.0.0 — premium card effects */
/* Adds subtle blue glow, premium featured card treatment, and a refined hover state
   without changing layout, prices, or payment logic. */
html[data-theme] .market-pricing .market-product-card {
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease;
}
html[data-theme] .market-pricing .market-product-card::marker { content: none; }
html[data-theme] .market-pricing .market-product-card::after {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255,.04);
}
html[data-theme] .market-pricing .market-product-card::selection { background: rgba(157, 157, 157,.24); }
html[data-theme] .market-pricing .market-product-card::before {
  transition: opacity .24s ease, transform .26s ease, filter .24s ease;
}
html[data-theme] .market-pricing .market-product-card:hover {
  transform: translateY(-7px) scale(1.012);
}
html[data-theme="dark"] .market-pricing .market-product-card:hover {
  border-color: rgba(164, 164, 164,.44)!important;
  box-shadow:
    0 18px 44px rgba(13, 13, 13, .42),
    0 0 0 1px rgba(157, 157, 157, .16),
    0 0 34px rgba(157, 157, 157, .13)!important;
}
html[data-theme="light"] .market-pricing .market-product-card:hover {
  border-color: rgba(157, 157, 157,.34)!important;
  box-shadow:
    0 18px 40px rgba(84, 84, 84, .12),
    0 0 0 1px rgba(160, 160, 160, .10),
    0 0 28px rgba(157, 157, 157, .10)!important;
}
html[data-theme] .market-pricing .market-product-card:hover::before {
  transform: scale(1.085);
}
html[data-theme="dark"] .market-pricing .market-product-card:hover::before { opacity: .25!important; }
html[data-theme="light"] .market-pricing .market-product-card:hover::before { opacity: .135!important; }

/* soft animated blue sheen */
html[data-theme] .market-pricing .market-product-card .mr400-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
}
html[data-theme] .market-pricing .market-product-card .mr400-sheen::before {
  content: "";
  position: absolute;
  top: -25%;
  bottom: -25%;
  left: -55%;
  width: 46%;
  transform: rotate(14deg);
  background: linear-gradient(90deg, transparent, rgba(209, 209, 209,.08), rgba(255, 255, 255,.18), rgba(209, 209, 209,.08), transparent);
  transition: transform .8s ease, left .8s ease, opacity .2s ease;
  opacity: .45;
}
html[data-theme] .market-pricing .market-product-card:hover .mr400-sheen::before {
  left: 112%;
}
html[data-theme="light"] .market-pricing .market-product-card .mr400-sheen::before {
  background: linear-gradient(90deg, transparent, rgba(188, 188, 188,.10), rgba(255, 255, 255,.26), rgba(188, 188, 188,.10), transparent);
  opacity: .56;
}

/* button hover refinement */
html[data-theme] .market-pricing .market-product-card .product-buy {
  transition: transform .18s ease, box-shadow .22s ease, filter .18s ease, background .22s ease;
}
html[data-theme] .market-pricing .market-product-card:hover .product-buy {
  transform: translateY(-1px);
}
html[data-theme="dark"] .market-pricing .market-product-card:hover .product-buy {
  box-shadow: 0 10px 20px rgba(157, 157, 157, .22);
}
html[data-theme="light"] .market-pricing .market-product-card:hover .product-buy {
  box-shadow: 0 10px 20px rgba(157, 157, 157, .16);
}

/* featured card = more premium */
html[data-theme] .market-pricing .market-product-card.featured {
  position: relative;
}
html[data-theme="dark"] .market-pricing .market-product-card.featured {
  border-color: rgba(175, 175, 175, .50)!important;
  box-shadow:
    0 22px 54px rgba(12, 12, 12, .46),
    0 0 0 1px rgba(163, 163, 163, .22),
    0 0 44px rgba(157, 157, 157, .20)!important;
}
html[data-theme="light"] .market-pricing .market-product-card.featured {
  border-color: rgba(158, 158, 158, .36)!important;
  box-shadow:
    0 18px 40px rgba(157, 157, 157, .14),
    0 0 0 1px rgba(160, 160, 160, .12),
    0 0 34px rgba(157, 157, 157, .12)!important;
}
html[data-theme] .market-pricing .market-product-card.featured::after {
  background-image:
    radial-gradient(circle at 20% 0%, rgba(182, 182, 182,.18), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255,.03), transparent 34%);
}
html[data-theme] .market-pricing .market-product-card.featured .card-tag {
  font-weight: 800!important;
  letter-spacing: .08em!important;
}
html[data-theme="dark"] .market-pricing .market-product-card.featured .card-tag {
  background: rgba(157, 157, 157, .34)!important;
  border-color: rgba(181, 181, 181, .36)!important;
  color: #f4f4f4!important;
  box-shadow: 0 0 0 1px rgba(182, 182, 182,.10), 0 10px 24px rgba(157, 157, 157,.16);
}
html[data-theme="light"] .market-pricing .market-product-card.featured .card-tag {
  background: rgba(240, 240, 240, .92)!important;
  border-color: rgba(163, 163, 163, .34)!important;
  color: #9d9d9d!important;
  box-shadow: 0 8px 20px rgba(157, 157, 157, .10);
}
html[data-theme] .market-pricing .market-product-card.featured .amount strong {
  letter-spacing: -.06em!important;
}
html[data-theme="dark"] .market-pricing .market-product-card.featured .amount strong {
  text-shadow: 0 0 26px rgba(157, 157, 157, .20), 0 4px 18px rgba(157, 157, 157,.22);
}
html[data-theme="light"] .market-pricing .market-product-card.featured .amount strong {
  text-shadow: 0 0 22px rgba(163, 163, 163, .12), 0 3px 14px rgba(157, 157, 157,.10);
}
html[data-theme] .market-pricing .market-product-card.featured .product-mark {
  transform: scale(1.02);
}
html[data-theme="dark"] .market-pricing .market-product-card.featured .product-mark {
  box-shadow: 0 0 0 1px rgba(172, 172, 172,.18), 0 12px 28px rgba(157, 157, 157,.18);
}
html[data-theme="light"] .market-pricing .market-product-card.featured .product-mark {
  box-shadow: 0 0 0 1px rgba(172, 172, 172,.12), 0 12px 24px rgba(157, 157, 157,.12);
}

/* reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  html[data-theme] .market-pricing .market-product-card,
  html[data-theme] .market-pricing .market-product-card::before,
  html[data-theme] .market-pricing .market-product-card .product-buy,
  html[data-theme] .market-pricing .market-product-card .mr400-sheen::before {
    transition: none!important;
  }
}
