/* =================================================================
   NEOSHOCK — Cyberpunk Electronics Store Template (Bilingual UA/EN)
   Style: Dark cyberpunk · neon cyan & magenta · holographic products
   ================================================================= */

:root {
  --bg: #04050a;
  --bg-1: #080b14;
  --bg-2: #0d1220;
  --panel: rgba(13, 18, 32, 0.85);
  --panel-solid: #0d1220;
  --line: rgba(0, 240, 255, 0.18);
  --line-bright: rgba(0, 240, 255, 0.5);
  --line-magenta: rgba(255, 0, 212, 0.4);
  --cyan: #00f0ff;
  --cyan-glow: #00d4ff;
  --magenta: #ff00d4;
  --magenta-glow: #ff2bd6;
  --yellow: #f7ff00;
  --green: #00ff9d;
  --text: #e8f4ff;
  --text-dim: #7a8aa8;
  --text-faint: #4a5878;
  --danger: #ff2e63;
  --shadow-cyan: 0 0 30px rgba(0, 240, 255, 0.4);
  --shadow-magenta: 0 0 30px rgba(255, 0, 212, 0.4);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Rajdhani', 'Chakra Petch', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ============ BACKGROUND LAYERS ============ */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 212, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -3;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
}

.bg-scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(0, 0, 0, 0.15) 3px, rgba(0, 0, 0, 0.15) 4px);
  z-index: -2;
  pointer-events: none;
  opacity: 0.35;
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation: drift 20s ease-in-out infinite;
}

.glow-orb.cyan { width: 500px; height: 500px; background: var(--cyan); top: -150px; left: -100px; }
.glow-orb.magenta { width: 600px; height: 600px; background: var(--magenta); bottom: -200px; right: -150px; animation-delay: -10s; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 60px) scale(1.15); }
}

/* ============ TOP BAR ============ */
.topbar {
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1.5px;
}

.topbar-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.topbar-left { display: flex; gap: 24px; }
.topbar-left span { color: var(--cyan); margin-right: 6px; }
.topbar-right { display: flex; gap: 20px; align-items: center; }

/* ============ LANGUAGE SWITCHER ============ */
.lang-switcher {
  display: flex;
  border: 1px solid var(--line-bright);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  overflow: hidden;
}

.lang-btn {
  background: transparent;
  color: var(--text-dim);
  border: none;
  padding: 5px 12px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn.active {
  background: var(--cyan);
  color: var(--bg);
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

.lang-btn:not(.active):hover {
  background: rgba(0, 240, 255, 0.1);
  color: var(--cyan);
}

/* ============ HEADER ============ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 5, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.header-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: center;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 3px;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 32px; height: 32px;
  position: relative;
  display: inline-block;
}

.logo-mark::before, .logo-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
  clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 30% 100%, 0 70%);
}

.logo-mark::after {
  border-color: var(--magenta);
  box-shadow: 0 0 12px var(--magenta-glow);
  transform: scale(0.6) rotate(45deg);
}

.logo .accent { color: var(--magenta); text-shadow: 0 0 10px var(--magenta-glow); }

/* Search bar */
.search-wrap {
  display: flex;
  background: var(--bg-2);
  border: 1px solid var(--line);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.search-wrap:focus-within { border-color: var(--cyan); box-shadow: var(--shadow-cyan); }

.search-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 18px;
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  letter-spacing: 0.5px;
  outline: none;
}

.search-wrap input::placeholder { color: var(--text-faint); }

.search-btn {
  background: var(--cyan);
  color: var(--bg);
  border: none;
  padding: 0 20px;
  cursor: pointer;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  transition: background 0.3s ease;
}

.search-btn:hover { background: var(--magenta); }

/* Header right */
.header-right { display: flex; gap: 16px; align-items: center; }

.icon-btn {
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 10px 14px;
  text-decoration: none;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  position: relative;
}

.icon-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

.icon-btn .badge {
  background: var(--magenta);
  color: var(--bg);
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 100px;
  box-shadow: 0 0 8px var(--magenta-glow);
}

/* ============ MAIN NAVIGATION ============ */
.mainnav {
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.mainnav-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
}

.mainnav a {
  color: var(--text-dim);
  text-decoration: none;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 18px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.mainnav a:hover, .mainnav a.active {
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan-glow);
}

.mainnav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  box-shadow: 0 0 10px var(--cyan-glow);
}

.mainnav a .en {
  display: inline;
  color: var(--text-faint);
  font-size: 10px;
  margin-left: 4px;
  font-style: italic;
}

/* ============ HERO ============ */
.hero {
  max-width: 1480px;
  margin: 32px auto;
  padding: 0 32px;
  position: relative;
}

.hero-frame {
  background:
    linear-gradient(135deg, rgba(0, 240, 255, 0.08), rgba(255, 0, 212, 0.08)),
    var(--bg-1);
  border: 1px solid var(--line-bright);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.hero-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 240, 255, 0.08) 50%, transparent 100%);
  animation: scan-h 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scan-h {
  0%, 100% { transform: translateY(-100%); opacity: 0; }
  50% { transform: translateY(100%); opacity: 1; }
}

