/* ============================================
   GameNalozi Balkan — Premium Dark Gaming Theme
   ============================================ */

:root {
  --bg-0: #07080d;
  --bg-1: #0b0d16;
  --bg-2: #11141f;
  --bg-3: #161a28;
  --surface: rgba(20, 24, 38, 0.7);
  --surface-2: rgba(28, 33, 50, 0.6);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);

  --text: #ecedf3;
  --text-muted: #a7acc1;
  --text-dim: #6b7186;

  --neon-blue: #5b8dff;
  --neon-purple: #a855f7;
  --neon-cyan: #22d3ee;
  --neon-green: #22c55e;
  --neon-pink: #ec4899;
  --neon-orange: #f59e0b;

  --grad-primary: linear-gradient(135deg, #5b8dff 0%, #a855f7 50%, #22d3ee 100%);
  --grad-secondary: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  --grad-text: #4f46e5;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(91, 141, 255, 0.25);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(91, 141, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(168, 85, 247, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(34, 211, 238, 0.06), transparent 60%);
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  color: #4f46e5;
  -webkit-text-fill-color: #4f46e5;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn svg { width: 18px; height: 18px; }

.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-lg { padding: 15px 28px; font-size: 15px; }

.btn-primary {
  background: #4f46e5;
  color: white;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #4338ca;
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.45), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--neon-blue);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-outline:hover {
  border-color: #4f46e5;
  background: rgba(79, 70, 229, 0.08);
  transform: translateY(-2px);
}

/* Google sign-in dugme (brand stil) */
.btn-google {
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #dadce0;
  font-weight: 600;
  gap: 12px;
  padding: 13px 22px;
}
.btn-google:hover {
  background: #f6f7f9;
  border-color: #c9cdd3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}
.btn-google:active { background: #eceef1; }
.btn-google .google-g { width: 18px; height: 18px; flex-shrink: 0; }

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7, 8, 13, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(7, 8, 13, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header .container.header-inner {
  max-width: none;
  padding: 0 32px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.logo-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(91, 141, 255, 0.1);
  border: 1px solid rgba(91, 141, 255, 0.2);
}
.logo-icon svg { width: 22px; height: 22px; }
.logo-text { color: var(--text); }
.logo-accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 10px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}
/* animirana gradijent crta ispod linka */
.nav-link::after {
  content: '';
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-text);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}
.nav-link:hover::after {
  transform: scaleX(1);
  opacity: 0.9;
}
.nav-link.active {
  color: var(--text);
  background: rgba(91, 141, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(91, 141, 255, 0.25);
}
.nav-link.active::after {
  transform: scaleX(1);
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  height: 40px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  min-width: 0;
}
.nav-search:focus-within {
  border-color: rgba(91, 141, 255, 0.5);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(91, 141, 255, 0.12);
}
.nav-search-icon { width: 17px; height: 17px; color: var(--text-muted); flex-shrink: 0; }
.nav-search-input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  width: 200px;
  max-width: 100%;
}
.nav-search-input::placeholder { color: var(--text-muted); }
.nav-search-input::-webkit-search-cancel-button { -webkit-appearance: none; }

.cart-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  color: var(--text);
  position: relative;
  transition: var(--transition);
}
.cart-btn:hover {
  background: rgba(91, 141, 255, 0.12);
  border-color: var(--neon-blue);
  transform: translateY(-2px);
}
.cart-btn svg { width: 20px; height: 20px; }

