/* MobileProxies marketplace visual layer — midnight exchange, electric signals. */
:root {
  --ink: #090b12;
  --ink-2: #b4bbca;
  --muted: #747e93;
  --ground: #0c0f17;
  --surface: #131823;
  --line: #293141;
  --line-strong: #455067;
  --blue: #5d75ff;
  --blue-dark: #90a0ff;
  --blue-tint: #1a2345;
  --amber: #ff9a3c;
  --amber-tint: #241a12;
  --amber-line: #855228;
  --red: #ff757d;
  --red-tint: #2b171e;
  --green: #6bdfaf;
  --green-tint: #102a25;
}
body { background: var(--ground); color: #edf0f7; }
a { color: #9cacff; }
a:hover { color: #c5ceff; }
.wrap { max-width: 1320px; }

/* Header */
.site-header { position: relative; z-index: 2; background: #090b12; border-bottom: 1px solid #1e2533; }
.site-header::before { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, #5267ff 30%, #ff9a3c 65%, transparent); opacity: .6; }
.site-header .bar { min-height: 76px; gap: 12px 28px; }
.logo { font-size: 19px; letter-spacing: -.045em; }
.logo svg { color: var(--amber); }
.logo .tld { color: #67749a; }
.main-nav a, .user-nav .plain { color: #9aa4b9; border-radius: 6px; font-size: 14px; letter-spacing: .01em; }
.main-nav a:hover, .user-nav .plain:hover { color: #fff; background: #161b27; }
.main-nav a.on, .user-nav .plain.on { background: #1b2232; color: #fff; box-shadow: inset 0 -2px 0 var(--blue); }

/* Controls */
.btn { border-radius: 6px; letter-spacing: .005em; transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #6379ff; box-shadow: 0 8px 20px rgba(66, 91, 255, .18); }
.btn-primary:hover { background: #7c8fff; box-shadow: 0 10px 26px rgba(66, 91, 255, .28); }
.btn-dark { background: #222b3d; color: #fff; }
.btn-dark:hover { background: #303c56; }
.btn-white { background: #f4f6ff; color: #0d1020; }
.btn-line { background: #171d2a; color: #dce2f3; border-color: #3b465c; }
.btn-line:hover { border-color: #8192ff; color: #fff; background: #20283a; }
.btn-amber { color: #ffc17f; background: #21180f; border-color: #955a2c; }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=url], input[type=tel], input[type=number], select, textarea { background: #0e131d; border-color: #384257; color: #edf0f7; border-radius: 6px; }
select { color-scheme: dark; }
input::placeholder, textarea::placeholder { color: #778197; }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; background: #090b12; border-bottom: 1px solid #20283a; }
.hero::before { content: ''; position: absolute; z-index: -2; width: 780px; height: 600px; right: -150px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(87, 110, 255, .32) 0, rgba(34, 48, 117, .14) 35%, transparent 68%); filter: blur(2px); }
.hero::after { content: ''; position: absolute; z-index: -1; inset: 0; opacity: .3; background-image: linear-gradient(rgba(143, 159, 230, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 159, 230, .1) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, #000, transparent 83%); }
.hero .wrap { min-height: 360px; align-items: center; gap: 34px 72px; padding-top: 62px; padding-bottom: 60px; }
.hero .intro { flex-basis: 520px; }
.eyebrow, .market-label { margin: 0 0 18px; color: #aab5d0; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(255,154,60,.12); vertical-align: 1px; }
.hero h1 { max-width: 690px; color: #f7f8ff; font-size: clamp(38px, 4.1vw, 63px); letter-spacing: -.065em; line-height: .99; text-wrap: balance; }
.hero-kicker { display: block; color: #9da8c5; font-size: .45em; font-weight: 500; letter-spacing: -.035em; margin-bottom: 9px; }
.hero .hero-copy { max-width: 58ch; margin-top: 20px; color: #aeb7c9; font-size: 16px; }
.hero-signals { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.hero-signals span { border: 1px solid #364158; border-radius: 99px; padding: 5px 10px; color: #bbc5d9; font: 500 11px/1 var(--mono); }
.hero-search-panel { flex: 1 1 370px; min-width: 0; padding: 22px; border: 1px solid rgba(111, 132, 215, .35); border-radius: 10px; background: linear-gradient(145deg, rgba(24,31,50,.92), rgba(13,17,27,.94)); box-shadow: 0 28px 70px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.04); }
.hero-search-panel .search { display: flex; flex-basis: 100%; }
.search input { min-height: 50px; }
.search .btn { min-height: 50px; }
.market-pulse { display: flex; align-items: center; gap: 6px; margin-top: 16px; color: #96a2ba; font: 13px/1.4 var(--mono); }
.market-pulse span { width: 7px; height: 7px; border-radius: 50%; background: #64dda8; box-shadow: 0 0 12px #64dda8; }
.market-pulse b { color: #e7ebf8; font-weight: 500; }

/* Marketplace body */
.page { gap: 30px; padding-top: 32px; }
.card, .plan, .stat, .table-box { background: #131823; border-color: #2a3343; border-radius: 9px; box-shadow: 0 16px 32px rgba(0,0,0,.1); }
.card-dark { background: linear-gradient(145deg, #242b45, #121722); border: 1px solid #38435e; border-radius: 9px; box-shadow: 0 20px 40px rgba(0,0,0,.2); }
.card-dark p { color: #b9c3d6; }
.filters h2 { color: #f0f3fa; }
.field label, .label { color: #c5ccdb; }
.field .hint, .muted { color: #8792a8; }
.tag { background: #242c3d; color: #c7d0e6; border-radius: 3px; }
.tag-sub { background: #1b294c; color: #b1c0ff; }
.tag-use { background: #151b29; border-color: #3a465e; color: #b8c3dc; }
.tag-use:hover { border-color: #798bff; color: #d9dfff; }
.tag-pin { background: #2b1e11; color: #ffc276; }
.tag-wanted { background: #6379ff; }
.tag-ok { background: #153b31; color: #85e4bb; }
.tag-bad { background: #3c1d27; color: #ff9ea3; }
.listing { position: relative; overflow: hidden; padding: 21px 22px; background: #131823; border-color: #293346; border-radius: 9px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.listing::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(#667dff, #6975ba); opacity: 0; transition: opacity .18s ease; }
.listing:hover { transform: translateY(-2px); border-color: #53627d; box-shadow: 0 18px 34px rgba(0,0,0,.2); }
.listing:hover::before { opacity: 1; }
.listing h3 { color: #f0f3fa; letter-spacing: -.02em; }
.meta, .specs, .details { color: #9ca7bb; }
.specs { color: #b6c0d2; }
.seller-line { color: #dce2ef; }
.seller-line a { color: #dce2ef; }
.price { color: #f7f8ff; letter-spacing: -.035em; }
.price span { color: #8f9ab0; }
.pinned { position: relative; overflow: hidden; background: linear-gradient(105deg, #21170e, #181823 65%); border-color: #744a29; border-radius: 10px; }
.pinned::after { content: ''; position: absolute; width: 260px; height: 260px; right: -100px; top: -130px; border-radius: 50%; background: rgba(255,154,60,.13); filter: blur(14px); }
.pinned h2, .pinned .note { color: #ffd1a0; }
.pin-card { position: relative; background: #151a24; border-color: #60462f; border-radius: 7px; }
.pin-card h3 a { color: #edf0f7; }
.pin-seller { color: #9aa5b8; }
.pin-label { color: #ffb36a; }
.teaser { border-color: #47536b; background: #151b28; color: #e7ebf5; border-radius: 8px; }
.teaser .more { color: #9cafff; }
.empty { background: #141a26; border-color: #53617a; color: #aab5c8; }
.listing-title { color: inherit; text-decoration: none; }
.listing-title:hover { color: #c5ceff; text-decoration: underline; text-underline-offset: 3px; }
.listing-more { margin: 14px 0 0; font-size: 13px; font-weight: 600; }
.listing-more a { text-decoration: none; }
.listing-more a:hover { text-decoration: underline; text-underline-offset: 3px; }
.offer-hero .wrap { display: block; min-height: 0; padding-top: 50px; padding-bottom: 48px; }
.crumbs { margin: 0 0 18px; color: #9ba8c0; font-size: 14px; }
.offer-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.offer-heading h1 { margin: 0; }
.offer-specs { margin: 17px 0 0; }
.offer-price { flex: 0 0 auto; min-width: 160px; padding: 18px; border: 1px solid #435372; border-radius: 8px; background: rgba(17, 24, 39, .72); text-align: right; }
.offer-price strong { display: block; color: #f7f8ff; font: 600 32px/1 var(--display); letter-spacing: -.05em; }
.offer-price span { color: #9ca8bd; font-size: 14px; }
.offer-detail { padding: 28px; }
.offer-meta { margin-bottom: 24px; color: #97a4bc; font-size: 13px; }
.offer-detail h2 { margin-bottom: 18px; color: #f0f3fa; }
.offer-copy { color: #c6cede; line-height: 1.72; }
.offer-actions { margin-top: 28px; }
.seller-card { padding: 22px; }
.seller-card-name { gap: 10px; margin-bottom: 10px; }
.seller-card-name h2 { margin: 0; font-size: 21px; }
.site-footer { background: #090b12; border-color: #242d3e; color: #8691a7; }
.tabs { border-color: #2a3344; }
.tabs a { color: #8e9ab0; }
.tabs a.on { color: #e9edf7; border-color: #7286ff; }

@media (max-width: 600px) {
  .site-header .bar { min-height: auto; }
  /* Keep the complete wordmark visible beside Account and Post an offer. */
  .logo { font-size: 17px; letter-spacing: -.045em; }
  .logo svg { display: none; }
  .logo > span { flex: 0 0 auto; }
  .hero .wrap { min-height: auto; padding-top: 42px; padding-bottom: 40px; gap: 28px; }
  .hero h1 { font-size: 40px; }
  .hero-search-panel { width: 100%; padding: 16px; }
  .search { gap: 6px; }
  .search .btn { padding: 0 11px; font-size: 13px; }
  .market-pulse { margin-top: 13px; }
  .listing { padding: 18px; }
  .offer-heading { display: block; }
  .offer-price { display: inline-block; margin-top: 22px; min-width: 0; text-align: left; }
  .offer-detail { padding: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