.hero-content { position: relative; z-index: 2; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 0, 212, 0.1);
  border: 1px solid var(--line-magenta);
  color: var(--magenta);
  padding: 6px 14px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.hero-tag .dot {
  width: 6px; height: 6px;
  background: var(--magenta);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--magenta-glow);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 64px;
  line-height: 0.95;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--text);
}

.hero-title em {
  font-style: italic;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle-en {
  font-family: 'Share Tech Mono', monospace;
  font-size: 14px;
  color: var(--cyan);
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-desc .en {
  display: block;
  color: var(--text-faint);
  font-size: 13px;
  font-style: italic;
  margin-top: 8px;
  font-family: 'Share Tech Mono', monospace;
}

.hero-cta { display: flex; gap: 16px; margin-bottom: 36px; }

.btn {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 26px;
  border: 1px solid;
  cursor: pointer;
  transition: all 0.3s ease;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  background: var(--cyan);
  color: var(--bg);
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

.btn-primary:hover {
  background: var(--magenta);
  border-color: var(--magenta);
  box-shadow: var(--shadow-magenta);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}

.btn-ghost:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: var(--shadow-cyan);
}

.hero-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.spec .label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.spec .value {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan-glow);
}

/* ============ HERO VISUAL (VR Headset) ============ */
.hero-visual {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.vr-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vr-image {
  width: 380px;
  height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(0, 240, 255, 0.5)) drop-shadow(0 0 80px rgba(255, 0, 212, 0.3));
  animation: float 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotateY(-4deg); }
  50% { transform: translateY(-15px) rotateY(4deg); }
}

/* Holo rings */
.holo-ring {
  position: absolute;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--cyan-glow);
  opacity: 0.5;
  pointer-events: none;
}

.holo-ring.r1 { width: 320px; height: 320px; border-color: var(--cyan); animation: spin 12s linear infinite; border-style: dashed; }
.holo-ring.r2 { width: 380px; height: 380px; border-color: var(--magenta); animation: spin 18s linear infinite reverse; border-style: dotted; }

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Floating chips */
.holo-chip {
  position: absolute;
  background: rgba(13, 18, 32, 0.9);
  border: 1px solid var(--line-bright);
  padding: 8px 12px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--cyan);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  z-index: 3;
}

.holo-chip .label { color: var(--text-faint); }
.holo-chip .val { color: var(--magenta); margin-left: 6px; }

.holo-chip.c1 { top: 20px; left: 0; animation: chip-float 4s ease-in-out infinite; }
.holo-chip.c2 { top: 50%; right: -10px; animation: chip-float 4s ease-in-out infinite -1.5s; }
.holo-chip.c3 { bottom: 30px; left: 40px; animation: chip-float 4s ease-in-out infinite -3s; }

@keyframes chip-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(0, -8px); }
}

/* ============ FEATURE STRIP ============ */
.feature-strip {
  max-width: 1480px;
  margin: 32px auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: all 0.3s ease;
}

.feature:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

.feature-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--line-bright);
  color: var(--cyan);
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.feature-text .title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.5px;
}

.feature-text .sub {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.5px;
}

