/* ============================================================
   GamersZone Israel — Core Stylesheet
   Theme: Clean professional blue / cyan (no neon glow)
   ============================================================ */

:root {
  --bg-0: #0a0f1a;
  --bg-1: #0c121f;
  --bg-2: #111a2b;
  --surface: #131c2e;
  --surface-2: #16203450;
  --surface-solid: #121a29;
  --border: rgba(148, 178, 216, 0.12);
  --border-strong: rgba(120, 170, 230, 0.28);

  --cyan: #38bdf8;
  --cyan-2: #22a6d6;
  --blue: #2f7ff0;
  --blue-deep: #1d4ed8;

  --text: #eaf0f8;
  --text-dim: #9fb0c8;
  --text-mute: #64748b;

  --shadow-sm: 0 6px 18px -8px rgba(0, 0, 0, 0.55);
  --shadow: 0 20px 44px -20px rgba(0, 0, 0, 0.7);
  --grad: linear-gradient(135deg, #2f7ff0 0%, #38bdf8 100%);
  --grad-text: linear-gradient(90deg, #7cc4fb, #4f9df5);

  --radius: 14px;
  --radius-lg: 20px;
  --nav-h: 74px;
  --maxw: 1280px;
  --font: 'Inter', 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Sora', 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-0);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ---------- Background (subtle, no glow blooms) ---------- */
.bg-fx {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, #0b1220 0%, #0a0f1a 55%, #090d16 100%);
}
.bg-fx::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 520px at 12% -8%, rgba(47, 127, 240, 0.07), transparent 60%),
    radial-gradient(760px 560px at 100% 0%, rgba(56, 189, 248, 0.06), transparent 58%);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: 0.35;
  background-image:
    linear-gradient(rgba(120, 160, 210, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 210, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 72%);
}
#particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { position: relative; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--cyan); font-weight: 700;
  padding: 6px 14px; border: 1px solid var(--border-strong);
  border-radius: 999px; background: rgba(56, 189, 248, 0.05);
}
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 700; letter-spacing: -0.5px; margin: 16px 0 10px;
  line-height: 1.12;
}
.section-head p { color: var(--text-dim); max-width: 620px; margin: 0 auto; }
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Navbar ---------- */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
header.nav.scrolled {
  background: rgba(10, 15, 26, 0.9);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: .2px; }
.brand .logo {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad); position: relative; flex-shrink: 0;
  font-size: 1.05rem; color: #fff;
}
.brand b { color: var(--cyan); font-weight: 700; }
.brand span.sub { color: var(--text-mute); font-weight: 600; font-family: var(--font); font-size: .6rem; letter-spacing: 3px; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 15px; border-radius: 9px; font-size: .92rem; font-weight: 500; color: var(--text-dim);
  transition: color .2s, background .2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(120, 160, 210, 0.07); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-dim);
  cursor: pointer; transition: .2s; position: relative;
}
.icon-btn:hover { color: var(--cyan); border-color: var(--border-strong); }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--blue); color: #fff; font-size: .68rem; font-weight: 700;
  display: grid; place-items: center;
}
.hamburger { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px; border-radius: 11px; font-weight: 600; font-size: .95rem;
  cursor: pointer; border: none; position: relative; overflow: hidden;
  transition: transform .18s, box-shadow .25s, background .25s; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + 66px) 0 84px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.3rem, 5.5vw, 4rem); line-height: 1.05; letter-spacing: -1.5px; margin: 22px 0 20px;
}
.hero h1 .line2 { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.1rem; color: var(--text-dim); max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 42px; flex-wrap: wrap; }
.hero-stats .stat b { font-family: var(--font-display); font-size: 1.85rem; display: block; color: var(--text); font-weight: 700; }
.hero-stats .stat span { color: var(--text-mute); font-size: .8rem; letter-spacing: 1px; text-transform: uppercase; }