/* ---- Account / favorites in header ---- */
.account-area { display: flex; align-items: center; gap: 8px; }
.account-fav {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  color: var(--text);
  transition: var(--transition);
}
.account-fav svg { width: 20px; height: 20px; }
.account-fav:hover { background: rgba(79, 70, 229, 0.12); border-color: #4f46e5; color: #fff; transform: translateY(-2px); }

.account-menu { position: relative; }
.account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  transition: var(--transition);
}
.account-trigger:hover { border-color: #4f46e5; background: rgba(79, 70, 229, 0.1); }
.account-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #4f46e5;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}
.account-name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.account-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: linear-gradient(180deg, rgba(28, 33, 50, 0.98), rgba(15, 18, 28, 0.98));
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 6px;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 120;
}
.account-menu.open .account-dropdown { display: flex; }
.account-dropdown a,
.account-dropdown button {
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  transition: background var(--transition);
  width: 100%;
}
.account-dropdown a:hover,
.account-dropdown button:hover { background: rgba(255,255,255,0.06); }
.account-dropdown .account-logout { color: #ff6b6b; }

/* ===== Prekidač valute ===== */
.cur-switch { position: relative; }
.cur-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 10px; border-radius: 100px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  color: var(--text); font-weight: 700; font-size: 13px;
  transition: var(--transition);
}
.cur-trigger:hover { border-color: #4f46e5; background: rgba(79, 70, 229, 0.1); }
.cur-trigger svg { width: 14px; height: 14px; opacity: 0.7; transition: transform var(--transition); }
.cur-switch.open .cur-trigger svg { transform: rotate(180deg); }
.cur-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 110px;
  background: linear-gradient(180deg, rgba(28, 33, 50, 0.98), rgba(15, 18, 28, 0.98));
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 6px;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 120;
}
.cur-switch.open .cur-dropdown { display: flex; }
.cur-opt {
  text-align: left; padding: 9px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--text);
  transition: background var(--transition); width: 100%; cursor: pointer;
}
.cur-opt:hover { background: rgba(255,255,255,0.06); }
.cur-opt.active { color: #818cf8; background: rgba(79, 70, 229, 0.12); }

@media (max-width: 600px) {
  .account-name { display: none; }
}

/* ---- Order cards (Moje porudžbine) ---- */
.order-card {
  background: linear-gradient(180deg, rgba(28, 33, 50, 0.6), rgba(15, 18, 28, 0.6));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.order-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.order-id { font-weight: 700; font-size: 16px; }
.order-date { color: var(--text-dim); font-size: 13px; margin-top: 2px; }
.order-status {
  background: rgba(34, 197, 94, 0.12);
  color: var(--neon-green);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.order-status.st-pending { background: rgba(246,196,83,0.12); color: #f6c453; border-color: rgba(246,196,83,0.3); }
.order-status.st-paid { background: rgba(91,141,255,0.14); color: #7ba6ff; border-color: rgba(91,141,255,0.35); }
.order-status.st-cancel { background: rgba(255,107,107,0.12); color: #ff6b6b; border-color: rgba(255,107,107,0.3); }
.order-delivery { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.28); }
.order-delivery-h { font-weight: 700; font-size: 13px; margin-bottom: 8px; color: var(--neon-green); }
.order-delivery pre { white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.6; color: var(--text); margin: 0; }
.order-pending-note { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(246,196,83,0.07); border: 1px solid rgba(246,196,83,0.22); font-size: 13px; color: var(--text-muted); }
.order-items { display: flex; flex-direction: column; gap: 10px; padding: 14px 0; }
.order-item { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.order-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.order-total { font-weight: 800; font-size: 16px; color: #fff; }

/* ---- Legal pages (uslovi / privatnost) ---- */
.legal {
  max-width: 820px;
  background: linear-gradient(180deg, rgba(28, 33, 50, 0.5), rgba(15, 18, 28, 0.5));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
}
.legal .legal-updated { color: var(--text-dim); font-size: 13px; margin-bottom: 28px; }
.legal h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  margin: 30px 0 12px;
  color: #fff;
}
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--text-muted); line-height: 1.75; font-size: 15px; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--neon-cyan); }
.legal strong { color: var(--text); }
@media (max-width: 600px) {
  .legal { padding: 26px 20px; }
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: #4f46e5;
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: none; /* sakriven dok JS ne potvrdi da ima stavki u korpi */
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.5);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  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: var(--transition);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, var(--bg-0) 0%, transparent 22%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 141, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 141, 255, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 80px 80px; }
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
  animation: glowFloat 12s ease-in-out infinite;
}
.glow-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(91, 141, 255, 0.7) 0%, transparent 70%);
  top: -100px; left: -100px;
}
.glow-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.5) 0%, transparent 70%);
  top: 50%; right: -150px;
  animation-delay: -4s;
}
.glow-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.4) 0%, transparent 70%);
  bottom: -100px; left: 30%;
  animation-delay: -8s;
}

@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

.hero .container {
  margin-left: 0;
  padding-left: clamp(24px, 7vw, 110px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: block;
}

.hero-text { max-width: 620px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(91, 141, 255, 0.08);
  border: 1px solid rgba(91, 141, 255, 0.2);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  position: relative;
  box-shadow: 0 0 12px var(--neon-green);
}
.pulse-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--neon-green);
  opacity: 0.3;
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(2); opacity: 0; }
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}

