.vulk-referrals {
    --vr-bg: #000100;
    --vr-panel: rgba(13, 11, 9, .96);
    --vr-panel-2: rgba(23, 18, 13, .96);
    --vr-line: rgba(201, 164, 81, .23);
    --vr-line-strong: rgba(229, 184, 79, .48);
    --vr-gold: #8bb7d1;
    --vr-gold-light: #DEE6DF;
    --vr-gold-dark: #1c79a4;
    --vr-text: #f4fbff;
    --vr-muted: #8bb7d1;
    --vr-green: #65d98b;
    --vr-red: #ef6b68;
    --vr-orange: #06D98A;
    width: 100%;
    max-width: 1180px;
    margin: 24px auto 60px;
    color: var(--vr-text);
    font-family: Arial, Helvetica, sans-serif;
}

.vulk-referrals *,
.vulk-referrals *::before,
.vulk-referrals *::after { box-sizing: border-box; }

.vulk-referrals h1,
.vulk-referrals h2,
.vulk-referrals p { margin-top: 0; }

.vr-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--vr-line);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.018), transparent 35%),
        linear-gradient(145deg, var(--vr-panel-2), var(--vr-panel));
}

.vr-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(243, 214, 141, .6), transparent);
    pointer-events: none;
}

.vr-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 34px;
    min-height: 365px;
    padding: 38px;
    background:
        radial-gradient(circle at 78% 20%, rgba(139,183,209,.17), transparent 26%),
        radial-gradient(circle at 7% 100%, rgba(160,70,20,.13), transparent 35%),
        linear-gradient(135deg, rgba(27,21,15,.98), rgba(8,7,6,.98));
}

.vr-hero::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: 160px;
    top: -180px;
    border: 1px solid rgba(139,183,209,.12);
    border-radius: 50%;
    box-shadow: 0 0 0 40px rgba(139,183,209,.025), 0 0 0 80px rgba(139,183,209,.018);
    pointer-events: none;
}

.vr-hero-content { position: relative; z-index: 2; align-self: center; }

