/* =========================================================
   AZ<span>Network</span> — Cyberpunk Anime E-Commerce
   Liquid Glass + AZNetwork Aesthetic
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Noto+Sans+Arabic:wght@300;400;500;600;700&display=swap');

:root {
  --bg-deep: #05010d;
  --bg-panel: rgba(12, 6, 28, 0.55);
  --bg-panel-solid: #0c061c;
  --neon-pink: #ff2d95;
  --neon-cyan: #00f0ff;
  --neon-purple: #b14aff;
  --neon-yellow: #ffe600;
  --neon-green: #39ff14;
  --text: #f0eaff;
  --text-muted: #a89cc8;
  --border-glass: rgba(255, 255, 255, 0.14);
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-strong: rgba(255, 255, 255, 0.1);
  --glass-blur: 18px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-neon: 0 0 20px rgba(255, 45, 149, 0.35), 0 0 40px rgba(0, 240, 255, 0.15);
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', 'Noto Sans Arabic', sans-serif;
  --header-h: 78px;
  --success: #39ff14;
  --danger: #ff3860;
  --warning: #ffb800;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(177, 74, 255, 0.25), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(255, 45, 149, 0.18), transparent 45%),
    radial-gradient(ellipse 50% 50% at 50% 100%, rgba(0, 240, 255, 0.12), transparent 50%),
    linear-gradient(180deg, #080218 0%, #05010d 40%, #0a0420 100%);
  z-index: -3;
  pointer-events: none;
}

/* Scanline + grid overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 45, 149, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: -2;
  pointer-events: none;
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: 0.25s ease; }
button, input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ---------- Liquid Glass System ---------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.02) 40%,
    transparent 60%,
    rgba(0, 240, 255, 0.05) 100%
  );
  pointer-events: none;
  border-radius: inherit;
}

.glass-strong {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

.glass-pink {
  border-color: rgba(255, 45, 149, 0.35);
  box-shadow: 0 0 24px rgba(255, 45, 149, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-cyan {
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Liquid blobs background */
.liquid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: blobFloat 18s ease-in-out infinite;
  mix-blend-mode: screen;
}

.blob-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--neon-pink), transparent 70%);
  top: -10%; left: -5%;
  animation-delay: 0s;
}

.blob-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--neon-cyan), transparent 70%);
  bottom: 10%; right: -8%;
  animation-delay: -6s;
}

.blob-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--neon-purple), transparent 70%);
  top: 40%; left: 40%;
  animation-delay: -12s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -50px) scale(1.12); }
  66% { transform: translate(-30px, 30px) scale(0.92); }
}

/* Liquid glass card shimmer */
@keyframes liquidShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.liquid-border {
  position: relative;
}

.liquid-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    120deg,
    var(--neon-pink),
    var(--neon-cyan),
    var(--neon-purple),
    var(--neon-pink)
  );
  background-size: 300% 300%;
  animation: liquidShimmer 6s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, .logo-text {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-weight: 700;
}

.neon-text {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink), var(--neon-purple));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: liquidShimmer 5s linear infinite;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 0.4rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

/* ---------- Layout ---------- */
.container {
  width: min(1240px, 92%);
  margin: 0 auto;
}

.page {
  padding-top: calc(var(--header-h) + 28px);
  padding-bottom: 80px;
  min-height: 100vh;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: 0.3s ease;
}

.site-header.scrolled {
  background: rgba(8, 2, 20, 0.75);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.header-inner {
  width: min(1240px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 0 18px rgba(255, 45, 149, 0.5);
  position: relative;
}

.logo-mark::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  border: 1px solid rgba(0, 240, 255, 0.5);
  animation: pulseRing 2.5s ease-in-out infinite;
}

@keyframes pulseRing {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 800;
}

.logo-text span { color: var(--neon-cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.active {
  color: var(--neon-cyan);
  box-shadow: inset 0 0 0 1px rgba(0, 240, 255, 0.3);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.icon-btn {
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  transition: 0.25s ease;
}

.icon-btn:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
  color: var(--neon-cyan);
}

.icon-btn .badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--neon-pink);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 0 10px rgba(255, 45, 149, 0.6);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-glass);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  min-width: 180px;
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  width: 100%;
  font-size: 0.92rem;
}

.search-box input::placeholder { color: var(--text-muted); }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  background: var(--glass-bg);
  color: var(--text);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.25s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: 0.25s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: 0.5s;
}

.btn:hover::before { transform: translateX(100%); }

