/* MEGA ROBUX WEB V3.6.0 — ROBLOX STORE VISUAL */

:root{
  --mrx-bg:#080808;
  --mrx-surface:#121212;
  --mrx-surface-2:#161616;
  --mrx-line:rgba(178, 178, 178,.20);
  --mrx-line-soft:rgba(255, 255, 255,.06);
  --mrx-text:#f8f8f8;
  --mrx-muted:#d4d4d4;
  --mrx-purple:#b2b2b2;
  --mrx-purple-2:#9d9d9d;
  --mrx-glow:0 18px 50px rgba(157, 157, 157,.22);
}

/* Global atmosphere */
body.market-v3,
body.delivery-page,
body.client-body{
  background:
    radial-gradient(circle at 14% 0%, rgba(157, 157, 157,.14), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(178, 178, 178,.10), transparent 26%),
    linear-gradient(180deg, #0a0a0a 0%, #090909 35%, #080808 100%);
}

body.market-v3::before,
body.delivery-page::before,
body.client-body::before{
  content:"";
  position:fixed;
  inset:0;
  background-image:
    radial-gradient(circle at center, rgba(255, 255, 255,.07) 0 1.4px, transparent 1.6px),
    linear-gradient(90deg, rgba(255, 255, 255,.02) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255,.02) 1px, transparent 1px);
  background-size:120px 120px, 48px 48px, 48px 48px;
  background-position:center center, center center, center center;
  opacity:.14;
  pointer-events:none;
  mask-image:linear-gradient(180deg, rgba(0, 0, 0,.9), rgba(0, 0, 0,.5) 60%, transparent 100%);
}

