@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

.sc-fintech {
  --bg: #050d08; --panel: rgba(14, 30, 21, .72); --panel-solid: #0c1a12; --line: rgba(220, 255, 232, .09);
  --ink: #eafff1; --muted: #8fb5a0; --green: #3dff8f; --lime: #c6ff3d; --deep: #0a2f1c; --red: #ff7a7a;
  --focus: #c6ff3d; --r: 26px;
  color: var(--ink); background: var(--bg); font-family: "Manrope", system-ui, sans-serif;
  background-image: radial-gradient(60vw 50vw at 85% -10%, rgba(61,255,143,.16), transparent 60%), radial-gradient(50vw 40vw at -10% 110%, rgba(198,255,61,.08), transparent 60%);
  background-attachment: fixed;
}
.sc-fintech .num, .sc-fintech .bal-amount, .sc-fintech .vc-num, .sc-fintech b[data-in], .sc-fintech b[data-out] { font-family: "Space Grotesk", sans-serif; font-variant-numeric: tabular-nums; }
.app { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: calc(100vh - 34px); }

/* Sidebar */
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 34px; padding: 30px 22px; border-right: 1px solid var(--line); background: rgba(5, 13, 8, .6); backdrop-filter: blur(18px); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 800 24px/1 "Space Grotesk"; letter-spacing: -.04em; }
.logo svg { width: 40px; height: 40px; }
.side-nav { display: grid; gap: 6px; }
.side-nav a { display: flex; align-items: center; gap: 13px; min-height: 48px; padding: 0 14px; border-radius: 15px; color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15px; transition: background .25s, color .25s; }
.side-nav a:hover { color: var(--ink); background: rgba(255,255,255,.04); }
.side-nav a[aria-current="page"] { color: #06110b; background: linear-gradient(120deg, var(--lime), var(--green)); box-shadow: 0 10px 30px rgba(61,255,143,.25); }
.side-nav svg, .tabbar svg, .primary-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.side-foot { margin-top: auto; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.02); }
.side-foot p { margin: 0 0 12px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.side-foot b { color: var(--ink); }
.ghost-btn { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: transparent; font-weight: 700; font-size: 13px; transition: border-color .2s, background .2s; }
.ghost-btn:hover { border-color: var(--green); background: rgba(61,255,143,.06); }

/* Main */
.main { padding: 28px clamp(18px, 3vw, 44px) 60px; outline: none; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.hello { margin: 0; color: var(--muted); font-size: 14px; }
.name { margin: 2px 0 0; font: 700 26px/1.1 "Space Grotesk"; letter-spacing: -.03em; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 12px; font-weight: 600; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(61,255,143,.15); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(61,255,143,0); } }
.me { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #06110b; background: linear-gradient(135deg, #ffd6a8, #ff9f7a); font-weight: 800; font-size: 14px; }
.view-title { margin: 0 0 18px; font: 700 clamp(28px, 3vw, 40px)/1 "Space Grotesk"; letter-spacing: -.045em; }
.view { animation: viewIn .55s cubic-bezier(.2,.8,.2,1); }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } }

.panel { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); backdrop-filter: blur(14px); }
.ph { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 18px; }
.ph h2, .card-controls h2 { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.link { color: var(--green); font-size: 13px; font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }
.tag { padding: 5px 10px; border-radius: 99px; background: rgba(61,255,143,.1); color: var(--green); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.label { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }

.ov-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-areas: "bal cards" "bal send" "recent donut"; }
.balance { grid-area: bal; display: flex; flex-direction: column; overflow: hidden; background: linear-gradient(160deg, rgba(31,209,122,.18), rgba(14,30,21,.72) 45%); }
.cards-panel { grid-area: cards; } .send { grid-area: send; } .recent { grid-area: recent; } .donut-panel { grid-area: donut; }

/* Saldo e periodo */
.bal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 14px; background: rgba(0,0,0,.35); border: 1px solid var(--line); }
.seg button { position: relative; z-index: 1; min-width: 52px; min-height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-weight: 800; font-size: 12px; transition: color .3s; }
.seg button[aria-checked="true"] { color: #06110b; }
.seg-ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 10px; background: linear-gradient(120deg, var(--lime), var(--green)); transition: transform .45s cubic-bezier(.3,1.4,.4,1); }
.bal-amount { margin: 20px 0 4px; font-size: clamp(42px, 5.4vw, 70px); font-weight: 600; line-height: 1; letter-spacing: -.055em; }
.bal-delta { margin: 0; color: var(--green); font-size: 14px; font-weight: 700; }
.bal-delta.neg { color: var(--red); }
.chart { position: relative; flex: 1; min-height: 210px; margin: 22px -24px 0; touch-action: pan-y; }
.chart svg { width: 100%; height: 100%; min-height: 210px; overflow: visible; }
.grid-lines line { stroke: rgba(255,255,255,.06); stroke-dasharray: 3 6; }
.line { fill: none; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 6px 14px rgba(61,255,143,.45)); }
.cursor { stroke: rgba(234,255,241,.35); stroke-width: 1; stroke-dasharray: 4 4; opacity: 0; transition: opacity .2s; }
.chart.is-hover .cursor, .chart.is-hover .dot, .chart.is-hover .tip { opacity: 1; }
.dot { position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 3px solid #06110b; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px rgba(198,255,61,.2); opacity: 0; pointer-events: none; }
.tip { position: absolute; left: 0; top: 0; padding: 8px 11px; border-radius: 11px; background: #eafff1; color: #06110b; font-size: 12px; font-weight: 700; white-space: nowrap; transform: translate(-50%, calc(-100% - 16px)); opacity: 0; pointer-events: none; transition: opacity .2s; }
.tip small { display: block; color: #3d6a52; font-weight: 600; }
.xaxis { display: flex; justify-content: space-between; padding: 8px 24px 0; color: var(--muted); font-size: 11px; font-weight: 600; }
.io { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.io > div { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: rgba(0,0,0,.25); }
.io p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 600; }
.io b { display: block; margin-top: 3px; color: var(--ink); font-size: 19px; white-space: nowrap; }
.io-ic { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; font-weight: 800; }
.io-ic.in { background: rgba(61,255,143,.14); color: var(--green); } .io-ic.out { background: rgba(255,122,122,.12); color: var(--red); }

/* Carte impilate */
.stack { position: relative; height: 210px; margin: 34px 0 10px; perspective: 900px; touch-action: pan-y; }
.vcard { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1.586; max-height: 210px; margin: 0 auto; padding: 20px 22px; border-radius: 22px; overflow: hidden; color: #06110b; transform-origin: 50% 100%; transition: transform .7s cubic-bezier(.2,.9,.2,1.05), opacity .5s, filter .5s; user-select: none; }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 45%, transparent 60%); transform: translateX(-120%); transition: transform 1.1s; pointer-events: none; }
.vcard.is-front:hover::after { transform: translateX(120%); }
.vcard--lime { background: radial-gradient(120% 120% at 0 0, #e9ff8f, transparent 50%), linear-gradient(135deg, #c6ff3d, #22d67c); }
.vcard--night { color: var(--ink); background: radial-gradient(90% 120% at 100% 0, rgba(61,255,143,.45), transparent 55%), repeating-linear-gradient(115deg, rgba(255,255,255,.03) 0 2px, transparent 2px 14px), #0b1f14; border: 1px solid rgba(61,255,143,.25); }
.vcard--glass { color: var(--ink); background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(16px); }
.vc-top { display: flex; justify-content: space-between; align-items: center; }
.vc-brand { font: 800 20px/1 "Space Grotesk"; letter-spacing: -.05em; }
.vc-nfc { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.vc-chip { width: 42px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, #f6e6a6, #c9a64a); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.vc-num { margin: 0; font-size: clamp(15px, 1.6vw, 19px); letter-spacing: .08em; }
.vc-bottom { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.vc-bottom small { display: block; margin-top: 3px; font-size: 10px; font-weight: 600; opacity: .7; letter-spacing: .02em; }
.vc-frozen { position: absolute; right: 18px; top: 50%; padding: 6px 11px; border-radius: 99px; background: rgba(6,17,11,.78); color: #bfefff; font-size: 12px; font-weight: 800; opacity: 0; transform: translateY(-50%) scale(.8); transition: .35s; }
.vcard.is-frozen { filter: grayscale(.85) brightness(.8); }
.vcard.is-frozen .vc-frozen { opacity: 1; transform: translateY(-50%) scale(1); }
.stack .vcard { inset: auto 0 0 0; width: min(100%, 333px); height: auto; cursor: grab; box-shadow: 0 22px 45px rgba(0,0,0,.45); }
.stack .vcard:not(.is-front) { pointer-events: none; }
.stack-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 700; }
.round-btn { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.03); font-weight: 800; transition: background .2s, transform .2s; }
.round-btn:hover { background: rgba(61,255,143,.12); transform: scale(1.06); }

/* Invio rapido */
.people { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.person { flex: none; display: grid; justify-items: center; gap: 6px; width: 64px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 11.5px; font-weight: 700; }
.person i { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: #06110b; font-style: normal; font-weight: 800; font-size: 15px; transition: transform .35s cubic-bezier(.3,1.6,.4,1), box-shadow .3s; }
.person[aria-checked="true"] { color: var(--ink); }
.person[aria-checked="true"] i { transform: scale(1.1); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--green); }
.send-form { display: grid; gap: 12px; margin-top: 6px; }
.amount-field > span:first-child, .note-field span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12px; font-weight: 700; }
.amount-field b { color: var(--ink); }
.amount-input { display: flex; align-items: center; gap: 8px; padding: 0 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0,0,0,.3); transition: border-color .2s; }
.amount-input:focus-within, .note-field input:focus { border-color: var(--green); }
.amount-input i { color: var(--muted); font-style: normal; font: 600 24px "Space Grotesk"; }
.amount-input input { width: 100%; min-height: 56px; border: 0; outline: 0; background: transparent; font: 600 28px "Space Grotesk"; letter-spacing: -.03em; }
.note-field input { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; outline: 0; background: rgba(0,0,0,.3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 36px; padding: 0 13px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.03); font-weight: 700; font-size: 13px; transition: .2s; }
.chip:hover, .chip[aria-pressed="true"] { border-color: var(--green); color: var(--green); }
.primary-btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 52px; border: 0; border-radius: 16px; color: #06110b; background: linear-gradient(120deg, var(--lime), var(--green)); font-weight: 800; font-size: 15px; box-shadow: 0 12px 30px rgba(61,255,143,.25); transition: transform .2s, box-shadow .2s; }
.primary-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(61,255,143,.35); }
.primary-btn:active { transform: scale(.98); }
.form-msg { min-height: 1.3em; margin: 0; font-size: 13px; font-weight: 600; color: var(--green); }
.form-msg.err { color: var(--red); }

/* Donut */
.donut-wrap { position: relative; width: min(220px, 100%); margin: 0 auto 18px; }
.donut { width: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 13; }
.donut-bg { stroke: rgba(255,255,255,.06); }
.donut .seg-arc { stroke-linecap: butt; transition: stroke-width .25s; }
.donut .seg-arc:hover { stroke-width: 16; }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut-center small { color: var(--muted); font-size: 11px; font-weight: 700; }
.donut-center b { font: 600 22px "Space Grotesk"; letter-spacing: -.03em; }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; margin: 0; padding: 0; list-style: none; font-size: 12.5px; }
.legend li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; }
.legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.legend b { margin-left: auto; color: var(--ink); font-family: "Space Grotesk"; }

/* Movimenti */
.tx-list { margin: 0; padding: 0; list-style: none; }
.tx { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 13px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.tx:last-child { border-bottom: 0; }
.tx-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; font-size: 18px; }
.tx-t { min-width: 0; }
.tx-t b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.tx-t small { color: var(--muted); font-size: 12px; font-weight: 600; }
.tx-a { font: 600 15px "Space Grotesk"; white-space: nowrap; }
.tx-a.plus { color: var(--green); }
.tx.is-new { animation: txIn .9s cubic-bezier(.2,.9,.2,1); }
@keyframes txIn { from { opacity: 0; transform: translateX(-24px); background: rgba(61,255,143,.18); } 60% { background: rgba(61,255,143,.12); } }

.mov { max-width: 920px; }
.mov-tools { display: grid; grid-template-columns: 1fr 220px; gap: 12px; }
.search, .select { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0,0,0,.3); }
.search:focus-within, .select:focus-within { border-color: var(--green); }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; flex: none; }
.search input, .select select { width: 100%; border: 0; outline: 0; background: transparent; min-height: 46px; }
.select select { appearance: none; cursor: pointer; }
.select select option { background: #0c1a12; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.filter-chips .chip { display: inline-flex; align-items: center; gap: 8px; }
.filter-chips .chip i { width: 8px; height: 8px; border-radius: 50%; }
.filter-chips .chip[aria-pressed="true"] { color: #06110b; border-color: transparent; background: var(--green); }
.mov-summary { margin: 0 0 6px; color: var(--muted); font-size: 13px; font-weight: 600; }
.mov-summary b { color: var(--ink); }
.day-head { margin: 22px 0 2px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.empty { padding: 40px 10px; color: var(--muted); text-align: center; }
.more { margin-top: 18px; width: 100%; }

/* Gestione carte */
.cards-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.card-stage { display: grid; justify-items: center; gap: 22px; padding: 30px; }
.card-picker { display: flex; gap: 8px; }
.card-picker button { min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 99px; background: transparent; font-weight: 700; font-size: 13px; }
.card-picker button[aria-checked="true"] { color: #06110b; border-color: transparent; background: var(--lime); }
.flip { width: min(420px, 100%); aspect-ratio: 1.586; padding: 0; border: 0; background: none; perspective: 1200px; border-radius: 22px; }
.flip-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3,1.25,.4,1); }
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip .vcard { max-height: none; backface-visibility: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.45); text-align: left; }
.flip-back { transform: rotateY(180deg); justify-content: center; gap: 18px; color: var(--ink); background: linear-gradient(135deg, #10291b, #06110b); border: 1px solid var(--line); }
.vc-stripe { position: absolute; left: 0; right: 0; top: 26px; height: 44px; background: #000; }
.vc-cvv { align-self: flex-end; margin-top: 50px; padding: 8px 14px; border-radius: 8px; background: #eafff1; color: #06110b; font-size: 13px; font-weight: 700; }
.flip-back small { color: var(--muted); font-size: 11.5px; }
.hint { margin: 0; color: var(--muted); font-size: 12px; }
.card-controls { display: grid; gap: 14px; }
.switch { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw { position: relative; flex: none; width: 50px; height: 30px; border-radius: 99px; background: rgba(255,255,255,.12); transition: background .3s; }
.sw::after { content: ""; position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .35s cubic-bezier(.3,1.5,.4,1); }
.switch input:checked + .sw { background: var(--green); }
.switch input:checked + .sw::after { transform: translateX(20px); }
.switch input:focus-visible + .sw { outline: 3px solid var(--focus); outline-offset: 3px; }
.switch b { display: block; font-size: 14px; } .switch small { color: var(--muted); font-size: 12px; }
.limit { padding: 16px; border: 1px solid var(--line); border-radius: 18px; }
.limit label { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 14px; }
.limit output { font: 700 16px "Space Grotesk"; color: var(--lime); }
.limit input[type="range"] { width: 100%; accent-color: var(--green); }
.limit-bar { height: 8px; margin-top: 14px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.limit-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--lime)); transition: width .6s cubic-bezier(.2,.8,.2,1), background .3s; }
.limit-bar span.warn { background: linear-gradient(90deg, #ffb86b, var(--red)); }
.limit-note { margin: 10px 0 0; color: var(--muted); font-size: 12.5px; }

.tabbar { display: none; }

@media (max-width: 1180px) {
  .ov-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "bal bal" "cards send" "recent donut"; }
}
@media (max-width: 899px) {
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
  .main { padding: 20px 16px 110px; }
  .ov-grid, .cards-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "bal" "cards" "send" "donut" "recent"; }
  .tabbar { position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 24px; background: rgba(8, 20, 13, .9); backdrop-filter: blur(18px); box-shadow: 0 20px 40px rgba(0,0,0,.5); }
  .tabbar a { display: grid; justify-items: center; gap: 4px; min-height: 52px; padding-top: 7px; border-radius: 16px; color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 700; }
  .tabbar a[aria-current="page"] { color: var(--green); background: rgba(61,255,143,.08); }
  .tab-send { color: #06110b !important; background: linear-gradient(120deg, var(--lime), var(--green)); }
  .pill { display: none; }
  .mov-tools { grid-template-columns: 1fr; }
  .panel { padding: 18px; border-radius: 22px; }
  .chart { margin: 18px -18px 0; min-height: 160px; }
  .chart svg { min-height: 160px; height: 160px; }
}
@media (max-width: 420px) {
  .legend { grid-template-columns: 1fr; }
  .io b { font-size: 16px; }
}

/* fx · ondata 5-6 */

.vd-life { margin-top: 18px; padding: 22px; border-radius: 24px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.vd-life-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.vd-life-h h2 { margin: 0; font-size: 22px; } .vd-life-h p { margin: 0; opacity: .6; font-size: 13px; }
.vd-life-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vd-ph { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; }
.vd-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(6,17,11,.92)); }
.vd-ph figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.12); backdrop-filter: blur(12px); color: #fff; animation: vd-pop .6s cubic-bezier(.34,1.56,.64,1) both; }
.vd-ph figcaption b { font-size: 15px; } .vd-ph figcaption span { color: #b6f5c8; font-size: 13px; font-variant-numeric: tabular-nums; }
@keyframes vd-pop { from { transform: translateY(20px) scale(.9); opacity: 0; } }
@media (max-width: 760px) { .vd-life-g { grid-template-columns: 1fr; } .vd-ph { aspect-ratio: 16 / 10; } }