/* ============ SECTION HEAD ============ */
.section-head {
  max-width: 1480px;
  margin: 64px auto 32px;
  padding: 0 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.section-head .left { display: flex; align-items: baseline; gap: 20px; }

.section-num {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: 2px;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 38px;
  letter-spacing: 1px;
  color: var(--text);
  text-transform: uppercase;
  line-height: 1;
}

.section-title em {
  font-style: normal;
  color: var(--magenta);
  text-shadow: 0 0 14px var(--magenta-glow);
}

.section-meta {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1.5px;
}

.section-meta .blink { color: var(--cyan); animation: blink 1s steps(2) infinite; }

@keyframes blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* ============ CATEGORY TILES ============ */
.categories {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px 32px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.cat-tile {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 24px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  position: relative;
}

.cat-tile:hover {
  border-color: var(--cyan);
  background: var(--bg-2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-cyan);
}

.cat-tile:hover .cat-icon { color: var(--magenta); text-shadow: 0 0 12px var(--magenta-glow); }

.cat-icon {
  font-family: 'Orbitron', sans-serif;
  font-size: 32px;
  color: var(--cyan);
  margin-bottom: 12px;
  transition: all 0.3s ease;
  text-shadow: 0 0 12px var(--cyan-glow);
}

.cat-name {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  letter-spacing: 1px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.cat-en {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 1px;
}

.cat-count {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--magenta);
  margin-top: 8px;
  letter-spacing: 1px;
}

/* ============ PRODUCT GRID ============ */
.products {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 20px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  cursor: pointer;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 240, 255, 0.08), transparent 40%),
    linear-gradient(225deg, rgba(255, 0, 212, 0.06), transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover {
  border-color: var(--cyan);
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.4), inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.product-card:hover::before { opacity: 1; }

.product-card:hover .product-image { transform: scale(1.08) rotate(-3deg); filter: drop-shadow(0 0 20px var(--cyan-glow)); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--magenta);
  color: var(--bg);
  padding: 4px 10px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  z-index: 2;
  box-shadow: 0 0 12px var(--magenta-glow);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.product-badge.new { background: var(--cyan); box-shadow: 0 0 12px var(--cyan-glow); }
.product-badge.hot { background: var(--yellow); color: var(--bg); box-shadow: 0 0 12px rgba(247, 255, 0, 0.5); }

.product-discount {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--danger);
  color: var(--text);
  padding: 4px 10px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  z-index: 2;
  box-shadow: 0 0 12px rgba(255, 46, 99, 0.5);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.product-image-wrap {
  aspect-ratio: 1/1;
  background:
    radial-gradient(ellipse at center, rgba(0, 240, 255, 0.1), transparent 70%),
    var(--bg-2);
  border: 1px solid var(--line);
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.product-image {
  width: 75%;
  height: 75%;
  object-fit: contain;
  transition: all 0.5s ease;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.3));
}

.product-id {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: var(--text-faint);
  letter-spacing: 1px;
  z-index: 2;
}

.product-info { position: relative; z-index: 1; }

.product-cat {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--magenta);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-name {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.2;
}

.product-name-en {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.product-specs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-spec {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.product-spec .v { color: var(--cyan); }

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
}

.stars { color: var(--yellow); letter-spacing: 2px; text-shadow: 0 0 6px rgba(247, 255, 0, 0.5); }

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.price-block { display: flex; flex-direction: column; }

.price-old {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: var(--text-faint);
  text-decoration: line-through;
}

.price-new {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--cyan);
  text-shadow: 0 0 12px var(--cyan-glow);
  line-height: 1;
}

.price-new .cur { font-size: 13px; color: var(--text-dim); margin-right: 2px; }

.add-btn {
  background: var(--cyan);
  color: var(--bg);
  border: none;
  padding: 10px 16px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  display: flex;
  align-items: center;
  gap: 6px;
}

.add-btn:hover {
  background: var(--magenta);
  box-shadow: 0 0 20px var(--magenta-glow);
  transform: scale(1.05);
}

/* ============ FLASH DEAL BANNER ============ */
.flash-deal {
  max-width: 1480px;
  margin: 32px auto 64px;
  padding: 0 32px;
}

.flash-deal-frame {
  background:
    linear-gradient(135deg, rgba(255, 0, 212, 0.15), rgba(0, 240, 255, 0.1)),
    var(--bg-1);
  border: 1px solid var(--magenta);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  box-shadow: 0 0 40px rgba(255, 0, 212, 0.2);
}

.flash-deal-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 0, 212, 0.08), transparent);
  animation: scan-v 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scan-v {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.flash-content { position: relative; z-index: 1; }

.flash-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--magenta);
  color: var(--bg);
  padding: 6px 14px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  box-shadow: 0 0 16px var(--magenta-glow);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.flash-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 42px;
  line-height: 1;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.flash-title em {
  font-style: italic;
  color: var(--magenta);
  text-shadow: 0 0 16px var(--magenta-glow);
}

.flash-en {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.flash-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 480px;
}