.hero-visual { position: relative; height: 430px; }
.hero-orb {
  position: absolute; inset: 0; margin: auto; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(56, 189, 248, 0.14), rgba(47, 127, 240, 0.05) 55%, transparent 72%);
  border: 1px solid var(--border);
}
.hero-orb::after {
  content: ""; position: absolute; inset: 40px; border-radius: 50%;
  border: 1px solid rgba(120, 170, 230, 0.1);
}
.hero-card {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 17px; box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.hero-card i { color: var(--cyan); }
.hc1 { top: 20px; left: 0; width: 210px; animation-delay: 0s; }
.hc2 { bottom: 40px; right: 0; width: 225px; animation-delay: 1.5s; }
.hc3 { top: 46%; left: 50%; transform: translate(-50%,-50%); width: 240px; text-align: center; animation-name: float3; animation-delay: .8s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes float3 { 0%,100% { transform: translate(-50%,-50%); } 50% { transform: translate(-50%,-62%); } }
.hero-card .big { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--cyan); }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; background: rgba(12,18,30,.5); padding: 13px 0; }
.marquee-track { display: flex; gap: 56px; white-space: nowrap; animation: marq 30s linear infinite; width: max-content; }
.marquee-track span { color: var(--text-mute); font-family: var(--font-display); font-weight: 600; letter-spacing: 1.5px; font-size: .9rem; display: inline-flex; align-items: center; gap: 11px; }
.marquee-track span i { color: var(--cyan-2); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.cat-card {
  position: relative; padding: 28px 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); overflow: hidden;
  transition: transform .28s, border-color .28s, box-shadow .28s; cursor: pointer;
}
.cat-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.cat-ic { width: 56px; height: 56px; border-radius: 13px; display: grid; place-items: center; font-size: 1.4rem; color: var(--cyan); background: rgba(56,189,248,.08); border: 1px solid var(--border); margin-bottom: 17px; transition: .28s; }
.cat-card:hover .cat-ic { background: var(--grad); color: #fff; }
.cat-card h3 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; margin-bottom: 5px; }
.cat-card .count { color: var(--text-mute); font-size: .85rem; }
.cat-card .go { position: absolute; top: 26px; right: 24px; color: var(--text-mute); transition: .28s; }
.cat-card:hover .go { color: var(--cyan); transform: translateX(4px); }

/* ---------- Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.prod-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .28s, border-color .28s, box-shadow .28s; position: relative;
}
.prod-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.prod-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-2); }
.prod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.prod-card:hover .prod-media img { transform: scale(1.06); }
.prod-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,15,26,.85), transparent 55%); }
.prod-tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: .68rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; padding: 5px 11px; border-radius: 8px; background: rgba(10,15,26,.72); border: 1px solid var(--border-strong); color: var(--cyan); backdrop-filter: blur(6px); }
.prod-body { padding: 17px 17px 19px; display: flex; flex-direction: column; flex: 1; gap: 11px; }
.prod-body h3 { font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.prod-cat-lbl { font-size: .72rem; color: var(--text-mute); letter-spacing: 1px; text-transform: uppercase; }
.prod-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; }
.price small { font-size: .8rem; color: var(--cyan); font-weight: 600; }
.prod-actions { display: flex; gap: 8px; }
.add-cart { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(56,189,248,.08); border: 1px solid var(--border-strong); color: var(--cyan); cursor: pointer; transition: .2s; }
.add-cart:hover { background: var(--grad); color: #fff; }

/* ---------- Feature strip ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.feat { padding: 25px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: .28s; }
.feat:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.feat i { font-size: 1.5rem; color: var(--cyan); margin-bottom: 13px; }
.feat h4 { font-size: 1.03rem; margin-bottom: 6px; font-weight: 600; }
.feat p { color: var(--text-dim); font-size: .9rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 56px 40px; text-align: center; border: 1px solid var(--border-strong); background: linear-gradient(135deg, rgba(47,127,240,.1), rgba(56,189,248,.07)); }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.6rem,4vw,2.4rem); margin-bottom: 13px; font-weight: 700; }
.cta-band p { color: var(--text-dim); max-width: 560px; margin: 0 auto 24px; }
.cta-band .btns { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); margin-top: 86px; padding: 54px 0 28px; background: rgba(10,14,24,.5); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 38px; }
footer h5 { font-size: .76rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text-mute); margin-bottom: 15px; }
footer a { color: var(--text-dim); display: block; padding: 5px 0; font-size: .92rem; transition: .2s; }
footer a:hover { color: var(--cyan); }
.foot-about p { color: var(--text-dim); font-size: .92rem; margin: 14px 0 18px; max-width: 320px; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--text-dim); }
.social a:hover { color: var(--cyan); border-color: var(--border-strong); transform: translateY(-3px); }
.foot-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--text-mute); font-size: .85rem; }

/* ---------- Page header ---------- */
.page-head { padding: calc(var(--nav-h) + 44px) 0 28px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--text-mute); font-size: .86rem; margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb i { font-size: .68rem; }
.page-title { font-family: var(--font-display); font-size: clamp(1.9rem,4.5vw,3rem); font-weight: 800; letter-spacing: -1px; }

