:root{
  /* extracted vibe from your logo (deep navy + purple + cyan + magenta) */
  --bg0:#050318;
  --bg1:#0A0626;
  --ink:#EAF0FF;
  --muted:rgba(234,240,255,.72);

  --p:#5E32D4;      /* purple */
  --p2:#24309A;     /* indigo */
  --c:#28B4F6;      /* cyan */
  --m:#E351DD;      /* magenta */

  --glass: rgba(255,255,255,.06);
  --glass2: rgba(255,255,255,.10);
  --stroke: rgba(255,255,255,.14);
  --shadow: 0 20px 70px rgba(0,0,0,.55);

  --r: 22px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: "Vazirmatn", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background: radial-gradient(1200px 700px at 15% 15%, rgba(94,50,212,.25), transparent 60%),
              radial-gradient(900px 600px at 85% 20%, rgba(40,180,246,.20), transparent 55%),
              radial-gradient(900px 700px at 50% 90%, rgba(227,81,221,.10), transparent 60%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ---------- Background layer ---------- */
.bg{ position:fixed; inset:0; pointer-events:none; }
.bg__glow{
  position:absolute; inset:-200px;
  filter: blur(60px);
  opacity:.7;
}
.bg__glow--a{
  background: radial-gradient(600px 380px at 18% 18%, rgba(94,50,212,.45), transparent 60%);
}
.bg__glow--b{
  background: radial-gradient(620px 380px at 80% 22%, rgba(40,180,246,.38), transparent 60%);
}
.bg__grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 25%, rgba(0,0,0,.95), transparent 65%);
  opacity:.45;
}

/* shards */
.shard{
  position:absolute;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, rgba(40,180,246,.9), rgba(94,50,212,.9));
  transform: rotate(45deg);
  border-radius: 4px;
  opacity:.75;
  filter: drop-shadow(0 10px 18px rgba(40,180,246,.22));
  animation: floaty 10s ease-in-out infinite;
}
.s1{ top:14%; left:10%; animation-duration: 11s; }
.s2{ top:22%; left:85%; width:10px; height:10px; opacity:.6; animation-duration: 9s; }
.s3{ top:70%; left:8%; width:12px; height:12px; background: linear-gradient(135deg, rgba(227,81,221,.9), rgba(94,50,212,.9)); animation-duration: 12s; }
.s4{ top:78%; left:88%; width:16px; height:16px; opacity:.55; animation-duration: 13s; }
.s5{ top:48%; left:92%; width:9px; height:9px; opacity:.6; animation-duration: 8s; }

@keyframes floaty{
  0%{ transform: translateY(0) rotate(45deg); }
  50%{ transform: translateY(-16px) rotate(45deg); }
  100%{ transform: translateY(0) rotate(45deg); }
}

@media (prefers-reduced-motion: reduce){
  .shard{ animation:none; }
  .skeleton{ animation:none; }
}

/* ---------- Layout ---------- */
.wrap{
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 18px 36px;
  position:relative;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-bottom: 18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand__logo{
  width:56px; height:56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(94,50,212,.55), rgba(40,180,246,.35));
  border: 1px solid rgba(255,255,255,.16);
  overflow:hidden;
  box-shadow: 0 16px 45px rgba(94,50,212,.18);
}
.brand__logo img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.brand__name{
  font-weight: 900;
  letter-spacing: .2px;
  font-size: 18px;
}
.brand__tag{
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

/* Chip */
.chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
}
.chip__dot{
  width:9px; height:9px;
  border-radius: 999px;
  background: var(--c);
  box-shadow: 0 0 0 6px rgba(40,180,246,.12);
}
.chip__text{ font-size: 13px; color: rgba(234,240,255,.80); }

.grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 920px){
  .topbar{ flex-direction:column; align-items:flex-start; }
  .grid{ grid-template-columns: 1fr; }
}

/* Cards */
.card{
  border-radius: var(--r);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  position:relative;
  overflow:hidden;
}