.market-statusbar{
  background:linear-gradient(90deg, rgba(178, 178, 178,.14), rgba(157, 157, 157,.12));
  border-bottom:1px solid rgba(178, 178, 178,.22);
}
.market-statusbar .shell span{color:#ededed}
.market-statusbar .shell span i{box-shadow:0 0 0 6px rgba(206, 206, 206,.12)}

.market-header{
  background:rgba(10, 10, 10,.86);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255, 255, 255,.05);
}
.market-brand .brand-mark,
.brand .brand-mark{
  box-shadow:0 10px 26px rgba(0, 0, 0,.24);
}
.market-brand .brand-text small,
.brand .brand-text small{
  letter-spacing:.18em;
  color:#cfcfcf;
}
.market-nav a.active,
.market-nav a:hover{color:#ffffff}
.market-actions .market-account,
.btn-account{
  background:rgba(255, 255, 255,.04);
  border:1px solid rgba(255, 255, 255,.06);
}

/* Hero */
.market-hero{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  border:1px solid rgba(178, 178, 178,.14);
  border-radius:32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255,.03), rgba(255, 255, 255,.015)),
    radial-gradient(circle at 18% 18%, rgba(178, 178, 178,.12), transparent 30%),
    radial-gradient(circle at 82% 20%, rgba(157, 157, 157,.12), transparent 28%),
    linear-gradient(135deg, rgba(18, 18, 18,.94), rgba(10, 10, 10,.92));
  box-shadow:var(--mrx-glow);
}
.market-hero::before{
  content:"";
  position:absolute;
  right:-28px;
  top:40px;
  width:360px;
  height:360px;
  background-image:url('assets/robux-stack.svg'),url('assets/robux-stack.svg'),url('assets/roblox-mark.svg');
  background-repeat:no-repeat,no-repeat,no-repeat;
  background-size:112px 112px, 86px 86px, 74px 74px;
  background-position:22px 34px, 190px 110px, 136px 218px;
  opacity:.22;
  transform:rotate(-10deg);
  pointer-events:none;
  filter:drop-shadow(0 16px 28px rgba(0, 0, 0,.2));
}
.market-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(transparent 0%, rgba(0, 0, 0,.04) 100%),
    linear-gradient(90deg, rgba(255, 255, 255,.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255,.04) 1px, transparent 1px);
  background-size:auto, 56px 56px, 56px 56px;
  opacity:.12;
  pointer-events:none;
}
.market-hero-copy,
.market-buybox{position:relative;z-index:1}
.market-badge{
  background:rgba(178, 178, 178,.14);
  border:1px solid rgba(178, 178, 178,.24);
  box-shadow:0 10px 24px rgba(0, 0, 0,.18);
}
.market-hero-copy h1{
  max-width:12ch;
  text-shadow:0 8px 28px rgba(0, 0, 0,.18);
}
.market-hero-copy h1 span{
  color:#dbdbdb;
}
.market-hero-copy p{max-width:62ch;color:#d7d7d7}
.market-hero-actions .btn-primary{
  box-shadow:0 14px 32px rgba(157, 157, 157,.28);
}
.market-proof-pills span{
  background:rgba(255, 255, 255,.04);
  border:1px solid rgba(255, 255, 255,.06);
}
.market-proof-pills span img{width:18px;height:18px;opacity:.96}
.market-trust-row div{
  background:rgba(255, 255, 255,.03);
  border:1px solid rgba(255, 255, 255,.06);
  box-shadow:0 12px 24px rgba(0, 0, 0,.12);
}
.market-trust-row div img{width:28px;height:28px}

.market-buybox{
  background:
    linear-gradient(180deg, rgba(255, 255, 255,.05), rgba(255, 255, 255,.025)),
    linear-gradient(155deg, rgba(178, 178, 178,.12), transparent 42%),
    rgba(18, 18, 18,.96);
  border:1px solid rgba(178, 178, 178,.18);
  box-shadow:0 18px 48px rgba(0, 0, 0,.24);
}
.market-buybox::before{
  content:"";
  position:absolute;
  right:20px;
  top:18px;
  width:72px;
  height:72px;
  background:url('assets/robux-stack.svg') center/contain no-repeat;
  opacity:.10;
  pointer-events:none;
}
.buybox-head span,
.buybox-safe span strong,
.buybox-online{color:#ececec}
.buybox-proof-row span{
  background:rgba(255, 255, 255,.04);
  border:1px solid rgba(255, 255, 255,.05);
}
.buybox-options button{
  background:rgba(255, 255, 255,.035);
  border:1px solid rgba(255, 255, 255,.06);
}
.buybox-options button span img{width:20px;height:20px;opacity:1}
.buybox-options button.featured{
  border-color:rgba(178, 178, 178,.34);
  box-shadow:0 14px 28px rgba(157, 157, 157,.18);
}

.market-flow{
  position:relative;
  overflow:hidden;
}
.market-flow::before{
  content:"";
  position:absolute;
  left:50%;
  top:14px;
  width:520px;
  height:220px;
  transform:translateX(-50%);
  background-image:url('assets/roblox-mark.svg'),url('assets/robux-stack.svg');
  background-repeat:no-repeat,no-repeat;
  background-size:76px 76px, 90px 90px;
  background-position:12% 62%, 88% 10%;
  opacity:.08;
  pointer-events:none;
}
.market-flow-inner>div,
.market-security-grid article,
.market-delivery-grid a,
.market-confidence-grid article,
.market-final-cta{
  background:linear-gradient(180deg, rgba(255, 255, 255,.04), rgba(255, 255, 255,.02));
  border:1px solid rgba(255, 255, 255,.06);
  box-shadow:0 14px 28px rgba(0, 0, 0,.14);
}
.market-security-grid article img,
.market-delivery-grid a img,
.market-confidence-grid article img,
.market-final-cta img{
  filter:drop-shadow(0 8px 14px rgba(0, 0, 0,.12));
}
.market-security-grid article::before,
.market-delivery-grid a::before,
.market-confidence-grid article::before{
  content:"";
  position:absolute;
  right:14px;
  top:14px;
  width:56px;
  height:56px;
  background:url('assets/robux-stack.svg') center/contain no-repeat;
  opacity:.06;
  pointer-events:none;
}
.market-security-grid article,
.market-delivery-grid a,
.market-confidence-grid article{position:relative;overflow:hidden}
.market-delivery-grid a:hover,
.market-security-grid article:hover,
.market-confidence-grid article:hover,
.market-pricing .market-product-card:hover{
  border-color:rgba(178, 178, 178,.24);
  box-shadow:0 18px 34px rgba(157, 157, 157,.14);
}

.market-store .market-section-head,
.market-delivery .market-section-head,
.market-confidence .market-section-head,
.faq-section .market-section-head{
  position:relative;
}
.market-base,
.market-custom,
.market-final-cta{
  border-color:rgba(178, 178, 178,.16);
}
.market-custom{
  background:
    linear-gradient(180deg, rgba(255, 255, 255,.04), rgba(255, 255, 255,.02)),
    radial-gradient(circle at 85% 25%, rgba(178, 178, 178,.12), transparent 24%),
    rgba(18, 18, 18,.86);
}
.market-custom-copy img{width:56px;height:56px}
.market-custom-control input{
  background:rgba(255, 255, 255,.03);
  border:1px solid rgba(255, 255, 255,.08);
}

.market-pricing .market-product-card{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255,.04), rgba(255, 255, 255,.018)),
    linear-gradient(160deg, rgba(178, 178, 178,.08), transparent 40%),
    rgba(18, 18, 18,.92);
  border:1px solid rgba(255, 255, 255,.06);
}
.market-pricing .market-product-card::after{
  content:"";
  position:absolute;
  right:-8px;
  top:-8px;
  width:74px;
  height:74px;
  background:url('assets/robux-stack.svg') center/contain no-repeat;
  opacity:.08;
  transform:rotate(12deg);
}
.market-pricing .market-product-card .product-mark{
  background:rgba(255, 255, 255,.04);
  border:1px solid rgba(255, 255, 255,.06);
}
.market-pricing .market-product-card .product-buy{
  box-shadow:none;
}

