/* ===== Liquid Glass + Glassmorphism base ===== */
:root{
  /* palette extracted from the uploaded catalog (Click Agency) */
  --accent:#7818d8;
  --accent2:#a855f7;
  --ink:#241a35;
  --muted:#7d7392;
  --glass:rgba(255,255,255,.62);
  --glass-border:rgba(255,255,255,.75);
}
*{margin:0;padding:0;box-sizing:border-box}
html{height:100%}
body{
  font-family:"Vazirmatn",Tahoma,sans-serif;
  color:var(--ink);
  background:linear-gradient(150deg,#f2eef9 0%,#eae4f5 40%,#f5f1fa 100%);
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
}

/* animated background blobs — the "liquid" layer */
.bg-blobs{position:fixed;inset:0;overflow:hidden;z-index:0;pointer-events:none}
.blob{position:absolute;border-radius:50%;filter:blur(70px);opacity:.5;animation:drift 18s ease-in-out infinite alternate}
.b1{width:44vmax;height:44vmax;background:radial-gradient(circle,#c084fc,#a855f7);top:-14vmax;right:-10vmax}
.b2{width:36vmax;height:36vmax;background:radial-gradient(circle,#d8b4fe,#8b5cf6);bottom:-12vmax;left:-8vmax;animation-delay:-6s}
.b3{width:26vmax;height:26vmax;background:radial-gradient(circle,#f0abfc,#c084fc);top:38%;left:38%;animation-delay:-12s;opacity:.35}
@keyframes drift{
  0%{transform:translate(0,0) scale(1)}
  50%{transform:translate(4vmax,3vmax) scale(1.08)}
  100%{transform:translate(-3vmax,-4vmax) scale(.96)}
}
.grain{position:absolute;inset:0;opacity:.035;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E")}

/* the glass chip — shared liquid-glass surface */
.glass{
  background:var(--glass);
  backdrop-filter:blur(22px) saturate(1.6);
  -webkit-backdrop-filter:blur(22px) saturate(1.6);
  border:1px solid var(--glass-border);
  border-radius:16px;
  box-shadow:0 8px 32px rgba(60,20,120,.12), inset 0 1px 0 rgba(255,255,255,.85);
}

::selection{background:rgba(120,24,216,.22)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms !important;transition-duration:.01ms !important}
}