/* ===== Hero visual (legacy card stack — više se ne koristi) ===== */
.hero-visual {
  position: relative;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.card-stack {
  position: relative;
  width: 320px;
  height: 100%;
  transform-style: preserve-3d;
}

.account-card {
  position: absolute;
  width: 320px;
  background: linear-gradient(180deg, rgba(28, 33, 50, 0.95), rgba(15, 18, 28, 0.95));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.card-1 {
  top: 0; left: -40px;
  transform: rotate(-8deg) translateZ(0);
  animation: floatCard 6s ease-in-out infinite;
}
.card-2 {
  top: 150px; left: 50px;
  transform: rotate(2deg) translateZ(20px);
  animation: floatCard 6s ease-in-out infinite -2s;
  z-index: 2;
}
.card-3 {
  top: 300px; left: -20px;
  transform: rotate(-4deg) translateZ(10px);
  animation: floatCard 6s ease-in-out infinite -4s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(var(--r, -8deg)); }
  50% { transform: translateY(-12px) rotate(var(--r, -8deg)); }
}
.card-1 { --r: -8deg; }
.card-2 { --r: 2deg; }
.card-3 { --r: -4deg; }

.card-platform {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: white;
}
.card-platform svg { width: 14px; height: 14px; }

.steam-grad { background: linear-gradient(135deg, #1b2838, #2a475e); }
.epic-grad { background: linear-gradient(135deg, #000, #313131); }
.ms-grad { background: linear-gradient(135deg, #0078d4, #00bcf2); }
.ps-grad { background: linear-gradient(135deg, #003791, #0070cc); }
.xbox-grad { background: linear-gradient(135deg, #107c10, #5dc21e); }

.card-body { position: relative; z-index: 1; }
.card-title { font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.card-meta { font-size: 12px; color: var(--text-dim); margin-bottom: 16px; }
.card-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(91, 141, 255, 0.25), transparent 60%);
  pointer-events: none;
}

.floating-tag {
  position: absolute;
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(20, 24, 38, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  font-size: 12px;
  font-weight: 600;
  box-shadow: var(--shadow);
  z-index: 5;
}
.tag-1 {
  top: 30px; right: -20px;
  color: var(--neon-cyan);
  border-color: rgba(34, 211, 238, 0.3);
  animation: bobble 4s ease-in-out infinite;
}
.tag-2 {
  bottom: 80px; right: 10px;
  color: var(--neon-green);
  border-color: rgba(34, 197, 94, 0.3);
  animation: bobble 4s ease-in-out infinite -2s;
}

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

/* ============ TRUST BAR ============ */
.trust-bar {
  padding: 24px 0;
  background: rgba(11, 13, 22, 0.5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.trust-item svg {
  width: 22px;
  height: 22px;
  color: var(--neon-cyan);
  flex-shrink: 0;
}

/* ============ SECTIONS ============ */
.section {
  padding: 100px 0;
  position: relative;
}
/* prva sekcija ispod heroja — bliže hero delu */
#kategorije {
  padding-top: 30px;
  padding-bottom: 40px;
}
/* sekcija proizvoda bliže carouselu kategorija */
#proizvodi {
  padding-top: 30px;
  padding-bottom: 40px;
}
/* FAQ bliže sekciji naloga — manje praznog prostora iznad */
.faq-section {
  padding-top: 40px;
}
/* nalozi se prostiru celom širinom, kao carousel kategorija */
#proizvodi .container {
  max-width: 1720px;
}
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(11, 13, 22, 0.6), transparent);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(91, 141, 255, 0.1);
  border: 1px solid rgba(91, 141, 255, 0.2);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neon-blue);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============ CATEGORIES ============ */
#kategorije .container {
  max-width: 1720px;
}

.cat-carousel {
  position: relative;
  padding: 34px 72px;
}
.cat-carousel::before,
.cat-carousel::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14) 20%, rgba(255, 255, 255, 0.14) 80%, transparent);
  pointer-events: none;
}
.cat-carousel::before { top: 0; }
.cat-carousel::after { bottom: 0; }
.cat-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 6px 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.cat-track::-webkit-scrollbar { display: none; }
.cat-track > .category-card {
  flex: 0 0 calc((100% - 56px) / 3);
  scroll-snap-align: start;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---- Nav arrows ---- */
.cat-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(13, 16, 26, 0.6);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 6;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.cat-nav svg { width: 22px; height: 22px; transition: transform var(--transition); }
.cat-nav:hover {
  color: #fff;
  border-color: transparent;
  background: #4f46e5;
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.4);
  transform: translateY(-50%) scale(1.07);
}
.cat-nav:active { transform: translateY(-50%) scale(0.95); }
.cat-nav-prev { left: 4px; }
.cat-nav-next { right: 4px; }
.cat-nav:disabled {
  opacity: 0;
  pointer-events: none;
}

/* ---- Dots ---- */
.cat-dots {
  width: fit-content;
  margin: 34px auto 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cat-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: var(--transition);
}
.cat-dot:hover {
  background: rgba(255, 255, 255, 0.45);
  transform: scale(1.25);
}
.cat-dot.active {
  width: 28px;
  background: var(--grad-primary);
  box-shadow: 0 0 14px rgba(91, 141, 255, 0.55);
}

.category-card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(28, 33, 50, 0.7), rgba(15, 18, 28, 0.7));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(20px);
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--glow-color, rgba(91,141,255,0.15)), transparent 60%);
  opacity: 0.7;
  transition: var(--transition);
}
.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--accent-color, rgba(91,141,255,0.5)), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.category-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
}
.category-card:hover::after { opacity: 1; }
.category-card:hover::before { opacity: 1; }