.market-delivery-grid a em,
.market-confidence-grid article span,
.market-security-grid article b{color:#dbdbdb}
.market-final-cta{
  overflow:hidden;
  background:
    linear-gradient(90deg, rgba(178, 178, 178,.10), rgba(255, 255, 255,.03)),
    rgba(18, 18, 18,.94);
}
.market-final-cta::after{
  content:"";
  position:absolute;
  right:22px;
  bottom:-12px;
  width:132px;
  height:132px;
  background:url('assets/robux-stack.svg') center/contain no-repeat;
  opacity:.09;
}

.market-footer{
  background:linear-gradient(180deg, rgba(255, 255, 255,.01), rgba(255, 255, 255,.02));
  border-top:1px solid rgba(255, 255, 255,.06);
}
.market-footer-main strong{color:#f1f1f1}
.market-footer a,
.market-footer button,
.market-footer p,
.market-footer-bottom{color:#c5c5c5}

/* Delivery page */
.delivery-page .announcement{
  background:linear-gradient(90deg, rgba(178, 178, 178,.15), rgba(157, 157, 157,.12));
  border-bottom:1px solid rgba(178, 178, 178,.20);
}
.delivery-page .hero-card,
.delivery-page .delivery-grid article,
.delivery-page .delivery-step-card,
.delivery-page .delivery-note,
.delivery-page .delivery-cta-card{
  background:linear-gradient(180deg, rgba(255, 255, 255,.04), rgba(255, 255, 255,.02));
  border:1px solid rgba(255, 255, 255,.06);
  box-shadow:0 14px 28px rgba(0, 0, 0,.14);
}
.delivery-page .hero-card::after,
.delivery-page .delivery-cta-card::after{
  content:"";
  position:absolute;
  right:16px;
  top:16px;
  width:64px;
  height:64px;
  background:url('assets/robux-stack.svg') center/contain no-repeat;
  opacity:.07;
}

/* Client pages */
.client-body .client-topbar{
  background:rgba(10, 10, 10,.84);
  border-bottom:1px solid rgba(255, 255, 255,.06);
}
.client-body .guest-auth-card,
.client-body .sidebar-user-premium,
.client-body .metric-card,
.client-body .orders-panel,
.client-body .order-details,
.client-body .storage-notice,
.client-body .client-loading-card{
  background:linear-gradient(180deg, rgba(255, 255, 255,.045), rgba(255, 255, 255,.02));
  border:1px solid rgba(255, 255, 255,.06);
  box-shadow:0 14px 28px rgba(0, 0, 0,.16);
}
.client-body .guest-auth-card,
.client-body .client-loading-card,
.client-body .orders-panel,
.client-body .order-details{position:relative;overflow:hidden}
.client-body .guest-auth-card::after,
.client-body .client-loading-card::after,
.client-body .orders-panel::after{
  content:"";
  position:absolute;
  right:16px;
  top:16px;
  width:66px;
  height:66px;
  background:url('assets/robux-stack.svg') center/contain no-repeat;
  opacity:.07;
}
.client-body .sidebar-nav a.active,
.client-body .sidebar-nav a:hover{
  background:rgba(178, 178, 178,.10);
  border-color:rgba(178, 178, 178,.22);
}
.client-body .client-buy-top,
.client-body .hero-primary-cta,
.client-body .metric-action,
.client-body .support-cta-primary{box-shadow:none}
.client-body .guest-copy h1 span,
.client-body .client-hero h1 span{color:#dbdbdb}
.client-body .metric-card .metric-icon,
.client-body .order-state.pending,
.client-body .status-badge.pending{box-shadow:none}

/* Mobile refinements */
@media (max-width: 1024px){
  .market-hero{border-radius:28px}
  .market-hero::before{width:260px;height:260px;background-size:86px 86px,70px 70px,58px 58px;background-position:14px 22px, 132px 88px, 92px 158px}
}
@media (max-width: 760px){
  body.market-v3::before,
  body.delivery-page::before,
  body.client-body::before{background-size:96px 96px, 34px 34px, 34px 34px;opacity:.11}
  .market-statusbar .shell{gap:10px}
  .market-hero{border-radius:22px}
  .market-hero::before{right:-18px;top:auto;bottom:26px;width:180px;height:180px;background-size:58px 58px,48px 48px,42px 42px;background-position:8px 16px, 82px 56px, 52px 102px;opacity:.18}
  .market-trust-row div,
  .market-proof-pills span{backdrop-filter:none}
  .market-final-cta::after{width:88px;height:88px;right:12px}
}