.vr-eyebrow,
.vr-kicker {
    display: block;
    color: var(--vr-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.vr-eyebrow { margin-bottom: 13px; }
.vr-eyebrow i { margin-right: 7px; }

.vr-hero h1 {
    margin-bottom: 14px;
    color: #fff;
    font-family: "Cinzel", Georgia, serif;
    font-size: 43px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.5px;
}

.vr-hero h1 span {
    color: var(--vr-gold-light);
    text-shadow: 0 0 25px rgba(139,183,209,.14);
}

.vr-hero-copy {
    max-width: 700px;
    margin-bottom: 27px;
    color: #8bb7d1;
    font-size: 14px;
    line-height: 1.75;
}

.vr-hero-copy strong { color: #DEE6DF; }

.vr-how-it-works {
    display: flex;
    align-items: center;
    gap: 11px;
    max-width: 760px;
}

.vr-step {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 11px 13px;
    border: 1px solid rgba(139,183,209,.14);
    border-radius: 10px;
    background: rgba(255,255,255,.025);
}

.vr-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(139,183,209,.45);
    border-radius: 50%;
    color: var(--vr-gold-light);
    font-size: 11px;
    font-weight: 900;
    background: rgba(139,183,209,.09);
}

.vr-step strong,
.vr-step small { display: block; white-space: nowrap; }
.vr-step strong { color: #e8f8ff; font-size: 11px; }
.vr-step small { margin-top: 2px; color: #8bb7d1; font-size: 9px; }
.vr-step-arrow { color: rgba(139,183,209,.35); font-size: 10px; }

.vr-wallet {
    position: relative;
    z-index: 2;
    align-self: center;
    min-height: 285px;
    padding: 27px 25px 22px;
    text-align: center;
    border: 1px solid rgba(139,183,209,.34);
    border-radius: 15px;
    background:
        linear-gradient(180deg, rgba(139,183,209,.12), transparent 32%),
        rgba(7,6,5,.73);
}

.vr-wallet-glow {
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,183,209,.1), transparent 62%);
    filter: blur(6px);
    pointer-events: none;
}

.vr-wallet > *:not(.vr-wallet-glow) { position: relative; z-index: 2; }

.vr-wallet-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 15px;
    border: 1px solid rgba(243,214,141,.5);
    border-radius: 50%;
    color: var(--vr-gold-light);
    font-size: 22px;
    background: linear-gradient(145deg, rgba(139,183,209,.16), rgba(90,58,15,.12));
}

.vr-wallet > small { display: block; color: #8bb7d1; font-size: 9px; font-weight: 800; letter-spacing: 1.5px; }
.vr-wallet > strong { display: block; margin: 4px 0 -2px; color: #fff; font-size: 43px; line-height: 1; }
.vr-wallet-unit { color: var(--vr-gold); font-size: 9px; font-weight: 900; letter-spacing: 1.9px; }
.vr-wallet-divider { height: 1px; margin: 18px 0 14px; background: linear-gradient(90deg, transparent, rgba(139,183,209,.3), transparent); }
.vr-wallet p { margin-bottom: 13px; color: #8bb7d1; font-size: 10px; line-height: 1.45; }

.vr-code-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 10px;
    border: 1px solid rgba(139,183,209,.18);
    border-radius: 8px;
    background: rgba(255,255,255,.025);
}
.vr-code-chip span { color: #6e9ab5; font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.vr-code-chip b { overflow: hidden; color: #DEE6DF; font-size: 10px; letter-spacing: .8px; text-overflow: ellipsis; white-space: nowrap; }

.vr-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
    padding: 13px 16px;
    border: 1px solid rgba(101,217,139,.35);
    border-radius: 10px;
    color: #b9f4ca;
    background: rgba(40,130,72,.12);
}
.vr-alert-danger { color: #ffc0bd; border-color: rgba(239,107,104,.4); background: rgba(150,40,37,.13); }

.vr-share {
    margin-top: 17px;
    padding: 24px;
}

.vr-share-heading,
.vr-title-group {
    display: flex;
    align-items: center;
    gap: 13px;
}

.vr-share-heading h2,
.vr-section-header h2 {
    margin: 3px 0 0;
    color: #fff;
    font-family: "Cinzel", Georgia, serif;
    font-size: 20px;
    font-weight: 700;
}

.vr-share-heading p { margin: 6px 0 0; color: var(--vr-muted); font-size: 11px; }

.vr-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    border: 1px solid rgba(139,183,209,.28);
    border-radius: 10px;
    color: var(--vr-gold-light);
    background: rgba(139,183,209,.07);
}

.vr-copy-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 19px;
    padding: 7px;
    border: 1px solid rgba(139,183,209,.25);
    border-radius: 11px;
    background: rgba(0,0,0,.28);
}

.vr-copy-box input {
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    border: 0;
    outline: 0;
    color: #e8f8ff;
    font-size: 12px;
    background: transparent;
}

.vr-copy-box button,
.vr-share-actions button,
.vr-share-actions a,
.vr-reward button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(243,214,141,.52);
    border-radius: 8px;
    color: #08110B;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none !important;
    cursor: pointer;
    background: linear-gradient(180deg, #DEE6DF, #027B29);
    transition: transform .18s ease, filter .18s ease, border-color .18s ease;
}

.vr-copy-box button:hover,
.vr-share-actions button:hover,
.vr-share-actions a:hover,
.vr-reward button:hover:not([disabled]) { transform: translateY(-1px); filter: brightness(1.08); color: #08110B; }

.vr-share-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
}
.vr-share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.vr-share-actions button,
.vr-share-actions a { min-height: 36px; padding: 0 13px; color: #a9daf2; border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.035); }
.vr-share-actions button:hover,
.vr-share-actions a:hover { color: #fff; border-color: rgba(139,183,209,.35); background: rgba(139,183,209,.08); }
.vr-share-facebook i { color: #75a7ff; }
.vr-share-discord i { color: #9a9cff; }
.vr-share-footer > small { color: #6e9ab5; font-size: 9px; }
.vr-share-footer > small i { margin-right: 5px; color: var(--vr-gold); }

.vr-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 17px 0;
}

.vr-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 112px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(24,20,16,.97), rgba(11,9,8,.97));
}
.vr-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 47px;
    width: 47px;
    height: 47px;
    border-radius: 11px;
    color: #A3AB97;
    background: rgba(139,183,209,.09);
}
.vr-stat-card small { display: block; color: #8bb7d1; font-size: 8px; font-weight: 900; letter-spacing: 1.2px; }
.vr-stat-card strong { display: block; margin-top: 2px; color: #fff; font-size: 25px; line-height: 1; }
.vr-stat-card p { margin: 7px 0 0; color: #5a90ad; font-size: 9px; }
.vr-stat-success .vr-stat-icon { color: var(--vr-green); background: rgba(101,217,139,.08); }
.vr-stat-pending-card .vr-stat-icon { color: #00FF8A; background: rgba(83,231,255,.08); }
.vr-stat-points .vr-stat-icon { color: #DEE6DF; background: rgba(241,210,126,.08); }

.vr-section { margin-top: 17px; padding: 24px; }
.vr-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 17px;
    border-bottom: 1px solid rgba(255,255,255,.055);
}
.vr-section-meta { color: #6e9ab5; font-size: 9px; }
.vr-section-meta i { margin-right: 5px; color: var(--vr-gold); }
.vr-balance-meta b { color: var(--vr-gold-light); }

.vr-table-wrap { width: 100%; overflow-x: auto; }
.vr-table { width: 100%; border-collapse: collapse; }
.vr-table th {
    padding: 11px 12px;
    color: #6e9ab5;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
    text-align: left;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(139,183,209,.14);
}
.vr-table td {
    padding: 14px 12px;
    color: #a9daf2;
    font-size: 11px;
    border-bottom: 1px solid rgba(255,255,255,.045);
    vertical-align: middle;
}
.vr-table tbody tr { transition: background .16s ease; }
.vr-table tbody tr:hover { background: rgba(139,183,209,.025); }
.vr-table tbody tr:last-child td { border-bottom: 0; }

.vr-account-cell { display: flex; align-items: center; gap: 10px; }
.vr-account-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(139,183,209,.22);
    border-radius: 9px;
    color: var(--vr-gold-light);
    font-size: 11px;
    font-weight: 900;
    background: rgba(139,183,209,.06);
}
.vr-account-cell strong { color: #e8f8ff; font-size: 11px; }

.vr-progress-info { display: flex; align-items: baseline; gap: 4px; width: 190px; margin-bottom: 7px; }
.vr-progress-info b { color: #fff; font-size: 11px; }
.vr-progress-info span { color: #6e9ab5; font-size: 9px; }
.vr-progress-info em { margin-left: auto; color: var(--vr-gold); font-size: 9px; font-style: normal; }
.vr-progress { width: 190px; height: 5px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.07); }
.vr-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1c79a4, #A3AB97); box-shadow: 0 0 10px rgba(139,183,209,.22); }

.vr-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 99px;
    color: #8bb7d1;
    font-size: 9px;
    font-weight: 800;
    background: rgba(255,255,255,.025);
}
.vr-status i { font-size: 5px; }
.vr-status-valid { color: #8ce7a8; border-color: rgba(101,217,139,.22); background: rgba(101,217,139,.07); }
.vr-status-pending { color: #A3AB97; border-color: rgba(83,231,255,.22); background: rgba(83,231,255,.07); }
.vr-status-rejected,
.vr-status-blocked { color: #ef8a86; border-color: rgba(239,107,104,.22); background: rgba(239,107,104,.07); }
.vr-table-points { color: var(--vr-gold-light); }

.vr-empty { padding: 35px 15px !important; text-align: center !important; }
.vr-empty span { display: flex; align-items: center; justify-content: center; width: 47px; height: 47px; margin: 0 auto 10px; border-radius: 50%; color: #6e9ab5; background: rgba(139,183,209,.06); }
.vr-empty strong { display: block; color: #a9daf2; font-size: 11px; }
.vr-empty p { margin: 5px 0 0; color: #6e9ab5; font-size: 9px; }
.vr-empty-block { border: 1px dashed rgba(139,183,209,.15); border-radius: 12px; }

.vr-rewards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.vr-reward {
    position: relative;
    overflow: hidden;
    padding: 19px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(26,21,16,.92), rgba(10,9,8,.96));
}
.vr-reward::before {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -65px;
    top: -65px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,183,209,.1), transparent 68%);
}
.vr-reward-ready { border-color: rgba(139,183,209,.28); }
.vr-reward-top { position: relative; display: flex; justify-content: space-between; align-items: center; }
.vr-reward-icon { display: flex; align-items: center; justify-content: center; width: 43px; height: 43px; border: 1px solid rgba(139,183,209,.25); border-radius: 10px; color: var(--vr-gold-light); background: rgba(139,183,209,.07); }
.vr-reward-type { color: #6e9ab5; font-size: 8px; font-weight: 900; letter-spacing: 1px; }
.vr-reward-name { position: relative; display: block; min-height: 38px; margin: 14px 0 13px; color: #e8f8ff; font-size: 16px; line-height: 1.2; }
.vr-reward-cost { position: relative; display: flex; align-items: baseline; gap: 4px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.05); }
.vr-reward-cost small { margin-right: auto; color: #6e9ab5; font-size: 8px; font-weight: 900; letter-spacing: 1px; }
.vr-reward-cost b { color: var(--vr-gold-light); font-size: 21px; }
.vr-reward-cost span { color: #6e9ab5; font-size: 9px; }
.vr-reward button { position: relative; width: 100%; margin-top: 16px; }
.vr-reward button[disabled] { color: #6e9ab5; border-color: rgba(255,255,255,.07); cursor: not-allowed; background: rgba(255,255,255,.035); }

.vr-positive { color: var(--vr-green) !important; font-weight: 900; }
.vr-negative { color: var(--vr-red) !important; font-weight: 900; }
.vr-movement { display: inline-flex; align-items: center; gap: 7px; color: #a9daf2; }
.vr-movement i { color: var(--vr-gold); font-size: 9px; }

.vr-toast {
    position: fixed;
    z-index: 99999;
    right: 25px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    border: 1px solid rgba(101,217,139,.35);
    border-radius: 9px;
    color: #c5f4d1;
    font-size: 11px;
    background: rgba(12,35,21,.97);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}
.vr-toast-visible { opacity: 1; transform: translateY(0); }

/* Recuadro del UserCP: conserva compatibilidad con el modulo ya instalado. */
.vrc-usercp-card {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 300px;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin: 18px auto 30px;
    padding: 21px;
    border: 1px solid rgba(139,183,209,.23);
    border-radius: 14px;
    color: var(--vr-text, #f4fbff);
    background: linear-gradient(145deg, rgba(24,19,14,.97), rgba(9,8,7,.97));
}
.vrc-usercp-icon { display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; border: 1px solid rgba(139,183,209,.32); border-radius: 13px; color: #A3AB97; font-size: 24px; background: rgba(139,183,209,.08); }
.vrc-usercp-kicker { display: block; margin-bottom: 5px; color: #8bb7d1; font-size: 9px; font-weight: 900; letter-spacing: 1.3px; }
.vrc-usercp-card h3 { margin: 0; color: #fff; font-family: "Cinzel", Georgia, serif; font-size: 19px; }
.vrc-usercp-main p { margin: 6px 0 11px; color: #8bb7d1; font-size: 10px; }
.vrc-usercp-link { display: flex; gap: 7px; max-width: 610px; }
.vrc-usercp-link input { flex: 1; min-width: 0; height: 38px; padding: 0 11px; border: 1px solid rgba(255,255,255,.08); border-radius: 7px; outline: 0; color: #e8f8ff; background: rgba(0,0,0,.28); }
.vrc-usercp-link button,
.vrc-usercp-stats a { border: 1px solid rgba(139,183,209,.45); border-radius: 7px; color: #08110B; font-size: 10px; font-weight: 900; text-decoration: none !important; background: linear-gradient(180deg, #DEE6DF, #027B29); }
.vrc-usercp-link button { padding: 8px 12px; cursor: pointer; }
.vrc-usercp-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.vrc-usercp-stats > div { padding: 9px; text-align: center; border: 1px solid rgba(255,255,255,.06); border-radius: 7px; background: rgba(255,255,255,.025); }
.vrc-usercp-stats small { display: block; color: #6e9ab5; font-size: 8px; }
.vrc-usercp-stats strong { display: block; margin-top: 2px; color: #fff; font-size: 18px; }
.vrc-usercp-stats a { grid-column: 1 / -1; padding: 8px; text-align: center; }
.vrc-usercp-error { display: block; color: #ffaaa6; }
.vrc-usercp-error strong,
.vrc-usercp-error span { display: block; }

@media (max-width: 980px) {
    .vr-hero { grid-template-columns: 1fr 240px; padding: 30px; }
    .vr-hero h1 { font-size: 36px; }
    .vr-how-it-works { flex-wrap: wrap; }
    .vr-step-arrow { display: none; }
    .vr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vr-rewards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vrc-usercp-card { grid-template-columns: 60px 1fr; }
    .vrc-usercp-stats { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
    .vrc-usercp-stats a { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .vulk-referrals { margin-top: 12px; }
    .vr-hero { display: block; min-height: 0; padding: 24px 19px; }
    .vr-hero h1 { font-size: 29px; }
    .vr-hero-copy { font-size: 12px; }
    .vr-how-it-works { display: grid; grid-template-columns: 1fr; }
    .vr-step { width: 100%; }
    .vr-wallet { min-height: 0; margin-top: 22px; }
    .vr-share, .vr-section { padding: 18px 15px; }
    .vr-share-heading, .vr-title-group { align-items: flex-start; }
    .vr-share-heading h2, .vr-section-header h2 { font-size: 17px; }
    .vr-copy-box { grid-template-columns: 1fr; }
    .vr-copy-box button { width: 100%; }
    .vr-share-footer, .vr-section-header { display: block; }
    .vr-share-footer > small, .vr-section-meta { display: block; margin-top: 11px; }
    .vr-share-actions { display: grid; grid-template-columns: 1fr; }
    .vr-stats, .vr-rewards { grid-template-columns: 1fr; }
    .vr-stat-card { min-height: 96px; }

    .vr-table-wrap { overflow: visible; }
    .vr-table, .vr-table tbody, .vr-table tr, .vr-table td { display: block; width: 100%; }
    .vr-table thead { display: none; }
    .vr-table tr { margin-bottom: 10px; padding: 5px 12px; border: 1px solid rgba(255,255,255,.06); border-radius: 10px; background: rgba(255,255,255,.018); }
    .vr-table td { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 40px; padding: 10px 0; text-align: right; }
    .vr-table td::before { content: attr(data-label); color: #6e9ab5; font-size: 8px; font-weight: 900; letter-spacing: .7px; text-align: left; text-transform: uppercase; }
    .vr-table td.vr-empty { display: block; }
    .vr-table td.vr-empty::before { display: none; }
    .vr-progress-info, .vr-progress { width: 160px; }
    .vr-account-cell { justify-content: flex-end; }
    .vr-toast { right: 15px; bottom: 15px; left: 15px; justify-content: center; }

    .vrc-usercp-card { display: block; }
    .vrc-usercp-icon { margin-bottom: 13px; }
    .vrc-usercp-link { display: block; }
    .vrc-usercp-link input, .vrc-usercp-link button { width: 100%; }
    .vrc-usercp-link button { margin-top: 7px; }
    .vrc-usercp-stats { margin-top: 14px; grid-template-columns: repeat(2, 1fr); }
}

/* ======================================================================
   VULKMU - INTEGRACION FINAL DESDE EL TEMPLATE
   Se carga despues de style.css para evitar que el tema pise Referidos.
   ====================================================================== */
.vulk-referrals,
.usercp-dashboard .vrc-usercp-card {
    box-sizing: border-box;
}

.vulk-referrals *,
.usercp-dashboard .vrc-usercp-card * {
    box-sizing: border-box;
}

/* Refuerza el estilo del panel /referidos contra reglas globales del tema. */
body .vulk-referrals {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 1180px;
    margin: 24px auto 60px !important;
    padding: 0 2px;
    color: #f4fbff !important;
}

body .vulk-referrals .vr-panel,
body .vulk-referrals .vr-stat-card,
body .vulk-referrals .vr-reward {
    box-shadow: 0 18px 55px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.035) !important;
}

body .vulk-referrals h1,
body .vulk-referrals h2,
body .vulk-referrals h3,
body .vulk-referrals strong {
    text-shadow: none;
}

/* =========================
   USERCP - TARJETA DESTACADA
   ========================= */
.usercp-dashboard .vrc-usercp-card.vrc-usercp-featured {
    position: relative;
    z-index: 2;
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) 320px !important;
    align-items: stretch !important;
    gap: 26px !important;
    min-height: 246px;
    width: 100% !important;
    margin: 6px auto 36px !important;
    padding: 30px !important;
    overflow: hidden;
    border: 1px solid rgba(6,217,138,.62) !important;
    border-radius: 18px !important;
    color: #f4fbff !important;
    background:
        linear-gradient(90deg, rgba(6,217,138,.075), transparent 35%),
        radial-gradient(circle at 6% 0%, rgba(6,217,138,.24), transparent 30%),
        radial-gradient(circle at 92% 100%, rgba(6,217,138,.12), transparent 35%),
        linear-gradient(135deg, rgba(27,14,7,.99), rgba(8,5,3,.995) 60%, rgba(20,12,6,.99)) !important;
    box-shadow:
        0 22px 65px rgba(0,0,0,.58),
        0 0 32px rgba(6,217,138,.10),
        inset 0 1px 0 rgba(255,255,255,.06) !important;
}

.usercp-dashboard .vrc-usercp-card.vrc-usercp-featured::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #034B2A, #06D98A 35%, #DEE6DF 65%, #034B2A);
    box-shadow: 0 0 24px rgba(6,217,138,.65);
}

.usercp-dashboard .vrc-usercp-card.vrc-usercp-featured::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 360px;
    height: 360px;
    right: -180px;
    top: -190px;
    border: 1px solid rgba(6,217,138,.14);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(6,217,138,.025), 0 0 0 86px rgba(6,217,138,.018);
}

.usercp-dashboard .vrc-usercp-ribbon {
    position: absolute;
    z-index: 5;
    top: 15px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid rgba(6,217,138,.42);
    border-radius: 999px;
    color: #DEE6DF !important;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
    background: rgba(8, 125, 232,.36);
    box-shadow: inset 0 1px rgba(255,255,255,.05);
}

.usercp-dashboard .vrc-usercp-glow {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}
.usercp-dashboard .vrc-usercp-glow-one {
    width: 190px;
    height: 190px;
    left: -85px;
    bottom: -105px;
    background: radial-gradient(circle, rgba(6,217,138,.19), transparent 67%);
}
.usercp-dashboard .vrc-usercp-glow-two {
    width: 210px;
    height: 210px;
    right: 210px;
    top: -130px;
    background: radial-gradient(circle, rgba(6,217,138,.09), transparent 68%);
}

.usercp-dashboard .vrc-usercp-icon-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 18px 12px;
    border: 1px solid rgba(6,217,138,.19);
    border-radius: 15px;
    background: linear-gradient(180deg, rgba(6,217,138,.075), rgba(0,0,0,.17));
}

.usercp-dashboard .vrc-usercp-icon-wrap .vrc-usercp-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 82px !important;
    height: 82px !important;
    margin: 0 0 16px !important;
    border: 1px solid rgba(6,217,138,.65) !important;
    border-radius: 22px !important;
    color: #f4fbff !important;
    font-size: 31px !important;
    background: linear-gradient(145deg, #06D98A, #034B2A 62%, #08110B) !important;
    box-shadow:
        0 14px 28px rgba(0,0,0,.38),
        0 0 30px rgba(6,217,138,.31),
        inset 0 1px 0 rgba(255,255,255,.25) !important;
    transform: rotate(-3deg);
}

.usercp-dashboard .vrc-usercp-code-label {
    display: block;
    margin-bottom: 4px;
    color: #8bb7d1 !important;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.2px;
}
.usercp-dashboard .vrc-usercp-code {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: #DEE6DF !important;
    font-family: Consolas, Monaco, monospace;
    font-size: 13px !important;
    letter-spacing: .7px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.usercp-dashboard .vrc-usercp-main {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding-top: 10px;
}

.usercp-dashboard .vrc-usercp-kicker {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    margin: 0 0 8px !important;
    color: #00FF8A !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: 1.55px !important;
}

.usercp-dashboard .vrc-usercp-card h3 {
    margin: 0 !important;
    color: #fff !important;
    font-family: "Cinzel", Georgia, serif !important;
    font-size: clamp(23px, 2.35vw, 32px) !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    letter-spacing: -.4px;
}

.usercp-dashboard .vrc-usercp-main > p {
    max-width: 680px;
    margin: 10px 0 13px !important;
    color: #a9daf2 !important;
    font-size: 12px !important;
    line-height: 1.7 !important;
}
.usercp-dashboard .vrc-usercp-main > p strong {
    color: #f4fbff !important;
}

.usercp-dashboard .vrc-usercp-reward-line {
    display: flex;
    align-items: center;
    gap: 11px;
    width: max-content;
    max-width: 100%;
    margin-bottom: 14px;
    padding: 7px 11px;
    border: 1px solid rgba(6,217,138,.22);
    border-radius: 8px;
    color: #8bb7d1 !important;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .3px;
    background: rgba(6,217,138,.055);
}
.usercp-dashboard .vrc-usercp-reward-line > i { color: #1c79a4; }
.usercp-dashboard .vrc-usercp-reward-line span i { margin-right: 5px; color: #06D98A; }
.usercp-dashboard .vrc-usercp-reward-line b { color: #a9daf2 !important; font-size: 10px; }

.usercp-dashboard .vrc-usercp-link {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) auto !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 720px !important;
    overflow: hidden;
    border: 1px solid rgba(6,217,138,.34) !important;
    border-radius: 10px !important;
    background: rgba(0,0,0,.30) !important;
    box-shadow: inset 0 1px 5px rgba(0,0,0,.26) !important;
}

.usercp-dashboard .vrc-usercp-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #06D98A !important;
    border-right: 1px solid rgba(255,255,255,.055);
    background: rgba(6,217,138,.045);
}

.usercp-dashboard .vrc-usercp-link input {
    width: 100% !important;
    height: 43px !important;
    min-width: 0 !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    color: #e8f8ff !important;
    font-family: Consolas, Monaco, monospace !important;
    font-size: 11px !important;
    background: transparent !important;
    box-shadow: none !important;
}

.usercp-dashboard .vrc-usercp-link button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 43px !important;
    padding: 0 17px !important;
    border: 0 !important;
    border-left: 1px solid rgba(6,217,138,.18) !important;
    border-radius: 0 !important;
    color: #08110B !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    background: linear-gradient(180deg, #DEE6DF, #027B29) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.38) !important;
    transition: filter .18s ease, transform .18s ease !important;
}
.usercp-dashboard .vrc-usercp-link button:hover {
    filter: brightness(1.08);
    transform: none !important;
}
.usercp-dashboard .vrc-usercp-link button.is-copied {
    color: #e8ffef !important;
    background: linear-gradient(180deg, #39bf6a, #197b3b) !important;
}

.usercp-dashboard .vrc-usercp-side {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(6,217,138,.19);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(6,217,138,.07), rgba(0,0,0,.20));
}

.usercp-dashboard .vrc-usercp-balance {
    margin-bottom: 11px;
    padding-bottom: 11px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.usercp-dashboard .vrc-usercp-balance small {
    display: block;
    color: #8bb7d1 !important;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.3px;
}
.usercp-dashboard .vrc-usercp-balance strong {
    display: block;
    margin: 1px 0 -2px;
    color: #DEE6DF !important;
    font-family: "Cinzel", Georgia, serif;
    font-size: 36px !important;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(6,217,138,.23) !important;
}
.usercp-dashboard .vrc-usercp-balance span {
    color: #5a90ad !important;
    font-size: 8px;
}

.usercp-dashboard .vrc-usercp-side .vrc-usercp-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin: 0 0 11px !important;
}
.usercp-dashboard .vrc-usercp-side .vrc-usercp-stats > div {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    padding: 8px 4px !important;
    border: 1px solid rgba(255,255,255,.065) !important;
    border-radius: 8px !important;
    text-align: center;
    background: rgba(255,255,255,.025) !important;
}
.usercp-dashboard .vrc-usercp-side .vrc-usercp-stats > div > i {
    color: #00FF8A !important;
    font-size: 12px;
}
.usercp-dashboard .vrc-usercp-side .vrc-usercp-stats span { min-width: 0; }
.usercp-dashboard .vrc-usercp-side .vrc-usercp-stats small {
    display: block;
    overflow: hidden;
    color: #6e9ab5 !important;
    font-size: 6.8px !important;
    font-weight: 900;
    letter-spacing: .3px;
    text-overflow: ellipsis;
}
.usercp-dashboard .vrc-usercp-side .vrc-usercp-stats strong {
    display: block;
    margin: 1px 0 0;
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1;
}

.usercp-dashboard a.vrc-usercp-cta {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 11px 13px !important;
    border: 1px solid rgba(6,217,138,.52) !important;
    border-radius: 9px !important;
    color: #08110B !important;
    text-decoration: none !important;
    background: linear-gradient(180deg, #DEE6DF, #027B29) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.43) !important;
    transition: transform .18s ease, filter .18s ease !important;
}
.usercp-dashboard a.vrc-usercp-cta:hover {
    color: #000100 !important;
    filter: brightness(1.07);
    transform: translateY(-2px);
}
.usercp-dashboard .vrc-usercp-cta span {
    color: inherit !important;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.15;
}
.usercp-dashboard .vrc-usercp-cta small {
    display: block;
    margin-bottom: 2px;
    color: rgba(1, 10, 22,.63) !important;
    font-size: 7px;
    letter-spacing: 1px;
}
.usercp-dashboard .vrc-usercp-cta > i { font-size: 14px; }

.usercp-dashboard .vrc-usercp-error {
    display: block !important;
    min-height: 0;
    color: #ffb4ad !important;
}
.usercp-dashboard .vrc-usercp-error strong,
.usercp-dashboard .vrc-usercp-error span { display: block; }

@media (max-width: 1180px) {
    .usercp-dashboard .vrc-usercp-card.vrc-usercp-featured {
        grid-template-columns: 125px minmax(0, 1fr) 285px !important;
        gap: 20px !important;
        padding: 27px 22px !important;
    }
}

@media (max-width: 980px) {
    .usercp-dashboard .vrc-usercp-card.vrc-usercp-featured {
        grid-template-columns: 120px minmax(0, 1fr) !important;
    }
    .usercp-dashboard .vrc-usercp-side {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 170px minmax(0, 1fr) 230px;
        align-items: center;
        gap: 12px;
    }
    .usercp-dashboard .vrc-usercp-balance {
        margin: 0;
        padding: 0 12px 0 0;
        border-right: 1px solid rgba(255,255,255,.07);
        border-bottom: 0;
    }
    .usercp-dashboard .vrc-usercp-side .vrc-usercp-stats { margin: 0 !important; }
}

@media (max-width: 720px) {
    body .vulk-referrals { padding: 0; }
    .usercp-dashboard .vrc-usercp-card.vrc-usercp-featured {
        display: block !important;
        min-height: 0;
        padding: 25px 16px 18px !important;
        border-radius: 14px !important;
    }
    .usercp-dashboard .vrc-usercp-ribbon {
        position: static;
        width: max-content;
        margin: 0 auto 16px;
    }
    .usercp-dashboard .vrc-usercp-icon-wrap {
        display: grid;
        grid-template-columns: 62px 1fr;
        grid-template-rows: auto auto;
        column-gap: 12px;
        margin-bottom: 18px;
        padding: 12px;
        text-align: left;
    }
    .usercp-dashboard .vrc-usercp-icon-wrap .vrc-usercp-icon {
        grid-row: 1 / 3;
        width: 58px !important;
        height: 58px !important;
        margin: 0 !important;
        border-radius: 15px !important;
        font-size: 22px !important;
    }
    .usercp-dashboard .vrc-usercp-code-label,
    .usercp-dashboard .vrc-usercp-code { text-align: left; }
    .usercp-dashboard .vrc-usercp-main { padding-top: 0; }
    .usercp-dashboard .vrc-usercp-card h3 { font-size: 25px !important; }
    .usercp-dashboard .vrc-usercp-reward-line {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .usercp-dashboard .vrc-usercp-link {
        grid-template-columns: 38px minmax(0, 1fr) !important;
    }
    .usercp-dashboard .vrc-usercp-link button {
        grid-column: 1 / -1;
        width: 100% !important;
        border-top: 1px solid rgba(6,217,138,.18) !important;
        border-left: 0 !important;
    }
    .usercp-dashboard .vrc-usercp-side {
        display: block;
        margin-top: 17px;
        padding: 14px;
    }
    .usercp-dashboard .vrc-usercp-balance {
        margin-bottom: 11px;
        padding: 0 0 11px;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.07);
    }
    .usercp-dashboard .vrc-usercp-side .vrc-usercp-stats { margin-bottom: 11px !important; }
}

@media (max-width: 420px) {
    .usercp-dashboard .vrc-usercp-reward-line > i { display: none; }
    .usercp-dashboard .vrc-usercp-reward-line { flex-direction: column; gap: 3px; }
    .usercp-dashboard .vrc-usercp-side .vrc-usercp-stats small { font-size: 6px !important; }
}