.cat-steam { --glow-color: rgba(91,141,255,0.18); --accent-color: rgba(91,141,255,0.7); }
.cat-epic { --glow-color: rgba(168,85,247,0.18); --accent-color: rgba(168,85,247,0.7); }
.cat-microsoft { --glow-color: rgba(34,211,238,0.18); --accent-color: rgba(34,211,238,0.7); }
.cat-playstation { --glow-color: rgba(91,141,255,0.18); --accent-color: rgba(91,141,255,0.7); }
.cat-xbox { --glow-color: rgba(34,197,94,0.18); --accent-color: rgba(34,197,94,0.7); }
.cat-all { --glow-color: rgba(236,72,153,0.18); --accent-color: rgba(236,72,153,0.7); }

.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.cat-icon svg { width: 28px; height: 28px; color: var(--accent-color); }

.category-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.category-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.cat-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.cat-count {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}
.cat-arrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}
.category-card:hover .cat-arrow {
  color: var(--neon-cyan);
  transform: translateX(4px);
}

/* ===== Kartica kao slika ===== */
.category-card.cat-image {
  padding: 0;
  border: none;
  background: none;
  backdrop-filter: none;
  min-height: 0;
  box-shadow: none;
}
.category-card.cat-image::before,
.category-card.cat-image::after { display: none; }
.category-card.cat-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: var(--transition);
}
.category-card.cat-image:hover {
  transform: translateY(-6px);
}
.category-card.cat-image:hover img {
  filter: brightness(1.08);
}