/* Countdown */
.countdown {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.countdown-block {
  background: var(--bg);
  border: 1px solid var(--line-bright);
  padding: 12px 18px;
  text-align: center;
  min-width: 70px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.countdown-num {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--magenta);
  text-shadow: 0 0 12px var(--magenta-glow);
  line-height: 1;
}

.countdown-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: var(--text-faint);
  letter-spacing: 1.5px;
  margin-top: 4px;
  text-transform: uppercase;
}

.flash-visual {
  position: relative;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flash-visual img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(255, 0, 212, 0.6));
  animation: float 5s ease-in-out infinite;
}

/* ============ BRANDS MARQUEE ============ */
.brands {
  margin: 64px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.03), rgba(255, 0, 212, 0.03));
}

.brands-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 4px;
  color: var(--text-faint);
  -webkit-text-stroke: 1px var(--line-bright);
}

.brands-track span { display: inline-flex; align-items: center; gap: 60px; }
.brands-track .accent { color: var(--magenta); -webkit-text-stroke: 0; text-shadow: 0 0 12px var(--magenta-glow); }
.brands-track .star { color: var(--cyan); -webkit-text-stroke: 0; }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ NEWSLETTER ============ */
.newsletter {
  max-width: 1480px;
  margin: 64px auto;
  padding: 0 32px;
}

.newsletter-frame {
  background:
    linear-gradient(135deg, var(--bg-1), var(--bg-2));
  border: 1px solid var(--line-bright);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.newsletter-frame::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: var(--cyan);
  filter: blur(100px);
  opacity: 0.15;
  pointer-events: none;
}

.newsletter-frame::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--magenta);
  filter: blur(100px);
  opacity: 0.15;
  pointer-events: none;
}

.newsletter-content { position: relative; z-index: 1; }

.newsletter-eyebrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.newsletter h3 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.newsletter h3 em {
  font-style: italic;
  color: var(--magenta);
  text-shadow: 0 0 14px var(--magenta-glow);
}

.newsletter-en {
  font-family: 'Share Tech Mono', monospace;
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.newsletter p {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg);
  padding: 6px;
  border: 1px solid var(--line-bright);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.newsletter-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  color: var(--text);
  outline: none;
}

.newsletter-form input::placeholder { color: var(--text-faint); }

.newsletter-form button {
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  color: var(--bg);
  border: none;
  padding: 14px 24px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover { box-shadow: 0 0 20px var(--magenta-glow); }

/* ============ FOOTER ============ */
footer {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  padding: 64px 0 24px;
  margin-top: 64px;
}

.footer-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.footer-brand .logo { margin-bottom: 20px; }

.footer-brand p {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 8px;
}

.footer-brand p.en {
  font-family: 'Share Tech Mono', monospace;
  color: var(--text-faint);
  font-size: 12px;
}

.footer-col h4 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--cyan);
  margin-bottom: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-col a:hover { color: var(--cyan); text-shadow: 0 0 8px var(--cyan-glow); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 1.5px;
}

.footer-payments { display: flex; gap: 12px; align-items: center; }

.pay-chip {
  padding: 4px 10px;
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 10px;
  letter-spacing: 1px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-frame { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
  .hero-title { font-size: 48px; }
  .hero-visual { height: 360px; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .categories { grid-template-columns: repeat(3, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .flash-deal-frame { grid-template-columns: 1fr; }
  .flash-visual { height: 200px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar-left { display: none; }
  .header-inner { grid-template-columns: auto 1fr; gap: 16px; padding: 0 20px; }
  .search-wrap { display: none; }
  .mainnav-inner { padding: 0 20px; }
  .hero { padding: 0 20px; margin: 20px auto; }
  .hero-frame { padding: 28px 20px; }
  .hero-title { font-size: 36px; }
  .hero-specs { grid-template-columns: 1fr; gap: 16px; }
  .feature-strip { grid-template-columns: 1fr; padding: 0 20px; }
  .section-head { padding: 0 20px; }
  .section-title { font-size: 28px; }
  .categories { grid-template-columns: repeat(2, 1fr); padding: 0 20px 20px; }
  .products { grid-template-columns: 1fr; padding: 0 20px 40px; }
  .flash-deal { padding: 0 20px; }
  .flash-deal-frame { padding: 28px 20px; }
  .flash-title { font-size: 28px; }
  .countdown-block { min-width: 50px; padding: 8px 10px; }
  .countdown-num { font-size: 18px; }
  .newsletter { padding: 0 20px; }
  .newsletter-frame { padding: 36px 20px; }
  .newsletter h3 { font-size: 26px; }
  .newsletter-form { flex-direction: column; }
  .footer-inner { padding: 0 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
