/*
 * JCUSTOMS — Personal Store Theme
 * Purple × Cyan × Black × White
 * Sora 800 · DM Sans · JetBrains Mono
 */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Kill the Tebex site-grid row gap that creates the blank space
   between the sticky header and the page content */
.site { gap: 0 !important; row-gap: 0 !important; }

/* ═══════════════════════════════════════════════════════════════
   1 — ROOT
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* Surfaces */
  --color-bg:           #07070F;
  --color-brighter-bg:  #0D0D1C;
  --color-raised-bg:    #131326;

  /* Borders */
  --color-border:        rgba(147, 51, 234, .20);
  --color-border-strong: rgba(6, 182, 212, .40);

  /* Text */
  --color-text:           #F0EEFF;
  --color-text-secondary: #8892B0;
  --color-text-darker:    #CCC8E8;
  --color-text-dark:      #07070F;

  /* Primary — Purple */
  --color-primary:            #9333EA;
  --color-primary-hover:      #A855F7;
  --color-primary-text:       #FFFFFF;
  --color-primary-text-hover: #FFFFFF;

  /* Secondary */
  --color-secondary:            rgba(147, 51, 234, .14);
  --color-secondary-hover:      rgba(147, 51, 234, .24);
  --color-secondary-text:       #C084FC;
  --color-secondary-text-hover: #C084FC;

  /* Tertiary */
  --color-tertiary:            transparent;
  --color-tertiary-hover:      rgba(147, 51, 234, .10);
  --color-tertiary-text:       var(--color-text);
  --color-tertiary-text-hover: var(--color-text);

  /* State */
  --color-removed: #C084FC;

  /* Sale banner */
  --color-sale-banner-bg:   linear-gradient(90deg, #9333EA, #06B6D4 55%, #9333EA);
  --color-sale-banner-text: #FFFFFF;

  /* ── JCustoms signature ── */
  --jc-grad:        linear-gradient(135deg, #9333EA 0%, #06B6D4 100%);
  --jc-grad-r:      linear-gradient(135deg, #06B6D4 0%, #9333EA 100%);
  --jc-glow:        0 0 32px rgba(147,51,234,.42), 0 0 64px rgba(6,182,212,.16);
  --jc-glow-sm:     0 0 18px rgba(147,51,234,.38);
  --legendary-glow:
    0 0 0 1px rgba(147,51,234,.55),
    0 16px 44px -14px rgba(147,51,234,.42);
  --card-glow-hover:
    0 0 0 1px rgba(6,182,212,.32),
    0 20px 40px -18px rgba(7,7,15,.9);

  /* Legacy vars for backward compat with category.html */
  --p-blue:       #9333EA;
  --p-blue-light: #22D3EE;
  --p-text:       #F0EEFF;
  --p-text-dim:   #8892B0;
  --p-bg-light:   #0D0D1C;
  --p-bg-border:  rgba(147,51,234,.22);

  /* Fonts */
  --display-font: 'Sora', system-ui, sans-serif;
  --body-font:    'DM Sans', system-ui, sans-serif;
  --mono-font:    'JetBrains Mono', 'Fira Code', monospace;

  --ease-jc: cubic-bezier(.22, 1, .36, 1);
  --logo-max-height: 200px;
}

/* ═══════════════════════════════════════════════════════════════
   2 — BODY & BACKDROP
   ═══════════════════════════════════════════════════════════════ */
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--body-font);
  accent-color: var(--color-primary);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(147,51,234,.10), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 60%, rgba(6,182,212,.06), transparent 55%),
    var(--bg-image, none) center center / cover no-repeat,
    var(--color-bg);
  pointer-events: none;
}
html { scrollbar-color: rgba(147,51,234,.40) rgba(13,13,28,.8); }
html::-webkit-scrollbar-thumb { background: rgba(147,51,234,.40); border-radius: 3px; }
::selection { background: rgba(147,51,234,.30); color: #fff; }
body { font-size: 15px; }

/* ═══════════════════════════════════════════════════════════════
   3 — TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display-font);
  color: var(--color-text);
  letter-spacing: -.025em;
}
.widget-title {
  font-family: var(--display-font); font-weight: 700;
  letter-spacing: -.02em; color: var(--color-text); text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   4 — LOGO
   ═══════════════════════════════════════════════════════════════ */
.site-header-inner .site-title img { max-height: var(--logo-max-height, 200px); }
@media (width <= 960px) { .site-header-inner .site-title img { max-height: 110px; } }

/* ═══════════════════════════════════════════════════════════════
   5 — NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.navigation-horizontal .menu {
  background: rgba(7,7,15,.88);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border-bottom: 1px solid rgba(147,51,234,.18);
  font-family: var(--display-font); font-weight: 600; letter-spacing: -.01em;
}
.navigation-horizontal a:hover,
.navigation-horizontal a.link-active { color: #A855F7; }
.navigation-horizontal .has-children > ul {
  background: rgba(13,13,28,.97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(147,51,234,.22);
  box-shadow: 0 12px 36px rgba(7,7,15,.8), var(--jc-glow-sm);
}
.navigation-horizontal li li a:hover,
.navigation-horizontal li li a.link-active {
  background: linear-gradient(90deg, rgba(147,51,234,.20), rgba(6,182,212,.08)) !important;
  color: #A855F7 !important;
}
.navigation-vertical.widget {
  background: var(--color-brighter-bg);
  border: 1px solid var(--color-border); border-radius: 12px;
}
.navigation-vertical .menu {
  font-family: var(--display-font); font-weight: 600;
  color: var(--color-text-secondary);
}
.navigation-vertical a:hover,
.navigation-vertical a.link-active { color: #A855F7; }
.site-navigation .menu { background: var(--color-bg); }

/* ═══════════════════════════════════════════════════════════════
   6 — BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn-primary {
  background: var(--jc-grad); color: #fff; border: none;
  box-shadow: var(--jc-glow-sm), inset 0 1px 0 rgba(255,255,255,.12);
  font-family: var(--display-font); font-weight: 700;
  letter-spacing: -.01em; border-radius: 8px;
  transition: transform .3s var(--ease-jc), box-shadow .3s ease;
}
.btn-primary:hover, .btn-primary:focus {
  box-shadow: var(--jc-glow); transform: translateY(-2px); color: #fff;
}
.btn-secondary {
  --btn-color-bg:         rgba(147,51,234,.12);
  --btn-color-bg-hover:   rgba(147,51,234,.22);
  --btn-color-text:       #C084FC;
  --btn-color-text-hover: #C084FC;
  border: 1px solid rgba(147,51,234,.28);
  font-family: var(--display-font); font-weight: 600; border-radius: 8px;
}
.btn-tertiary {
  --btn-color-text: var(--color-text-secondary);
  --btn-color-text-hover: #A855F7;
}

/* ═══════════════════════════════════════════════════════════════
   7 — SALE BANNER
   ═══════════════════════════════════════════════════════════════ */
.site-sale-banner {
  background: linear-gradient(90deg, #9333EA, #06B6D4 55%, #9333EA);
  background-size: 200% 100%;
  animation: jcBannerFlow 8s linear infinite;
  color: #fff;
  font-family: var(--display-font); font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; font-size: .78em;
}
@keyframes jcBannerFlow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ═══════════════════════════════════════════════════════════════
   8 — FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--color-brighter-bg);
  border-top: 1px solid var(--color-border);
}
.ps-footer-bar {
  display: flex; flex-direction: column;
  align-items: center; gap: 14px; text-align: center;
  max-width: var(--content-inner-width, 1280px);
  margin: 0 auto;
  padding: 20px var(--content-padding);
}
.ps-footer-bar .copyright {
  font-family: var(--body-font); font-size: 12.5px;
  color: var(--color-text-secondary);
}
.ps-footer-right {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap; width: 100%;
}
.ps-footer-features-inner {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.ps-feat {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--display-font); font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-secondary);
}
.ps-feat-div { color: rgba(147,51,234,.35); font-size: 10px; }
.we-accept {
  display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0;
}
.we-accept img { height: 20px; opacity: .55; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.we-accept img:hover { opacity: .85; filter: grayscale(0); }
.site-footer-credit {
  background: var(--color-bg);
  border-top: 1px solid rgba(147,51,234,.08);
  font-size: 11.5px; color: var(--color-text-secondary); text-align: center;
}
.site-footer-credit a:hover { color: #A855F7; }

/* ═══════════════════════════════════════════════════════════════
   9 — HEADER
   ═══════════════════════════════════════════════════════════════ */
.site-header { background: rgba(7,7,15,.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(147,51,234,.14); }
.site-header-inner .info.discord strong,
.site-header-inner .info.discord .action { color: var(--color-text-secondary); }
.site-header-inner .info.discord:hover strong { color: #A855F7; }
.site-header-inner .info.server { font-family: var(--display-font); }
.user-actions .user-name { color: var(--color-text-secondary); }
.user-actions .user-name:hover .text-hover { color: #A855F7; }

/* Basket button — center icon + text */
.site-header-inner .open-basket {
  justify-content: center !important;
  text-align: center !important;
}

/* ═══════════════════════════════════════════════════════════════
   10 — WIDGETS
   ═══════════════════════════════════════════════════════════════ */
.widget {
  background: var(--color-brighter-bg);
  border: 1px solid var(--color-border); border-radius: 12px;
}
.widget-recent .purchase { border-bottom: 1px solid rgba(147,51,234,.10); }
.widget-community-goal .progress,
.widget-goal .progress {
  background: rgba(147,51,234,.15); border-radius: 999px;
}
.widget-community-goal .progress-bar,
.widget-goal .progress-bar { background: var(--jc-grad); border-radius: 999px; }
.widget-top-donator .avatar {
  border-radius: 50%; border: 2px solid rgba(147,51,234,.40);
  box-shadow: var(--jc-glow-sm);
}
.widget-gift-card .gift-card-input {
  background: var(--color-raised-bg);
  border: 1px solid var(--color-border); border-radius: 8px; color: var(--color-text);
}

/* ═══════════════════════════════════════════════════════════════
   11 — FORMS
   ═══════════════════════════════════════════════════════════════ */
.store-form input[type=text],
.store-form input[type=password],
.store-form input[type=email],
.store-form input[type=number],
.store-form input[type=search],
.store-form input[type=url],
.store-form input[type=tel],
.store-form select,
.store-form textarea {
  background: var(--color-raised-bg);
  border: 1px solid var(--color-border);
  border-radius: 6px; color: var(--color-text);
}
.store-form input:focus,
.store-form select:focus,
.store-form textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(147,51,234,.14);
}
.quantity-field {
  background: var(--color-raised-bg);
  border: 1px solid var(--color-border); border-radius: 8px; color: var(--color-text);
}
.quantity-field input[type=number] { background: transparent; border: none; color: var(--color-text); }

/* ═══════════════════════════════════════════════════════════════
   12 — POPUPS & BASKET
   ═══════════════════════════════════════════════════════════════ */
.popup-content {
  background: var(--color-brighter-bg);
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 64px rgba(7,7,15,.9), var(--jc-glow-sm);
  border-radius: 14px;
}
.popup-close::before { background-color: #FFFFFF; }
.popup-close { opacity: 0.75; }
.basket-popup-content {
  background: var(--color-brighter-bg);
  border-left: 1px solid var(--color-border);
}
.basket .basket-header {
  background: rgba(13,13,28,.9); border-bottom: 1px solid var(--color-border);
}
.basket .basket-second-header { background: rgba(19,19,38,.9); }
.basket-items {
  padding: var(--widget-padding) calc(var(--content-padding) - var(--widget-padding));
}
.basket-item {
  background: var(--color-raised-bg);
  border: 1px solid var(--color-border); border-radius: 10px;
}
.basket-item .quantity {
  background: var(--color-brighter-bg);
  border: 1px solid var(--color-border); border-radius: 6px; color: var(--color-text);
}
.basket .basket-item .title { font-family: var(--display-font); color: var(--color-text); }
.basket .basket-item .price strong,
.basket .basket-checkout .total {
  background: linear-gradient(135deg, #C084FC 0%, #22D3EE 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--mono-font); font-weight: 600;
}
.toast {
  background: var(--color-brighter-bg);
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(7,7,15,.8); color: var(--color-text); border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   13 — CATEGORY DESCRIPTION & STORE TEXT
   ═══════════════════════════════════════════════════════════════ */
.category-description, .store-text {
  background: var(--color-brighter-bg);
  border: 1px solid var(--color-border); border-radius: 12px; color: var(--color-text);
}
.category-description {
  border-left: 3px solid transparent;
  border-image: var(--jc-grad) 1;
}
.store-text h1,.store-text h2,.store-text h3,
.store-text h4,.store-text h5,.store-text h6 { text-align: center; }
.no-products {
  color: var(--color-text-secondary);
  background: var(--color-brighter-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px; font-family: var(--display-font);
}

/* ═══════════════════════════════════════════════════════════════
   14 — PRODUCT CARDS
   ═══════════════════════════════════════════════════════════════ */
.store-products-list .store-product,
.store-products-images .store-product {
  position: relative;
  background: var(--color-brighter-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px; overflow: hidden;
  transition: transform .3s var(--ease-jc), box-shadow .3s ease, border-color .3s ease;
}
.store-products-images .store-product::before,
.store-products-list .store-product::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--jc-grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-jc); z-index: 2;
}
.store-products-images .store-product:hover::before,
.store-products-list .store-product:hover::before { transform: scaleX(1); }
.store-products-list .store-product:hover,
.store-products-images .store-product:hover {
  transform: translateY(-5px);
  border-color: rgba(147,51,234,.40);
  box-shadow: var(--card-glow-hover);
}
.store-product .image-link { overflow: hidden; }
.store-product .image-link img { transition: transform .55s var(--ease-jc); }
.store-products-images .store-product:hover .image-link img { transform: scale(1.04); }

/* Countdown/legendary */
.store-products-list .store-product:has(.countdown),
.store-products-images .store-product:has(.countdown) {
  border-color: rgba(147,51,234,.50);
  background:
    linear-gradient(180deg, rgba(147,51,234,.08), transparent 40%),
    var(--color-brighter-bg);
  box-shadow: var(--legendary-glow);
}
.store-product .product-title {
  font-family: var(--display-font); font-weight: 700;
  letter-spacing: -.02em; color: var(--color-text);
}
.store-product .product-title a:hover { color: #A855F7; }
.store-product .price strong {
  font-family: var(--mono-font); font-weight: 600;
  background: linear-gradient(135deg, #C084FC 0%, #22D3EE 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; font-size: 18px;
}
.store-product .countdown {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(147,51,234,.15); border: 1px solid rgba(147,51,234,.35);
  color: #C084FC; font-family: var(--mono-font); font-size: .72em; font-weight: 600;
}

/* SALE badge */
.store-product .sale-badge {
  display: inline-block; padding: 3px 10px; border-radius: 6px;
  background: var(--jc-grad); color: #fff;
  font-family: var(--display-font); font-size: .72em; font-weight: 700;
  letter-spacing: .06em;
}
.price .free-tag {
  display: inline-block; padding: 3px 12px; border-radius: 6px;
  background: rgba(6,182,212,.12); border: 1px solid rgba(6,182,212,.35);
  color: #22D3EE; font-family: var(--display-font); font-size: .9em; font-weight: 700;
}

/* Page-load stagger */
@media (prefers-reduced-motion: no-preference) {
  .store-products-list .store-product,
  .store-products-images .store-product { animation: jcRise .4s ease backwards; }
  .store-products-list .store-product:nth-child(2),
  .store-products-images .store-product:nth-child(2) { animation-delay: .06s; }
  .store-products-list .store-product:nth-child(3),
  .store-products-images .store-product:nth-child(3) { animation-delay: .12s; }
  .store-products-list .store-product:nth-child(4),
  .store-products-images .store-product:nth-child(4) { animation-delay: .18s; }
  .store-products-list .store-product:nth-child(n+5),
  .store-products-images .store-product:nth-child(n+5) { animation-delay: .24s; }
}

/* ═══════════════════════════════════════════════════════════════
   15 — SINGLE PACKAGE PAGE
   ═══════════════════════════════════════════════════════════════ */
.store-product-full {
  background: var(--color-brighter-bg);
  border: 1px solid var(--color-border); border-radius: 14px;
  overflow: hidden; position: relative;
}
.store-product-full::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--jc-grad); z-index: 1;
}
.store-product-full .product-title {
  font-family: var(--display-font);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800; letter-spacing: -.04em; color: var(--color-text);
}
.store-product-full .image { border-radius: 10px; overflow: hidden; display: block; max-width: 100%; }
.store-product-full .image-default {
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(147,51,234,.15), rgba(6,182,212,.10));
}
.store-product-full .descr { background: var(--color-brighter-bg); color: var(--color-text); }

/* ═══════════════════════════════════════════════════════════════
   16 — TIERED / RANK TABLE
   ═══════════════════════════════════════════════════════════════ */
.store-category-tiered { background: transparent; border: none; overflow: visible; }
.store-category-tiered-header { text-align: center; margin-bottom: 32px; }
.store-category-tiered-header h2 {
  font-family: var(--display-font); font-weight: 800; letter-spacing: -.04em;
  background: linear-gradient(135deg, #C084FC 0%, #22D3EE 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-size: clamp(1.8rem, 4vw, 3rem); text-align: center;
}

.store-product-tiered {
  position: relative;
  background: linear-gradient(180deg, rgba(147,51,234,.06) 0%, transparent 50%), var(--color-brighter-bg);
  border: 1px solid rgba(147,51,234,.22); border-radius: 20px; overflow: hidden;
  transition: transform .3s var(--ease-jc), box-shadow .35s ease;
  display: flex; flex-direction: column;
}
.store-product-tiered::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--jc-grad); z-index: 1;
}
.store-product-tiered:hover { transform: translateY(-6px); box-shadow: var(--card-glow-hover); }
.store-product-tiered .product-title {
  font-family: var(--display-font); font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem); letter-spacing: -.04em; text-align: center;
  background: linear-gradient(135deg, #C084FC 0%, #22D3EE 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding: 0 8px;
}
.store-product-tiered .price { text-align: center; }
.store-product-tiered .price strong {
  font-family: var(--mono-font); font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700; letter-spacing: -.04em;
  background: linear-gradient(135deg, #C084FC 0%, #22D3EE 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  display: block; line-height: 1.1;
}
.store-product-tiered .descr { flex: 1; }
.store-product-tiered .descr li {
  padding-left: 1.6em; position: relative;
  color: var(--color-text-secondary); font-size: .94em; line-height: 1.65;
}
.store-product-tiered .descr li::before {
  content: '✦'; position: absolute; left: 0;
  background: linear-gradient(135deg, #C084FC 0%, #22D3EE 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-size: .7em; top: .22em;
}
.store-product-tiered.store-product-cta {
  border-color: rgba(147,51,234,.60);
  background: linear-gradient(180deg, rgba(147,51,234,.13) 0%, rgba(6,182,212,.06) 50%, transparent), var(--color-brighter-bg);
  box-shadow: var(--legendary-glow), 0 0 60px rgba(6,182,212,.10);
  transform: scale(1.04); z-index: 1;
}
.store-product-tiered.store-product-cta:hover { transform: scale(1.04) translateY(-6px); }
.store-product-tiered.store-product-cta::after {
  content: '★ Most Popular';
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -50%);
  padding: 5px 18px; border-radius: 999px;
  background: var(--jc-grad); color: #fff;
  font-family: var(--display-font); font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; z-index: 3;
  box-shadow: var(--jc-glow-sm);
}

/* ═══════════════════════════════════════════════════════════════
   17 — MEDIA SLIDER
   ═══════════════════════════════════════════════════════════════ */
.media-slider .slider, .media-slider .thumb {
  border-radius: 10px; overflow: hidden; border: 1px solid var(--color-border);
}
.media-slider .open-lightbox {
  border-radius: 6px; background: rgba(147,51,234,.12);
  border: 1px solid rgba(147,51,234,.3); color: #C084FC;
}
.media-slider .open-lightbox:hover { background: var(--jc-grad); color: #fff; }

/* ═══════════════════════════════════════════════════════════════
   18 — CATEGORY BANNER  (ps-cat-*)
   ═══════════════════════════════════════════════════════════════ */
.ps-cat-banner {
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(147,51,234,.08) 0%, transparent 60%),
    linear-gradient(180deg, #07070F 0%, #050510 100%);
  border-bottom: 1px solid var(--p-bg-border);
}
.ps-cat-eyebrow { color: #9333EA; }
.ps-cat-title span {
  background: linear-gradient(90deg, #C084FC 0%, #22D3EE 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.ps-cat-count {
  background: var(--color-brighter-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}
.ps-cat-banner-orb {
  background: radial-gradient(circle, rgba(147,51,234,.55) 0%, rgba(6,182,212,.25) 45%, transparent 68%);
}

/* ═══════════════════════════════════════════════════════════════
   19 — HOMEPAGE SECTIONS
   ═══════════════════════════════════════════════════════════════ */

/* ─ Ticker ─ */
.jc-ticker-wrap {
  position: relative; overflow: hidden;
  padding: 0; height: 40px;
  background: rgba(13,13,28,.8);
  border-bottom: 1px solid rgba(147,51,234,.14);
  display: flex; align-items: center;
  margin-left: calc(-1 * var(--content-padding));
  margin-right: calc(-1 * var(--content-padding));
}
.jc-ticker-wrap::before,
.jc-ticker-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.jc-ticker-wrap::before { left:  0; background: linear-gradient(90deg,  rgba(7,7,15,.95), transparent); }
.jc-ticker-wrap::after  { right: 0; background: linear-gradient(270deg, rgba(7,7,15,.95), transparent); }
.jc-ticker-track {
  display: flex; gap: 0; width: max-content;
  animation: jcTickerScroll 30s linear infinite;
  white-space: nowrap;
  font-family: var(--display-font); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-text-secondary);
}
.jc-ticker-wrap:hover .jc-ticker-track { animation-play-state: paused; }
@keyframes jcTickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(var(--jc-ticker-w, -50%)); }
}
.jc-tick-item {
  padding: 0 28px; display: flex; align-items: center; gap: 8px; height: 40px;
}
.jc-tick-item .dot {
  display: inline-block; font-size: 14px;
  background: linear-gradient(135deg, #C084FC, #22D3EE);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ─ Hero (centered, full-width, vortex canvas) */
.jc-hero {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding: 0 0 52px;
  margin-left: calc(-1 * var(--content-padding));
  margin-right: calc(-1 * var(--content-padding));
}

/* Ticker sits at the very top of the hero, no negative margins needed
   since the hero already breaks out of content padding */
.jc-hero .jc-ticker-wrap {
  position: relative;
  z-index: 2;
  margin-left: 0;
  margin-right: 0;
}

#jc-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%; pointer-events: none;
}

.jc-hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(147,51,234,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147,51,234,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 10%, transparent 70%);
}

.jc-hero__inner {
  position: relative; z-index: 1;
  max-width: 840px; margin: 0 auto; padding: 40px 24px 0;
}

/* Legacy: orb still usable as absolute background if needed */
.jc-hero__orb {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(147,51,234,.25) 0%, rgba(6,182,212,.12) 45%, transparent 68%);
  filter: blur(55px); pointer-events: none;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  animation: jcOrbBreathe 5s ease-in-out infinite alternate;
}
@keyframes jcOrbBreathe {
  0%   { transform: translate(-50%,-50%) scale(1);   opacity: .6; }
  100% { transform: translate(-50%,-50%) scale(1.15); opacity: 1; }
}

.jc-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 16px; border-radius: 999px;
  background: rgba(147,51,234,.10); border: 1px solid rgba(147,51,234,.26);
  font-family: var(--mono-font); font-size: 10.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: #C084FC;
  margin-bottom: 14px;
  animation: jcRise .5s var(--ease-jc) both;
}
.jc-hero__eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--jc-grad); box-shadow: 0 0 8px rgba(147,51,234,.9);
  animation: jcPulse 2.8s ease-in-out infinite;
}
@keyframes jcPulse {
  0%,100% { box-shadow: 0 0 6px rgba(147,51,234,.7); }
  50%     { box-shadow: 0 0 16px rgba(6,182,212,1.0); }
}

.jc-hero__h {
  font-family: var(--display-font);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800; letter-spacing: -.055em; line-height: 1.02;
  color: var(--color-text); margin-bottom: 12px;
  animation: jcRise .5s var(--ease-jc) .08s both;
}
.jc-hero__h em {
  font-style: normal; display: block;
  background: linear-gradient(135deg, #C084FC 0%, #22D3EE 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.jc-hero__sub {
  font-size: clamp(.95rem, 2vw, 1.1rem); color: var(--color-text-secondary);
  max-width: 560px; line-height: 1.70; margin: 0 auto 22px;
  animation: jcRise .5s var(--ease-jc) .16s both;
}

.jc-hero__btns {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap; margin-bottom: 22px;
  animation: jcRise .5s var(--ease-jc) .24s both;
}
.jc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 10px;
  font-family: var(--display-font); font-size: 14px; font-weight: 700;
  text-decoration: none; cursor: pointer; border: none;
  transition: all .35s var(--ease-jc); white-space: nowrap; letter-spacing: -.01em;
}
.jc-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.jc-btn--fill {
  background: var(--jc-grad); color: #fff;
  box-shadow: var(--jc-glow-sm), inset 0 1px 0 rgba(255,255,255,.14);
}
.jc-btn--fill:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--jc-glow); color: #fff; }
.jc-btn--outline {
  background: rgba(147,51,234,.10); border: 1px solid rgba(147,51,234,.32); color: #C084FC;
}
.jc-btn--outline:hover { background: rgba(147,51,234,.20); border-color: rgba(147,51,234,.55); transform: translateY(-2px); color: #C084FC; }

/* ─ Feature pills ─ */
.jc-pills {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
  animation: jcRise .5s var(--ease-jc) .32s both;
}
.jc-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(7,7,15,.7);
  border: 1px solid rgba(147,51,234,.22);
  font-family: var(--display-font); font-size: 12px; font-weight: 600;
  color: var(--color-text-secondary); letter-spacing: -.01em;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color .25s ease, color .25s ease;
}
.jc-pill:hover { border-color: rgba(147,51,234,.50); color: var(--color-text); }
.jc-pill-icon { font-size: 13px; }

/* ─ Stats bar ─ */
.jc-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
  padding: 16px var(--content-padding);
  margin-left: calc(-1 * var(--content-padding));
  margin-right: calc(-1 * var(--content-padding));
  background: rgba(13,13,28,.6); border-top: 1px solid rgba(147,51,234,.12);
  border-bottom: 1px solid rgba(147,51,234,.12);
}
.jc-stat {
  display: flex; flex-direction: column; align-items: center; padding: 4px 32px;
}
.jc-stat__v {
  font-family: var(--display-font); font-size: 1.6rem;
  font-weight: 800; letter-spacing: -.05em; line-height: 1;
  background: linear-gradient(135deg, #C084FC 0%, #22D3EE 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.jc-stat__l {
  font-family: var(--mono-font); font-size: 9.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-text-secondary); margin-top: 3px;
}
.jc-stat-sep {
  width: 1px; height: 28px; flex-shrink: 0;
  background: linear-gradient(180deg, transparent, rgba(147,51,234,.4), transparent);
}

/* ─ Categories section ─ */
.jc-cats-section { padding: 40px 0; }
.jc-cats-hd { text-align: center; margin-bottom: 24px; }
.jc-cats-hd h2 {
  font-family: var(--display-font);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800; letter-spacing: -.04em; color: var(--color-text);
  margin-bottom: 6px;
}
.jc-cats-hd p { font-size: 14.5px; color: var(--color-text-secondary); }

.jc-cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.jc-cat-card {
  display: flex; flex-direction: column; align-items: center;
  padding: 28px 20px 20px; border-radius: 16px;
  background: var(--color-raised-bg);
  border: 1px solid rgba(147,51,234,.18);
  text-decoration: none; color: inherit;
  text-align: center; gap: 14px;
  transition: all .38s var(--ease-jc); position: relative; overflow: hidden;
}
.jc-cat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--jc-grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-jc);
}
.jc-cat-card:hover::before { transform: scaleX(1); }
.jc-cat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(147,51,234,.45);
  box-shadow: 0 0 0 1px rgba(6,182,212,.22), 0 14px 36px rgba(7,7,15,.8);
}
.jc-cat-card__img {
  width: 80px; height: 80px; border-radius: 14px; overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(147,51,234,.10);
}
.jc-cat-card__img img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .45s var(--ease-jc);
}
.jc-cat-card:hover .jc-cat-card__img img { transform: scale(1.08); }
.jc-cat-card__name {
  font-family: var(--display-font); font-size: 14px; font-weight: 700;
  letter-spacing: -.02em; color: var(--color-text); line-height: 1.35;
}
.jc-cat-card__arrow {
  font-size: 16px; color: rgba(147,51,234,.5);
  transition: transform .3s var(--ease-jc), color .25s ease;
}
.jc-cat-card:hover .jc-cat-card__arrow { transform: translateX(4px); color: #C084FC; }

/* ─ Promo popup ─ */
.jc-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 1500;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--jc-grad); border: none; color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--jc-glow), inset 0 1px 0 rgba(255,255,255,.2);
  transition: all .4s cubic-bezier(.34,1.2,.64,1);
  animation: jcFabIn .55s var(--ease-jc) .9s both;
}
.jc-fab:hover { transform: scale(1.1); }
.jc-fab.active { opacity: 0; transform: scale(.75) translateY(8px); pointer-events: none; }
.jc-fab svg { width: 21px; height: 21px; }
.jc-fab__badge {
  position: absolute; top: -4px; right: -4px;
  padding: 2px 7px; min-width: 20px; height: 20px; border-radius: 999px;
  background: #22D3EE; color: #07070F;
  font-family: var(--mono-font); font-size: 9px; font-weight: 700;
  letter-spacing: .04em; border: 2px solid var(--color-bg);
  display: flex; align-items: center; justify-content: center;
}
.jc-pop {
  position: fixed; bottom: 28px; right: 28px; z-index: 1499;
  width: 330px; max-width: calc(100vw - 40px);
  background: var(--color-brighter-bg);
  border: 1px solid rgba(147,51,234,.30); border-radius: 20px;
  padding: 28px 26px 24px;
  box-shadow: 0 24px 64px rgba(7,7,15,.9), var(--jc-glow-sm);
  opacity: 0; transform: translateX(calc(100% + 44px));
  transition: transform .5s cubic-bezier(.34,1.2,.64,1), opacity .3s ease;
  pointer-events: none; overflow: hidden;
}
.jc-pop::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--jc-grad);
}
.jc-pop.open { opacity: 1; transform: translateX(0); pointer-events: auto; }
.jc-pop__close {
  position: absolute; top: 12px; right: 12px;
  width: 26px; height: 26px; border-radius: 6px;
  background: none; border: none; color: var(--color-text-secondary);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.jc-pop__close:hover { background: var(--color-raised-bg); color: var(--color-text); }
.jc-pop__close svg { width: 13px; height: 13px; }
.jc-pop__lbl {
  font-family: var(--mono-font); font-size: 10px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  background: linear-gradient(135deg, #C084FC, #22D3EE);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 10px; display: block;
}
.jc-pop__title {
  font-family: var(--display-font); font-size: 21px; font-weight: 800;
  letter-spacing: -.04em; color: var(--color-text); line-height: 1.15;
  margin-bottom: 6px; padding-right: 24px;
}
.jc-pop__title .hi { background: linear-gradient(135deg, #C084FC, #22D3EE); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.jc-pop__sub { font-size: 13.5px; color: var(--color-text-secondary); line-height: 1.55; margin-bottom: 20px; }
.jc-pop__code {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; background: rgba(147,51,234,.10);
  border: 1.5px dashed rgba(147,51,234,.42); border-radius: 12px;
  cursor: pointer; margin-bottom: 12px; transition: all .22s ease;
}
.jc-pop__code:hover { background: rgba(147,51,234,.18); border-color: rgba(147,51,234,.65); }
.jc-pop__code-lbl {
  font-family: var(--mono-font); font-size: 10px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-secondary);
}
.jc-pop__code-val {
  font-family: var(--mono-font); font-size: 18px; font-weight: 700;
  color: #C084FC; letter-spacing: .04em; margin-top: 3px;
}
.jc-pop__code svg { width: 15px; height: 15px; color: var(--color-text-secondary); flex-shrink: 0; }
.jc-pop__copy {
  width: 100%; padding: 12px 20px; border-radius: 10px;
  background: var(--jc-grad); border: none; color: #fff;
  font-family: var(--display-font); font-size: 14px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: var(--jc-glow-sm); transition: all .35s cubic-bezier(.34,1.2,.64,1);
}
.jc-pop__copy:hover { transform: translateY(-2px); box-shadow: var(--jc-glow); }
.jc-pop__copy--done { background: linear-gradient(135deg, #10B981, #059669); pointer-events: none; }

/* ─ Categories Reel (scrolling showcase below grid) ─ */
.jc-cats-reel-section {
  padding: 40px 0 44px;
  margin-left: calc(-1 * var(--content-padding));
  margin-right: calc(-1 * var(--content-padding));
  background: rgba(13,13,28,.5);
  border-top: 1px solid rgba(147,51,234,.10);
}
.jc-cats-reel-hd { text-align: center; margin-bottom: 26px; padding: 0 24px; }
.jc-cats-reel-hd__label {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px;
  font-family: var(--mono-font); font-size: 10.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  background: linear-gradient(135deg, #C084FC 0%, #22D3EE 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.jc-cats-reel-hd__label::before { content: ''; height: 1px; width: 22px; background: linear-gradient(90deg, transparent, #9333EA); }
.jc-cats-reel-hd__label::after  { content: ''; height: 1px; width: 22px; background: linear-gradient(90deg, #06B6D4, transparent); }
.jc-cats-reel-hd h2 {
  font-family: var(--display-font); font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; letter-spacing: -.04em; color: var(--color-text);
}

.jc-cats-reel {
  position: relative; overflow: hidden; padding: 8px 0 12px;
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}
.jc-cats-reel__track {
  display: flex; gap: 16px; width: max-content;
  padding: 0 var(--content-padding);
  animation: jcReel 32s linear infinite; cursor: grab;
}
.jc-cats-reel__track:hover { animation-play-state: paused; }
.jc-cats-reel__track:active { cursor: grabbing; }
@keyframes jcReel {
  0%   { transform: translateX(0); }
  100% { transform: translateX(var(--jc-reel-w, -50%)); }
}

.jc-cat-reel-card {
  flex: 0 0 200px; display: flex; flex-direction: column; align-items: center;
  padding: 24px 18px 20px; border-radius: 18px;
  background: var(--color-raised-bg);
  border: 1px solid rgba(147,51,234,.18);
  text-decoration: none; color: inherit; gap: 14px;
  transition: all .38s var(--ease-jc); position: relative; overflow: hidden;
}
.jc-cat-reel-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--jc-grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-jc);
}
.jc-cat-reel-card:hover::before { transform: scaleX(1); }
.jc-cat-reel-card:hover {
  transform: translateY(-6px);
  border-color: rgba(147,51,234,.45);
  box-shadow: 0 0 0 1px rgba(6,182,212,.20), 0 16px 40px rgba(7,7,15,.8);
}
.jc-cat-reel-card__img {
  width: 72px; height: 72px; border-radius: 14px; overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(147,51,234,.10);
  transition: transform .45s var(--ease-jc);
}
.jc-cat-reel-card:hover .jc-cat-reel-card__img { transform: scale(1.08); }
.jc-cat-reel-card__img img { width: 100%; height: 100%; object-fit: contain; }
.jc-cat-reel-card__name {
  font-family: var(--display-font); font-size: 13px; font-weight: 700;
  letter-spacing: -.02em; color: var(--color-text); text-align: center; line-height: 1.3;
}
.jc-cat-reel-card__arrow {
  font-size: 15px; color: rgba(147,51,234,.5);
  transition: transform .3s var(--ease-jc), color .25s ease;
}
.jc-cat-reel-card:hover .jc-cat-reel-card__arrow { transform: translateX(4px); color: #C084FC; }

/* ═══════════════════════════════════════════════════════════════
   20 — KEYFRAMES
   ═══════════════════════════════════════════════════════════════ */
@keyframes jcRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes jcFabIn {
  from { opacity: 0; transform: scale(.7) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   21 — RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .jc-stat-sep { display: none; }
  .jc-stats { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .jc-stats::-webkit-scrollbar { display: none; }
  .jc-stat { padding: 4px 18px; }
  .jc-cats-grid { grid-template-columns: repeat(2, 1fr); }
  .jc-hero__btns { flex-direction: column; align-items: center; }
  .jc-btn { width: 100%; justify-content: center; }
  .jc-fab, .jc-pop { bottom: 18px; right: 18px; }
  .jc-pop { width: calc(100vw - 36px); }
}

/* ═══════════════════════════════════════════════════════════════
   22 — REDUCED MOTION
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .jc-hero__eyebrow, .jc-hero__h, .jc-hero__sub, .jc-hero__btns, .jc-pills, .jc-fab {
    animation: none; opacity: 1; transform: none;
  }
  .jc-ticker-track { animation: none; }
  .jc-hero__orb { animation: none; }
  .jc-hero__orb-ring { animation: none; }
  .site-sale-banner { animation: none; }
}
