/* ==========================================================================
   NovaPlay Retro — Storefront design system
   Mobile-first. Dark gaming sections + clean light sections.
   ========================================================================== */
:root {
  /* Brand */
  --np-ink: #0a0d18;          /* deepest dark */
  --np-navy: #10152a;         /* dark section bg */
  --np-navy-2: #171d38;       /* dark card */
  --np-line-dark: rgba(255,255,255,.09);
  --np-primary: #6d5cff;      /* CTA violet */
  --np-primary-600: #5a48f0;
  --np-cyan: #22d3ee;         /* glow accent */
  --np-glow: 0 0 0 1px rgba(109,92,255,.35), 0 10px 40px -10px rgba(109,92,255,.55);

  /* Light surfaces */
  --np-bg: #ffffff;
  --np-bg-soft: #f4f5fa;
  --np-text: #0f1222;
  --np-muted: #5b6078;
  --np-line: #e3e5ee;

  /* Status */
  --np-ok: #16a34a;
  --np-warn: #d97706;
  --np-err: #dc2626;
  --np-star: #f5b301;

  /* Type */
  --f-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-pill: 999px;
  --wrap: 1200px;
  --gutter: 16px;
  --header-h: 68px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
@media (min-width: 768px) { :root { --gutter: 28px; --header-h: 76px; } }

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--f-body); color: var(--np-text); background: var(--np-bg); line-height: 1.55; font-size: 16px; overflow-x: hidden; }
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
h1,h2,h3,h4 { font-family: var(--f-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 7vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; z-index: 1000; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--np-cyan); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section--dark { background: var(--np-navy); color: #e9ebf7; }
.section--ink { background: var(--np-ink); color: #e9ebf7; }
.section--soft { background: var(--np-bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head p { color: var(--np-muted); font-size: 1.05rem; }
.section--dark .section-head p, .section--ink .section-head p { color: #a9aecb; }
.eyebrow { display: inline-block; font-family: var(--f-display); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--np-primary); margin-bottom: 12px; }
.section--dark .eyebrow, .section--ink .eyebrow { color: var(--np-cyan); }
.muted { color: var(--np-muted); }
.hidden { display: none !important; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); border: 2px solid transparent; font-family: var(--f-display); font-weight: 700; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; transition: transform .18s var(--ease), background .18s, box-shadow .18s, color .18s, border-color .18s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--np-primary); color: #fff; box-shadow: 0 8px 24px -8px rgba(109,92,255,.7); }
.btn-primary:hover { background: var(--np-primary-600); box-shadow: var(--np-glow); transform: translateY(-1px); }
.btn-dark { background: var(--np-text); color: #fff; }
.btn-dark:hover { background: #262a40; }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-outline:hover { background: rgba(127,127,160,.1); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .8rem; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 12px; background: transparent; border: 0; color: inherit; position: relative; transition: background .15s; }
.icon-btn:hover { background: rgba(255,255,255,.08); }
.icon-btn svg { width: 22px; height: 22px; }
.badge-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--np-primary); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.badge-count:empty, .badge-count[data-count="0"] { display: none; }

/* ---------- Announcement ---------- */
.announce { background: linear-gradient(90deg, var(--np-primary-600), #3b2fb8 60%, #1b3f8f); color: #fff; font-size: .85rem; text-align: center; padding: 8px var(--gutter); font-weight: 500; }
.announce a { color: #fff; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10,13,24,.92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); color: #fff; border-bottom: 1px solid var(--np-line-dark); transition: box-shadow .2s; }
.site-header .bar { height: var(--header-h); display: flex; align-items: center; gap: 12px; transition: height .25s var(--ease); }
.site-header.is-compact .bar { height: calc(var(--header-h) - 14px); }
.site-header.is-compact { box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex-shrink: 0; }
.logo img { height: 40px; width: auto; transition: height .25s var(--ease); }
.site-header.is-compact .logo img { height: 32px; }
.logo-text { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; }
.logo-text b { color: var(--np-cyan); font-weight: 700; }
.main-nav { display: none; margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: .95rem; color: #cfd3ea; transition: color .15s, background .15s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.06); }
.header-icons { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.menu-toggle { display: inline-grid; }
@media (min-width: 1024px) {
  .main-nav { display: block; }
  .header-icons { margin-left: 8px; }
  .menu-toggle { display: none; }
}
.mobile-nav { position: fixed; inset: 0; z-index: 80; background: rgba(5,7,14,.6); opacity: 0; pointer-events: none; transition: opacity .2s; }
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav .panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(86vw, 360px); background: var(--np-navy); color: #fff; padding: 20px; transform: translateX(-100%); transition: transform .28s var(--ease), visibility 0s linear .28s; visibility: hidden; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; }
.mobile-nav.open .panel { transform: none; visibility: visible; transition: transform .28s var(--ease); }
.mobile-nav a { display: block; padding: 14px 12px; border-radius: 12px; text-decoration: none; font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; }
.mobile-nav a:hover { background: rgba(255,255,255,.06); }
.mobile-nav .panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 80% 10%, rgba(109,92,255,.35), transparent 60%), radial-gradient(800px 500px at 0% 100%, rgba(34,211,238,.16), transparent 60%), var(--np-ink); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: 32px; padding-top: 48px; padding-bottom: 56px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.05fr .95fr; padding-top: 80px; padding-bottom: 96px; } }
.hero h1 { font-size: clamp(2.4rem, 8vw, 4.8rem); letter-spacing: -.02em; }
.hero h1 span { display: block; }
.hero h1 .accent { background: linear-gradient(90deg, #fff, var(--np-cyan) 40%, var(--np-primary) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.1rem; color: #bfc4e0; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-media { position: relative; aspect-ratio: 1/1; max-width: 560px; justify-self: center; width: 100%; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 60px rgba(109,92,255,.35)); }
.hero-media .float { animation: np-float 6s ease-in-out infinite; }
@keyframes np-float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
.hero-media::after { content: ""; position: absolute; left: 15%; right: 15%; bottom: 2%; height: 8%; background: radial-gradient(closest-side, rgba(109,92,255,.55), transparent); filter: blur(10px); z-index: -1; }

/* ---------- Benefits ---------- */
.benefits { background: var(--np-navy); color: #fff; border-top: 1px solid var(--np-line-dark); }
.benefits .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--np-line-dark); }
@media (min-width: 900px) { .benefits .grid { grid-template-columns: repeat(4, 1fr); } }
.benefit { background: var(--np-navy); padding: 24px 16px; text-align: center; }
@media (min-width: 900px) { .benefit { padding: 32px 24px; } }
.benefit .ico { font-size: 1.6rem; margin-bottom: 8px; }
.benefit h3 { font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.benefit p { font-size: .88rem; color: #a9aecb; margin: 0; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .product-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.p-card { position: relative; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--np-line); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.p-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(16,21,42,.35); border-color: #cfd2f5; }
.p-card .media { position: relative; aspect-ratio: 4/3; background: radial-gradient(closest-side, #eef0ff, #f6f7fb); display: grid; place-items: center; overflow: hidden; }
.p-card.theme-dark .media { background: radial-gradient(closest-side, #262d52, #121729); }
.p-card .media img { width: 78%; height: 88%; object-fit: contain; transition: transform .4s var(--ease); }
.p-card:hover .media img { transform: scale(1.04) rotate(-1deg); }
.p-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.p-card h3 { font-size: 1.45rem; margin: 0; }
.p-card .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--r-pill); background: var(--np-bg-soft); border: 1px solid var(--np-line); font-size: .8rem; font-weight: 600; color: #30354f; }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); }
.section--dark .chip { background: rgba(255,255,255,.06); border-color: var(--np-line-dark); color: #d6d9ef; }
.p-card .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 8px; }
.ribbon { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--np-primary); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: .75rem; letter-spacing: .12em; padding: 7px 12px; border-radius: var(--r-pill); box-shadow: var(--np-glow); }
.ribbon.sale { left: auto; right: 16px; background: var(--np-err); box-shadow: none; }

.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price .now { font-family: var(--f-display); font-size: 1.7rem; font-weight: 700; }
.price .was { color: var(--np-muted); text-decoration: line-through; }
.price .off { color: var(--np-err); font-weight: 700; font-size: .9rem; }

.stock { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock.in { color: var(--np-ok); } .stock.low { color: var(--np-warn); } .stock.out { color: var(--np-err); }

.stars { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--np-muted); }
.stars .s { color: var(--np-star); letter-spacing: 1px; font-size: 1rem; }

/* ---------- Lifestyle ---------- */
.lifestyle { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .lifestyle { grid-template-columns: 1fr 1fr; gap: 56px; } }
.lifestyle .visual { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; background: linear-gradient(135deg, #1a1f3d, #0c0f1d); position: relative; }
.lifestyle .visual img { width: 100%; height: 100%; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: "✓"; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(109,92,255,.15); color: var(--np-primary); font-weight: 800; font-size: .85rem; }
.section--dark .ticks li::before { color: var(--np-cyan); background: rgba(34,211,238,.12); }

/* ---------- Comparison ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--np-line); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--np-line); vertical-align: middle; }
.compare thead th { font-family: var(--f-display); font-size: 1.05rem; background: var(--np-bg-soft); }
.compare tbody th { font-weight: 600; color: var(--np-muted); width: 28%; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare .hl { background: rgba(109,92,255,.05); }
.compare .tag { display: inline-block; margin-left: 6px; font-size: .68rem; letter-spacing: .1em; padding: 3px 8px; border-radius: 99px; background: var(--np-primary); color: #fff; vertical-align: middle; }

/* ---------- Game search ---------- */
.search-box { position: relative; max-width: 680px; margin: 0 auto; }
.search-box input { width: 100%; height: 60px; padding: 0 20px 0 54px; border-radius: var(--r-pill); border: 2px solid transparent; background: #fff; color: var(--np-text); font-size: 1.05rem; box-shadow: 0 10px 40px -10px rgba(0,0,0,.4); }
.search-box input:focus { outline: none; border-color: var(--np-primary); }
.search-box svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--np-muted); }
.game-results { display: grid; gap: 10px; margin-top: 20px; }
.game-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--np-line); border-radius: var(--r-md); }
.section--dark .game-row, .section--ink .game-row { background: var(--np-navy-2); border-color: var(--np-line-dark); }
.game-row .title { font-weight: 600; }
.game-row .sys { font-size: .85rem; color: var(--np-muted); }
.section--dark .game-row .sys { color: #9ba1c4; }
.game-row .avail { display: flex; gap: 6px; flex-shrink: 0; }
.cap { font-size: .72rem; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: rgba(109,92,255,.12); color: var(--np-primary); letter-spacing: .04em; }
.section--dark .cap { color: #c7c0ff; background: rgba(109,92,255,.22); }
.popular-games { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.filter-btn { min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--np-line); background: #fff; font-weight: 600; font-size: .88rem; color: #30354f; transition: all .15s; }
.filter-btn:hover { border-color: var(--np-primary); }
.filter-btn[aria-pressed="true"] { background: var(--np-text); color: #fff; border-color: var(--np-text); }
.filter-group-label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--np-muted); margin: 18px 0 0; }
.count-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 520px; margin: 24px auto 0; }
.count-card { padding: 18px; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid var(--np-line-dark); text-align: center; }
.count-card b { display: block; font-family: var(--f-display); font-size: 1.6rem; color: #fff; }
.count-card span { font-size: .85rem; color: #a9aecb; }

/* ---------- Demo video block ---------- */
.demo-video { position: relative; max-width: 980px; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; background: #000; aspect-ratio: 16/9; box-shadow: 0 40px 80px -30px rgba(109,92,255,.5); }
.demo-video video, .demo-video img { width: 100%; height: 100%; object-fit: cover; }
.play-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(transparent, rgba(0,0,0,.35)); border: 0; color: #fff; }
.play-overlay span { width: 84px; height: 84px; border-radius: 50%; background: rgba(109,92,255,.92); display: grid; place-items: center; box-shadow: var(--np-glow); transition: transform .2s; }
.play-overlay:hover span { transform: scale(1.08); }
.play-overlay svg { width: 34px; height: 34px; margin-left: 5px; }

/* ---------- Reviews ---------- */
.reviews-summary { display: grid; gap: 24px; }
@media (min-width: 860px) { .reviews-summary { grid-template-columns: 280px 1fr; align-items: start; } }
.rating-big { font-family: var(--f-display); font-size: 3.4rem; font-weight: 700; line-height: 1; }
.dist-row { display: grid; grid-template-columns: 36px 1fr 36px; gap: 10px; align-items: center; font-size: .85rem; margin: 6px 0; }
.dist-bar { height: 8px; border-radius: 4px; background: var(--np-line); overflow: hidden; }
.dist-bar i { display: block; height: 100%; background: var(--np-star); }
.review-list { display: grid; gap: 16px; }
.review { padding: 20px; border: 1px solid var(--np-line); border-radius: var(--r-md); background: #fff; }
.review h4 { margin: 6px 0; font-size: 1.05rem; }
.review .who { font-size: .85rem; color: var(--np-muted); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.verified { color: var(--np-ok); font-weight: 700; font-size: .72rem; letter-spacing: .08em; }
.review-photos { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.review-photos img, .review-photos video { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; }

/* ---------- Why / feature cards ---------- */
.feature-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.f-card { padding: 24px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--np-line); transition: transform .2s var(--ease), border-color .2s; }
.f-card:hover { transform: translateY(-3px); border-color: #cfd2f5; }
.section--dark .f-card, .section--ink .f-card { background: var(--np-navy-2); border-color: var(--np-line-dark); }
.f-card .ico { font-size: 1.6rem; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(109,92,255,.12); margin-bottom: 14px; }
.f-card p { color: var(--np-muted); margin: 0; font-size: .95rem; }
.section--dark .f-card p { color: #a9aecb; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--np-line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--np-primary); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .a { padding: 0 20px 18px; color: #3d425c; }
.faq-cat { max-width: 860px; margin: 36px auto 12px; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--np-primary); }

/* ---------- Newsletter ---------- */
.newsletter { text-align: center; }
.newsletter form { display: flex; flex-direction: column; gap: 10px; max-width: 520px; margin: 0 auto; }
@media (min-width: 560px) { .newsletter form { flex-direction: row; } }
.newsletter input[type=email] { flex: 1; height: 52px; padding: 0 20px; border-radius: var(--r-pill); border: 1px solid var(--np-line-dark); background: rgba(255,255,255,.06); color: #fff; }
.newsletter input::placeholder { color: #8f95b8; }
.consent { font-size: .8rem; color: #8f95b8; margin-top: 12px; }
.consent a { color: #c7cbe6; }

/* ---------- Footer ---------- */
.site-footer { background: var(--np-ink); color: #b7bbd6; padding: 56px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand p { color: #8f95b8; margin-top: 8px; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: #b7bbd6; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--np-line-dark); display: grid; place-items: center; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--np-line-dark); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .85rem; color: #8087ad; }
.pay-icons { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-icons span { font-size: .7rem; font-weight: 700; padding: 4px 8px; border: 1px solid var(--np-line-dark); border-radius: 6px; color: #c7cbe6; }

/* ---------- Drawer (cart) ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(5,7,14,.55); opacity: 0; transition: opacity .25s; }
.drawer .panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(100vw, 440px); background: #fff; transform: translateX(100%); transition: transform .3s var(--ease), visibility 0s linear .3s; visibility: hidden; display: flex; flex-direction: column; }
.drawer.open { pointer-events: auto; }
.drawer.open .scrim { opacity: 1; }
.drawer.open .panel { transform: none; visibility: visible; transition: transform .3s var(--ease); box-shadow: -20px 0 60px rgba(0,0,0,.25); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--np-line); }
.drawer-head h2 { font-size: 1.3rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { border-top: 1px solid var(--np-line); padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 10px; background: #fff; }
.cart-line { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--np-line); }
.cart-line img { width: 76px; height: 76px; object-fit: contain; background: var(--np-bg-soft); border-radius: 12px; padding: 6px; }
.cart-line .name { font-weight: 700; font-family: var(--f-display); }
.cart-line .opts { font-size: .82rem; color: var(--np-muted); }
.cart-line .row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--np-line); border-radius: var(--r-pill); overflow: hidden; }
.qty button { width: 38px; height: 38px; border: 0; background: transparent; font-size: 1.1rem; font-weight: 700; }
.qty button:hover { background: var(--np-bg-soft); }
.qty input { width: 40px; height: 38px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.link-btn { background: none; border: 0; padding: 4px; color: var(--np-muted); text-decoration: underline; font-size: .82rem; }
.sum-row { display: flex; justify-content: space-between; font-size: .95rem; }
.sum-row.total { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; }
.empty-state { text-align: center; padding: 48px 12px; color: var(--np-muted); }
.empty-state .big { font-size: 3rem; margin-bottom: 8px; }
.empty-state h3 { color: var(--np-text); }

/* ---------- Search overlay ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(5,7,14,.7); backdrop-filter: blur(6px); display: none; padding: 12px; }
.search-overlay.open { display: block; }
.search-overlay .box { max-width: 720px; margin: 6vh auto 0; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.search-overlay .inp { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--np-line); }
.search-overlay input { flex: 1; border: 0; height: 48px; font-size: 1.1rem; outline: none; }
.search-overlay .res { max-height: 60vh; overflow-y: auto; padding: 8px; }
.search-group h5 { margin: 10px 10px 6px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--np-muted); }
.search-hit { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; }
.search-hit:hover, .search-hit:focus { background: var(--np-bg-soft); }
.search-hit img { width: 44px; height: 44px; object-fit: contain; background: var(--np-bg-soft); border-radius: 8px; }
.search-hit small { display: block; color: var(--np-muted); }

/* ---------- Modal (popup) ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 16px; background: rgba(5,7,14,.65); }
.modal.open { display: grid; animation: np-fade .25s; }
@keyframes np-fade { from { opacity: 0 } to { opacity: 1 } }
.modal .card { position: relative; width: min(100%, 460px); border-radius: var(--r-lg); background: var(--np-navy); color: #fff; overflow: hidden; text-align: center; box-shadow: var(--np-glow); }
.modal .card img { width: 100%; max-height: 220px; object-fit: cover; }
.modal .card .inner { padding: 28px; }
.modal .close { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,.4); color: #fff; }

/* ---------- Toast ---------- */
.toast-host { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { background: var(--np-text); color: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.3); font-weight: 500; animation: np-toast .25s var(--ease); pointer-events: auto; }
.toast.err { background: var(--np-err); }
@keyframes np-toast { from { transform: translateY(10px); opacity: 0 } }

/* ---------- Page header ---------- */
.page-hero { background: radial-gradient(900px 400px at 70% 0%, rgba(109,92,255,.3), transparent 60%), var(--np-ink); color: #fff; padding: 56px 0 48px; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
.page-hero p { color: #b7bbd6; max-width: 640px; margin: 0 auto; }
.breadcrumbs { font-size: .85rem; color: var(--np-muted); padding: 14px 0; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }

/* ---------- Product page ---------- */
.pdp { display: grid; gap: 28px; padding-bottom: 40px; }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; } .pdp .buy { position: sticky; top: calc(var(--header-h) + 16px); } }
.gallery { position: relative; min-width: 0; }
.g-viewer { position: relative; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(closest-side, #eef0ff, #f4f5fa); aspect-ratio: 1/1; }
.g-viewer.theme-dark { background: radial-gradient(closest-side, #262d52, #0f1326); }
.g-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.g-track::-webkit-scrollbar { display: none; }
.g-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; position: relative; display: grid; place-items: center; }
.g-slide img { width: 100%; height: 100%; object-fit: contain; padding: 4%; user-select: none; -webkit-user-drag: none; }
.g-slide video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.g-slide .vposter { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: #000; display: grid; place-items: center; }
.g-slide .vposter img { position: absolute; inset: 0; padding: 0; object-fit: cover; opacity: .9; }
.g-slide .vposter .play { position: relative; z-index: 1; width: 76px; height: 76px; border-radius: 50%; background: rgba(109,92,255,.95); display: grid; place-items: center; color: #fff; box-shadow: var(--np-glow); }
.g-slide .vposter .play svg { width: 30px; height: 30px; margin-left: 4px; }
.watermark { position: absolute; right: 14px; top: 14px; z-index: 3; font-family: var(--f-display); font-weight: 700; font-size: .8rem; letter-spacing: .08em; color: rgba(255,255,255,.55); pointer-events: none; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); box-shadow: 0 4px 14px rgba(0,0,0,.18); display: none; place-items: center; color: var(--np-text); }
.g-nav.prev { left: 12px; } .g-nav.next { right: 12px; }
@media (hover: hover) and (min-width: 768px) { .g-nav { display: grid; } }
.g-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.g-dots span { width: 8px; height: 8px; border-radius: 50%; background: #cfd2e2; transition: all .2s; }
.g-dots span.on { width: 22px; border-radius: 4px; background: var(--np-primary); }
@media (min-width: 768px) { .g-dots { display: none; } }
.g-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 4px 2px; scrollbar-width: thin; }
.g-thumb { position: relative; flex: 0 0 76px; height: 76px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--np-bg-soft); padding: 0; transition: border-color .15s; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-thumb[aria-current="true"] { border-color: var(--np-primary); }
.g-thumb .vbadge { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10,13,24,.45); color: #fff; }
.g-thumb .vbadge svg { width: 26px; height: 26px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.g-thumb .vbadge::after { content: "VIDEO"; position: absolute; bottom: 4px; font-size: .58rem; font-weight: 800; letter-spacing: .1em; }
.g-counter { position: absolute; left: 14px; top: 14px; z-index: 3; background: rgba(10,13,24,.6); color: #fff; font-size: .75rem; padding: 4px 10px; border-radius: 99px; }

.buy h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: 10px; }
.buy .specline { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.buy .short { color: #3d425c; }
.buy .row-actions { display: grid; gap: 10px; margin: 18px 0; }
@media (min-width: 480px) { .buy .row-actions { grid-template-columns: auto 1fr 1fr; align-items: center; } }
.trust-mini { list-style: none; padding: 16px; margin: 0; display: grid; gap: 8px; border: 1px dashed var(--np-line); border-radius: var(--r-md); font-size: .92rem; }
.field-label { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--np-muted); }

.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--np-line); }
.spec-table th, .spec-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--np-line); }
.spec-table th { width: 38%; color: var(--np-muted); font-weight: 600; background: var(--np-bg-soft); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.box-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .box-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } }
.box-item { text-align: center; padding: 18px 12px; border: 1px solid var(--np-line); border-radius: var(--r-md); background: #fff; }
.box-item img { width: 90px; height: 90px; object-fit: contain; margin: 0 auto 10px; }
.box-item .ico { font-size: 2rem; margin-bottom: 8px; }

.sticky-buy { visibility: hidden; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-top: 1px solid var(--np-line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .25s var(--ease); }
.sticky-buy.show { transform: none; visibility: visible; }
.sticky-buy .p { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; }
.sticky-buy .btn { flex: 1; }
@media (min-width: 960px) { .sticky-buy { display: none; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 14px; }
.form-grid .two { display: grid; gap: 14px; }
@media (min-width: 560px) { .form-grid .two { grid-template-columns: 1fr 1fr; } .form-grid .three { display: grid; gap: 14px; grid-template-columns: 1.4fr 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; font-weight: 600; color: #30354f; }
.input, .field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid #cdd0de; background: #fff; color: var(--np-text); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--np-primary); box-shadow: 0 0 0 4px rgba(109,92,255,.15); }
.field .err { color: var(--np-err); font-size: .8rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--np-err); }
.field.invalid .err { display: block; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--np-primary); }
.card { background: #fff; border: 1px solid var(--np-line); border-radius: var(--r-lg); padding: 22px; }
@media (min-width: 768px) { .card { padding: 28px; } }
.card h2, .card h3 { margin-top: 0; }
.notice { padding: 14px 16px; border-radius: 12px; background: #eef0ff; color: #3a2fb0; font-size: .9rem; }
.notice.warn { background: #fff7e6; color: #8a5300; }
.notice.err { background: #fdecec; color: #9b1c1c; }
.notice.ok { background: #e9f8ef; color: #135e2f; }

/* ---------- Checkout ---------- */
.checkout { display: grid; gap: 24px; padding: 32px 0 64px; }
@media (min-width: 980px) { .checkout { grid-template-columns: 1.2fr .8fr; align-items: start; } .checkout .summary { position: sticky; top: calc(var(--header-h) + 16px); } }
.ship-options { display: grid; gap: 10px; }
.ship-opt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--np-line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.ship-opt:has(input:checked) { border-color: var(--np-primary); background: rgba(109,92,255,.05); }
.ship-opt input { accent-color: var(--np-primary); width: 18px; height: 18px; }
.ship-opt .l { flex: 1; }
.ship-opt .l small { display: block; color: var(--np-muted); }
.ship-opt .p { font-weight: 700; }
.free { color: var(--np-ok); font-weight: 800; letter-spacing: .04em; }
.step-title { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.step-title .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--np-text); color: #fff; font-size: .9rem; }
.sum-lines { display: grid; gap: 12px; margin-bottom: 16px; }
.sum-line { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; }
.sum-line .th { position: relative; }
.sum-line img { width: 60px; height: 60px; object-fit: contain; background: var(--np-bg-soft); border-radius: 10px; padding: 4px; }
.sum-line .q { position: absolute; top: -6px; right: -6px; background: var(--np-muted); color: #fff; font-size: .7rem; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; }
.coupon { display: flex; gap: 8px; margin: 12px 0; }
.coupon input { flex: 1; }
#payment-element { min-height: 60px; }

/* ---------- Tracking ---------- */
.timeline { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 22px 42px; color: var(--np-muted); }
.timeline li::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 0; width: 2px; background: var(--np-line); }
.timeline li:last-child::before { display: none; }
.timeline li .dot { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--np-line); background: #fff; display: grid; place-items: center; font-size: .75rem; font-weight: 800; }
.timeline li.done { color: var(--np-text); }
.timeline li.done .dot { background: var(--np-ok); border-color: var(--np-ok); color: #fff; }
.timeline li.done::before { background: var(--np-ok); }
.timeline li.current .dot { box-shadow: 0 0 0 5px rgba(22,163,74,.2); }
.timeline li b { display: block; font-weight: 700; }
.status-pill { display: inline-block; padding: 4px 10px; border-radius: 99px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--np-bg-soft); border: 1px solid var(--np-line); }
.status-pill.ok { background: #e9f8ef; color: #135e2f; border-color: #c6ebd3; }
.status-pill.warn { background: #fff7e6; color: #8a5300; border-color: #f5dfb0; }
.status-pill.err { background: #fdecec; color: #9b1c1c; border-color: #f4c6c6; }
.status-pill.info { background: #eef0ff; color: #3a2fb0; border-color: #d6d9ff; }

/* ---------- Account ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--np-line); margin-bottom: 24px; }
.tabs button { background: none; border: 0; padding: 12px 14px; font-weight: 600; color: var(--np-muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--np-text); border-color: var(--np-primary); }
.order-card { border: 1px solid var(--np-line); border-radius: var(--r-md); padding: 16px; display: grid; gap: 8px; margin-bottom: 12px; }
.order-card .top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Support ---------- */
.support-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.support-tile { padding: 20px; border: 1px solid var(--np-line); border-radius: var(--r-md); text-decoration: none; background: #fff; transition: border-color .15s, transform .15s; }
.support-tile:hover { border-color: var(--np-primary); transform: translateY(-2px); }
.support-tile .ico { font-size: 1.5rem; }
.support-tile h3 { margin: 8px 0 4px; font-size: 1.05rem; }
.support-tile p { margin: 0; font-size: .88rem; color: var(--np-muted); }
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #30354f; }

/* ---------- Loading ---------- */
.skeleton { background: linear-gradient(90deg, #eceef5 25%, #f6f7fb 50%, #eceef5 75%); background-size: 200% 100%; animation: np-sk 1.2s infinite; border-radius: 12px; }
@keyframes np-sk { to { background-position: -200% 0 } }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; animation: np-spin .7s linear infinite; }
@keyframes np-spin { to { transform: rotate(360deg) } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.demo-banner { background: #fff7e6; color: #8a5300; font-size: .8rem; text-align: center; padding: 6px var(--gutter); border-bottom: 1px solid #f5dfb0; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 24px; align-items: center; }

/* ---------- Brand logo sizing ---------- */
.logo img { height: 34px; width: auto; }
@media (min-width: 768px) { .logo img { height: 42px; } }
.site-header.is-compact .logo img { height: 32px; }
.footer-brand .logo img { height: 46px; }

/* ---------- Feature showcase ---------- */
.feature-strip { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .feature-strip { grid-template-columns: repeat(5, 1fr); } }
.feature-strip figure { margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--np-navy-2); border: 1px solid var(--np-line-dark); display: flex; flex-direction: column; }
.feature-strip img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .4s var(--ease); }
.feature-strip figure:hover img { transform: scale(1.04); }
.feature-strip figcaption { padding: 10px 12px; font-size: .85rem; font-weight: 600; color: #d6d9ef; }

/* ---------- Gaming system logos ---------- */
.systems-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 24px auto 0; max-width: 900px; }
.systems-strip span { width: 76px; height: 56px; border-radius: 12px; background: rgba(255,255,255,.95); display: grid; place-items: center; padding: 8px; }
.systems-strip img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sys-ic { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; background: #fff; border-radius: 8px; padding: 4px; border: 1px solid var(--np-line); }
.game-row { justify-content: flex-start; }
.fb-ic { width: 22px; height: 22px; object-fit: contain; display: inline-block; vertical-align: middle; margin-right: 6px; }

/* ---------- Portrait demo video ---------- */
.demo-video.portrait { aspect-ratio: 9/16; max-width: 400px; }
.demo-video video { object-fit: contain; background: #000; }

/* Robust media fitting (tall product cut-outs must never crop) */
.p-card .media img { position: absolute; inset: 6% 8%; width: 84%; height: 88%; object-fit: contain; }
.g-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.g-slide > video { position: absolute; inset: 0; width: 100%; height: 100%; }
.lifestyle .visual img { position: absolute; inset: 0; }
.systems-strip span { width: 96px; height: 64px; overflow: hidden; }
.systems-strip img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 480px) { .systems-strip span { width: 76px; height: 52px; } }
.systems-strip span { display: flex; align-items: center; justify-content: center; padding: 6px; box-sizing: border-box; }
.systems-strip img { width: auto; height: auto; max-width: 100%; max-height: 52px; }
@media (max-width: 480px) { .systems-strip img { max-height: 40px; } }

/* ==========================================================================
   Motion layer (only active when html.motion is set = no reduced-motion)
   ========================================================================== */
/* Hero entrance */
.motion .hero .eyebrow, .motion .hero h1 span, .motion .hero .lead, .motion .hero-ctas { opacity: 0; animation: np-rise .9s var(--ease) forwards; }
.motion .hero .eyebrow { animation-delay: .05s; }
.motion .hero h1 span:nth-child(1) { animation-delay: .15s; }
.motion .hero h1 span:nth-child(2) { animation-delay: .35s; }
.motion .hero .lead { animation-delay: .55s; }
.motion .hero-ctas { animation-delay: .7s; }
.motion .hero-media { opacity: 0; animation: np-pop 1.1s .3s var(--ease) forwards; transition: transform .25s ease-out; will-change: transform; }
@keyframes np-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes np-pop { from { opacity: 0; scale: .85; translate: 0 30px; } to { opacity: 1; scale: 1; translate: 0 0; } }
/* Accent headline shimmer */
.motion .hero h1 .accent { background-size: 200% auto; animation: np-rise .9s .35s var(--ease) forwards, np-shine 6s 1.3s linear infinite; }
@keyframes np-shine { to { background-position: -200% center; } }
/* Glow pulse behind consoles */
.motion .hero-media::after { animation: np-glow 4s ease-in-out infinite; }
@keyframes np-glow { 0%,100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.15); } }
/* Moving grid */
.motion .hero::before { animation: np-grid 18s linear infinite; }
@keyframes np-grid { to { background-position: 44px 44px, 44px 44px; } }
/* Particles */
.hero .particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero .particles i { position: absolute; bottom: -10px; border-radius: 2px; opacity: 0; animation: np-float-up linear infinite; box-shadow: 0 0 8px currentColor; }
@keyframes np-float-up { 0% { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: .8; } 90% { opacity: .6; } 100% { transform: translateY(-110vh) rotate(180deg); opacity: 0; } }
.hero .wrap { z-index: 1; }

/* Animated announcement gradient */
.motion .announce { background-size: 200% 100%; animation: np-slide-bg 10s ease-in-out infinite alternate; }
@keyframes np-slide-bg { to { background-position: 100% 0; } }

/* Buttons: light sweep on hover */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s var(--ease); pointer-events: none; }
.btn-primary:hover::after { left: 140%; }
.motion .hero-ctas .btn-primary { animation: np-rise .9s .7s var(--ease) forwards, np-pulse 2.8s 2s ease-in-out infinite; }
@keyframes np-pulse { 0%,100% { box-shadow: 0 8px 24px -8px rgba(109,92,255,.7); } 50% { box-shadow: 0 8px 34px -4px rgba(109,92,255,1), 0 0 0 6px rgba(109,92,255,.12); } }

/* Product cards: tilt + spotlight */
.motion .p-card { transition: transform .25s ease-out, box-shadow .3s, border-color .3s, opacity .6s var(--ease); transform-style: preserve-3d; }
.p-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(109,92,255,.14), transparent 45%); }
.p-card:hover::after { opacity: 1; }
.motion .p-card .media img { animation: np-bob 5s ease-in-out infinite; }
.motion .p-card:nth-child(2) .media img { animation-delay: -2.5s; }
@keyframes np-bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.ribbon { animation: none; }
.motion .ribbon:not(.sale) { animation: np-badge 2.4s ease-in-out infinite; }
@keyframes np-badge { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }

/* Scroll reveal variants */
.motion .reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.motion .feature-strip figure.reveal { transform: translateY(30px) scale(.96); }
.motion .feature-strip figure.reveal.in { transform: none; }
.motion .benefit { transition: transform .3s var(--ease), background .3s; }
.motion .benefit:hover { transform: translateY(-4px); background: var(--np-navy-2); }
.motion .benefit .ico { display: inline-block; transition: transform .4s var(--ease); }
.motion .benefit:hover .ico { transform: scale(1.25) rotate(-8deg); }
.motion .f-card:hover .ico { animation: np-wiggle .6s ease; }
@keyframes np-wiggle { 25% { transform: rotate(-10deg) scale(1.1); } 75% { transform: rotate(8deg) scale(1.1); } }

/* Count cards glow */
.motion .count-card { transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.motion .count-card:hover { transform: translateY(-4px); border-color: rgba(109,92,255,.6); box-shadow: 0 10px 40px -12px rgba(109,92,255,.7); }
.count-card b { font-variant-numeric: tabular-nums; background: linear-gradient(90deg, #fff, var(--np-cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 2rem; }

/* System logo marquee */
.marquee { display: grid; gap: 12px; margin: 20px 0 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-row { overflow: hidden; }
.mq-track { display: flex; gap: 12px; width: max-content; animation: np-marquee 40s linear infinite; }
.mq-row.rev .mq-track { animation-direction: reverse; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-track span { flex: 0 0 auto; width: 110px; height: 70px; border-radius: 14px; background: rgba(255,255,255,.96); display: flex; align-items: center; justify-content: center; padding: 8px; transition: transform .25s var(--ease), box-shadow .25s; }
.mq-track span:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 10px 30px -10px rgba(34,211,238,.8); }
.mq-track img { max-width: 100%; max-height: 54px; width: auto; height: auto; object-fit: contain; }
@keyframes np-marquee { to { transform: translateX(-50%); } }

/* Cart bounce */
.icon-btn.bump { animation: np-bump .6s var(--ease); }
@keyframes np-bump { 0% { transform: scale(1); } 30% { transform: scale(1.35) rotate(-10deg); } 60% { transform: scale(.9) rotate(6deg); } 100% { transform: scale(1); } }

/* Gallery thumbs & viewer */
.motion .g-thumb { transition: border-color .15s, transform .2s var(--ease); }
.motion .g-thumb:hover { transform: translateY(-3px); }
.motion .g-slide > img { transition: transform .5s var(--ease); }
.motion .g-viewer:hover .g-slide > img { transform: scale(1.03); }

/* Page hero title entrance on inner pages */
.motion .page-hero h1, .motion .page-hero p, .motion .page-hero .eyebrow { opacity: 0; animation: np-rise .8s var(--ease) forwards; }
.motion .page-hero h1 { animation-delay: .1s; } .motion .page-hero p { animation-delay: .25s; }

/* Demo video frame glow */
.motion .demo-video { animation: np-frame 5s ease-in-out infinite; }
@keyframes np-frame { 0%,100% { box-shadow: 0 40px 80px -30px rgba(109,92,255,.5); } 50% { box-shadow: 0 40px 90px -20px rgba(34,211,238,.55); } }

@media (prefers-reduced-motion: reduce) { .hero .particles { display: none; } .mq-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }
