/* =========================================================
   Vision Networks - custom styles
   Industrial / dense / glassmorphic with vibrant accents.
   Tailwind handles most utilities; this file adds the
   bespoke components (background field, glass, marquee, nav).
   ========================================================= */

:root {
    --vn-pink: #ec4899;
    --vn-magenta: #ff2d9b;
    --vn-cyan: #22d3ee;
    --vn-purple: #a855f7;
    --vn-bg: #0a0b0f;
    --vn-panel: rgba(20, 22, 29, 0.65);
    --vn-border: rgba(255, 255, 255, 0.08);
    --vn-maxw: 480px; /* app-shell width for the mobile-first platform */
}

* { -webkit-tap-highlight-color: transparent; }

body {
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(236, 72, 153, 0.10), transparent 60%),
        radial-gradient(1000px 500px at 110% 10%, rgba(34, 211, 238, 0.10), transparent 55%),
        var(--vn-bg);
    overflow-x: hidden;
}

/* ---------- Background field ---------- */
.vn-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}
.vn-bg-gradient {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(600px 400px at 20% 20%, rgba(168, 85, 247, 0.12), transparent 60%),
        radial-gradient(700px 500px at 80% 70%, rgba(34, 211, 238, 0.10), transparent 60%);
    filter: blur(20px);
}
.vn-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at 50% 30%, black, transparent 85%);
}
.vn-social-field { position: absolute; inset: 0; }
.vn-social-icon {
    position: absolute;
    filter: blur(1px);
    animation: vnFloat 14s ease-in-out infinite;
}
.vn-social-icon:nth-child(even) { animation-duration: 18s; animation-direction: reverse; }
@keyframes vnFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-14px) rotate(6deg); }
}

/* ---------- App shell ---------- */
.vn-shell {
    max-width: var(--vn-maxw);
    margin: 0 auto;
    padding: 0 16px calc(96px + env(safe-area-inset-bottom));
    position: relative;
}
.vn-shell-auth {
    max-width: 440px;
    margin: 0 auto;
    padding: 24px 20px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ---------- Glass primitives ---------- */
.vn-glass {
    background: var(--vn-panel);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--vn-border);
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.vn-glass-tight { border-radius: 14px; }

/* Industrial corner accents */
.vn-industrial {
    position: relative;
    overflow: hidden;
}
.vn-industrial::before,
.vn-industrial::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid var(--vn-cyan);
    opacity: 0.7;
}
.vn-industrial::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.vn-industrial::after  { bottom: 8px; right: 8px; border-left: 0; border-top: 0; border-color: var(--vn-pink); }

.vn-hairline {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

/* ---------- Brand text ---------- */
.vn-gradient-text {
    background: linear-gradient(90deg, var(--vn-pink), var(--vn-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.font-display { font-family: "Chakra Petch", sans-serif; }

/* ---------- App header ---------- */
.vn-appbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 4px 12px;
    margin-bottom: 8px;
    background: linear-gradient(180deg, rgba(10, 11, 15, 0.9), rgba(10, 11, 15, 0.4));
    backdrop-filter: blur(8px);
}
.vn-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 10px;
    font-family: "Chakra Petch", sans-serif;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--vn-pink), var(--vn-purple));
    box-shadow: 0 0 18px rgba(236, 72, 153, 0.4);
}

/* ---------- Banners ---------- */
.vn-banner-wrap { margin: 4px 0 14px; }
.vn-banners {
    display: flex;
    overflow: hidden;
    border-radius: 20px;
    scroll-snap-type: x mandatory;
    position: relative;
}
.vn-banner {
    position: relative;
    min-width: 100%;
    height: 170px;
    scroll-snap-align: start;
    display: flex;
    align-items: flex-end;
    transition: transform 0.6s ease;
}
.vn-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.55));
}
.vn-banner-content { position: relative; padding: 18px; }
.vn-banner-title {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.vn-banner-sub { font-size: 12.5px; color: rgba(255, 255, 255, 0.85); margin-top: 4px; }
.vn-chip {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 3px 8px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    margin-bottom: 8px;
}
.vn-banner-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}
.vn-dot {
    width: 7px; height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    transition: all 0.3s;
}
.vn-dot.is-active { width: 20px; background: linear-gradient(90deg, var(--vn-pink), var(--vn-cyan)); }