/* ---------- Toolbar ---------- */
.toolbar { display: flex; gap: 13px; align-items: center; flex-wrap: wrap; margin-bottom: 32px; }
.search-box { flex: 1; min-width: 220px; position: relative; }
.search-box input { width: 100%; padding: 13px 16px 13px 44px; border-radius: 11px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: .95rem; outline: none; transition: .2s; }
.search-box input:focus { border-color: var(--cyan); }
.search-box i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-mute); }
select.sort { padding: 13px 16px; border-radius: 11px; background: var(--surface-solid); border: 1px solid var(--border); color: var(--text); font-size: .92rem; outline: none; cursor: pointer; }

.chips { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { padding: 8px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text-dim); font-size: .85rem; cursor: pointer; transition: .2s; white-space: nowrap; }
.chip:hover { color: var(--cyan); border-color: var(--border-strong); }
.chip.active { background: var(--grad); color: #fff; font-weight: 600; border-color: transparent; }

/* ---------- Product detail ---------- */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pd-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--bg-2); }
.pd-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.pd-info h1 { font-family: var(--font-display); font-size: clamp(1.7rem,4vw,2.5rem); font-weight: 800; margin: 12px 0 16px; line-height: 1.12; letter-spacing: -0.5px; }
.pd-price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0; }
.pd-price .now { font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; color: #fff; }
.pd-price .cur { font-size: 1.05rem; color: var(--cyan); font-weight: 600; }
.pd-desc { color: var(--text-dim); margin-bottom: 24px; }
.pd-features { list-style: none; display: grid; gap: 11px; margin: 24px 0 28px; }
.pd-features li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-dim); }
.pd-features li i { color: var(--cyan); margin-top: 4px; }
.pd-buy { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 10px; }
.pd-meta { display: flex; gap: 24px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.pd-meta div span { display: block; color: var(--text-mute); font-size: .74rem; letter-spacing: 1px; text-transform: uppercase; }
.pd-meta div b { color: var(--text); font-weight: 600; }
.trust-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 20px; }
.trust-row .t { display: flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: .86rem; }
.trust-row .t i { color: var(--cyan); }

/* ---------- Cart drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(4,8,15,.66); backdrop-filter: blur(3px); z-index: 200; opacity: 0; visibility: hidden; transition: .3s; }
.overlay.open { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--surface-solid); border-left: 1px solid var(--border-strong); z-index: 201; transform: translateX(100%); transition: transform .34s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; }
.cart-drawer.open { transform: translateX(0); }
.cart-head { padding: 22px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.cart-head h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 22px; display: flex; flex-direction: column; gap: 13px; }
.cart-item { display: flex; gap: 13px; padding: 12px; border-radius: 11px; background: var(--surface); border: 1px solid var(--border); }
.cart-item img { width: 62px; height: 62px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.cart-item .ci-info { flex: 1; min-width: 0; }
.cart-item .ci-info h4 { font-size: .9rem; font-weight: 600; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-item .ci-price { color: var(--cyan); font-weight: 700; font-size: .95rem; }
.ci-remove { color: var(--text-mute); cursor: pointer; background: none; border: none; font-size: 1rem; transition: .2s; align-self: flex-start; }
.ci-remove:hover { color: #f87171; }
.cart-empty { text-align: center; color: var(--text-mute); padding: 60px 20px; }
.cart-empty i { font-size: 2.5rem; margin-bottom: 14px; opacity: .5; }
.cart-foot { padding: 22px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 1.1rem; }
.cart-total b { font-family: var(--font-display); color: var(--cyan); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast { background: var(--surface-solid); border: 1px solid var(--border-strong); color: var(--text); padding: 13px 22px; border-radius: 11px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-size: .92rem; animation: toastin .3s ease; }
.toast i { color: var(--cyan); }
@keyframes toastin { from { opacity: 0; transform: translateY(20px); } }

/* ---------- Scroll to top ---------- */
#toTop { position: fixed; bottom: 24px; right: 24px; width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; border: none; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transition: .3s; z-index: 90; }
#toTop.show { opacity: 1; visibility: visible; }

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: 80px 20px; color: var(--text-mute); grid-column: 1/-1; }
.empty i { font-size: 2.8rem; opacity: .4; margin-bottom: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .pd-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--surface-solid); border-bottom: 1px solid var(--border); padding: 14px; gap: 4px; transform: translateY(-140%); transition: transform .34s; z-index: 99; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 15px; }
  .hamburger { display: grid; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
}
