/* Aurora — neobank / personal finance (deep violet, premium) */
:root {
  --bg-0: #090713;
  --bg-1: #150f26;
  --glow: rgba(139, 92, 246, 0.34);
  --glow-2: rgba(236, 72, 153, 0.16);
  --accent: #8b5cf6;
  --accent-2: #6d28d9;
  --on-accent: #ffffff;
  --app-bg: #0e0b1a;
  --app-bg-2: #171227;
  --ink: #efeaff;
  --muted: #8b84a3;
  --line: rgba(255, 255, 255, 0.08);
  --card: #151027;
  --pos: #34d399;
}

.a-head { padding: 6px 20px 2px; display: flex; align-items: center; justify-content: space-between; }
.a-head .hi { font-size: 12.5px; color: var(--muted); }
.a-head .nm { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); }
.a-bell { position: relative; width: 40px; height: 40px; border-radius: 12px; background: var(--app-bg-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 19px; color: var(--ink); }
.a-bell .dot { position: absolute; top: 9px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: #f472b6; border: 1.5px solid var(--app-bg-2); }

.bal-card { margin: 14px 20px 6px; border-radius: 24px; padding: 22px; position: relative; overflow: hidden;
  background: radial-gradient(120% 130% at 85% -10%, #7c3aed, #3b1d8f 55%, #1e1145); color: #fff; }
.bal-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.bal-card .lbl { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; }
.bal-card .amt { font-family: var(--font-display); font-size: 38px; font-weight: 600; margin-top: 6px; font-variant-numeric: tabular-nums; }
.bal-card .sub { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 12.5px; }
.bal-card .sub .chg { display: inline-flex; align-items: center; gap: 4px; background: rgba(52,211,153,0.22); color: #b6f7dd; padding: 4px 10px 4px 8px; border-radius: 999px; font-weight: 600; font-size: 12px; }
.bal-card .sub .chg .gi { width: 14px; height: 14px; }

.qa { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px 20px 6px; }
.qa .q { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 4px; text-align: center; cursor: pointer; transition: 0.15s; }
.qa .q:active { transform: scale(0.96); }
.qa .q .ic { width: 40px; height: 40px; border-radius: 12px; margin: 0 auto 8px; background: rgba(139,92,246,0.16); display: grid; place-items: center; font-size: 21px; color: var(--accent); }
.qa .q span { font-size: 11px; color: var(--muted); font-weight: 600; }

.a-sec { padding: 18px 20px 8px; font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.a-sec a { font-family: var(--font-sans); font-size: 12px; color: var(--accent); }

.donut-card { margin: 0 20px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px; display: flex; align-items: center; gap: 18px; }
.donut { position: relative; width: 118px; height: 118px; flex: 0 0 auto; }
.donut svg { transform: rotate(-90deg); }
.donut .seg { fill: none; stroke-width: 12; stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(.2,.8,.2,1); }
.donut .center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1px; }
.donut .center b { font-size: 20px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.donut .center span { font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.dleg { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.dleg .r { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.dleg .r i { width: 10px; height: 10px; border-radius: 3px; }
.dleg .r .nm { color: var(--ink); flex: 1; }
.dleg .r .vl { color: var(--muted); font-weight: 600; }

.tx { display: flex; align-items: center; gap: 13px; padding: 11px 20px; }
.tx .ic { width: 44px; height: 44px; border-radius: 13px; background: var(--app-bg-2); display: grid; place-items: center; font-size: 21px; flex: 0 0 auto; color: var(--ink); }
.tx .ic.pos { color: var(--pos); background: rgba(52,211,153,0.14); }
.tx .t { flex: 1; min-width: 0; }
.tx .t h5 { font-size: 14.5px; color: var(--ink); font-weight: 600; }
.tx .t p { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.tx .amt { font-weight: 700; font-size: 14.5px; color: var(--ink); font-variant-numeric: tabular-nums; }
.tx .amt.pos { color: var(--pos); }
.tx-day { padding: 14px 20px 4px; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* virtual card */
.vcard { margin: 12px 20px; aspect-ratio: 1.586; border-radius: 22px; padding: 22px; position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #4c1d95 60%, #db2777); box-shadow: 0 26px 50px -20px rgba(139,92,246,0.6); }
.vcard .brand { display: flex; justify-content: space-between; align-items: center; }
.vcard .brand b { font-family: var(--font-display); font-size: 19px; }
.vcard .chip { width: 40px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, #f7d774, #d9a441); margin-top: 26px; }
.vcard .num { font-size: 18px; letter-spacing: 3px; margin-top: 16px; font-variant-numeric: tabular-nums; }
.vcard .foot { display: flex; justify-content: space-between; margin-top: 14px; font-size: 12px; }
.vcard.frozen { filter: grayscale(0.7) brightness(0.7); }
.vcard .frost { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; opacity: 0; transition: 0.3s; }
.vcard.frozen .frost { opacity: 1; }
.ctrl { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; margin: 0 20px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.ctrl .t h5 { font-size: 14px; color: var(--ink); font-weight: 600; }
.ctrl .t p { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.sw { width: 46px; height: 27px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: 0.2s; flex: 0 0 auto; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 50%; background: #fff; transition: 0.2s; }
.sw.on { background: var(--accent); }
.sw.on::after { left: 22px; }

/* insights bars */
.ins { padding: 4px 20px; }
.ins .cat { margin-bottom: 14px; }
.ins .cat .top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.ins .cat .top .nm { color: var(--ink); font-weight: 600; }
.ins .cat .top .vl { color: var(--muted); }
.ins .cat .bar { height: 9px; border-radius: 5px; background: var(--app-bg-2); overflow: hidden; }
.ins .cat .bar i { display: block; height: 100%; width: 0; border-radius: 5px; transition: width 0.9s cubic-bezier(.2,.8,.2,1); }

/* send sheet keypad */
.sheet h3.sh-title { font-family: var(--font-display); font-size: 20px; color: var(--ink); padding: 4px 22px 4px; font-weight: 600; }
.send-to { display: flex; align-items: center; gap: 12px; padding: 8px 22px 4px; }
.send-to .av { width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg,#f472b6,#8b5cf6); display: grid; place-items: center; color: #fff; font-weight: 800; }
.send-to .t h5 { font-size: 14.5px; color: var(--ink); font-weight: 600; }
.send-to .t p { font-size: 11.5px; color: var(--muted); }
.amt-display { text-align: center; font-family: var(--font-display); font-size: 46px; font-weight: 600; color: var(--ink); padding: 18px 0 8px; font-variant-numeric: tabular-nums; }
.amt-display .cur { color: var(--muted); font-size: 26px; vertical-align: super; }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 0 18px 6px; }
.keypad button { border: none; background: none; color: var(--ink); font-size: 24px; font-weight: 600; padding: 14px; border-radius: 14px; cursor: pointer; }
.keypad button:active { background: var(--app-bg-2); }
