/* Venus Protocol Landing - pixel match */
#wrapper,
#container,
#container_wr {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    background: rgb(24, 26, 32) !important;
    overflow-x: hidden !important;
}
#container_title { display: none !important; }

.venus-landing {
    font-family: var(--font-proxima-nova);
    background: rgb(24, 26, 32);
    color: rgb(255, 255, 255);
    overflow-x: hidden;
    width: 100%;
}

.v-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (min-width: 640px) { .v-wrapper { padding: 0 32px; } }
@media (min-width: 768px) { .v-wrapper { padding: 0 40px; } }
@media (min-width: 1024px) { .v-wrapper { padding: 0 64px; } }
@media (min-width: 1280px) { .v-wrapper { padding: 0 80px; } }
@media (min-width: 1440px) { .v-wrapper { padding: 0; } }

/* ── Hero (full-bleed, no side gap) ── */
.v-hero {
    position: relative;
    background: rgb(16, 18, 24);
    margin-bottom: 40px;
    padding: 60px 0;
    min-height: 520px;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}
@media (min-width: 1024px) { .v-hero { margin-bottom: 60px; min-height: 700px; padding: 60px 0 80px; } }

.v-hero__galaxy {
    display: none;
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
@media (min-width: 768px) {
    .v-hero__galaxy { display: block; }
}
.v-hero__galaxy canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}
.v-hero__noise {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background: url('../../img/venus/noise.png') repeat;
    pointer-events: none;
}

.v-hero__inner {
    position: relative;
    z-index: 2;
    transform: translateZ(0);
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 20px;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}
@media (min-width: 640px) { .v-hero__inner { padding-left: 32px; padding-right: 32px; } }
@media (min-width: 768px) { .v-hero__inner { padding-left: 40px; padding-right: 40px; } }
@media (min-width: 1024px) {
    .v-hero__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 48px;
        padding-top: 40px;
        padding-left: 64px;
        padding-right: 64px;
    }
}
@media (min-width: 1280px) { .v-hero__inner { padding-left: 80px; padding-right: 80px; } }
@media (min-width: 1440px) { .v-hero__inner { padding-left: 0; padding-right: 0; } }

.v-hero__left { flex: 1; max-width: 640px; }

.v-hero__title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 16px;
    color: rgb(255, 255, 255);
}
@media (min-width: 1024px) { .v-hero__title { font-size: 72px; line-height: 1; } }

.v-hl { color: rgb(17, 153, 250); }

.v-hero__sub {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: rgb(170, 179, 202);
    margin: 0 0 32px;
    max-width: 480px;
}
@media (min-width: 1024px) { .v-hero__sub { font-size: 20px; } }

.v-hero__tvl { margin-bottom: 32px; }
.v-hero__tvl-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: rgb(170, 179, 202);
    margin-bottom: 4px;
}
@media (min-width: 1024px) { .v-hero__tvl-label { font-size: 24px; } }
.v-hero__tvl-value {
    display: block;
    font-size: 40px;
    font-weight: 600;
    color: rgb(255, 255, 255);
    font-variant-numeric: tabular-nums;
}
@media (min-width: 1024px) { .v-hero__tvl-value { font-size: 60px; } }

.v-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 48px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}
.v-btn--primary {
    background: rgb(17, 153, 250);
    color: rgb(255, 255, 255);
}
.v-btn--primary:hover { background: rgb(52, 169, 255); }
.v-btn--secondary {
    background: rgb(30, 36, 49);
    color: rgb(255, 255, 255);
    border: 1px solid rgb(48, 53, 74);
    margin-top: 24px;
}
.v-btn--secondary:hover { background: rgb(42, 44, 52); border-color: rgb(17, 153, 250); }

.v-coin-row {
    display: block;
    margin-top: 40px;
    max-width: 100%;
    height: auto;
}

.v-hero__right { flex-shrink: 0; width: 100%; }
@media (min-width: 640px) { .v-hero__right { max-width: 544px; margin-left: auto; } }
@media (min-width: 1024px) { .v-hero__right { margin-left: 0; } }

