/* =========================================================
   SYNOVIX — Design tokens
   ========================================================= */
:root {
  --bg-black: #07070a;
  --bg-graphite: #0e0e13;
  --bg-charcoal: #16161d;
  --card: rgba(255, 255, 255, 0.035);
  --card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-soft: rgba(255, 255, 255, 0.05);
  --blue: #4f7cff;
  --purple: #9b6bff;
  --gradient: linear-gradient(120deg, var(--blue), var(--purple));
  --text: #f3f3f6;
  --muted: #9898a5;
  --muted-2: #6d6d78;
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-black);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

::selection { background: var(--purple); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   Background atmosphere — glow field + particles
   ========================================================= */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg-black);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  will-change: transform;
}
.glow-1 { width: 640px; height: 640px; background: var(--blue); top: -220px; left: -160px; animation: drift1 22s ease-in-out infinite; }
.glow-2 { width: 560px; height: 560px; background: var(--purple); top: 30%; right: -200px; animation: drift2 26s ease-in-out infinite; }
.glow-3 { width: 480px; height: 480px; background: var(--blue); bottom: -200px; left: 30%; opacity: 0.22; animation: drift1 30s ease-in-out infinite reverse; }

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(60px, 40px); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-50px, 60px); }
}

#particles-canvas { position: absolute; inset: 0; }

.grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.4;
}

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 7, 10, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 10px; font-family: "Space Grotesk", sans-serif; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--gradient);
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute; inset: 3px;
  border-radius: 6px;
  background: var(--bg-black);
  clip-path: polygon(0 0, 60% 0, 100% 100%, 40% 100%);
}

.nav-links { display: flex; gap: 40px; }
.nav-links a {
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.25s ease;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gradient);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 14px;
  background: var(--card);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav-cta:hover { border-color: rgba(255,255,255,0.25); background: var(--card-hover); }

.nav-toggle { display: none; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 28px -8px rgba(79, 124, 255, 0.55);
}
.btn-primary:hover { box-shadow: 0 12px 36px -6px rgba(155, 107, 255, 0.6); }
.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.3); background: var(--card-hover); }
.btn-small { padding: 10px 18px; font-size: 13.5px; }

.magnetic { position: relative; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 880px; margin: 0 auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--card);
  margin-bottom: 28px;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px 2px rgba(79,124,255,0.7); }

.hero h1 {
  font-size: clamp(40px, 6.4vw, 78px);
  background: linear-gradient(180deg, #ffffff 20%, #b9b9c6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.sub {
  margin: 28px auto 0;
  max-width: 600px;
  font-size: 18px;
  color: var(--muted);
}

.hero-ctas { display: flex; gap: 16px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }

.hero-proof {
  margin-top: 90px;
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.proof-item { text-align: center; }
.proof-num { font-family: "Space Grotesk", sans-serif; font-size: 30px; font-weight: 600; }
.proof-label { font-size: 13px; color: var(--muted-2); margin-top: 4px; }

/* =========================================================
   Section shared
   ========================================================= */
section { position: relative; z-index: 1; padding: 130px 0; }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-tag { font-size: 13px; color: var(--blue); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 16.5px; max-width: 520px; }

.reveal { opacity: 0; transform: translateY(28px); }

/* =========================================================
   Products
   ========================================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  perspective: 1400px;
}

.product-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform 0.5s var(--ease), border-color 0.4s ease, background 0.4s ease, box-shadow 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform;
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.22);
  background: var(--card-hover);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.55);
}
.product-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: var(--bg-charcoal);
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.product-card:hover .product-thumb img { transform: scale(1.08); }
.product-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7,7,10,0.7) 100%);
}
.product-thumb-tag {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 6px 13px; border-radius: 999px;
  background: rgba(7,7,10,0.55);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  color: var(--text);
}

.product-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.product-cat { font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.product-name { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.product-price { font-family: "Space Grotesk", sans-serif; font-size: 18px; white-space: nowrap; color: var(--text); }
.product-desc { color: var(--muted); font-size: 14px; flex: 1; line-height: 1.55; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 11.5px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
}

.product-actions { display: flex; gap: 10px; margin-top: 6px; }
.product-actions .btn { flex: 1; padding: 12px 14px; font-size: 13px; }
.product-actions .btn[disabled] { opacity: 0.4; cursor: not-allowed; box-shadow: none; }
.product-actions .btn[disabled]:hover { transform: none; }

.empty-state {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
  grid-column: 1 / -1;
}

/* =========================================================
   Product detail page
   ========================================================= */
.product-detail-section { padding-top: 150px; padding-bottom: 40px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 14px; margin-bottom: 40px;
  transition: color 0.25s ease, transform 0.25s ease;
}
.back-link:hover { color: var(--text); transform: translateX(-3px); }

.detail-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: flex-start;
}
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; gap: 34px; } }

.detail-thumb {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-charcoal);
  aspect-ratio: 16/11;
  position: sticky;
  top: 120px;
}
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-title { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.detail-price { font-family: "Space Grotesk", sans-serif; font-size: 22px; color: var(--text); margin-bottom: 22px; }
.detail-desc { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 22px; }

.detail-actions { display: flex; gap: 14px; margin: 26px 0 40px; flex-wrap: wrap; }
.detail-actions .btn { min-width: 180px; }

.detail-meta { display: flex; flex-direction: column; gap: 20px; border-top: 1px solid var(--border-soft); padding-top: 26px; }
.detail-meta-item span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-2); display: block; margin-bottom: 6px; }
.detail-meta-item p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.more-section { padding-top: 40px; padding-bottom: 120px; }

