diff --git a/frontend/dashboard.html b/frontend/dashboard.html index 40df104..8e1ef88 100644 --- a/frontend/dashboard.html +++ b/frontend/dashboard.html @@ -1257,34 +1257,48 @@ /* ── Gamification bar ── */ .gam-bar { display: flex; align-items: center; gap: 18px; - padding: 14px 20px; border-radius: 16px; margin-bottom: 16px; - background: linear-gradient(135deg, rgba(155,93,229,0.07), rgba(6,214,224,0.05)); - border: 1.5px solid rgba(155,93,229,0.12); + padding: 16px 22px; border-radius: 18px; margin-bottom: 16px; + background: + radial-gradient(ellipse at 6% 50%, rgba(155,93,229,.14) 0%, transparent 38%), + linear-gradient(135deg, rgba(155,93,229,.07) 0%, rgba(6,214,224,.04) 100%); + border: 1.5px solid rgba(155,93,229,.18); + box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 2px 14px rgba(155,93,229,.07); } .gam-level { - width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; + width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; background: var(--grad-1); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; line-height: 1; + box-shadow: 0 4px 18px rgba(155,93,229,.45), 0 0 0 3px rgba(155,93,229,.18); } - .gam-level-num { font-family: 'Unbounded', sans-serif; font-size: 1.1rem; font-weight: 900; } - .gam-level-lbl { font-size: 0.52rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.85; } + .gam-level-num { font-family: 'Unbounded', sans-serif; font-size: 1.2rem; font-weight: 900; } + .gam-level-lbl { font-size: 0.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.82; } .gam-main { flex: 1; min-width: 0; } - .gam-top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; } - .gam-rank { font-family: 'Unbounded', sans-serif; font-size: 0.82rem; font-weight: 800; color: var(--text); } + .gam-top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 7px; } + .gam-rank { font-family: 'Unbounded', sans-serif; font-size: 0.84rem; font-weight: 800; color: var(--text); } .gam-xp-text { font-size: 0.72rem; color: var(--text-3); font-weight: 600; } - .gam-progress { height: 8px; border-radius: 99px; background: rgba(15,23,42,0.07); overflow: hidden; } - .gam-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #9B5DE5, #06D6E0); transition: width 0.6s ease; } - .gam-chips { display: flex; gap: 10px; flex-shrink: 0; } - .gam-chip { - display: flex; flex-direction: column; align-items: center; gap: 2px; - padding: 6px 12px; border-radius: 12px; - background: rgba(255,255,255,0.8); border: 1px solid rgba(15,23,42,0.06); - min-width: 62px; + .gam-progress { height: 10px; border-radius: 99px; background: rgba(155,93,229,.1); overflow: hidden; } + .gam-fill { + height: 100%; border-radius: 99px; + background: linear-gradient(90deg, #9B5DE5 0%, #4DC8D4 60%, #06D6E0 100%); + transition: width 0.6s ease; + box-shadow: 0 0 10px rgba(155,93,229,.35); } - .gam-chip-icon { font-size: 1.1rem; line-height: 1; } - .gam-chip-val { font-family: 'Unbounded', sans-serif; font-size: 0.78rem; font-weight: 800; color: var(--text); } - .gam-chip-lbl { font-size: 0.58rem; color: var(--text-3); font-weight: 600; text-transform: uppercase; } + .gam-chips { + display: flex; gap: 10px; flex-shrink: 0; + padding-left: 18px; + border-left: 1.5px solid rgba(155,93,229,.14); + } + .gam-chip { + display: flex; flex-direction: column; align-items: center; gap: 3px; + padding: 8px 14px; border-radius: 14px; + background: rgba(255,255,255,.92); border: 1px solid rgba(155,93,229,.12); + min-width: 66px; + box-shadow: 0 2px 8px rgba(15,23,42,.05); + } + .gam-chip-icon { line-height: 1; } + .gam-chip-val { font-family: 'Unbounded', sans-serif; font-size: 0.82rem; font-weight: 800; color: var(--text); } + .gam-chip-lbl { font-size: 0.56rem; color: var(--text-3); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; } .gam-goal-ring { position: relative; width: 40px; height: 40px; } .gam-goal-ring svg { width: 40px; height: 40px; }