/* ---------- Info reel (marquee) ---------- */
.vn-reel {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--vn-panel);
    backdrop-filter: blur(10px);
    border: 1px solid var(--vn-border);
    border-radius: 12px;
    padding: 8px 10px;
    margin-bottom: 16px;
    overflow: hidden;
}
.vn-reel-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #0a0b0f;
    background: linear-gradient(90deg, var(--vn-cyan), var(--vn-pink));
    padding: 4px 8px;
    border-radius: 6px;
}
.vn-reel-badge svg { width: 12px; height: 12px; }
.vn-reel-track { overflow: hidden; flex: 1; }
.vn-reel-content {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: vnMarquee 32s linear infinite;
}
.vn-reel:hover .vn-reel-content { animation-play-state: paused; }
.vn-reel-item { font-size: 12.5px; color: rgba(255, 255, 255, 0.8); }
.vn-reel-sep { margin: 0 14px; color: var(--vn-cyan); }
@keyframes vnMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- Section titles ---------- */
.vn-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Chakra Petch", sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin: 18px 0 12px;
}
.vn-section-title::before {
    content: "";
    width: 4px; height: 16px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--vn-pink), var(--vn-cyan));
}

/* ---------- Quick actions ---------- */
.vn-quick-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}
.vn-quick {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 4px;
    border-radius: 14px;
    background: var(--vn-panel);
    border: 1px solid var(--vn-border);
    color: #fff;
    text-align: center;
    transition: transform 0.15s, border-color 0.2s;
}
.vn-quick:active { transform: scale(0.95); }
.vn-quick-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.22), rgba(34, 211, 238, 0.22));
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.vn-quick-ico svg { width: 20px; height: 20px; }
.vn-quick-label { font-size: 10.5px; line-height: 1.1; color: rgba(255, 255, 255, 0.85); }

/* ---------- Stat cards ---------- */
.vn-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.vn-stat {
    padding: 14px;
    border-radius: 16px;
    background: var(--vn-panel);
    border: 1px solid var(--vn-border);
    position: relative;
    overflow: hidden;
}
.vn-stat::after {
    content: "";
    position: absolute;
    top: -20px; right: -20px;
    width: 70px; height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.18), transparent 70%);
}
.vn-stat.accent-cyan::after { background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 70%); }
.vn-stat.accent-purple::after { background: radial-gradient(circle, rgba(168, 85, 247, 0.18), transparent 70%); }
.vn-stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.55); }
.vn-stat-value { font-family: "Chakra Petch", sans-serif; font-weight: 700; font-size: 19px; margin-top: 6px; color: #fff; }

/* ---------- Wallet card ---------- */
.vn-wallet {
    padding: 20px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(34, 211, 238, 0.18)),
        var(--vn-panel);
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}
.vn-wallet-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.vn-wallet-value { font-family: "Chakra Petch", sans-serif; font-weight: 700; font-size: 30px; margin-top: 6px; }

/* ---------- Button grid (profile) ---------- */
.vn-btn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.vn-gridbtn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 6px;
    border-radius: 16px;
    background: var(--vn-panel);
    border: 1px solid var(--vn-border);
    color: #fff;
    text-align: center;
    transition: transform 0.15s, border-color 0.2s;
}
.vn-gridbtn:active { transform: scale(0.96); }
.vn-gridbtn:hover { border-color: rgba(34, 211, 238, 0.4); }
.vn-gridbtn-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(34, 211, 238, 0.2));
}
.vn-gridbtn-ico svg { width: 22px; height: 22px; }
.vn-gridbtn-label { font-size: 11px; line-height: 1.2; color: rgba(255, 255, 255, 0.85); }
.vn-gridbtn.is-danger .vn-gridbtn-ico { background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(244, 63, 94, 0.25)); }

/* ---------- Buttons ---------- */
.vn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.12s, box-shadow 0.2s, opacity 0.2s;
    border: 1px solid transparent;
}
.vn-btn:active { transform: scale(0.98); }
.vn-btn-primary {
    color: #0a0b0f;
    background: linear-gradient(90deg, var(--vn-pink), var(--vn-cyan));
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.3);
}
.vn-btn-ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--vn-border);
}
.vn-btn-outline {
    color: var(--vn-cyan);
    background: transparent;
    border-color: rgba(34, 211, 238, 0.5);
}

/* ---------- Forms ---------- */
.vn-field { margin-bottom: 14px; }
.vn-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}
.vn-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--vn-border);
    color: #fff;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.vn-input::placeholder { color: rgba(255, 255, 255, 0.35); }