/* ============ PRODUCT CARDS ============ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: transparent;
  border: none;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover { transform: translateY(-4px); }

.pc-cover {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--img-from, #1b2838), var(--img-to, #0a1119));
  border: 1px solid var(--border-strong);
}
.pc-cover-link { display: block; width: 100%; height: 100%; }
.pc-cover img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.product-card:hover .pc-cover img { transform: scale(1.05); }
.pc-cover-icon {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: auto;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.25);
  pointer-events: none;
}
.pc-cover-icon svg { width: 100%; height: 100%; }

.pc-discount {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: #1d4ed8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.pc-wish {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  color: #1a1f2e;
  backdrop-filter: blur(6px);
  transition: var(--transition);
}
.pc-wish svg { width: 18px; height: 18px; }
.pc-wish:hover { background: #fff; transform: scale(1.08); }
.pc-wish.active { background: #ec4899; color: #fff; }
.pc-wish.active svg { fill: currentColor; }

.pc-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  max-width: calc(100% - 72px);
}
.badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.badge-bestseller { background: rgba(245, 158, 11, 0.9); color: #1a0f00; }
.badge-new { background: rgba(34, 197, 94, 0.9); color: #001a08; }
.badge-deal { background: rgba(236, 72, 153, 0.9); color: #1a0009; }
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(34, 211, 238, 0.15);
  color: var(--neon-cyan);
  border: 1px solid rgba(34, 211, 238, 0.3);
}
.badge-instant {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--neon-orange);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.pc-info {
  display: block;
  padding: 12px 4px 0;
  text-align: center;
}
.pc-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  transition: color 0.2s ease;
}
.product-card:hover .pc-title { color: var(--neon-blue); }
.pc-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
.pc-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}
.pc-old {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: line-through;
}

.btn-cart {
  margin-top: 12px;
  padding: 10px;
  font-size: 13px;
  background: #4f46e5;
  color: white;
  border-radius: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
  border: 1px solid transparent;
  width: 100%;
}
.btn-cart:hover { transform: translateY(-2px); background: #4338ca; box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4); }
.btn-cart svg { width: 16px; height: 16px; }

/* Platform colors: --img-* = dark icon chip, --accent-* = bright top accent */
.platform-steam { --img-from: #1b2838; --img-to: #0a1119; --accent-from: #66c0f4; --accent-to: #1b6fa8; }
.platform-epic { --img-from: #2a2a2a; --img-to: #000000; --accent-from: #cfcfcf; --accent-to: #6e6e6e; }
.platform-microsoft { --img-from: #003a6c; --img-to: #001b33; --accent-from: #38bdf8; --accent-to: #0078d4; }
.platform-playstation { --img-from: #003791; --img-to: #001340; --accent-from: #4f8bff; --accent-to: #003791; }
.platform-xbox { --img-from: #107c10; --img-to: #052e05; --accent-from: #6bd66b; --accent-to: #107c10; }
.platform-ubisoft { --img-from: #0a1a2f; --img-to: #03070f; --accent-from: #5eb1ff; --accent-to: #1f5fae; }

/* ============ STEPS / HOW IT WORKS ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91,141,255,0.4), rgba(168,85,247,0.4), rgba(34,211,238,0.4), transparent);
}

.step-card {
  background: linear-gradient(180deg, rgba(28, 33, 50, 0.5), rgba(15, 18, 28, 0.5));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(20px);
  position: relative;
  transition: var(--transition);
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 141, 255, 0.4);
}

.step-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 38px;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  letter-spacing: -0.02em;
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(91, 141, 255, 0.15), rgba(168, 85, 247, 0.15));
  border: 1px solid rgba(91, 141, 255, 0.3);
  position: relative;
}
.step-icon svg { width: 32px; height: 32px; color: var(--neon-blue); }

.step-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}
.step-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============ WHY US ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.glass {
  background: linear-gradient(180deg, rgba(28, 33, 50, 0.6), rgba(15, 18, 28, 0.6));
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border-strong);
}

.why-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 141, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.why-icon svg { width: 26px; height: 26px; }
.icon-blue { background: rgba(91, 141, 255, 0.12); color: var(--neon-blue); border: 1px solid rgba(91,141,255,0.25); }
.icon-purple { background: rgba(168, 85, 247, 0.12); color: var(--neon-purple); border: 1px solid rgba(168,85,247,0.25); }
.icon-green { background: rgba(34, 197, 94, 0.12); color: var(--neon-green); border: 1px solid rgba(34,197,94,0.25); }
.icon-cyan { background: rgba(34, 211, 238, 0.12); color: var(--neon-cyan); border: 1px solid rgba(34,211,238,0.25); }
.icon-pink { background: rgba(236, 72, 153, 0.12); color: var(--neon-pink); border: 1px solid rgba(236,72,153,0.25); }
.icon-orange { background: rgba(245, 158, 11, 0.12); color: var(--neon-orange); border: 1px solid rgba(245,158,11,0.25); }

.why-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.why-card p {
  font-size: 14px;
  color: var(--text-muted);
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(91, 141, 255, 0.08), rgba(168, 85, 247, 0.08), rgba(34, 211, 238, 0.08));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(91, 141, 255, 0.15), transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(168, 85, 247, 0.15), transparent 50%);
  pointer-events: none;
}
.stat-block {
  text-align: center;
  border-right: 1px solid var(--border);
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.stat-block:last-child { border-right: none; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============ REVIEWS ============ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.4);
}

.review-stars {
  color: var(--neon-orange);
  font-size: 18px;
  letter-spacing: 2px;
}
.review-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  font-style: italic;
  flex: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
}
.review-name { font-weight: 700; font-size: 15px; }
.review-city { font-size: 13px; color: var(--text-dim); }

/* ============ FAQ ============ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: linear-gradient(180deg, rgba(28, 33, 50, 0.6), rgba(15, 18, 28, 0.6));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item[open] {
  border-color: rgba(91, 141, 255, 0.4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--neon-blue);
  transition: var(--transition);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-answer {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ============ CTA STRIP ============ */
.cta-strip { padding: 0 0 100px; }
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 56px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.cta-strip-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 50%, rgba(91, 141, 255, 0.18), transparent 50%),
    radial-gradient(circle at 100% 50%, rgba(168, 85, 247, 0.18), transparent 50%);
  pointer-events: none;
}
.cta-strip-inner h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 8px;
}
.cta-strip-inner p {
  color: var(--text-muted);
  font-size: 16px;
}
.cta-strip-inner > * { position: relative; z-index: 1; }

/* ============ FOOTER ============ */
.footer {
  background: linear-gradient(180deg, transparent, rgba(7, 8, 13, 0.6));
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 400px;
}

.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.socials a:hover {
  background: rgba(91, 141, 255, 0.1);
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  transform: translateY(-2px);
}
.socials a svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--text);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col span {
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--neon-cyan); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
}

/* ============ FLOATING SUPPORT ============ */
.support-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 100px;
  background: #4f46e5;
  color: white;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.5), 0 0 0 4px rgba(79, 70, 229, 0.1);
  transition: var(--transition);
  animation: floatBob 4s ease-in-out infinite;
}
.support-fab:hover {
  transform: translateY(-4px) scale(1.05);
  background: #4338ca;
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.6), 0 0 0 6px rgba(79, 70, 229, 0.15);
}
.support-fab svg { width: 20px; height: 20px; }

