/* MEGA ROBUX WEB V3.7.1 — ROBLOX PLUS */
:root{
  --rbxp-purple:#a9a9a9;
  --rbxp-purple-2:#c9c9c9;
  --rbxp-black:#080808;
  --rbxp-card:#121212;
  --rbxp-line:rgba(255, 255, 255,.075);
  --rbxp-soft:rgba(169, 169, 169,.14);
}

/* ---------- HOME ---------- */
body.market-v3{
  background:
    radial-gradient(circle at 16% 0%,rgba(169, 169, 169,.14),transparent 28%),
    radial-gradient(circle at 86% 14%,rgba(255, 255, 255,.05),transparent 20%),
    linear-gradient(180deg,#0b0b0b 0%,#080808 100%);
}

.market-hero{
  border-color:rgba(169, 169, 169,.16)!important;
  box-shadow:0 28px 70px rgba(0, 0, 0,.24)!important;
}
.market-hero::before{
  content:"";
  position:absolute;
  left:-52px;
  bottom:-74px;
  width:270px;
  height:270px;
  background:
    url('assets/robux-stack.svg') 22% 34%/82px 82px no-repeat,
    url('assets/roblox-mark.svg') 68% 66%/62px 62px no-repeat,
    radial-gradient(circle,rgba(169, 169, 169,.16),transparent 68%);
  opacity:.34;
  transform:rotate(12deg);
  pointer-events:none;
}
.market-hero-copy{position:relative;z-index:2}
.market-hero-copy h1 span{
  text-shadow:0 0 34px rgba(169, 169, 169,.18);
}
.market-buybox{
  position:relative;
  overflow:hidden;
}
.market-buybox::after{
  content:"";
  position:absolute;
  right:-22px;
  bottom:-24px;
  width:118px;
  height:118px;
  background:url('assets/robux-stack.svg') center/contain no-repeat;
  opacity:.08;
  transform:rotate(-10deg);
  pointer-events:none;
}
.buybox-options button img{
  filter:drop-shadow(0 6px 10px rgba(0, 0, 0,.24));
}
.buybox-options button:hover{
  border-color:rgba(169, 169, 169,.28)!important;
  transform:translateY(-2px);
}

/* more visual Roblox strip */
.rbx-play-strip article{
  position:relative;
  overflow:hidden;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.rbx-play-strip article::after{
  content:"";
  position:absolute;
  right:-14px;
  bottom:-18px;
  width:66px;
  height:66px;
  background:url('assets/robux-stack.svg') center/contain no-repeat;
  opacity:.07;
  transform:rotate(10deg);
}
.rbx-play-strip article:hover{
  transform:translateY(-3px);
  border-color:rgba(169, 169, 169,.24);
  background:linear-gradient(180deg,rgba(169, 169, 169,.08),rgba(255, 255, 255,.02));
}

/* visual use-cases */
.rbx-use-showcase{
  padding:74px 0 22px;
}
.rbx-use-heading{
  max-width:720px;
  margin-bottom:24px;
}
.rbx-use-heading>span{
  display:inline-block;
  color:#c2c2c2;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  margin-bottom:9px;
}
.rbx-use-heading h2{
  margin:0;
  font-size:clamp(34px,4.6vw,54px);
  line-height:1.02;
  letter-spacing:-.045em;
}
.rbx-use-heading p{
  max-width:570px;
  margin:12px 0 0;
  color:#a2a2a2;
  font-size:14px;
  line-height:1.7;
}
.rbx-use-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.rbx-use-card{
  position:relative;
  min-height:330px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  overflow:hidden;
  padding:20px;
  border:1px solid var(--rbxp-line);
  border-radius:24px;
  background:
    linear-gradient(180deg,rgba(255, 255, 255,.045),rgba(255, 255, 255,.015)),
    linear-gradient(145deg,rgba(169, 169, 169,.09),transparent 44%),
    #101010;
  box-shadow:0 20px 38px rgba(0, 0, 0,.15);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.rbx-use-card:hover{
  transform:translateY(-5px);
  border-color:rgba(169, 169, 169,.28);
  box-shadow:0 26px 48px rgba(0, 0, 0,.22);
}
.rbx-use-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(255, 255, 255,.025) 1px,transparent 1px),
    linear-gradient(rgba(255, 255, 255,.025) 1px,transparent 1px);
  background-size:30px 30px;
  opacity:.16;
  pointer-events:none;
}
.rbx-use-art{
  position:relative;
  min-height:164px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:radial-gradient(circle at center,rgba(169, 169, 169,.18),rgba(169, 169, 169,.02) 58%,transparent 76%);
}
.rbx-use-art>img{
  width:86px;
  height:86px;
  object-fit:contain;
  filter:drop-shadow(0 16px 24px rgba(0, 0, 0,.28));
  position:relative;
  z-index:2;
}
.avatar-card .rbx-use-art>img{width:74px;height:74px}
.items-card .rbx-use-art>img{width:82px;height:82px;border-radius:22px}
.float-robux{
  position:absolute;
  display:block;
  opacity:.66;
  filter:drop-shadow(0 10px 18px rgba(0, 0, 0,.18));
}
.float-robux img{width:100%;height:100%;object-fit:contain}
.float-one{width:48px;height:48px;right:28px;top:20px;transform:rotate(13deg)}
.float-two{width:52px;height:52px;left:26px;bottom:20px;transform:rotate(-11deg)}
.float-three{width:42px;height:42px;right:28px;bottom:24px;transform:rotate(8deg)}
.rbx-use-card>div:last-child{position:relative;z-index:2}
.rbx-use-card small{
  display:block;
  color:#c2c2c2;
  font-size:9px;
  font-weight:800;
  letter-spacing:.12em;
}
.rbx-use-card strong{
  display:block;
  margin-top:7px;
  color:#ffffff;
  font-size:20px;
  line-height:1.15;
  letter-spacing:-.025em;
}
.rbx-use-card>div:last-child>span{
  display:block;
  margin-top:8px;
  color:#9c9c9c;
  font-size:12px;
  line-height:1.55;
}

/* package cards get extra depth */
.market-pricing .market-product-card{
  position:relative;
  overflow:hidden;
}
.market-pricing .market-product-card::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:-26px!important;
  bottom:-36px!important;
  width:118px!important;
  height:118px!important;
  background:url('assets/roblox-mark.svg') center/contain no-repeat!important;
  opacity:.045!important;
  transform:rotate(-12deg)!important;
  pointer-events:none!important;
}
.market-pricing .market-product-card.featured::before{opacity:.075!important}
.market-pricing .product-mark{
  box-shadow:inset 0 0 0 1px rgba(255, 255, 255,.02),0 8px 18px rgba(0, 0, 0,.14);
}