.hero{ padding: 24px 22px; }
.hero::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(700px 320px at 20% 15%, rgba(94,50,212,.18), transparent 60%),
              radial-gradient(600px 280px at 85% 18%, rgba(40,180,246,.14), transparent 60%),
              radial-gradient(600px 280px at 65% 90%, rgba(227,81,221,.08), transparent 62%);
  pointer-events:none;
}
.hero > *{ position:relative; }

.hero__badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(234,240,255,.82);
  font-size: 13px;
  font-weight: 700;
}
.hero__badgeIcon{
  filter: drop-shadow(0 10px 18px rgba(40,180,246,.18));
}

.hero__title{
  margin: 14px 0 8px;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: .2px;
  text-shadow: 0 18px 60px rgba(94,50,212,.10);
}
.hero__sub{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2.0;
}
.hero__sub b{ color: rgba(234,240,255,.92); font-weight: 900; }

/* Panel */
.panel{
  background: rgba(0,0,0,.26);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 16px 16px 14px;
}

.row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(255,255,255,.14);
}
.row:last-child{ border-bottom:none; padding-bottom:0; }

.row__label{
  font-size: 13px;
  color: rgba(234,240,255,.66);
}
.row__value{
  font-size: 15px;
  font-weight: 900;
  display:flex;
  align-items:center;
  gap: 10px;
}
.flag{
  width: 26px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 10px 24px rgba(40,180,246,.10);
}

/* Actions */
.actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.btn{
  appearance:none;
  border:none;
  cursor:pointer;
  font-family: inherit;
  font-weight: 900;
  padding: 11px 14px;
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  transition: transform .12s ease, background .12s ease, border-color .12s ease, filter .12s ease;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.11);
  border-color: rgba(255,255,255,.22);
  filter: brightness(1.05);
}
.btn:active{ transform: translateY(0); }
.btn__ico{ margin-left: 6px; }

.btn--primary{
  background: linear-gradient(135deg, rgba(94,50,212,.95), rgba(40,180,246,.85));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 55px rgba(94,50,212,.18);
}

/* Status */
.status{
  margin-top: 14px;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
}
.status__dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: #F59E0B;
  box-shadow: 0 0 0 6px rgba(245,158,11,.14);
  flex: 0 0 auto;
}
.status__text{
  font-size: 13px;
  color: rgba(234,240,255,.88);
}

/* Side */
.side{ padding: 18px; }
.side__title{
  margin: 4px 0 8px;
  font-size: 16px;
  font-weight: 950;
}
.side__desc{
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}
.mini{
  display:grid;
  gap: 10px;
}
.mini__item{
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
}
.mini__head{
  font-size: 13px;
  font-weight: 950;
  margin-bottom: 4px;
}
.mini__body{
  font-size: 12px;
  color: rgba(234,240,255,.70);
  line-height: 1.8;
}

.note{
  margin-top: 12px;
  display:flex;
  gap:10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(227,81,221,.25);
  background: linear-gradient(135deg, rgba(227,81,221,.08), rgba(40,180,246,.05));
}
.note__icon{ filter: drop-shadow(0 10px 18px rgba(227,81,221,.10)); }
.note__text{
  font-size: 12px;
  color: rgba(234,240,255,.78);
  line-height: 1.8;
}

/* Footer */
.footer{
  margin-top: 18px;
  display:flex;
  justify-content:center;
  gap:10px;
  color: rgba(234,240,255,.58);
  font-size: 12px;
}
.sep{ opacity:.5; }
.muted{ opacity:.8; }

/* Skeleton */
.skeleton{
  display:inline-block;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(255,255,255,.08),
    rgba(255,255,255,.16),
    rgba(255,255,255,.08)
  );
  background-size: 220px 100%;
  animation: shimmer 1.2s infinite linear;
}
.sk1{ width: 200px; }
.sk2{ width: 150px; }
.sk3{ width: 120px; }

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