.btn-primary {
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  color: #fff;
  box-shadow: 0 0 22px rgba(255, 45, 149, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(255, 45, 149, 0.6);
}

.btn-cyan {
  background: linear-gradient(135deg, #00c8d4, var(--neon-cyan));
  color: #041018;
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.35);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0, 240, 255, 0.55);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.2);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
}

.btn-block { width: 100%; }

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding: 2rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,1,13,0.55) 0%, rgba(5,1,13,0.85) 100%),
    url('../assets/images/hero-bg.jpg') center/cover no-repeat;
  z-index: 0;
  filter: saturate(1.2);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  width: min(1240px, 92%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: var(--neon-cyan);
}

.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
  animation: blink 1.4s infinite;
}

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

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 0 40px rgba(255, 45, 149, 0.3);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 1.75rem;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat {
  padding: 0.85rem 1.1rem;
  min-width: 110px;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--neon-cyan);
}

.stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Mascot */
.mascot-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.mascot-glass {
  width: min(380px, 100%);
  aspect-ratio: 3/4;
  border-radius: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  position: relative;
  background: linear-gradient(160deg, rgba(255, 45, 149, 0.12), rgba(0, 240, 255, 0.08) 50%, rgba(177, 74, 255, 0.1));
}

.mascot-img {
  width: 92%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 0 30px rgba(255, 45, 149, 0.45));
  animation: mascotFloat 4s ease-in-out infinite;
  z-index: 2;
}

@keyframes mascotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.mascot-bubble {
  position: absolute;
  top: 12%;
  right: -4%;
  max-width: 170px;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 3;
  animation: bubblePop 0.6s ease both;
}

.mascot-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 24px;
  width: 16px; height: 16px;
  background: inherit;
  border-right: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  transform: rotate(45deg);
  backdrop-filter: blur(12px);
}

@keyframes bubblePop {
  from { opacity: 0; transform: scale(0.6) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Floating mascot (fixed side) */
.mascot-fixed {
  position: fixed;
  bottom: 18px;
  left: 14px;
  z-index: 900;
  width: 96px;
  cursor: pointer;
  transition: 0.3s ease;
  filter: drop-shadow(0 0 20px rgba(255, 45, 149, 0.45));
}

.mascot-fixed:hover {
  transform: scale(1.1) translateY(-6px);
  filter: drop-shadow(0 0 28px rgba(0, 240, 255, 0.45));
}

.mascot-fixed-glow {
  position: absolute;
  inset: 15% 10% 5%;
  background: radial-gradient(circle, rgba(255, 45, 149, 0.35), transparent 70%);
  filter: blur(12px);
  z-index: 0;
  pointer-events: none;
  animation: blobFloat 4s ease-in-out infinite;
}

.mascot-fixed img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  animation: mascotFloat 3.5s ease-in-out infinite;
  object-fit: contain;
  border-radius: 18px;
}

.mascot-fixed .tip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 0.45rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 8px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 2;
}

.mascot-fixed:hover .tip { opacity: 1; }

/* ---------- Sections ---------- */
.section {
  padding: 4rem 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

/* Categories */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.cat-card {
  padding: 1.4rem 1.2rem;
  text-align: center;
  cursor: pointer;
  transition: 0.3s ease;
}

.cat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 12px 40px rgba(0, 240, 255, 0.15);
}

.cat-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  display: block;
}

.cat-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.cat-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Product grid */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-chip {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-glass);
  background: var(--glass-bg);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: 0.25s;
}

.filter-chip:hover,
.filter-chip.active {
  color: #041018;
  background: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.35);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  transition: 0.35s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(177, 74, 255, 0.25);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  border-radius: calc(var(--radius) - 4px) calc(var(--radius) - 4px) 0 0;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.08);
}

.product-tags {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  z-index: 2;
}

.tag {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.tag-hot {
  background: rgba(255, 45, 149, 0.85);
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 45, 149, 0.5);
}

.tag-new {
  background: rgba(0, 240, 255, 0.85);
  color: #041018;
}

.tag-sale {
  background: rgba(255, 230, 0, 0.9);
  color: #1a1000;
}

.wish-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: rgba(8, 2, 20, 0.55);
  backdrop-filter: blur(8px);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: 0.25s;
}

.wish-btn:hover,
.wish-btn.active {
  color: var(--neon-pink);
  border-color: var(--neon-pink);
  box-shadow: 0 0 12px rgba(255, 45, 149, 0.4);
}

.product-body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
}

.product-game {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neon-cyan);
}