/* ===== Panel podrške (otvara se klikom na FAB) ===== */
.support-panel {
  position: fixed;
  bottom: 88px;
  right: 24px;
  z-index: 91;
  width: 300px;
  max-width: calc(100vw - 32px);
  background: var(--surface, #14141c);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  padding: 18px;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.support-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.support-panel-h { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.support-panel-sub { font-size: 12.5px; color: var(--text-muted); margin-bottom: 14px; }
.support-opt {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 12px 14px; border-radius: 12px; cursor: pointer; font-family: inherit;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px;
  transition: var(--transition); margin-bottom: 9px;
}
.support-opt:last-child { margin-bottom: 0; }
.support-opt:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); transform: translateX(2px); }
.support-opt svg { width: 22px; height: 22px; flex-shrink: 0; }
.support-opt small { display: block; font-weight: 400; font-size: 12px; color: var(--text-muted); }
.support-opt-ig svg { color: #e1306c; }
.support-opt-dc svg { color: #5865f2; }
.support-opt-tg svg { color: #29a9eb; }
.support-opt-mail svg { color: var(--neon-cyan, #22d3ee); }

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

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 200;
  padding: 14px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(20, 24, 38, 0.95), rgba(15, 18, 28, 0.95));
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(120%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s;
}
.toast.show {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.toast::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--neon-green);
  color: white;
  font-weight: 700;
  font-size: 14px;
}

/* ============ LOADING SKELETON ============ */
.skeleton-card {
  background: transparent;
  overflow: hidden;
}
.skeleton-image {
  aspect-ratio: 3/4;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}
.skeleton-body { padding: 14px 16px 0; }
.skeleton-line {
  height: 13px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
  margin: 0 auto 10px;
}
.skeleton-line.w-60 { width: 60%; }
.skeleton-line.w-40 { width: 40%; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============ PRODUCTS PAGE ============ */
.page-header {
  padding: 140px 0 40px;
}
.page-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 8px;
}
.page-header .crumbs {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.page-header .crumbs a { color: var(--text-muted); }
.page-header .crumbs a:hover { color: var(--neon-cyan); }

.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding-bottom: 80px;
}

.sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(28, 33, 50, 0.6), rgba(15, 18, 28, 0.6));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(20px);
}
.sidebar h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  margin-top: 24px;
}
.sidebar h3:first-child { margin-top: 0; }
.sidebar .filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
}
.filter-option:hover { background: rgba(255,255,255,0.04); }
.filter-option input { accent-color: var(--neon-blue); }
.filter-option .count {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-dim);
}

.price-range {
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-range input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  font-size: 13px;
}