/* ---------- CLIENT CENTER ---------- */
.client-clean-dashboard{
  background:
    radial-gradient(circle at 12% 0%,rgba(169, 169, 169,.10),transparent 26%),
    linear-gradient(180deg,#090909,#070707)!important;
}
.client-clean-dashboard .client-topbar{
  border-bottom-color:rgba(255, 255, 255,.065)!important;
}
.client-clean-dashboard .clean-dashboard-hero{
  grid-template-columns:minmax(0,1fr) auto!important;
  padding:28px 30px!important;
  background:
    radial-gradient(circle at 88% 22%,rgba(169, 169, 169,.13),transparent 28%),
    linear-gradient(180deg,rgba(255, 255, 255,.04),rgba(255, 255, 255,.018))!important;
  box-shadow:0 20px 44px rgba(0, 0, 0,.15)!important;
}
.client-clean-dashboard .clean-dashboard-hero::before{
  content:"";
  position:absolute;
  right:152px;
  bottom:-26px;
  width:92px;
  height:92px;
  background:url('assets/roblox-mark.svg') center/contain no-repeat;
  opacity:.055;
  transform:rotate(12deg);
}
.client-clean-dashboard .clean-account-avatar{
  border:1px solid rgba(169, 169, 169,.28)!important;
  box-shadow:0 10px 26px rgba(0, 0, 0,.26),0 0 0 4px rgba(169, 169, 169,.055)!important;
}
.client-clean-dashboard .clean-account-copy h1 span{
  text-shadow:0 0 26px rgba(169, 169, 169,.18);
}
.client-clean-dashboard .client-hero-pills{
  grid-column:1/-1;
  margin-top:0;
  padding-top:2px;
}
.client-clean-dashboard .client-hero-pills span{
  padding:8px 12px;
  background:rgba(255, 255, 255,.04);
  border-color:rgba(255, 255, 255,.065);
}

/* summary cards with Roblox imagery */
.client-clean-dashboard .clean-summary-item,
.client-clean-dashboard .clean-last-order{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(255, 255, 255,.032),rgba(255, 255, 255,.014))!important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.client-clean-dashboard .clean-summary-item:hover,
.client-clean-dashboard .clean-last-order:hover{
  transform:translateY(-2px);
  border-color:rgba(169, 169, 169,.20)!important;
  background:linear-gradient(180deg,rgba(169, 169, 169,.06),rgba(255, 255, 255,.014))!important;
}
.client-clean-dashboard .clean-summary-item::after,
.client-clean-dashboard .clean-last-order::after{
  content:"";
  position:absolute;
  right:12px;
  top:12px;
  width:34px;
  height:34px;
  opacity:.08;
  background:url('assets/robux-stack.svg') center/contain no-repeat;
}
.client-clean-dashboard .clean-summary-item:nth-child(2)::after{background-image:url('assets/delivery-box.svg')}
.client-clean-dashboard .clean-summary-item:nth-child(3)::after{background-image:url('assets/roblox-mark.svg')}
.client-clean-dashboard .clean-last-order::after{background-image:url('assets/mega-robux-black-silver-banner-v426.webp');border-radius:9px}

/* visual shortcuts */
.client-clean-dashboard .client-game-actions{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.client-clean-dashboard .client-game-action{
  min-width:0;
  display:grid;
  grid-template-columns:44px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border:1px solid rgba(255, 255, 255,.07);
  border-radius:15px;
  background:
    linear-gradient(180deg,rgba(255, 255, 255,.03),rgba(255, 255, 255,.012)),
    #0f0f0f;
  color:#ffffff;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.client-clean-dashboard .client-game-action:hover{
  transform:translateY(-2px);
  border-color:rgba(169, 169, 169,.22);
  background:linear-gradient(180deg,rgba(169, 169, 169,.07),rgba(255, 255, 255,.012));
}
.client-clean-dashboard .client-game-icon{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:rgba(169, 169, 169,.08);
  border:1px solid rgba(169, 169, 169,.12);
}
.client-clean-dashboard .client-game-icon img{width:24px;height:24px;object-fit:contain}
.client-clean-dashboard .client-game-action>span:nth-child(2){min-width:0}
.client-clean-dashboard .client-game-action small{
  display:block;
  color:#979797;
  font-size:7px;
  font-weight:800;
  letter-spacing:.11em;
}
.client-clean-dashboard .client-game-action strong{
  display:block;
  margin-top:4px;
  color:#ffffff;
  font-size:11px;
}
.client-clean-dashboard .client-game-action em{
  display:block;
  margin-top:2px;
  color:#7b7b7b;
  font-size:8px;
  font-style:normal;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.client-clean-dashboard .client-game-action>b{
  color:#979797;
  font-size:16px;
}

/* orders prettier */
.client-clean-dashboard .clean-orders-heading{
  padding-top:10px;
}
.client-clean-dashboard .orders-panel,
.client-clean-dashboard .clean-order-details{
  box-shadow:0 18px 36px rgba(0, 0, 0,.13)!important;
}
.client-clean-dashboard .order-row{
  border:1px solid rgba(255, 255, 255,.055)!important;
  background:rgba(255, 255, 255,.012)!important;
}
.client-clean-dashboard .order-row:hover{
  border-color:rgba(169, 169, 169,.16)!important;
  background:rgba(169, 169, 169,.035)!important;
}
.client-clean-dashboard .order-row.selected{
  border-color:rgba(169, 169, 169,.24)!important;
  background:rgba(169, 169, 169,.055)!important;
}
.client-clean-dashboard .order-product-icon,
.client-clean-dashboard .details-summary-icon{
  background:rgba(169, 169, 169,.07)!important;
  border-color:rgba(169, 169, 169,.15)!important;
}
.client-clean-dashboard .clean-order-details{
  position:sticky!important;
  overflow:hidden;
}
.client-clean-dashboard .clean-order-details::after{
  content:"";
  position:absolute;
  right:-28px;
  bottom:-30px;
  width:112px;
  height:112px;
  background:url('assets/robux-stack.svg') center/contain no-repeat;
  opacity:.04;
  pointer-events:none;
}
.client-clean-dashboard .clean-dashboard-footer{
  padding:18px 20px!important;
  border:1px solid rgba(255, 255, 255,.06)!important;
  border-radius:14px!important;
  background:rgba(255, 255, 255,.014)!important;
}

/* login page also feels part of the same product */
.guest-auth-card::before{
  content:"";
  position:absolute;
  left:-22px;
  top:-22px;
  width:86px;
  height:86px;
  background:url('assets/roblox-mark.svg') center/contain no-repeat;
  opacity:.055;
  transform:rotate(-10deg);
}
.auth-shield{
  box-shadow:0 12px 28px rgba(0, 0, 0,.20),0 0 0 5px rgba(169, 169, 169,.05)!important;
}

@media(max-width:980px){
  .rbx-use-grid{grid-template-columns:1fr 1fr}
  .rbx-use-card:last-child{grid-column:1/-1;min-height:250px}
  .client-clean-dashboard .client-game-actions{grid-template-columns:1fr 1fr}
  .client-clean-dashboard .client-game-action:last-child{grid-column:1/-1}
}

@media(max-width:720px){
  .rbx-use-showcase{padding-top:54px}
  .rbx-use-grid{grid-template-columns:1fr}
  .rbx-use-card,.rbx-use-card:last-child{grid-column:auto;min-height:286px}
  .market-hero::before{width:170px;height:170px;left:-54px;bottom:-42px}
  .client-clean-dashboard .client-game-actions{grid-template-columns:1fr}
  .client-clean-dashboard .client-game-action:last-child{grid-column:auto}
  .client-clean-dashboard .clean-dashboard-hero{padding:20px!important}
  .client-clean-dashboard .client-hero-pills{gap:7px}
  .client-clean-dashboard .client-hero-pills span{padding:7px 10px;font-size:10px}
  .client-clean-dashboard .clean-dashboard-footer{padding:16px!important}
}

@media(prefers-reduced-motion:reduce){
  .rbx-use-card,.rbx-play-strip article,.client-game-action,.order-row{transition:none!important}
}
