:root { --bg: #0B0F19; --text: #F4F6FB; --muted: #9BA5B9; --cyan: #00FFFF; --green: #00FF66; --border: rgba(255,255,255,.1); --display: "Space Grotesk", sans-serif; --body: "Inter", sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); font-family: var(--body); background: radial-gradient(ellipse at 5% 5%, rgba(0,255,255,.06), transparent 45%), radial-gradient(ellipse at 100% 60%, rgba(255,45,158,.045), transparent 45%), var(--bg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; top: -80px; left: 16px; z-index: 5; padding: 12px; background: var(--bg); }
.skip-link:focus { top: 12px; }
.topbar { max-width: 1440px; margin: auto; min-height: 90px; padding: 20px 5%; display: flex; align-items: center; gap: 32px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 24px var(--display); white-space: nowrap; }
.brand-dot { width: 9px; height: 9px; background: var(--green); border-radius: 50%; box-shadow: 0 0 14px rgba(0,255,102,.6); }
.navigation { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.navigation a { padding: 10px 12px; border-radius: 9px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.navigation a:hover, .navigation a[aria-current="page"] { color: var(--cyan); background: rgba(0,255,255,.06); }
.topbar form { margin: 0; }
.logout { border: 1px solid var(--border); border-radius: 10px; padding: 10px 13px; color: var(--text); background: transparent; font-size: 13px; white-space: nowrap; }
.logout:hover { border-color: var(--cyan); }
.dashboard { max-width: 1280px; margin: auto; padding: 48px 32px 56px; }
.welcome { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-bottom: 38px; }
.eyebrow { color: var(--cyan); font-size: 10px; font-weight: 600; letter-spacing: .18em; margin: 0 0 12px; }
h1, h2 { font-family: var(--display); font-weight: 700; }
h1 { font-size: clamp(28px,4vw,42px); letter-spacing: -.04em; line-height: 1.15; margin: 0 0 14px; }
h2 { font-size: 21px; letter-spacing: -.025em; margin: 0; }
.welcome-email { margin: 0 0 10px; font-size: 16px; overflow-wrap: anywhere; }
.muted { color: var(--muted); font-size: 13px; line-height: 1.7; }
.welcome .muted { margin: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 15px 20px; border-radius: 12px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.button-primary { background: linear-gradient(105deg,#FF6600,#FF2D9E); color: #fff; box-shadow: 0 8px 30px rgba(255,45,158,.12); }
.button-primary:hover { filter: brightness(1.1); }
.panel { background: rgba(255,255,255,.035); border: 1px solid var(--border); border-radius: 20px; padding: 28px; backdrop-filter: blur(15px); }
.wallet, .activity { margin-bottom: 24px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.text-link { color: var(--muted); font-size: 12px; white-space: nowrap; }
.text-link:hover { color: var(--cyan); }
.data-status { margin: 14px 0; min-height: 22px; }
.data-status.is-error { color: #FFBDCF; }
dl { margin: 0; }
.wallet-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.balance { padding: 23px; background: rgba(0,0,0,.14); border: 1px solid var(--border); border-radius: 14px; }
.balance-primary { background: linear-gradient(115deg,rgba(0,255,102,.08),rgba(0,255,255,.025)); border-color: rgba(0,255,102,.2); }
dt { color: var(--muted); font-size: 12px; }
dd { margin: 0; }
.balance [data-field] { font: 700 clamp(24px,3vw,34px) var(--display); font-variant-numeric: tabular-nums; margin: 14px 0 10px; overflow-wrap: anywhere; }
.balance-primary [data-field] { color: var(--green); }
.balance-note { color: var(--muted); font-size: 11px; line-height: 1.6; }
.activity-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
.metric { padding: 20px; border: 1px solid var(--border); border-radius: 12px; }
.metric dd { margin-top: 14px; font: 700 30px var(--display); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.metric:nth-child(2) dd { color: #FFEA00; }
.metric:nth-child(3) dd { color: var(--green); }
.bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quick-actions { display: grid; margin-top: 22px; }
.quick-actions a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--border); }
.quick-actions a:last-child { border-bottom: 0; }
.quick-actions a > span:last-child { color: var(--cyan); font-size: 22px; }
.quick-actions a:hover strong { color: var(--cyan); }
.quick-actions strong { display: block; font-size: 13px; font-weight: 500; }
.quick-actions small { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.account { scroll-margin-top: 24px; }
.account-details { margin-top: 24px; }
.account-details > div { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.account-details dd { text-align: right; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; min-width: 0; }
.account-state { color: var(--cyan); }
.notice { font-size: 12px; line-height: 1.7; color: #E9D9A7; background: rgba(255,234,0,.035); border: 1px solid rgba(255,234,0,.15); padding: 13px 15px; border-radius: 10px; }
.account-note { font-size: 11px; margin: 16px 0 0; }
.retry { padding: 9px 12px; margin-top: 16px; background: transparent; color: var(--cyan); border: 1px solid rgba(0,255,255,.25); border-radius: 8px; font-size: 12px; }
.is-loading [data-field] { opacity: .45; animation: pulse 1.4s ease-in-out infinite; }
.footer { max-width: 1280px; margin: auto; padding: 22px 32px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; }
@keyframes pulse { 50% { opacity: .85; } }
@media (max-width: 1050px) { .topbar { flex-wrap: wrap; gap: 18px; } .navigation { order: 3; width: 100%; margin: 0; flex-wrap: wrap; } .topbar form { margin-left: auto; } .activity-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 760px) { .dashboard { padding: 30px 20px; } .welcome { align-items: flex-start; flex-direction: column; } .wallet-grid, .bottom-grid { grid-template-columns: 1fr; } .panel { padding: 22px; } .balance { padding: 20px; } .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; } .activity-grid { grid-template-columns: repeat(2,1fr); } .footer { padding: 20px; } }
@media (max-width: 400px) { .dashboard { padding: 26px 14px; } .panel { padding: 18px; } .navigation a { padding: 10px 8px; } .account-details > div { flex-direction: column; gap: 5px; } .account-details dd { text-align: left; } .metric { padding: 15px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .is-loading [data-field] { animation: none; } }