.shop-main { min-width: 0; }
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(28, 33, 50, 0.5), rgba(15, 18, 28, 0.5));
  border: 1px solid var(--border-strong);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.search-input {
  flex: 1;
  min-width: 200px;
  position: relative;
}
.search-input input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  font-size: 14px;
  transition: var(--transition);
}
.search-input input:focus {
  outline: none;
  border-color: var(--neon-blue);
  background: rgba(91, 141, 255, 0.05);
}
.search-input svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-dim);
}

.sort-select {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  font-size: 14px;
  cursor: pointer;
}

.products-grid.shop-grid {
  grid-template-columns: repeat(3, 1fr);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  border-radius: var(--radius-lg);
  background: rgba(28, 33, 50, 0.3);
  border: 1px dashed var(--border-strong);
}
.empty-state svg { width: 80px; height: 80px; color: var(--text-dim); margin: 0 auto 20px; opacity: 0.6; }
.empty-state h3 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); margin-bottom: 20px; }

/* ============ PRODUCT DETAIL ============ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 80px;
}

.detail-image {
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--img-from, #1b2838), var(--img-to, #0a1119));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
}
.detail-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.15), transparent 50%);
}
.detail-image svg { width: 140px; height: 140px; color: rgba(255,255,255,0.85); z-index: 1; }
.detail-image .badges { top: 20px; left: 20px; }

.detail-info h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}
.detail-info .platform-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(91, 141, 255, 0.1);
  border: 1px solid rgba(91,141,255,0.3);
  font-size: 12px;
  font-weight: 600;
  color: var(--neon-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 24px 0;
}
.detail-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 42px;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.detail-old-price {
  font-size: 20px;
  color: var(--text-dim);
  text-decoration: line-through;
}

.detail-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0;
}
.detail-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  font-size: 14px;
}
.detail-feature svg {
  width: 18px;
  height: 18px;
  color: var(--neon-green);
  flex-shrink: 0;
}

.detail-buy {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.detail-buy .btn-primary { flex: 1; padding: 16px; font-size: 16px; }

.detail-description {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(28, 33, 50, 0.5), rgba(15, 18, 28, 0.5));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(20px);
  margin-top: 40px;
}
.detail-description h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  margin-bottom: 14px;
}
.detail-description p { color: var(--text-muted); line-height: 1.7; }

/* ============ CART ============ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  padding-bottom: 80px;
}
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 20px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(28, 33, 50, 0.6), rgba(15, 18, 28, 0.6));
  border: 1px solid var(--border-strong);
  align-items: center;
}
.cart-item-image {
  width: 72px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--img-from, #1b2838), var(--img-to, #0a1119));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item-image svg { width: 36px; height: 36px; color: rgba(255,255,255,0.7); }

.cart-item-info h4 { font-size: 16px; margin-bottom: 6px; font-weight: 700; }
.cart-item-info .meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.cart-plat { font-weight: 600; }
.cart-qty { color: var(--text-muted); }
.cart-verified {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px 3px 7px; border-radius: 100px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80; font-weight: 600; font-size: 12px;
}
.cart-verified svg { width: 12px; height: 12px; }
.cart-item-actions { display: flex; align-items: center; gap: 16px; }
.cart-item-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}
.cart-remove {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: var(--neon-pink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.cart-remove:hover { background: rgba(236, 72, 153, 0.2); }
.cart-remove svg { width: 16px; height: 16px; }

.cart-summary {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(28, 33, 50, 0.7), rgba(15, 18, 28, 0.7));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(20px);
}
.cart-summary h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  margin-bottom: 20px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-muted);
}
.summary-row.total {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  border-top: 1px solid var(--border);
  margin-top: 10px;
  padding-top: 16px;
}
.summary-row.total .summary-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cart-summary .btn { width: 100%; margin-top: 16px; padding: 14px; }

.cart-empty {
  text-align: center;
  padding: 80px 20px;
  border-radius: var(--radius-lg);
  background: rgba(28, 33, 50, 0.3);
  border: 1px dashed var(--border-strong);
  grid-column: 1 / -1;
}
.cart-empty svg { width: 100px; height: 100px; color: var(--text-dim); margin: 0 auto 20px; opacity: 0.5; }
.cart-empty h3 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; margin-bottom: 10px; }
.cart-empty p { color: var(--text-muted); margin-bottom: 24px; }

/* ============ FORMS ============ */
.form-container {
  max-width: 480px;
  margin: 140px auto 80px;
  padding: 40px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(28, 33, 50, 0.7), rgba(15, 18, 28, 0.7));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(20px);
}
.form-container h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  margin-bottom: 8px;
  text-align: center;
}
.form-container .sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  margin-bottom: 28px;
}
.form-tab {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
}
.form-tab.active {
  background: #4f46e5;
  color: white;
}

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  font-size: 14px;
  transition: var(--transition);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--neon-blue);
  background: rgba(91, 141, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(91, 141, 255, 0.1);
}
.form-textarea { min-height: 100px; resize: vertical; }