/* Glass Card / Hero Tabs */
.v-glass-card {
    background: rgba(24, 29, 42, 0.1);
    border-radius: 8px;
    padding: 12px;
    box-shadow: inset 0 -1px 1px #21293A, inset 0 1px 1px rgba(255,255,255,0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.v-tab-group {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
}
.v-tab {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: rgb(170, 179, 202);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, color 0.2s;
}
.v-tab.active {
    background: rgb(42, 52, 77);
    color: rgb(255, 255, 255);
}
.v-tab-panel { display: none; }
.v-tab-panel.active { display: block; }

.v-tab-card {
    background: rgb(30, 36, 49);
    border: 1px solid rgb(48, 53, 74);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0px 4px 15px 0px #0D1017;
}
.v-tab-card__label {
    font-size: 12px;
    font-weight: 600;
    color: rgb(170, 179, 202);
    margin-bottom: 4px;
}
.v-tab-card__apy {
    font-size: 24px;
    font-weight: 600;
    color: rgb(0, 195, 142);
    margin-bottom: 16px;
}
.v-tab-card__asset {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.v-tab-card__asset img { width: 32px; height: 32px; border-radius: 50%; }
.v-tab-card__asset span { font-size: 16px; font-weight: 600; }
.v-tab-card__amount {
    font-size: 14px;
    color: rgb(170, 179, 202);
    margin-bottom: 8px;
}
.v-tab-card__amount strong { color: rgb(255,255,255); font-weight: 600; }
.v-tab-card__hint {
    font-size: 12px;
    color: rgb(170, 179, 202);
    line-height: 1.5;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgb(45, 53, 73);
}

/* ── Markets Section ── */
.v-section { padding: 40px 0; }
.v-section__title {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 24px;
    color: rgb(255, 255, 255);
}

.v-card {
    background: rgb(30, 36, 49);
    border: 1px solid rgb(48, 53, 74);
    border-radius: 8px;
    box-shadow: 0px 4px 15px 0px #0D1017;
    overflow: hidden;
}
.v-card--flush { padding: 0; }

.v-market-table { width: 100%; border-collapse: collapse; }
.v-market-table thead tr { height: 56px; border-bottom: 1px solid rgb(48, 53, 74); }
.v-market-table th {
    padding: 0 16px;
    font-size: 14px;
    font-weight: 400;
    color: rgb(170, 179, 202);
    text-align: left;
    white-space: nowrap;
}
.v-market-table th:not(:first-child) { text-align: right; }
.v-market-table tbody tr {
    height: 72px;
    border-bottom: 1px solid rgba(48, 53, 74, 0.5);
    cursor: pointer;
    transition: background 0.15s;
}
.v-market-table tbody tr:last-child { border-bottom: none; }
.v-market-table tbody tr:hover { background: rgb(42, 44, 52); }
.v-market-table td {
    padding: 0 16px;
    font-size: 14px;
    font-weight: 400;
    color: rgb(255, 255, 255);
    vertical-align: middle;
}
.v-market-table td:not(:first-child) { text-align: right; }

.v-asset-cell { display: flex; align-items: center; gap: 12px; }
.v-asset-cell img {
    width: 36px; height: 36px;
    border-radius: 50%;
    object-fit: contain;
    background: rgb(255,255,255);
    padding: 4px;
}
.v-asset-cell__name { font-weight: 600; }
.v-asset-cell__symbol { font-size: 12px; color: rgb(170, 179, 202); display: block; }

.v-apy { color: rgb(0, 195, 142); font-weight: 600; }
.v-apy--gold { color: rgb(240, 185, 11); }
.v-market-table-wrap.v-card { overflow: visible; }
.v-market-table tbody tr { height: auto; }
.v-market-table td { padding-top: 14px; padding-bottom: 14px; overflow: visible; }
.v-apy-cell { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: nowrap; }
.v-tip { position: relative; display: inline-flex; align-items: center; outline: none; z-index: 1; }
.v-tip:hover,
.v-tip:focus-within { z-index: 40; }
.v-tip__box {
    display: none;
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    z-index: 50;
    width: 280px;
    max-width: min(280px, calc(100vw - 24px));
    padding: 12px 14px;
    border-radius: 12px;
    background: #10233f;
    border: 1px solid #1d6dff;
    color: #fff;
    text-align: left;
    box-shadow: 0 12px 28px rgba(0,0,0,.35);
    pointer-events: auto;
}
.v-tip:hover .v-tip__box,
.v-tip:focus-within .v-tip__box { display: block; }
.v-tip__box p { margin: 0 0 8px; color: #fff; font-size: 13px; line-height: 1.45; font-weight: 500; }
.v-tip__box p:last-child { margin-bottom: 0; }
.v-tip__box strong { display: block; margin-bottom: 6px; font-size: 14px; color: #fff; }
.v-tip__box em { display: block; font-style: normal; color: #d5e4ff; font-size: 13px; line-height: 1.45; font-weight: 500; }
.v-tip__box a { color: #7ec8ff; font-size: 13px; font-weight: 700; text-decoration: none; }
.v-tip__sub { color: #d5e4ff !important; }
.v-partner-pill { color: #f0b90b; font-weight: 800; border: 1px solid rgba(240,185,11,.45); border-radius: 999px; padding: 2px 8px; cursor: help; }
.v-merkl-btn,
.v-prime-btn {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    width: auto;
    height: 24px;
    margin: 0;
    padding: 4px 8px 4px 4px;
    border-radius: 999px;
    background: rgb(30, 36, 49);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
}
.v-merkl-btn { border: 1px solid #ffe4aa; }
.v-merkl-btn:hover { border-color: #ffd370; background: rgb(42, 52, 77); }
.v-prime-btn { border: 1px solid rgb(170, 179, 202); }
.v-prime-btn:hover { border-color: #fff; background: rgb(42, 52, 77); }
.v-merkl-btn img, .v-prime-btn img { width: 16px; height: 16px; margin-right: 4px; border-radius: 50%; display: block; }
.v-merkl-btn span { background: linear-gradient(17deg, #ffe4aa 5%, #ffd370 36%, #fae2b6 68%, #f2d081 106%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v-prime-btn span { background: linear-gradient(26deg, #674031 -49.72%, #FFECE3 85.68%, #6D4637 221.08%, #FFECE3 383.56%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.v-markets-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 280px;
    border-radius: 8px;
    background: rgb(30, 36, 49);
    border: 1px solid rgb(48, 53, 74);
    color: rgb(170, 179, 202);
    font-size: 14px;
}
.v-markets-loading[hidden] { display: none; }
.v-markets-loading__spin {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: rgb(17, 153, 250);
    animation: v-markets-spin 0.8s linear infinite;
}
@keyframes v-markets-spin {
    to { transform: rotate(360deg); }
}

/* Mobile market cards */
.v-market-cards { display: none; }
@media (max-width: 991px) {
    .v-market-table-wrap { display: none; }
    .v-market-cards { display: flex; flex-direction: column; gap: 12px; }
    .v-market-card {
        background: rgb(30, 36, 49);
        border: 1px solid rgb(48, 53, 74);
        border-radius: 12px;
        padding: 16px;
    }
    .v-market-card__row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        font-size: 14px;
    }
    .v-market-card__row span:first-child { color: rgb(170, 179, 202); }
}

/* ── Feature Grid (Prime / Bug bounty / Protection / Governance) ── */
.v-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
}
.v-feature-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) {
    .v-feature-split { grid-template-columns: 1fr 1fr; }
}

.v-feature-card {
    background: rgb(30, 36, 49);
    border: 1px solid rgb(48, 53, 74);
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0px 4px 15px 0px #0D1017;
    position: relative;
    overflow: hidden;
}
.v-feature-card h3 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 16px;
    color: #fff;
}
.v-feature-card p {
    font-size: 16px;
    line-height: 1.5;
    color: rgb(170, 179, 202);
    margin: 0 0 24px;
}
.v-feature-card__text { position: relative; z-index: 1; }
.v-feature-card__img {
    position: absolute;
    right: 0;
    bottom: 0;
    max-height: 180px;
    opacity: 0.9;
    pointer-events: none;
}

/* Venus Prime */
.v-prime {
    background: rgb(24, 29, 39);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px 220px;
}
.v-prime__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
}
.v-prime__grad {
    background: linear-gradient(180deg, #A87E6D 0%, #FFDDCB 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #A87E6D;
}
.v-prime__illus {
    position: absolute;
    left: 50%;
    bottom: -28px;
    transform: translateX(-50%);
    height: 220px;
    width: auto;
    max-width: none;
    object-fit: contain;
    pointer-events: none;
}
@media (min-width: 640px) {
    .v-prime {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        min-height: 320px;
        padding: 40px;
    }
    .v-prime__content { max-width: 48%; }
    .v-prime__illus {
        left: auto;
        right: -40px;
        bottom: 0;
        transform: none;
        height: 300px;
    }
}
@media (min-width: 1024px) {
    .v-prime { min-height: 360px; }
    .v-prime__illus { right: -20px; height: 340px; }
}
@media (min-width: 1280px) {
    .v-prime__content { max-width: 40%; }
    .v-prime__illus { right: 0; height: 360px; }
}
@media (min-width: 1536px) {
    .v-prime__content { max-width: 35%; }
    .v-prime__illus { right: 48px; }
}

/* Bug bounty + Protection */
.v-bounty,
.v-protect {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
    padding: 24px 24px 0;
}
@media (min-width: 768px) {
    .v-bounty,
    .v-protect { min-height: 450px; }
}
@media (min-width: 1024px) {
    .v-bounty,
    .v-protect {
        min-height: 520px;
        padding: 40px 40px 0;
    }
}
.v-bounty {
    background:
        radial-gradient(62.14% 57.9% at 50% 50%, rgba(23, 46, 98, 0.5) 0%, rgba(18, 22, 32, 0.5) 100%),
        rgb(18, 22, 32);
}
.v-protect {
    background:
        radial-gradient(62.14% 57.9% at 50% 50%, rgba(30, 75, 100, 0.5) 0%, rgba(18, 22, 32, 0.5) 100%),
        rgb(18, 22, 32);
}
.v-bounty__illus {
    display: block;
    width: 100%;
    height: auto;
    margin-top: auto;
    pointer-events: none;
}
.v-protect__illus {
    display: block;
    width: 100%;
    height: auto;
    margin-top: auto;
    margin-bottom: 24px;
    object-fit: cover;
    object-position: 0% 50%;
    pointer-events: none;
}
@media (min-width: 768px) {
    .v-protect__illus {
        width: 160%;
        max-width: none;
        transform: translateX(-15%);
        margin-bottom: 32px;
    }
}
@media (min-width: 1280px) {
    .v-protect__illus {
        width: 130%;
        transform: translateX(-10%);
        margin-bottom: 0;
    }
}
@media (min-width: 1536px) {
    .v-protect__illus {
        transform: translateX(-10%) translateY(20px);
    }
}

/* Governance */
.v-gov {
    grid-column: 1 / -1;
    background: #071B2E;
    border-color: rgb(48, 53, 74);
    padding: 24px 24px 200px;
    min-height: 320px;
}
.v-gov__glow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 35% 60%;
    opacity: 0.85;
    pointer-events: none;
}
.v-gov__illus {
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    height: 180px;
    width: auto;
    max-width: none;
    pointer-events: none;
}
.v-gov__content {
    position: relative;
    z-index: 1;
    max-width: 420px;
    text-align: center;
    margin: 0 auto;
}
.v-gov .v-gov-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
}
.v-gov-stats__num {
    font-size: 40px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
}
.v-gov-stats__legend {
    font-size: 14px;
    color: rgb(170, 179, 202);
    max-width: 280px;
    line-height: 1.45;
}
.v-gov p { color: rgb(170, 179, 202); }
@media (min-width: 640px) {
    .v-gov {
        padding: 40px 40px 64px;
        min-height: 280px;
    }
    .v-gov__glow { object-position: 5% 60%; }
    .v-gov__illus {
        left: 55%;
        transform: none;
        height: 220px;
        bottom: -16px;
    }
    .v-gov__content {
        text-align: left;
        margin: 0;
        max-width: 360px;
    }
    .v-gov .v-gov-stats {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }
    .v-gov-stats__legend { max-width: none; }
}
@media (min-width: 768px) {
    .v-gov__illus { left: 58%; height: 240px; }
    .v-gov__content { max-width: 480px; }
}
@media (min-width: 1024px) {
    .v-gov__illus { left: 62%; height: 260px; bottom: -12px; }
}
@media (min-width: 1280px) {
    .v-gov__illus { left: 58%; height: 300px; }
}
@media (min-width: 1536px) {
    .v-gov__illus { height: 360px; bottom: -28px; }
}

.v-protection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}
.v-protection-item img { width: 100%; max-height: 120px; object-fit: contain; margin-bottom: 12px; }
.v-protection-item h4 { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.v-protection-item p { font-size: 14px; color: rgb(170, 179, 202); margin: 0; line-height: 1.5; }

/* ── Safety ── */
.v-safety { padding: 60px 0; }
.v-safety__header { margin-bottom: 32px; }
.v-safety__header h2 { font-size: 32px; font-weight: 600; margin: 0 0 12px; }
.v-safety__header p { font-size: 16px; color: rgb(170, 179, 202); margin: 0; max-width: 600px; }

.v-auditors {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}
.v-auditor {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgb(30, 36, 49);
    border: 1px solid rgb(48, 53, 74);
    border-radius: 8px;
    font-size: 14px;
    color: rgb(170, 179, 202);
    text-decoration: none;
    transition: border-color 0.2s;
}
.v-auditor:hover { border-color: rgb(17, 153, 250); color: rgb(255,255,255); }
.v-auditor__count { color: rgb(0, 195, 142); font-weight: 600; }

/* ── Benefits ── */
.v-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 40px 0 60px;
}
@media (min-width: 768px) { .v-benefits { grid-template-columns: repeat(3, 1fr); } }

.v-benefit {
    background: rgb(24, 29, 39);
    border: 1px solid rgb(48, 53, 74);
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
}
.v-benefit img { width: 64px; height: 64px; margin-bottom: 20px; }
.v-benefit h4 { font-size: 20px; font-weight: 600; margin: 0 0 12px; }
.v-benefit p { font-size: 14px; color: rgb(170, 179, 202); line-height: 1.5; margin: 0; }

/* ── Wallets (Trusted by many) ── */
.v-wallets { padding: 48px 0 64px; text-align: center; }
.v-wallets h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 40px;
    color: rgb(255, 255, 255);
}
@media (min-width: 768px) {
    .v-wallets h2 { font-size: 32px; margin-bottom: 48px; }
}
.v-wallets__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    align-items: center;
    gap: 28px 20px;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 8px;
}
@media (min-width: 768px) {
    .v-wallets__grid { grid-template-columns: repeat(4, minmax(130px, 1fr)); gap: 36px 28px; }
}
@media (min-width: 1024px) {
    .v-wallets__grid { grid-template-columns: repeat(6, minmax(140px, 1fr)); gap: 42px 34px; max-width: 1200px; }
}
.v-wallet-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 48px;
}
.v-wallet-item img {
    max-width: 148px;
    max-height: 48px;
    object-fit: contain;
    opacity: 0.82;
    transition: opacity 0.2s, transform 0.2s;
}
@media (max-width: 991px) {
    .v-wallet-item img { max-width: 124px; max-height: 42px; }
}
.v-wallet-item:hover img {
    opacity: 1;
    transform: scale(1.05);
}
.v-wallet-item span,
.v-wallet-item .v-wallet-name { display: none !important; }

.v-muted { color: rgb(170, 179, 202); }
.v-rate { color: rgb(17, 153, 250); font-weight: 600; }
.v-asset-cell { color: inherit; text-decoration: none; }
.v-asset-cell img { background: transparent; padding: 0; object-fit: cover; }
.v-market-card { color: inherit; text-decoration: none; display: block; }
.v-market-card .v-asset-cell { margin-bottom: 8px; }
.v-market-card .v-asset-cell img { width: 32px; height: 32px; }

.v-text-link { color: rgb(17, 153, 250); font-weight: 600; text-decoration: none; }
.v-text-link:hover { color: rgb(52, 169, 255); }

.v-audit-layout { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 1024px) { .v-audit-layout { grid-template-columns: 1fr 280px; align-items: stretch; } }
.v-audit-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 700px) { .v-audit-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .v-audit-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }
.v-audit-card, .v-audit-more {
    display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
    min-height: 108px; padding: 16px; border-radius: 12px; text-decoration: none;
    background: rgb(24, 29, 39); border: 1px solid rgb(48, 53, 74); color: #fff;
}
.v-audit-card:hover { border-color: rgb(17, 153, 250); color: #fff; }
.v-audit-card__top { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.v-audit-mark {
    width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
    background: rgb(42, 52, 77); color: #fff; font-weight: 700;
}
.v-audit-card__bot { color: rgb(170, 179, 202); font-size: 14px; }
.v-audit-card__bot strong { color: #fff; font-size: 20px; margin-right: 6px; }
.v-audit-more {
    border-style: dashed; color: rgb(17, 153, 250); align-items: center; justify-content: center; text-align: center; font-weight: 600;
}
.v-score {
    position: relative; background: rgb(24, 29, 39); border: 1px solid rgb(48, 53, 74); border-radius: 12px;
    min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px;
}
.v-score__dial { position: relative; width: 168px; height: 168px; }
.v-score__ring { width: 168px; height: 168px; }
.v-score__num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 42px; font-weight: 700; }
.v-score__label { margin-top: 4px; color: rgb(170, 179, 202); font-size: 14px; }
.v-score p { color: rgb(170, 179, 202); font-size: 13px; line-height: 1.5; margin: 16px 0 0; }

.v-market-page { padding: 12px 0 48px; }
.venus-landing:has(.v-market-page) {
    overflow: visible;
}
#wrapper:has(.v-market-page),
#container:has(.v-market-page),
#container_wr:has(.v-market-page) {
    overflow: visible !important;
}
.v-market-hero { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; margin-bottom: 20px; }
.v-market-hero h1 { margin: 0 0 8px; font-size: 36px; }
.v-market-hero p { margin: 0; color: rgb(170, 179, 202); }
.v-stat-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
@media (min-width: 768px) { .v-stat-grid { grid-template-columns: 1fr 1fr; } }
.v-stat { background: rgb(24, 29, 39); border: 1px solid rgb(48, 53, 74); border-radius: 12px; padding: 16px; }
.v-stat span { display: block; color: rgb(170, 179, 202); font-size: 13px; margin-bottom: 6px; }
.v-stat strong { font-size: 22px; font-weight: 600; }
.v-back { color: rgb(170, 179, 202); text-decoration: none; font-size: 14px; }
.v-back:hover { color: #fff; }

@media (max-width: 991px) {
    .v-wrapper { padding-left: 16px; padding-right: 16px; }
    .v-hero { min-height: 0; padding: 44px 0; }
    .v-hero__inner { gap: 32px; }
    .v-hero__title { font-size: clamp(38px, 8vw, 52px); }
    .v-hero__sub { font-size: 17px; line-height: 1.65; }
    .v-hero__tvl-label { font-size: 17px; }
    .v-hero__tvl-value { font-size: clamp(38px, 8vw, 48px); }
    .v-btn { min-height: 50px; padding: 13px 28px; font-size: 16px; }
    .venus-landing .v-calc__title { font-size: 18px; }
    .venus-landing .v-calc__row,
    .venus-landing .v-calc__line { font-size: 16px; line-height: 1.5; }
    .venus-landing .v-calc__note { font-size: 15px; line-height: 1.55; }
    .venus-landing .v-calc input { font-size: 17px; }
    .v-tab { min-height: 46px; font-size: 16px; }
    .v-tab-card__label,
    .v-tab-card__hint,
    .v-tab-card__amount { font-size: 15px; line-height: 1.55; }
    .v-section { padding: 34px 0; }
    .v-section__title { font-size: 28px; line-height: 1.25; }
    .v-market-card { padding: 18px; }
    .v-market-card__row { min-height: 46px; font-size: 16px; gap: 14px; }
    .v-asset-cell__name { font-size: 17px; }
    .v-asset-cell__symbol { font-size: 14px; }
    .v-market-card__row strong,
    .v-market-card__row span:last-child { text-align: right; }
    .v-market-page { padding: 28px 0 48px; }
    .v-market-hero { flex-direction: column; align-items: stretch; gap: 22px; margin-bottom: 24px; }
    .v-market-hero h1 { font-size: 32px; line-height: 1.2; }
    .v-market-hero p { font-size: 16px; line-height: 1.6; }
    .v-market-hero .v-asset-cell__name { font-size: 28px; line-height: 1.2; overflow-wrap: anywhere; }
    .v-market-hero .v-asset-cell { align-items: flex-start; }
    .v-market-hero .v-btn { width: 100%; min-height: 50px; font-size: 16px; }
    .v-back { display: inline-flex; min-height: 44px; align-items: center; font-size: 16px; }
    .v-stat-grid { gap: 12px; }
    .v-stat { padding: 18px; }
    .v-stat span { font-size: 14px; }
    .v-stat strong { font-size: 23px; }
    .v-feature-card { padding: 24px 20px; }
    .v-feature-card h3 { font-size: 24px; }
    .v-feature-card p { font-size: 16px; line-height: 1.65; }
    .v-prime { min-height: 300px; padding: 28px 20px 200px; }
    .v-prime__content { max-width: 100%; }
    .v-prime__illus { height: 190px; opacity: 1; }
    .v-bounty,
    .v-protect { min-height: 340px; padding: 20px 20px 0; }
    .v-gov { padding: 24px 20px 180px; }
    .v-gov__illus { height: 160px; }
    .v-safety { padding: 44px 0; }
    .v-safety__header h2 { font-size: 29px; }
    .v-safety__header p { font-size: 16px; line-height: 1.6; }
    .v-auditor { min-height: 48px; font-size: 16px; }
    .v-benefit { padding: 24px 20px; text-align: left; }
    .v-benefit h4 { font-size: 21px; }
    .v-benefit p,
    .v-protection-item p { font-size: 16px; line-height: 1.6; }
    .v-protection-item h4 { font-size: 18px; }
    .v-wallets h2 { font-size: 28px; line-height: 1.3; }
    .v-audit-card__top { font-size: 16px; }
    .v-audit-card__bot,
    .v-score__label,
    .v-score p { font-size: 15px; line-height: 1.55; }
}

/* Market detail */
.venus-landing.v-detail-page {
    position: relative;
    padding: 0 0 72px;
    background:
        radial-gradient(860px 420px at 100% 18%, rgba(17, 153, 250, 0.14), transparent 55%),
        radial-gradient(720px 380px at 0% 78%, rgba(0, 195, 142, 0.08), transparent 58%),
        rgb(16, 18, 24);
}
.v-detail-stage {
    position: relative;
    overflow: hidden;
    padding: 28px 0 96px;
    background:
        radial-gradient(1100px 460px at 0% -10%, rgba(17, 153, 250, 0.38), transparent 58%),
        radial-gradient(820px 420px at 100% 0%, rgba(14, 72, 140, 0.55), transparent 52%),
        radial-gradient(520px 260px at 72% 110%, rgba(0, 195, 142, 0.16), transparent 60%),
        rgb(10, 14, 22);
}
.v-detail-stage__grid,
.v-detail-stage__grain,
.v-detail-stage__orb {
    position: absolute;
    pointer-events: none;
}
.v-detail-stage__grid {
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}
.v-detail-stage__grain {
    inset: 0;
    opacity: 0.18;
    background-image: radial-gradient(rgba(255, 255, 255, 0.55) 0.6px, transparent 0.6px);
    background-size: 4px 4px;
}
.v-detail-stage__orb {
    width: 340px;
    height: 340px;
    right: -120px;
    top: -140px;
    border-radius: 50%;
    background: rgba(17, 153, 250, 0.35);
    filter: blur(18px);
}
.v-detail-stage .v-wrapper { position: relative; z-index: 1; }
.v-detail-back { color: rgb(186, 214, 255); }
.v-detail-head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    margin-top: 18px;
}
.v-detail-id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.v-detail-id__mark {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    flex: none;
    background: #fff;
    object-fit: contain;
    padding: 10px;
    box-shadow: 0 0 0 8px rgba(17, 153, 250, 0.16), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.v-detail-id__fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgb(30, 36, 49);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}
.v-detail-id h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.v-detail-id p { margin: 6px 0 0; color: rgb(170, 179, 202); font-size: 16px; }
.v-detail-chain {
    display: inline-flex;
    margin-top: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(17, 153, 250, 0.16);
    border: 1px solid rgba(126, 200, 255, 0.35);
    color: #9ed4ff;
    font-size: 13px;
    font-weight: 700;
}
.v-detail-head .v-btn { box-shadow: 0 10px 24px rgba(17, 153, 250, 0.28); }
.v-detail-body { position: relative; z-index: 2; margin-top: -52px; }
.v-detail-kpis {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.v-detail-kpi {
    padding: 18px 18px 16px;
    border-radius: 16px;
    background: rgba(24, 29, 39, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.v-detail-kpi span { display: block; color: rgb(170, 179, 202); font-size: 13px; }
.v-detail-kpi strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
}
.v-detail-kpi--supply strong { color: rgb(0, 195, 142); }
.v-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
}
.v-detail-card {
    background: rgb(24, 29, 39);
    border: 1px solid rgb(48, 53, 74);
    border-radius: 16px;
    padding: 22px 22px 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}
.v-detail-card h2 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}
.v-detail-card h2 span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: rgb(17, 153, 250);
    vertical-align: 1px;
}
.v-detail-card--borrow h2 span { background: rgb(240, 185, 11); }
.v-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid rgba(48, 53, 74, 0.9);
}
.v-detail-row span { color: rgb(170, 179, 202); font-size: 14px; }
.v-detail-row strong { color: #fff; font-size: 16px; font-weight: 600; text-align: right; }
.v-detail-row em {
    display: block;
    margin-top: 2px;
    color: rgb(170, 179, 202);
    font-style: normal;
    font-size: 13px;
    font-weight: 500;
}
.v-detail-util { padding-bottom: 20px; }
.v-detail-util__top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}
.v-detail-util__top span { color: rgb(170, 179, 202); font-size: 14px; }
.v-detail-util__top strong { color: #fff; font-size: 22px; }
.v-detail-util__track {
    height: 10px;
    border-radius: 999px;
    background: rgb(42, 52, 77);
    overflow: hidden;
}
.v-detail-util__track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgb(17, 153, 250), rgb(0, 195, 142));
}
.v-detail-util p { margin: 12px 0 0; }
.v-detail-meta { margin-top: 16px; }
.v-detail-meta a { color: #7ec8ff; font-weight: 600; text-decoration: none; }
.v-detail-meta a:hover { color: #fff; }
.v-detail-empty { position: relative; z-index: 1; padding: 48px 0 12px; }
.v-detail-empty h1 { margin: 0 0 8px; font-size: 32px; }
.v-detail-empty p { margin: 0; color: rgb(170, 179, 202); }
@media (min-width: 768px) {
    .v-detail-head { flex-direction: row; align-items: center; justify-content: space-between; }
    .v-detail-head .v-btn { flex: none; }
    .v-detail-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .v-detail-grid--split { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
    .v-detail-stage { padding: 20px 0 84px; }
    .v-detail-id__mark { width: 60px; height: 60px; }
    .v-detail-head .v-btn { width: 100%; min-height: 50px; }
    .v-detail-kpi strong { font-size: 24px; }
    .v-detail-body { margin-top: -44px; }
}