.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  font-family: var(--font-body);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--neon-yellow);
}

.product-rating span { color: var(--text-muted); }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.65rem;
  gap: 0.5rem;
}

.price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.price .old {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 0.4rem;
  font-weight: 500;
}

.add-cart-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.25s;
  box-shadow: 0 0 14px rgba(255, 45, 149, 0.35);
}

.add-cart-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 22px rgba(255, 45, 149, 0.55);
}

/* Featured banner */
.featured-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  min-height: 320px;
}

.featured-banner .banner-img {
  min-height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.featured-banner .banner-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 40%, rgba(5,1,13,0.5));
}

.featured-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}

.featured-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.featured-content p {
  color: var(--text-muted);
  max-width: 420px;
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: 0.25s;
}

.form-control:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15), 0 0 20px rgba(0, 240, 255, 0.1);
}

.form-control::placeholder { color: rgba(168, 156, 200, 0.55); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-check input {
  accent-color: var(--neon-pink);
  width: 16px; height: 16px;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  position: relative;
}

.auth-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,45,149,0.15), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(0,240,255,0.12), transparent 50%);
  z-index: 0;
}

.auth-card {
  width: min(440px, 100%);
  padding: 2.25rem 2rem;
  position: relative;
  z-index: 1;
}

.auth-card .logo {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.auth-card h1 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.auth-card .auth-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-glass);
}

.auth-footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.auth-footer a {
  color: var(--neon-cyan);
  font-weight: 600;
}

.auth-footer a:hover { text-shadow: 0 0 10px rgba(0, 240, 255, 0.5); }