/* ============ ADMIN ============ */
.admin-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 140px 0 80px;
}
.admin-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(28, 33, 50, 0.6), rgba(15, 18, 28, 0.6));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(20px);
}
.admin-card h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  margin-bottom: 20px;
}
.admin-product-list {
  max-height: 600px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.admin-image-field {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.admin-image-preview {
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border: 1px dashed var(--border-strong);
  color: var(--text-dim);
  font-size: 11px;
  text-align: center;
}
.admin-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.admin-image-controls { flex: 1; min-width: 0; }
.admin-product-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  font-size: 14px;
}
.admin-item-thumb {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
}
.admin-product-item .info { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.admin-product-item .info strong { font-weight: 700; }
.admin-product-item .info span { font-size: 12px; color: var(--text-dim); }
.admin-tags-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.admin-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
  color: var(--text-dim);
}
.admin-tag.tag-feat { background: rgba(91,141,255,0.16); color: var(--neon-blue); }
.admin-item-actions { display: flex; gap: 8px; flex-shrink: 0; }
.admin-icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.admin-icon-btn svg { width: 17px; height: 17px; }
.admin-icon-btn:hover { color: var(--neon-blue); border-color: var(--neon-blue); background: rgba(91,141,255,0.08); }
.admin-icon-btn.danger:hover { color: #ff6b6b; border-color: #ff6b6b; background: rgba(255,107,107,0.08); }

.admin-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 16px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
}
.admin-check input { width: 18px; height: 18px; accent-color: var(--neon-blue); cursor: pointer; }

.admin-tools {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.admin-tools h3 { font-family: 'Space Grotesk', sans-serif; font-size: 16px; margin-bottom: 6px; }
.admin-tools p { font-size: 13px; color: var(--text-dim); margin-bottom: 14px; }
.admin-tool-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-tool-btns .btn { font-size: 13px; padding: 10px 16px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .nav-search-input { width: 130px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 480px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-track > .category-card { flex: 0 0 calc((100% - 28px) / 2); }
  .why-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .shop-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .products-grid.shop-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(7, 8, 13, 0.97);
    backdrop-filter: blur(20px);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
  }
  .nav.open .nav-link { padding: 14px; border-radius: 10px; }
  .nav.open .nav-link::after { display: none; }
  .menu-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .nav-search-input { width: 120px; }

  .hero { padding: 110px 0 60px; min-height: auto; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-visual { height: 420px; }
  .card-stack { transform: scale(0.85); }

  .section { padding: 70px 0; }
  .products-grid, .products-grid.shop-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cat-track > .category-card { flex: 0 0 85%; }
  .cat-nav { display: none; }
  .cat-carousel { padding: 26px 0; }
  .why-grid, .reviews-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .trust-item { font-size: 13px; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px; }
  .stat-block { border-right: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .cta-strip-inner { flex-direction: column; padding: 32px; text-align: center; gap: 20px; }
  .cta-strip-inner h2 { font-size: 24px; }

  .cart-item { grid-template-columns: 64px 1fr; gap: 14px; padding: 14px; }
  .cart-item-image { width: 64px; height: 86px; }
  .cart-item-actions { grid-column: 1 / -1; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--border); }

  .admin-layout { grid-template-columns: 1fr; }
  .support-fab { padding: 12px; }
  .support-fab span { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .products-grid, .products-grid.shop-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .header-inner { gap: 12px; }
  .nav-search-input { width: 100px; }
}

/* ============ UTIL ============ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.6s forwards;
}
@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(91, 141, 255, 0.4), rgba(168, 85, 247, 0.4));
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(91, 141, 255, 0.6), rgba(168, 85, 247, 0.6));
}
