/* NEXTA v3 — Impeccable redesign
   Scene: 22yo competitive player, Cairo, late evening, decisive purchase session
   Strategy: Committed warm. Amber on near-black. Breaks gaming-cyan reflex.
   Font: Syne (display, geometric authority) + Inter (body, legible at all sizes)
   No gradient text. No side-stripe borders. No glassmorphism. No hero-metric grid.
   No identical card grids. Cursor visible. */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --amber: #FFAA28;
  --amber-dim: #C87A10;
  --cream: #EDE0C4;
  --cream-dim: #A89070;
  --ink: #0A0908;
  --ink2: #121110;
  --ink3: #1C1A16;
  --ink4: #252218;
  --surface: rgba(28,26,22,0.96);
  --rule: rgba(255,170,40,0.12);
  --rule-bright: rgba(255,170,40,0.35);
  --text: #C8B898;
  --muted: #6A5C44;
  --fh: 'Syne', sans-serif;
  --fb: 'Inter', sans-serif;
  --expo: cubic-bezier(0.16,1,0.3,1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: var(--ink); color: var(--text); font-family: var(--fb); font-size: 16px; line-height: 1.65; overflow-x: hidden; }
::-webkit-scrollbar { width: 3px; } ::-webkit-scrollbar-track { background: var(--ink2); } ::-webkit-scrollbar-thumb { background: var(--amber); }
::selection { background: var(--amber); color: var(--ink); }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 400;
  height: 62px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled { background: rgba(10,9,8,0.94); border-bottom-color: var(--rule); }
.logo { font-family: var(--fh); font-size: 20px; font-weight: 800; letter-spacing: 5px; color: #fff; text-decoration: none; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.logo-hex { width: 28px; height: 28px; }
.logo-accent { color: var(--amber); }
.nav-links { display: flex; list-style: none; }
.nav-links a { font-family: var(--fh); font-size: 12px; font-weight: 600; letter-spacing: 2.5px; color: var(--muted); text-decoration: none; text-transform: uppercase; padding: 8px 16px; transition: color 0.25s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 16px; right: 16px; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--expo); }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-cart-btn { display: flex; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--rule-bright); color: var(--amber); padding: 8px 20px; font-family: var(--fh); font-size: 11px; font-weight: 700; letter-spacing: 3px; cursor: pointer; transition: all 0.3s; text-transform: uppercase; text-decoration: none; }
.nav-cart-btn:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.cart-count { background: var(--amber); color: var(--ink); width: 18px; height: 18px; border-radius: 50%; display: none; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 1.5px; background: var(--cream-dim); display: block; transition: all 0.3s; }

/* PAGE BANNER — fixed layout */
.page-banner {
  position: relative; width: 100%; height: 420px;
  overflow: hidden; display: flex; align-items: flex-end;
}
.banner-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}
.banner-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; opacity: 0.28; z-index: 0;
}
.banner-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(108deg, rgba(10,9,8,0.97) 30%, rgba(10,9,8,0.6) 65%, rgba(10,9,8,0.35));
}
.banner-body {
  position: relative; z-index: 3; padding: 0 5% 52px; width: 100%;
}
.b-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fh); font-size: 10px; font-weight: 700; letter-spacing: 5px;
  color: var(--amber); text-transform: uppercase; margin-bottom: 14px;
}
.b-eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--amber); flex-shrink: 0; }
.b-title {
  font-family: var(--fh); font-size: clamp(52px, 8vw, 96px);
  font-weight: 800; color: #fff; text-transform: uppercase;
  line-height: 0.9; letter-spacing: -1px;
}
.b-title span { color: var(--amber); display: block; }
.b-sub { font-size: 16px; font-weight: 300; color: var(--cream-dim); margin-top: 16px; max-width: 460px; letter-spacing: 0.2px; }
.banner-rule { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; z-index: 3; background: linear-gradient(90deg, var(--amber), rgba(255,170,40,0.15), transparent); }