.vn-input:focus {
    outline: none;
    border-color: var(--vn-cyan);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

/* ---------- Bottom navigation ---------- */
.vn-bottomnav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    padding: 0 12px calc(10px + env(safe-area-inset-bottom));
    pointer-events: none;
}
.vn-bottomnav-inner {
    max-width: var(--vn-maxw);
    margin: 0 auto;
    pointer-events: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 8px 10px;
    background: rgba(15, 17, 23, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--vn-border);
    border-radius: 20px;
    box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.4);
}
.vn-navitem {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex: 1;
    padding: 6px 2px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}
.vn-navicon svg { width: 22px; height: 22px; }
.vn-navlabel { font-size: 10px; font-weight: 600; }
.vn-navitem.is-active { color: #fff; }
.vn-navitem.is-active .vn-navicon svg { filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.8)); color: var(--vn-cyan); }
.vn-navitem.is-center .vn-navicon {
    width: 48px; height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: -22px;
    border-radius: 16px;
    color: #0a0b0f;
    background: linear-gradient(135deg, var(--vn-pink), var(--vn-cyan));
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.45);
}
.vn-navitem.is-center.is-active .vn-navicon svg { color: #0a0b0f; filter: none; }
.vn-navitem.is-center .vn-navicon svg { width: 26px; height: 26px; }

/* ---------- Flash messages ---------- */
.vn-flash-stack {
    position: fixed;
    top: 12px; left: 50%;
    transform: translateX(-50%);
    z-index: 60;
    width: min(440px, 92vw);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.vn-flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    backdrop-filter: blur(12px);
    border: 1px solid var(--vn-border);
    animation: vnDrop 0.3s ease;
}
.vn-flash-success { background: rgba(34, 211, 238, 0.14); border-color: rgba(34, 211, 238, 0.4); }
.vn-flash-error   { background: rgba(244, 63, 94, 0.16); border-color: rgba(244, 63, 94, 0.45); }
.vn-flash-info    { background: rgba(168, 85, 247, 0.14); border-color: rgba(168, 85, 247, 0.4); }
.vn-flash-close { background: none; border: 0; color: inherit; font-size: 18px; cursor: pointer; opacity: 0.7; }
@keyframes vnDrop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Misc placeholder page pieces ---------- */
.vn-placeholder {
    text-align: center;
    padding: 30px 20px;
}
.vn-placeholder-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px; height: 68px;
    border-radius: 18px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(34, 211, 238, 0.2));
    border: 1px solid var(--vn-border);
}
.vn-placeholder-ico svg { width: 32px; height: 32px; color: #fff; }
.vn-tag {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--vn-cyan);
    border: 1px solid rgba(34, 211, 238, 0.4);
    padding: 3px 8px;
    border-radius: 999px;
    margin-top: 10px;
}

/* ---------- Spin wheel ---------- */
.vn-wheel-wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 10px 0; }
.vn-wheel-outer { position: relative; width: 260px; height: 260px; }
.vn-wheel {
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.1);
    transition: transform 4s cubic-bezier(0.15, 0.8, 0.2, 1);
    box-shadow: 0 0 40px rgba(236, 72, 153, 0.35), inset 0 0 30px rgba(0, 0, 0, 0.4);
}
.vn-wheel-pointer {
    position: absolute;
    top: -6px; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 20px solid var(--vn-cyan);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
    z-index: 2;
}
.vn-wheel-hub {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 54px; height: 54px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: "Chakra Petch", sans-serif;
    font-weight: 700;
    color: #0a0b0f;
    background: linear-gradient(135deg, var(--vn-pink), var(--vn-cyan));
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.6);
}

/* =========================================================
   Theme toggle button
   ========================================================= */
.vn-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--vn-panel);
    border: 1px solid var(--vn-border);
    color: #fff;
    cursor: pointer;
    transition: transform 0.15s, border-color 0.2s, background 0.2s;
}
.vn-theme-toggle:active { transform: scale(0.92); }
.vn-theme-toggle:hover { border-color: rgba(34, 211, 238, 0.45); }
.vn-theme-toggle svg { width: 18px; height: 18px; }
.vn-ico-sun  { display: block; color: var(--vn-cyan); }
.vn-ico-moon { display: none; }
html.light .vn-ico-sun  { display: none; }
html.light .vn-ico-moon { display: block; color: var(--vn-purple); }

.vn-auth-toggle {
    position: fixed;
    top: calc(14px + env(safe-area-inset-top));
    right: 16px;
    z-index: 50;
}

