/* PromptSolutions - Social Boost store design (v2, cinematic) */

@keyframes sbFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .sb-cat, .sb-hero { animation: none !important; } }

/* ---------- HERO ---------- */
.sb-hero {
  position: relative; overflow: hidden; margin-top: 26px;
  border-radius: 26px; padding: 46px 38px 40px; color: #fff;
  background: linear-gradient(120deg, #081C33 0%, #0B4E8A 48%, #1283E6 100%);
  box-shadow: 0 24px 50px -18px rgba(8, 40, 80, .45);
  animation: sbFadeUp .5s ease both;
}
.sb-hero-glow { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.sb-glow-a { width: 340px; height: 340px; right: -90px; top: -120px; background: rgba(64, 190, 255, .45); }
.sb-glow-b { width: 260px; height: 260px; left: -70px; bottom: -130px; background: rgba(140, 90, 255, .35); }
.sb-hero-inner { position: relative; z-index: 1; }
.sb-hero-split { display: grid; grid-template-columns: 1.12fr .88fr; gap: 30px; align-items: center; }
.sb-hero-side {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.24); border-radius: 18px;
  padding: 18px 18px 14px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.sb-side-head { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.sb-side-head i { width: 9px; height: 9px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74,222,128,.25); }
.sb-pick { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.sb-pick-nm { flex: 1; min-width: 0; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-pick-rt { color: #A5F3FC; font-weight: 800; font-size: 13px; white-space: nowrap; }
.sb-pick-btn { background: #fff; color: #0B63B8; font-weight: 800; font-size: 12px; padding: 6px 13px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.sb-pick-btn:hover, .sb-pick-btn:focus { background: #EAF5FF; color: #0B63B8; }
.sb-side-all { display: inline-block; margin-top: 11px; color: #fff; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.sb-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.28);
  padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
}
.sb-hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74,222,128,.25); }
.sb-hero-title { font-size: clamp(36px, 6vw, 56px); line-height: 1.04; margin: 16px 0 10px; letter-spacing: -.02em; font-weight: 800; }
.sb-hero-title span { background: linear-gradient(90deg, #67E8F9, #A5F3FC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sb-hero-sub { color: rgba(255,255,255,.86); font-size: 16px; line-height: 1.6; max-width: 640px; margin: 0; }
.sb-hero-stats { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 24px; }
.sb-hero-stats div { display: flex; flex-direction: column; }
.sb-hero-stats b { font-size: 23px; line-height: 1.1; }
.sb-hero-stats span { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: rgba(255,255,255,.65); margin-top: 3px; }
.sb-wallet {
  margin-top: 26px; max-width: 540px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.26); border-radius: 16px; padding: 14px 18px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.sb-wallet-info span { display: block; font-size: 12.5px; color: rgba(255,255,255,.72); text-transform: uppercase; letter-spacing: .07em; }
.sb-wallet-info b { font-size: 25px; }
.sb-wallet-btn { background: #fff; color: #0B63B8; font-weight: 800; padding: 11px 20px; border-radius: 999px; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); }
.sb-wallet-btn:hover { transform: translateY(-1px); }

/* ---------- TOOLBAR (chips + search) ---------- */
.sb-toolbar {
  margin: 22px 0 12px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid #E1EAF4; border-radius: 18px; box-shadow: 0 12px 30px -14px rgba(11, 78, 138, .25);
  padding: 12px; display: flex; flex-direction: column; gap: 12px;
}
.smm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.smm-chip {
  display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px;
  border: 1px solid #D9E6F3; background: #fff; color: #33506E; font-size: 13.5px; font-weight: 600;
  text-decoration: none; transition: all .15s ease; white-space: nowrap;
}
.smm-chip:hover { border-color: #1283E6; color: #0B63B8; }
.smm-chip.on { background: linear-gradient(120deg, #1283E6, #0B63B8); border-color: transparent; color: #fff; box-shadow: 0 8px 18px -8px rgba(18,131,230,.7); }
.sb-dot { width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; flex: none; }
.sb-searchbar {
  position: sticky; top: 10px; z-index: 40; margin: 0 0 6px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid #E1EAF4; border-radius: 16px; box-shadow: 0 12px 30px -14px rgba(11, 78, 138, .25);
  padding: 10px;
}
.smm-search { display: flex; gap: 8px; }
.sb-myorders { margin-top: 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sb-myorders-label { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: rgba(255,255,255,.65); font-weight: 700; margin-right: 2px; }
.sb-mo-pill {
  display: inline-flex; align-items: center; gap: 7px; color: #fff; text-decoration: none;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.26);
  padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.sb-mo-pill i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.sb-mo-pill b { font-weight: 800; }
.sb-mo-pill, .sb-mo-pill:visited { color: #fff; }
.sb-mo-pill:hover, .sb-mo-pill:focus, .sb-mo-pill:active {
  color: #fff; background: rgba(255,255,255,.26); font-weight: 800; text-decoration: none; outline: none;
}
.smm-search .input { flex: 1; border-radius: 12px; min-width: 0; }
.smm-search .btn { border-radius: 12px; }

/* ---------- ORDER CARD ---------- */
.sb-order-card { background: #fff; border: 1px solid #E3EAF3; border-radius: 22px; box-shadow: 0 18px 40px -22px rgba(11,78,138,.35); overflow: hidden; margin: 26px 0 30px; }
.sb-order-head { background: linear-gradient(120deg, #0B63B8, #1283E6); color: #fff; padding: 18px 22px; display: flex; gap: 14px; align-items: center; }
.sb-order-ico { width: 46px; height: 46px; flex: none; border-radius: 13px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; }
.sb-order-head h2 { margin: 0; font-size: 21px; color: #fff; }
.sb-order-head p { margin: 2px 0 0; font-size: 13.5px; color: rgba(255,255,255,.85); }
.sb-order-card form { padding: 22px; }
.smm-charge {
  background: linear-gradient(120deg, #EFF6FF, #E1EFFF); border: 1px solid #CBE0FA; border-radius: 16px;
  padding: 15px 18px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin: 6px 0 16px;
}
.smm-charge span { font-weight: 700; color: #33506E; }
.smm-charge b { font-size: 26px; color: #0B63B8; margin-left: auto; }
.smm-charge small { width: 100%; color: var(--muted); }

/* ---------- CATEGORY CARDS ---------- */
.sb-cat { background: #fff; border: 1px solid #E3EAF3; border-radius: 22px; box-shadow: 0 16px 36px -24px rgba(11,78,138,.35); overflow: hidden; margin: 0 0 26px; animation: sbFadeUp .5s ease both; }
.sb-cat-head { background: linear-gradient(90deg, var(--acc1), var(--acc2)); color: #fff; padding: 15px 20px; display: flex; align-items: center; gap: 12px; }
.sb-cat-ico { width: 39px; height: 39px; flex: none; border-radius: 11px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; }
.sb-cat-head h2 { margin: 0; font-size: 18.5px; color: #fff; flex: 1; line-height: 1.3; }
.sb-cat-count { background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.3); padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.sb-rows { padding: 6px 10px; }
.sb-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 18px; padding: 13px 12px; border-bottom: 1px dashed #E7EEF6; }
.sb-row:last-child { border-bottom: none; }
.sb-row:hover { background: #F7FAFD; border-radius: 12px; }
.sb-row-name { font-weight: 600; font-size: 15px; line-height: 1.45; color: #16283C; }
.sb-row-meta { display: flex; align-items: center; gap: 18px; }
.sb-rate { font-size: 17.5px; font-weight: 800; color: #0B63B8; white-space: nowrap; }
.sb-rate small { font-size: 12px; font-weight: 600; color: var(--muted); }
.sb-minmax { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.sb-order-btn {
  background: linear-gradient(120deg, #1283E6, #0B63B8); color: #fff !important; font-weight: 700; font-size: 14px;
  padding: 9px 22px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 8px 18px -8px rgba(18,131,230,.8); transition: transform .15s ease;
}
.sb-order-btn:hover { transform: translateY(-1px); }
.smm-empty { background: #fff; border: 1px dashed #C9D9EA; border-radius: 16px; padding: 26px; text-align: center; color: var(--muted); margin: 0 0 26px; }

/* ---------- MY ORDERS CARD ---------- */
.sb-orders-card { background: #fff; border: 1px solid #E3EAF3; border-radius: 22px; box-shadow: 0 16px 36px -24px rgba(11,78,138,.35); padding: 22px; margin: 0 0 30px; }
.sb-orders-title { margin: 0 0 14px; font-size: 21px; }
.smm-status { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.smm-st-pending { background: #FFF4D6; color: #8A6100; }
.smm-st-progress { background: #E3F0FE; color: #0B63B8; }
.smm-st-completed { background: #E2F6E9; color: #137333; }
.smm-st-partial { background: #FFF1DE; color: #B26A00; }
.smm-st-bad { background: #FDE8E8; color: #B3261E; }
.smm-st-refunded { background: #EDF1F5; color: #5B6B7C; }

/* ---------- MOBILE ---------- */
@media (max-width: 760px) {
  .sb-hero-split { grid-template-columns: 1fr; gap: 20px; }
  .sb-hero { padding: 32px 22px 30px; border-radius: 22px; }
  .sb-hero-stats { gap: 22px; }
  .sb-wallet { flex-direction: column; align-items: stretch; text-align: center; }
  .sb-wallet-btn { text-align: center; }
  .sb-searchbar { top: 6px; }
  .smm-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .smm-chips::-webkit-scrollbar { display: none; }
  .sb-cat-head { padding: 13px 15px; }
  .sb-cat-head h2 { font-size: 16.5px; }
  .sb-cat-count { display: none; }
  .sb-row { grid-template-columns: 1fr; gap: 9px; padding: 14px 10px; }
  .sb-row-meta { width: 100%; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
  .sb-order-head { padding: 15px 16px; }
  .sb-order-card form { padding: 16px; }
  .sb-orders-card { padding: 16px; }
}