/* SECTIONS */
.sp { padding: 88px 5%; }
.sp-sm { padding: 56px 5%; }
.sh { margin-bottom: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--fh); font-size: 10px; font-weight: 700; letter-spacing: 5px; color: var(--amber); text-transform: uppercase; margin-bottom: 10px; }
.eyebrow::before { content: ''; width: 16px; height: 1px; background: var(--amber); flex-shrink: 0; }
.section-h { font-family: var(--fh); font-size: clamp(34px, 4.5vw, 56px); font-weight: 800; color: #fff; text-transform: uppercase; line-height: 0.92; letter-spacing: -0.5px; }
.section-h em { font-style: normal; color: var(--amber); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--fh); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; cursor: pointer; border: none; transition: all 0.3s var(--expo); text-decoration: none; }
.btn-amber { background: var(--amber); color: var(--ink); padding: 14px 36px; }
.btn-amber:hover { background: var(--cream); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.2); padding: 14px 36px; }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-rule { background: transparent; color: var(--amber); border: 1px solid var(--rule-bright); padding: 10px 22px; font-size: 11px; }
.btn-rule:hover { background: var(--amber); color: var(--ink); }
.btn-xs { padding: 7px 16px; font-size: 10px; letter-spacing: 2px; }

/* PRODUCT CARD */
.pc {
  background: var(--ink2); border: 1px solid var(--rule);
  position: relative; transition: border-color 0.4s var(--expo), transform 0.4s var(--expo), box-shadow 0.4s var(--expo);
  display: flex; flex-direction: column;
}
.pc:hover { border-color: var(--rule-bright); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,170,40,0.08); }
.pc:hover .pc-img { transform: scale(1.05); }
.pc-img-wrap { overflow: hidden; aspect-ratio: 4/3; background: var(--ink3); display: block; }
.pc-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--expo); display: block; }
.pc-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.pc-brand { font-family: var(--fh); font-size: 9px; font-weight: 700; letter-spacing: 3px; color: var(--muted); text-transform: uppercase; margin-bottom: 5px; }
.pc-name { font-family: var(--fh); font-size: 18px; font-weight: 700; color: #fff; text-transform: uppercase; line-height: 1.1; margin-bottom: 8px; letter-spacing: 0.2px; }
.pc-name a { color: inherit; text-decoration: none; }
.pc-desc { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.pc-specs { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 14px; }
.spec { font-family: var(--fh); font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; background: var(--ink3); border: 1px solid var(--rule); color: var(--cream-dim); padding: 3px 8px; }
.pc-foot { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.pc-actions { display: flex; gap: 6px; }
.pc-actions .btn { flex: 1; justify-content: center; }
.pc-price { font-family: var(--fh); font-size: 22px; font-weight: 800; color: var(--amber); letter-spacing: -0.5px; }
.pc-price .old { font-size: 13px; color: var(--muted); text-decoration: line-through; margin-right: 5px; font-weight: 400; }
.pc-badge { position: absolute; top: 12px; left: 12px; font-family: var(--fh); font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 3px 9px; }

/* REVEAL ANIMATIONS — correct: start invisible, become visible */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s var(--expo), transform 0.65s var(--expo); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.07s; } .d2 { transition-delay: 0.14s; } .d3 { transition-delay: 0.21s; } .d4 { transition-delay: 0.28s; }

/* CART SIDEBAR */
.cart-overlay { position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,0.65); opacity: 0; pointer-events: none; transition: opacity 0.35s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 501; width: 380px; max-width: 100vw; background: var(--ink2); border-left: 1px solid var(--rule); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.45s var(--expo); }
.cart-panel.open { transform: translateX(0); }
.cart-hd { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--rule); }
.cart-hd h3 { font-family: var(--fh); font-size: 16px; font-weight: 700; color: #fff; letter-spacing: 4px; text-transform: uppercase; }
.cart-x { background: none; border: none; color: var(--muted); font-size: 20px; cursor: pointer; transition: color 0.2s; line-height: 1; }
.cart-x:hover { color: #fff; }
.cart-list { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty { text-align: center; padding: 52px 0; font-family: var(--fh); font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--muted); text-transform: uppercase; line-height: 2.5; }
.cart-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.cr-img { width: 52px; height: 52px; object-fit: cover; background: var(--ink3); flex-shrink: 0; }
.cr-info { flex: 1; }
.cr-name { font-family: var(--fh); font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.3px; line-height: 1.2; margin-bottom: 3px; }
.cr-price { font-family: var(--fh); font-size: 14px; font-weight: 800; color: var(--amber); }
.cr-qty { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.qb { background: none; border: 1px solid var(--rule); color: var(--cream-dim); width: 22px; height: 22px; cursor: pointer; font-size: 14px; transition: all 0.2s; font-family: var(--fh); font-weight: 700; }
.qb:hover { border-color: var(--amber); color: var(--amber); }
.qn { font-family: var(--fh); font-size: 14px; font-weight: 700; color: #fff; min-width: 14px; text-align: center; }
.cr-rm { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 14px; transition: color 0.2s; flex-shrink: 0; }
.cr-rm:hover { color: #e05050; }
.cart-ft { padding: 18px 24px; border-top: 1px solid var(--rule); }
.cart-total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cart-total-row span { font-family: var(--fh); font-size: 10px; font-weight: 700; letter-spacing: 3px; color: var(--muted); text-transform: uppercase; }
.cart-total-row strong { font-family: var(--fh); font-size: 28px; font-weight: 800; color: var(--amber); }

/* CHECKOUT MODAL */
.modal-overlay { position: fixed; inset: 0; z-index: 600; background: rgba(0,0,0,0.88); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.35s; padding: 20px; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box { background: var(--ink2); border: 1px solid var(--rule); max-width: 480px; width: 100%; padding: 36px; position: relative; max-height: 90vh; overflow-y: auto; transform: translateY(16px) scale(0.97); transition: transform 0.4s var(--expo); }
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-x { position: absolute; top: 14px; right: 18px; background: none; border: none; color: var(--muted); font-size: 20px; cursor: pointer; transition: color 0.2s; }
.modal-x:hover { color: #fff; }
.modal-box h2 { font-family: var(--fh); font-size: 24px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 6px; }
.modal-sub { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-family: var(--fh); font-size: 10px; font-weight: 700; letter-spacing: 3px; color: var(--cream-dim); text-transform: uppercase; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; background: var(--ink3); border: 1px solid var(--rule); color: #fff; padding: 11px 14px; font-family: var(--fb); font-size: 14px; outline: none; transition: border-color 0.25s; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field select option { background: var(--ink2); }
.order-ok { text-align: center; padding: 16px 0; }
.order-ok-icon { font-size: 52px; margin-bottom: 14px; }
.order-ok h3 { font-family: var(--fh); font-size: 22px; font-weight: 800; color: var(--amber); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 10px; }
.order-ok p { font-size: 14px; color: var(--cream-dim); line-height: 1.75; }

/* FOOTER */
footer { background: var(--ink2); border-top: 1px solid var(--rule); padding: 60px 5% 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-family: var(--fh); font-size: 18px; font-weight: 800; letter-spacing: 6px; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 8px; text-transform: uppercase; margin-bottom: 14px; }
.footer-logo .la { color: var(--amber); }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.8; max-width: 240px; }
.footer-col h4 { font-family: var(--fh); font-size: 10px; font-weight: 700; letter-spacing: 4px; color: var(--amber); text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.25s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--rule); padding-top: 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: var(--muted); font-family: var(--fh); letter-spacing: 1px; }
.social-row { display: flex; gap: 8px; }
.social-a { width: 32px; height: 32px; border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 11px; text-decoration: none; transition: all 0.25s; font-family: var(--fh); font-weight: 700; }
.social-a:hover { border-color: var(--amber); color: var(--amber); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .sp { padding: 72px 5%; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .sp { padding: 48px 5%; }
  .page-banner { height: 280px; }
  /* Cart panel: full-width on phone */
  .cart-panel { width: 100vw; }
  /* Product card: tighter padding on phone */
  .pc-body { padding: 14px; }
  .pc-name { font-size: 16px; }
}