/* Smooth cross-fade while switching themes (added briefly by JS) */
html.vn-theme-anim,
html.vn-theme-anim * {
    transition: background-color 0.25s ease, color 0.25s ease,
                border-color 0.25s ease, box-shadow 0.25s ease !important;
}

/* =========================================================
   LIGHT MODE
   ========================================================= */
html.light {
    --vn-bg: #eef1f6;
    --vn-panel: rgba(255, 255, 255, 0.72);
    --vn-border: rgba(15, 23, 42, 0.10);
}

html.light body {
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(236, 72, 153, 0.10), transparent 60%),
        radial-gradient(1000px 500px at 110% 10%, rgba(34, 211, 238, 0.12), transparent 55%),
        var(--vn-bg);
    color: #0f172a;
}

/* Background field */
html.light .vn-bg-gradient {
    background:
        radial-gradient(600px 400px at 20% 20%, rgba(168, 85, 247, 0.10), transparent 60%),
        radial-gradient(700px 500px at 80% 70%, rgba(34, 211, 238, 0.10), transparent 60%);
}
html.light .vn-bg-grid {
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
}
html.light .vn-social-icon { filter: blur(1px) saturate(1.2); }

/* Glass + surfaces */
html.light .vn-glass { box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10); }
html.light .vn-hairline {
    background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.15), transparent);
}
html.light .vn-appbar {
    background: linear-gradient(180deg, rgba(238, 241, 246, 0.92), rgba(238, 241, 246, 0.45));
}

/* Tailwind text utilities */
html.light .text-white,
html.light .text-slate-100,
html.light .text-slate-200 { color: #0f172a; }
html.light .text-slate-300 { color: #334155; }
html.light .text-slate-400 { color: #475569; }
html.light .text-slate-500 { color: #64748b; }
html.light .text-slate-600 { color: #94a3b8; }
html.light .text-brand-cyan { color: #0891b2; }
html.light .text-brand-pink { color: #db2777; }

/* Tailwind white-alpha surfaces -> dark alpha */
html.light .bg-white\/5  { background-color: rgba(15, 23, 42, 0.04); }
html.light .bg-white\/8  { background-color: rgba(15, 23, 42, 0.06); }
html.light .bg-white\/10 { background-color: rgba(15, 23, 42, 0.06); }
html.light .border-white\/5  { border-color: rgba(15, 23, 42, 0.08); }
html.light .border-white\/10 { border-color: rgba(15, 23, 42, 0.10); }
html.light .border-white\/15 { border-color: rgba(15, 23, 42, 0.12); }

/* Component text pieces */
html.light .vn-section-title { color: #0f172a; }
html.light .vn-reel-item { color: #475569; }
html.light .vn-stat-label { color: #64748b; }
html.light .vn-stat-value { color: #0f172a; }
html.light .vn-quick { color: #0f172a; }
html.light .vn-quick-label { color: #475569; }
html.light .vn-gridbtn { color: #0f172a; }
html.light .vn-gridbtn-label { color: #475569; }
html.light .vn-label { color: #475569; }

/* Forms */
html.light .vn-input { background: rgba(15, 23, 42, 0.03); color: #0f172a; }
html.light .vn-input::placeholder { color: #94a3b8; }

/* Buttons */
html.light .vn-btn-ghost { color: #0f172a; background: rgba(15, 23, 42, 0.05); }

/* Bottom navigation */
html.light .vn-bottomnav-inner {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 -6px 30px rgba(15, 23, 42, 0.12);
}
html.light .vn-navitem { color: #64748b; }
html.light .vn-navitem.is-active { color: #0f172a; }

/* Wallet stays vivid; keep white text readable on the gradient */
html.light .vn-wallet {
    background: linear-gradient(135deg, #ec4899, #22d3ee);
    border-color: rgba(255, 255, 255, 0.4);
}
html.light .vn-wallet .vn-gradient-text {
    background: none;
    -webkit-text-fill-color: #fff;
    color: #fff;
}
html.light .vn-wallet .bg-white\/10 { background-color: rgba(255, 255, 255, 0.20); }
html.light .vn-wallet .border-white\/15 { border-color: rgba(255, 255, 255, 0.4); }

/* Dots + spin wheel */
html.light .vn-dot { background: rgba(15, 23, 42, 0.2); }
html.light .vn-wheel {
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.25), inset 0 0 30px rgba(15, 23, 42, 0.12);
}

/* App-bar back button icon */
html.light .vn-appbar a svg[stroke="#fff"] { stroke: #0f172a; }

/* Theme toggle in light mode */
html.light .vn-theme-toggle { color: #0f172a; }