/* ---------- Cart ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 1.5rem;
  align-items: start;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 0.85rem;
  align-items: center;
}

.cart-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.cart-item h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  margin-bottom: 0.25rem;
}

.cart-item .meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  padding: 0.2rem;
  background: rgba(0,0,0,0.25);
}

.qty-control button {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--glass-bg-strong);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}

.qty-control button:hover {
  background: var(--neon-cyan);
  color: #041018;
}

.qty-control span {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
}

.cart-item .line-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--neon-pink);
  text-align: right;
}

.remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.remove-btn:hover { color: var(--danger); }

.cart-summary {
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.cart-summary h2 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.98rem;
}

.summary-row.total {
  border-top: 1px solid var(--border-glass);
  padding-top: 0.85rem;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--neon-cyan);
}

.empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
}

.empty-state .icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.empty-state h2 {
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ---------- Checkout / Order ---------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.checkout-steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 120px;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.5;
}

.step.active {
  opacity: 1;
  border-color: rgba(0, 240, 255, 0.45);
  color: var(--neon-cyan);
}

.step.done {
  opacity: 1;
  border-color: rgba(57, 255, 20, 0.4);
  color: var(--neon-green);
}

.panel {
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.panel h3 {
  font-size: 1.05rem;
  margin-bottom: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.payment-options {
  display: grid;
  gap: 0.65rem;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  background: rgba(0,0,0,0.25);
  cursor: pointer;
  transition: 0.25s;
}

.pay-option:hover,
.pay-option.selected {
  border-color: var(--neon-pink);
  box-shadow: 0 0 16px rgba(255, 45, 149, 0.2);
}

.pay-option input { accent-color: var(--neon-pink); }

/* ---------- Product Detail ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.detail-gallery {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.detail-main-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
}

.detail-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info h1 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0.5rem 0 0.75rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.detail-price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--neon-pink);
  margin: 1rem 0;
}

.detail-price .old {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 0.6rem;
}

.detail-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.detail-meta {
  display: grid;
  gap: 0.5rem;
  font-size: 0.92rem;
}

.detail-meta div {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.detail-meta span:first-child { color: var(--text-muted); }

/* ---------- Account ---------- */
.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.account-nav {
  padding: 1rem;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.account-nav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.account-nav a:hover,
.account-nav a.active {
  background: rgba(0, 240, 255, 0.08);
  color: var(--neon-cyan);
}

.account-panel {
  padding: 1.75rem;
}

.order-card {
  padding: 1.15rem;
  margin-bottom: 0.85rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}

.order-status {
  display: inline-flex;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-shipped { background: rgba(0,240,255,0.15); color: var(--neon-cyan); }
.status-delivered { background: rgba(57,255,20,0.12); color: var(--neon-green); }
.status-pending { background: rgba(255,184,0,0.15); color: var(--warning); }
.status-cancelled { background: rgba(255,56,96,0.12); color: var(--danger); }

/* ---------- 404 ---------- */
.page-404 {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.page-404 .glitch-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 900;
  line-height: 1;
  position: relative;
  color: var(--text);
  text-shadow:
    0 0 40px rgba(255, 45, 149, 0.5),
    3px 0 var(--neon-cyan),
    -3px 0 var(--neon-pink);
  animation: glitch 2.5s infinite;
}

@keyframes glitch {
  0%, 90%, 100% { transform: none; text-shadow: 0 0 40px rgba(255,45,149,0.5), 3px 0 var(--neon-cyan), -3px 0 var(--neon-pink); }
  92% { transform: translate(-3px, 1px); text-shadow: -3px 0 var(--neon-cyan), 3px 0 var(--neon-pink); }
  94% { transform: translate(3px, -1px); }
  96% { transform: translate(-2px, 2px); }
}

.page-404 h1 {
  margin: 1rem 0 0.5rem;
  font-size: 1.8rem;
}

.page-404 p {
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto 1.75rem;
}

/* ---------- Contact / About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.info-cards {
  display: grid;
  gap: 1rem;
}

.info-card {
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-card .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255,45,149,0.25), rgba(0,240,255,0.2));
  flex-shrink: 0;
  font-size: 1.2rem;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border-glass);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
  background: rgba(5, 1, 13, 0.6);
  backdrop-filter: blur(12px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin: 1rem 0;
  max-width: 280px;
  font-size: 0.95rem;
}

.socials {
  display: flex;
  gap: 0.5rem;
}

.socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-glass);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.socials a:hover {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 14px rgba(0,240,255,0.25);
}

.footer-col h4 {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--neon-cyan);
  letter-spacing: 0.08em;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

.footer-col a:hover { color: var(--neon-pink); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Toast ---------- */
.toast-wrap {
  position: fixed;
  top: calc(var(--header-h) + 12px);
  right: 16px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  padding: 0.85rem 1.15rem;
  min-width: 240px;
  max-width: 340px;
  pointer-events: auto;
  animation: toastIn 0.35s ease;
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.toast.out {
  animation: toastOut 0.3s ease forwards;
}

@keyframes toastOut {
  to { opacity: 0; transform: translateX(40px); }
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 1, 13, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: min(480px, 100%);
  padding: 1.75rem;
  transform: scale(0.92) translateY(12px);
  transition: 0.3s;
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal h2 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.modal p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.modal-actions {
  display: flex;
  gap: 0.65rem;
  justify-content: flex-end;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a:hover { color: var(--neon-cyan); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--text); }

/* ---------- Page header ---------- */
.page-header {
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.35rem;
}

.page-header p {
  color: var(--text-muted);
}

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
}

table.data {
  width: 100%;
  border-collapse: collapse;
}

table.data th,
table.data td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

table.data th {
  color: var(--text-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ---------- Misc ---------- */
.divider {
  height: 1px;
  background: var(--border-glass);
  margin: 1.25rem 0;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.hidden { display: none !important; }

.coupon-row {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}

.coupon-row .form-control { flex: 1; }

/* Success order */
.order-success {
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 560px;
  margin: 0 auto;
}

.order-success .check {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(57,255,20,0.2), rgba(0,240,255,0.2));
  border: 2px solid var(--neon-green);
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
  font-size: 2.2rem;
  box-shadow: 0 0 30px rgba(57,255,20,0.3);
  animation: pulseRing 2s infinite;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-inline: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .mascot-wrap { order: -1; }
  .mascot-glass { width: min(280px, 70vw); }
  .mascot-bubble { right: 5%; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-banner { grid-template-columns: 1fr; }
  .featured-banner .banner-img { min-height: 200px; }
  .cart-layout,
  .checkout-layout,
  .product-detail,
  .account-layout,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .account-nav { position: static; display: flex; flex-wrap: wrap; gap: 0.25rem; }
  .account-nav a { margin: 0; }
  .detail-gallery { position: static; }
  .mascot-fixed { width: 80px; bottom: 16px; left: 10px; }
}

@media (max-width: 768px) {
  .search-box { display: none; }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(8, 2, 20, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border-glass);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { width: 100%; text-align: center; padding: 0.85rem; }
  .menu-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .cart-item {
    grid-template-columns: 72px 1fr;
  }
  .cart-item .line-price {
    grid-column: 2;
    text-align: left;
  }
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

/* Print */
@media print {
  .site-header, .mascot-fixed, .liquid-bg, .site-footer { display: none; }
  body { background: #fff; color: #000; }
}
