/* ============================================================
   AURVAK / arvk.io — v3 design system
   Sober link-in-bio. Inter, calm spacing, soft rounded cards.
   Light + dark via [data-theme]. Theme icon = inline SVG (no glyphs).
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root, [data-theme="light"] {
    --bg:#F6F6F7; --surface:#FFFFFF; --surface-2:#F1F1F3;
    --text:#0E0E10; --muted:#6B6B73; --faint:#A6A6AE;
    --border:#ECECEE; --border-2:#DFDFE2;
    --btn:#111113; --btn-text:#FFFFFF; --btn-hover:#000000;
    --cover-a:#E9E9EC; --cover-b:#F6F6F7;
    --shadow:0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.05);
    --shadow-lg:0 2px 6px rgba(0,0,0,.06), 0 18px 48px rgba(0,0,0,.09);
}
[data-theme="dark"] {
    --bg:#09090A; --surface:#141416; --surface-2:#1C1C1F;
    --text:#F4F4F5; --muted:#9C9CA5; --faint:#5E5E66;
    --border:#222225; --border-2:#2E2E32;
    --btn:#FFFFFF; --btn-text:#0E0E10; --btn-hover:#E8E8E8;
    --cover-a:#1C1C20; --cover-b:#09090A;
    --shadow:0 1px 2px rgba(0,0,0,.5), 0 8px 28px rgba(0,0,0,.35);
    --shadow-lg:0 2px 8px rgba(0,0,0,.6), 0 22px 60px rgba(0,0,0,.5);
}

* { box-sizing:border-box; }
html, body { margin:0; }
body {
    background:var(--bg); color:var(--text);
    font-family:'Inter', system-ui, -apple-system, sans-serif;
    font-size:15px; line-height:1.55; -webkit-font-smoothing:antialiased;
    transition:background .25s ease, color .25s ease;
}
a { color:inherit; text-decoration:none; }
h1,h2,h3 { font-weight:700; letter-spacing:-.025em; margin:0; }
:focus-visible { outline:2px solid var(--text); outline-offset:2px; border-radius:8px; }
.muted { color:var(--muted); }

/* ---- theme toggle: SVG icon via CSS, no text glyph ---- */
.theme-toggle {
    width:40px; height:40px; flex:none;
    display:inline-flex; align-items:center; justify-content:center;
    background-color:var(--surface);
    background-repeat:no-repeat; background-position:center; background-size:18px;
    border:1px solid var(--border); border-radius:999px; cursor:pointer;
    box-shadow:var(--shadow);
    transition:transform .15s ease, border-color .15s ease, background-color .25s ease;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230E0E10' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E");
}
[data-theme="dark"] .theme-toggle {
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23F4F4F5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cline x1='12' y1='1' x2='12' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='23'/%3E%3Cline x1='4.22' y1='4.22' x2='5.64' y2='5.64'/%3E%3Cline x1='18.36' y1='18.36' x2='19.78' y2='19.78'/%3E%3Cline x1='1' y1='12' x2='3' y2='12'/%3E%3Cline x1='21' y1='12' x2='23' y2='12'/%3E%3Cline x1='4.22' y1='19.78' x2='5.64' y2='18.36'/%3E%3Cline x1='18.36' y1='5.64' x2='19.78' y2='4.22'/%3E%3C/svg%3E");
}
.theme-toggle:hover { transform:scale(1.06); border-color:var(--border-2); }

/* ---- profile cover + avatar ---- */
.cover {
    height:120px; border-radius:20px;
    background:linear-gradient(135deg, var(--cover-a), var(--cover-b));
    border:1px solid var(--border);
}
.avatar {
    width:92px; height:92px; border-radius:999px; overflow:hidden;
    background:var(--surface-2); border:3px solid var(--surface);
    box-shadow:var(--shadow); margin:0 auto;
}
.avatar img { width:100%; height:100%; object-fit:cover; }

/* ---- beacons link buttons ---- */
.link-btn {
    display:flex; align-items:center; justify-content:space-between; gap:14px; width:100%;
    background:var(--surface); border:1px solid var(--border); border-radius:16px;
    padding:16px 20px; box-shadow:var(--shadow);
    transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
    text-align:left;
}
.link-btn:hover { transform:translateY(-2px); box-shadow:var(--shadow-lg); border-color:var(--border-2); }
.link-btn .lb-title { font-weight:600; font-size:15.5px; }
.link-btn .lb-sub { color:var(--muted); font-size:12.5px; margin-top:2px; }
.link-btn .lb-price { font-weight:700; font-size:15px; white-space:nowrap; }
.link-btn .lb-arrow { color:var(--faint); transition:transform .16s ease; }
.link-btn:hover .lb-arrow { transform:translateX(3px); color:var(--muted); }

/* ---- solid / ghost ---- */
.btn {
    display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
    font-weight:600; font-size:14.5px; padding:13px 20px; border-radius:12px;
    cursor:pointer; border:1px solid transparent; transition:all .15s ease; font-family:inherit;
}
.btn-solid { background:var(--btn); color:var(--btn-text); }
.btn-solid:hover { background:var(--btn-hover); }
.btn-ghost { background:transparent; color:var(--text); border-color:var(--border-2); }
.btn-ghost:hover { background:var(--surface-2); }
.btn-block { width:100%; }

/* ---- inputs ---- */
.field {
    width:100%; background:var(--surface); border:1px solid var(--border-2); border-radius:12px;
    color:var(--text); font-family:inherit; font-size:14.5px; padding:13px 15px;
    transition:border-color .15s ease;
}
.field::placeholder { color:var(--faint); }
.field:focus { outline:none; border-color:var(--text); }
.label { display:block; font-size:13px; font-weight:500; color:var(--muted); margin-bottom:7px; }

/* ---- cards / pills ---- */
.card { background:var(--surface); border:1px solid var(--border); border-radius:16px; box-shadow:var(--shadow); }
.pill {
    display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:500;
    padding:4px 10px; border-radius:999px; background:var(--surface-2); color:var(--muted); border:1px solid var(--border);
}
.pill-live { color:#16a34a; }
.pill-live .dot { width:6px; height:6px; border-radius:50%; background:#16a34a; }
[data-theme="dark"] .pill-live { color:#4ade80; }
[data-theme="dark"] .pill-live .dot { background:#4ade80; }

/* ---- reveal ---- */
.reveal { opacity:0; transform:translateY(10px); animation:rise .5s ease forwards; }
.reveal.d1 { animation-delay:.05s; } .reveal.d2 { animation-delay:.1s; } .reveal.d3 { animation-delay:.15s; }
@keyframes rise { to { opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce) { .reveal{animation:none;opacity:1;transform:none;} *{transition:none!important;} }
