/* ============================================================
   NamesShift — Premium skin
   Loaded AFTER styles.css / site.css. Refines typography,
   depth, hero and micro-interactions across the public site.
   ============================================================ */

/* ── 1. Typography ─────────────────────────────────────────── */
:root {
  --font-display: "Sora", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

body { font-family: var(--font-body); letter-spacing: -0.011em; }

h1, h2, h3, h4, h5,
.hero__title,
.section__title,
.brand__name,
.stat__value,
.deal__title,
.deal__price,
.spotlight__name,
.page-hero h1,
.newsletter__copy h2,
.error-hero__code,
.listing-name,
.listing-price,
.review-summary__score,
.product-card__price,
.market-card__name,
.market-card__price,
.result__name,
.result__price,
.buy-box__price {
  font-family: var(--font-display);
}

.hero__title,
.section__title,
.spotlight__name,
.listing-name { letter-spacing: -0.05em; }

/* ── 2. Tokens & base ──────────────────────────────────────── */
:root {
  --line: #e8edf4;
  --shadow-sm: 0 1px 2px rgba(11, 31, 51, .04), 0 6px 16px -8px rgba(11, 31, 51, .08);
  --shadow-md: 0 14px 34px -16px rgba(11, 31, 51, .22), 0 2px 6px rgba(11, 31, 51, .04);
  --shadow-lg: 0 36px 72px -34px rgba(11, 31, 51, .36), 0 8px 22px -10px rgba(11, 31, 51, .1);
}

::selection { background: rgba(232, 65, 44, .16); }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: #ccd6e2;
  border-radius: 8px;
  border: 3px solid #fff;
}
::-webkit-scrollbar-thumb:hover { background: #aab9ca; }

/* ── 3. Header ─────────────────────────────────────────────── */
.site-header {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}

/* ── 4. Hero — deep premium navy ───────────────────────────── */
.hero {
  background:
    radial-gradient(940px 500px at 84% -18%, rgba(255, 138, 61, .30), transparent 62%),
    radial-gradient(720px 440px at -10% 34%, rgba(124, 92, 255, .17), transparent 62%),
    radial-gradient(1000px 640px at 50% 118%, rgba(255, 122, 47, .16), transparent 62%),
    linear-gradient(180deg, #0b1f33 0%, #102c45 52%, #0b1f33 100%);
  color: #fff;
}

.hero::before {
  background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(760px 400px at 50% 6%, #000 0%, transparent 74%);
  mask-image: radial-gradient(760px 400px at 50% 6%, #000 0%, transparent 74%);
}

.hero__title { color: #fff; }
.hero__title .text-gradient {
  background: linear-gradient(100deg, #ffd2b0 0%, #ff8a3d 42%, #ff5f4d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub { color: #9db2c7; }

.hero .pill {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #d9e5f1;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero__trust { color: #8ba0b6; }
.hero__trust svg { color: #3ddc97; }

.search-card {
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .97);
  box-shadow:
    0 34px 70px -30px rgba(2, 10, 20, .6),
    0 0 0 1px rgba(255, 255, 255, .14) inset;
}

/* ── 5. Buttons ────────────────────────────────────────────── */
.btn { border-radius: 13px; }

.btn--primary {
  background: linear-gradient(135deg, #ff8a3d 0%, #ef4f2f 52%, #d63a1f 100%);
  box-shadow:
    0 12px 26px -12px rgba(232, 65, 44, .62),
    inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #ff9449 0%, #e8412c 58%, #c9301d 100%);
  box-shadow:
    0 16px 32px -12px rgba(232, 65, 44, .72),
    inset 0 1px 0 rgba(255, 255, 255, .28);
}

.btn--ghost:hover { background: #fbfcfe; }

/* ── 6. Cards & marketplace ────────────────────────────────── */
.market-card {
  border-radius: 20px;
  border-color: #e9eef5;
  position: relative;
  background: #fff;
}
.market-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, transparent, rgba(255, 138, 61, .55), transparent);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.market-card:hover {
  transform: translateY(-6px);
  border-color: #f4d5c8;
  box-shadow:
    0 26px 52px -26px rgba(11, 31, 51, .28),
    0 4px 16px -8px rgba(232, 65, 44, .16);
}
.market-card:hover::before { opacity: 1; }

.market-card__name { letter-spacing: -0.03em; }
.market-card__price,
.result__price,
.product-card__price {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.product-card {
  border-radius: 20px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #dbe3ee;
}

.review {
  border-radius: 20px;
  border-color: #e9eef5;
}

.deal {
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 60px -32px rgba(11, 31, 51, .5);
}

.spotlight { border: 1px solid rgba(255, 255, 255, .07); }


/* ── 7. Sections ───────────────────────────────────────────── */
.section__title { letter-spacing: -0.045em; }
.section__sub { line-height: 1.7; }

/* ── 8. Site pages: page hero, catalogue & buy box ─────────── */
.page-hero {
  background:
    radial-gradient(920px 440px at 12% -12%, rgba(255, 138, 61, .15), transparent 62%),
    radial-gradient(780px 430px at 92% 0%, rgba(124, 92, 255, .09), transparent 60%),
    linear-gradient(180deg, #fcfdfe 0%, #f5f8fb 100%);
}
.page-hero h1 { letter-spacing: -0.03em; }

.listing-name { letter-spacing: -0.045em; }
.listing-price { font-variant-numeric: tabular-nums; }

.buy-box {
  border-radius: 22px;
  border: 1px solid #ebeff5;
  background: linear-gradient(180deg, #ffffff 0%, #fdfbfa 100%);
  box-shadow: var(--shadow-md);
}
.buy-box__price { font-size: 2.05rem; }
.buy-box .btn--primary { padding-block: .95rem; font-size: 1rem; }

.listing-chips li {
  border-radius: 999px;
  border: 1px solid #e8edf4;
  background: #f8fafc;
}

.info-card,
.contact-aside__card,
.note-card,
.catalogue-filters {
  border-radius: 18px;
  border-color: #e9eef5;
}

/* ── 9. Footer ─────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .06);
}

/* ── 10. Modals & toasts ───────────────────────────────────── */
.modal__panel { border-radius: 22px; }

.toast {
  border-radius: 14px;
  background: linear-gradient(135deg, #102c45, #0b1f33);
}

/* ── 11. Reduced motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