/* =========================================================
   About
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-copy p { color: var(--muted); font-size: 16.5px; margin-bottom: 20px; max-width: 520px; }
.about-copy p strong { color: var(--text); font-weight: 500; }

.about-visual {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
}
.about-visual .orbit-ring {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
}
.ring-1 { inset: 20%; animation: spin 30s linear infinite; }
.ring-2 { inset: 38%; animation: spin 20s linear infinite reverse; border-style: dashed; }
.orbit-core {
  position: absolute; top: 50%; left: 50%;
  width: 90px; height: 90px;
  transform: translate(-50%, -50%);
  border-radius: 22px;
  background: var(--gradient);
  filter: blur(0.2px);
  box-shadow: 0 0 60px 10px rgba(155,107,255,0.35);
}
@keyframes spin { to { transform: rotate(360deg); } }

.about-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 36px; }
.value-item { border-top: 1px solid var(--border-soft); padding-top: 14px; }
.value-item h4 { font-size: 15.5px; margin-bottom: 6px; }
.value-item p { font-size: 13.5px; color: var(--muted-2); margin: 0; }

/* =========================================================
   Contact
   ========================================================= */
.contact-panel {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.contact-panel::before {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  background: var(--gradient);
  filter: blur(140px);
  opacity: 0.18;
  top: -150px; right: -100px;
}
.contact-links { display: flex; gap: 18px; flex-wrap: wrap; position: relative; z-index: 1; }
.contact-pill {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s ease, transform 0.3s ease;
  font-size: 14.5px;
}
.contact-pill:hover { border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }
.contact-icon {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient);
  flex-shrink: 0;
}
.contact-icon svg { width: 16px; height: 16px; }

/* =========================================================
   Footer
   ========================================================= */
footer { padding: 80px 0 40px; border-top: 1px solid var(--border-soft); position: relative; z-index: 1; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; margin-bottom: 60px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 280px; }
.footer-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-2); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 14.5px; color: var(--muted); transition: color 0.25s ease; }
.footer-col ul li a:hover { color: var(--text); }

.newsletter-form { display: flex; gap: 10px; margin-top: 16px; }
.newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 18px;
  color: var(--text);
  font-size: 13.5px;
}
.newsletter-form input::placeholder { color: var(--muted-2); }
.newsletter-form input:focus { outline: none; border-color: var(--blue); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 30px; border-top: 1px solid var(--border-soft);
  color: var(--muted-2); font-size: 13px; flex-wrap: wrap; gap: 16px;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: border-color 0.3s ease, transform 0.3s ease; }
.footer-social a:hover { border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }

/* =========================================================
   Page transition overlay + loader
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg-black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-mark {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--gradient);
  animation: pulse 1.1s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.82); opacity: 0.6; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  section { padding: 90px 0; }
  .hero-proof { gap: 36px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .contact-panel { padding: 36px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Admin panel
   ========================================================= */
.admin-body { background: var(--bg-black); min-height: 100vh; }
.admin-shell { max-width: 980px; margin: 0 auto; padding: 60px 32px 100px; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 44px; flex-wrap: wrap; gap: 16px; }
.admin-header h1 { font-size: 26px; }
.admin-header p { color: var(--muted); font-size: 14px; margin-top: 6px; }

.admin-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 36px; align-items: flex-start; }
.admin-grid > * { min-width: 0; } /* grid items don't shrink below content size unless told to */
@media (max-width: 800px) { .admin-grid { grid-template-columns: 1fr; } }

.admin-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px;
}
.admin-card h3 { font-size: 16px; margin-bottom: 22px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field textarea { resize: vertical; min-height: 90px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.thumb-preview {
  width: 100%; aspect-ratio: 16/9;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
  overflow: hidden;
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-2);
  font-size: 13px;
  background: var(--bg-charcoal);
}
.thumb-preview img { width: 100%; height: 100%; object-fit: cover; }

.admin-list { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.admin-row {
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 14px;
  max-width: 100%;
  overflow: hidden;
}
.admin-row img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex-shrink: 0; background: var(--bg-charcoal); }
.admin-row-info { flex: 1 1 auto; min-width: 0; max-width: 100%; overflow: hidden; }
.admin-row-info h4 { font-size: 14.5px; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-row-info p { font-size: 12.5px; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.admin-row-live { color: var(--muted-2); margin-top: 2px; }
.admin-row-live.set { color: #3ddc84; }
.admin-row-actions { display: flex; gap: 8px; flex-shrink: 0; margin-left: auto; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.icon-btn:hover { border-color: rgba(255,255,255,0.3); color: var(--text); }
.icon-btn.danger:hover { color: #ff6b6b; border-color: rgba(255,107,107,0.4); }

.sync-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 14px; margin-top: 10px;
}
.sync-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); }
.sync-badge.cloud .dot { background: #3ddc84; box-shadow: 0 0 8px 1px rgba(61,220,132,0.6); }
.sync-badge.local .dot { background: #ffb454; box-shadow: 0 0 8px 1px rgba(255,180,84,0.5); }

.limit-banner {
  border: 1px solid rgba(255, 180, 84, 0.35);
  background: rgba(255, 180, 84, 0.08);
  color: #ffb454;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 18px;
  display: none;
}
.limit-banner.show { display: block; }

.field-hint { font-size: 12px; color: var(--muted-2); margin-top: 6px; }

.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--bg-charcoal); border: 1px solid var(--border);
  padding: 14px 22px; border-radius: 999px;
  font-size: 13.5px; opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =========================================================
   Admin lock screen
   ========================================================= */
.lock-screen {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-black);
  padding: 20px;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.lock-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.lock-card {
  width: 100%; max-width: 380px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 40px 32px;
  backdrop-filter: blur(12px);
}
.lock-error {
  color: #ff8080; font-size: 12.5px; margin-top: -8px; margin-bottom: 6px;
  display: none;
}
.lock-error.show { display: block; }
