:root {
    --rg-black: #050913;
    --rg-black-2: #071426;
    --rg-blue: #1478ff;
    --rg-blue-2: #41b6ff;
    --rg-blue-soft: #eaf4ff;
    --rg-white: #ffffff;
    --rg-muted: #6c7a91;
    --rg-line: rgba(20, 120, 255, 0.18);
    --rg-shadow: 0 24px 70px rgba(4, 12, 28, 0.18);
    --rg-radius: 18px;
    --primary: #1478ff !important;
    --green: #1478ff !important;
    --green-dim: #41b6ff !important;
    --green-dark: #41b6ff !important;
    --farm-green: #1478ff !important;
    --farm-light: #eaf4ff !important;
    --meadow-light: #eaf4ff !important;
    --leaf-soft: #41b6ff !important;
    --accent: #1478ff !important;
    --accent-gold: #1478ff !important;
    --input-focus: #1478ff !important;
    --text-main: #071426 !important;
    --text-muted: #6c7a91 !important;
    --bg-body: #f6faff !important;
    --card-bg: rgba(255, 255, 255, 0.9) !important;
    --green-grad: linear-gradient(135deg, #050913 0%, #1478ff 55%, #41b6ff 100%) !important;
    --btn-grad: linear-gradient(135deg, #1478ff, #0057d8) !important;
}

html {
    scroll-behavior: smooth;
}

body.rg-pro-body {
    min-height: 100vh;
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(20, 120, 255, 0.045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(20, 120, 255, 0.045) 1px, transparent 1px),
        radial-gradient(circle at 50% -18%, rgba(20, 120, 255, 0.18), transparent 34%),
        linear-gradient(135deg, #f5fbff 0%, #e9f6ff 46%, #ffffff 100%) !important;
    background-size: 30px 30px, 30px 30px, 100% 100%, 100% 100% !important;
    color: #102033;
    font-family: "Plus Jakarta Sans", "Outfit", "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    -webkit-tap-highlight-color: transparent;
}

body.rg-pro-body::selection {
    background: rgba(20, 120, 255, 0.22);
    color: var(--rg-black);
}

.rg-pro-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 14% 10%, rgba(65, 182, 255, 0.16), transparent 26%),
        radial-gradient(circle at 86% 18%, rgba(20, 120, 255, 0.14), transparent 24%),
        linear-gradient(135deg, rgba(255, 255, 255, 0), rgba(20, 120, 255, 0.08));
}

.rg-app-screenscape {
    position: fixed;
    inset: -12vh -12vw;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.55;
    perspective: 1300px;
}

body.rg-user .rg-app-screenscape {
    opacity: 0.22;
}

body.rg-front .rg-app-screenscape {
    opacity: 0.34;
}

.rg-phone-mock {
    position: absolute;
    width: 214px;
    min-height: 430px;
    padding: 14px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 30px 70px rgba(10, 36, 75, 0.16);
    color: #071426;
    transform-style: preserve-3d;
    animation: rgPhoneDrift 10s ease-in-out infinite;
}

.rg-phone-mock::before {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 25px;
    border: 1px solid rgba(20, 120, 255, 0.08);
    pointer-events: none;
}

.rg-phone-dashboard {
    left: 8vw;
    top: 18vh;
    transform: rotate(-10deg) translateZ(0);
    animation-delay: -2s;
}

.rg-phone-dark {
    left: -5vw;
    bottom: 2vh;
    transform: rotate(-14deg) translateZ(0);
    animation-delay: -5s;
}

.rg-phone-card {
    left: 44vw;
    top: 12vh;
    transform: rotate(11deg) translateZ(0);
    animation-delay: -8s;
}

.rg-phone-code {
    right: 18vw;
    top: -6vh;
    min-height: 340px;
    transform: rotate(-8deg) translateZ(0);
    animation-delay: -3s;
}

.rg-phone-wallet {
    right: 5vw;
    top: 18vh;
    transform: rotate(10deg) translateZ(0);
    animation-delay: -6s;
}

@keyframes rgPhoneDrift {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -18px; }
}

.rg-phone-status,
.rg-phone-nav,
.rg-phone-actions,
.rg-phone-tiles,
.rg-mini-menu,
.rg-code-dots,
.rg-keypad {
    display: flex;
    align-items: center;
}

.rg-phone-status {
    position: relative;
    z-index: 1;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 950;
}

.rg-phone-status span:last-child {
    width: 32px;
    height: 9px;
    border-radius: 999px;
    background: linear-gradient(90deg, #071426 0 35%, transparent 35% 43%, #071426 43% 66%, transparent 66% 72%, #071426 72%);
    opacity: 0.82;
}

.rg-phone-blue-head {
    position: relative;
    z-index: 1;
    min-height: 146px;
    margin: 0 -5px 12px;
    padding: 18px 16px;
    overflow: hidden;
    border-radius: 25px 25px 32px 32px;
    background:
        radial-gradient(circle at 100% 20%, rgba(255, 255, 255, 0.24), transparent 32%),
        linear-gradient(135deg, #1478ff, #0057d8);
    color: #ffffff;
}

.rg-phone-blue-head::after {
    content: "";
    position: absolute;
    right: -48px;
    bottom: -56px;
    width: 160px;
    height: 160px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 48% 52% 46% 54%;
}

.rg-phone-menu {
    width: 17px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    opacity: 0.8;
}

.rg-phone-blue-head strong {
    display: block;
    margin-top: -14px;
    text-align: center;
    font-size: 15px;
    font-weight: 950;
}

.rg-phone-blue-head small {
    display: block;
    margin-top: 26px;
    font-size: 10px;
    opacity: 0.72;
}

.rg-phone-blue-head b {
    display: block;
    margin-top: 6px;
    font-size: 25px;
    line-height: 1;
}

.rg-phone-blue-head.rg-compact {
    min-height: 120px;
    margin-top: 8px;
}

.rg-phone-actions {
    gap: 8px;
    margin-top: 14px;
}

.rg-phone-actions span {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #071426;
    font-size: 9px;
    font-weight: 900;
}

.rg-phone-actions span + span {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.rg-phone-body {
    position: relative;
    z-index: 1;
}

.rg-phone-body h6 {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 950;
}

.rg-phone-tiles {
    gap: 9px;
    margin-bottom: 18px;
}

.rg-phone-tiles span {
    flex: 1;
    min-height: 70px;
    display: grid;
    place-items: center;
    text-align: center;
    border-radius: 18px;
    background: #f5f8fb;
    color: #33445e;
    font-size: 10px;
    font-weight: 850;
    box-shadow: inset 0 0 0 1px rgba(20, 120, 255, 0.05);
}

.rg-phone-body p,
.rg-phone-card p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 38px;
    margin: 8px 0;
    padding: 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 25px rgba(8, 24, 48, 0.05);
    font-size: 10px;
    font-weight: 850;
}

.rg-phone-body p i,
.rg-phone-card p i {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(20, 120, 255, 0.12);
}

.rg-phone-body p b,
.rg-phone-card p b {
    margin-left: auto;
    color: #1478ff;
}

.rg-phone-nav {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 13px;
    justify-content: space-between;
}

.rg-phone-nav span {
    width: 20px;
    height: 5px;
    border-radius: 999px;
    background: #d7e1ec;
}

.rg-phone-nav span:first-child {
    background: #1478ff;
    width: 34px;
}

.rg-phone-dark {
    padding: 18px;
    background:
        radial-gradient(circle at 72% 24%, rgba(20, 120, 255, 0.42), transparent 23%),
        linear-gradient(145deg, #070a10, #141a24);
    color: #ffffff;
}

.rg-dark-orbit {
    position: absolute;
    inset: 94px auto auto 28px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    border: 1px solid rgba(20, 120, 255, 0.54);
}

.rg-dark-orbit::before {
    content: "";
    position: absolute;
    left: -22px;
    top: 54px;
    width: 94px;
    height: 146px;
    border-radius: 50%;
    background: #ffffff;
}

.rg-float-chip {
    position: absolute;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    color: #1478ff;
    font-size: 10px;
    font-weight: 950;
    box-shadow: 0 16px 30px rgba(20, 120, 255, 0.2);
}

.rg-float-one {
    top: 122px;
    right: 26px;
}

.rg-float-two {
    top: 224px;
    right: 12px;
}

.rg-phone-dark h3 {
    position: relative;
    z-index: 2;
    margin: 270px 0 7px;
    font-size: 24px;
    line-height: 1.05;
    color: #ffffff !important;
}

.rg-phone-dark p {
    position: relative;
    z-index: 2;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    line-height: 1.5;
}

.rg-phone-dark button,
.rg-phone-code button {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 43px;
    border: 0;
    border-radius: 999px;
    background: #1478ff;
    color: #ffffff;
    font-size: 12px;
    font-weight: 950;
}

.rg-phone-card h5 {
    margin: 8px 0 14px;
    text-align: center;
    font-size: 15px;
    font-weight: 950;
}

.rg-black-card {
    position: relative;
    min-height: 94px;
    padding: 16px;
    border-radius: 17px;
    background:
        radial-gradient(circle at 100% 0%, rgba(20, 120, 255, 0.36), transparent 36%),
        linear-gradient(135deg, #050913, #171b23);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(5, 9, 19, 0.22);
}

.rg-black-card small,
.rg-black-card span {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 9px;
}

.rg-black-card strong {
    display: block;
    margin: 12px 0 10px;
    font-size: 16px;
    letter-spacing: 0.12em !important;
}

.rg-mini-menu {
    justify-content: space-around;
    gap: 8px;
    margin: 14px 0;
}

.rg-mini-menu span {
    color: #52657e;
    font-size: 9px;
    font-weight: 850;
}

.rg-code-dots {
    justify-content: center;
    gap: 13px;
    margin: 24px 0 26px;
}

.rg-code-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #1478ff;
}

.rg-keypad {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.rg-keypad span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f4f7fb;
    color: #071426;
    font-size: 18px;
    font-weight: 850;
    box-shadow: 0 12px 24px rgba(7, 20, 38, 0.06);
}

body.rg-pro-body .blob,
body.rg-pro-body .bokeh-field,
body.rg-pro-body .bokeh {
    display: none !important;
}

.rg-pro-floating-investor {
    position: fixed;
    right: clamp(-120px, -8vw, -40px);
    bottom: clamp(8px, 3vw, 48px);
    z-index: 0;
    width: min(36vw, 420px);
    max-height: 72vh;
    object-fit: contain;
    opacity: 0.18;
    pointer-events: none;
    transform-origin: bottom center;
    animation: rgInvestorFloat 7s ease-in-out infinite;
    filter: drop-shadow(0 24px 42px rgba(20, 120, 255, 0.18));
}

body.rg-front .rg-pro-floating-investor {
    opacity: 0.42;
}

body.rg-auth .rg-pro-floating-investor {
    display: none;
}

body.rg-admin .rg-pro-floating-investor {
    display: none;
}

.rg-pro-watermark {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.035;
    background-image:
        repeating-linear-gradient(-28deg, transparent 0 92px, rgba(20, 120, 255, 0.6) 92px 94px),
        repeating-linear-gradient(28deg, transparent 0 118px, rgba(5, 9, 19, 0.55) 118px 120px);
    mix-blend-mode: multiply;
}

@keyframes rgInvestorFloat {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-14px) rotate(1deg); }
}

body.rg-pro-body .main-wrapper,
body.rg-pro-body .page-wrapper,
body.rg-pro-body .container,
body.rg-pro-body .container-fluid {
    position: relative;
    z-index: 1;
}

body.rg-front,
body.rg-user {
    align-items: flex-start;
    justify-content: center;
}

body.rg-front .main-wrapper,
body.rg-user .main-wrapper,
body.rg-user > .wrap,
body.rg-user > main,
body.rg-user > section,
body.rg-front footer,
body.rg-user footer {
    width: min(100%, 540px);
    min-height: 100vh;
    margin-inline: auto;
    overflow: hidden;
    border-left: 1px solid rgba(20, 120, 255, 0.14);
    border-right: 1px solid rgba(20, 120, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 247, 255, 0.92)),
        radial-gradient(circle at 50% 0%, rgba(65, 182, 255, 0.16), transparent 34%);
    box-shadow: 0 26px 90px rgba(5, 9, 19, 0.20);
}

body.rg-front .main-wrapper,
body.rg-user .main-wrapper,
body.rg-front footer,
body.rg-user footer {
    border-radius: 0 0 34px 34px;
}

body.rg-front footer,
body.rg-user footer {
    min-height: auto;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(65, 182, 255, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(65, 182, 255, 0.08) 1px, transparent 1px),
        linear-gradient(135deg, #050913, #071426) !important;
    background-size: 22px 22px, 22px 22px, 100% 100% !important;
    color: #ffffff !important;
}

body.rg-front .header,
body.rg-front .navbar,
body.rg-front header,
body.rg-user .custom-nav,
body.rg-user .top-bar {
    width: min(100%, 540px);
    margin-inline: auto;
}

body.rg-user .bottom-nav,
body.rg-user .foot {
    left: 50% !important;
    right: auto !important;
    width: min(100%, 540px) !important;
    transform: translateX(-50%);
    border-radius: 24px 24px 0 0 !important;
}

body.rg-pro-body .modal {
    backdrop-filter: blur(12px);
}

body.rg-pro-body .modal-dialog {
    width: min(420px, calc(100% - 22px));
    margin-inline: auto;
}

body.rg-pro-body a {
    color: var(--rg-blue);
    text-decoration: none;
}

body.rg-pro-body a:hover {
    color: #005dd6;
}

body.rg-pro-body .preloader {
    background: var(--rg-black) !important;
}

body.rg-pro-body .animated-preloader,
body.rg-pro-body .spinner-border {
    border-color: rgba(65, 182, 255, 0.2);
    border-top-color: var(--rg-blue) !important;
}

body.rg-pro-body .btn,
body.rg-pro-body .btn--base,
body.rg-pro-body .cmn-btn,
body.rg-pro-body button[type="submit"],
body.rg-pro-body .btn-login,
body.rg-pro-body .btn-join-now {
    border: 0 !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, var(--rg-blue), #0057d8) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    box-shadow: 0 14px 32px rgba(20, 120, 255, 0.24) !important;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease !important;
}

body.rg-pro-body .btn:hover,
body.rg-pro-body .btn--base:hover,
body.rg-pro-body .cmn-btn:hover,
body.rg-pro-body button[type="submit"]:hover,
body.rg-pro-body .btn-login:hover,
body.rg-pro-body .btn-join-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(20, 120, 255, 0.32) !important;
}

body.rg-pro-body .btn-danger,
body.rg-pro-body .bg-danger {
    background: linear-gradient(135deg, #ff3b5f, #c91639) !important;
}

body.rg-pro-body .card,
body.rg-pro-body .invest-card,
body.rg-pro-body .content-area,
body.rg-pro-body .modal-content,
body.rg-pro-body .account-form,
body.rg-pro-body .pricing-card,
body.rg-pro-body .feature-card,
body.rg-pro-body .blog-card,
body.rg-pro-body .plan-card {
    border: 1px solid rgba(20, 120, 255, 0.16) !important;
    border-radius: var(--rg-radius) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 246, 255, 0.88)) !important;
    box-shadow: var(--rg-shadow) !important;
    backdrop-filter: blur(18px);
}

body.rg-pro-body .modal-content {
    overflow: hidden;
}

body.rg-pro-body .modal-header {
    border-bottom-color: rgba(20, 120, 255, 0.16) !important;
    background: linear-gradient(135deg, var(--rg-black), var(--rg-black-2));
    color: #ffffff;
}

body.rg-pro-body .modal-footer {
    border-top-color: rgba(20, 120, 255, 0.16) !important;
}

body.rg-pro-body .form-control,
body.rg-pro-body .input-bordered,
body.rg-pro-body input[type="text"],
body.rg-pro-body input[type="email"],
body.rg-pro-body input[type="password"],
body.rg-pro-body input[type="number"],
body.rg-pro-body input[type="tel"],
body.rg-pro-body select,
body.rg-pro-body textarea {
    border: 1px solid rgba(20, 120, 255, 0.22) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    color: #0d1d31 !important;
    font-weight: 700;
    box-shadow: none !important;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

body.rg-pro-body .form-control:focus,
body.rg-pro-body .input-bordered:focus,
body.rg-pro-body input:focus,
body.rg-pro-body select:focus,
body.rg-pro-body textarea:focus {
    border-color: var(--rg-blue) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(20, 120, 255, 0.12) !important;
    outline: 0;
}

body.rg-pro-body .table {
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
}

body.rg-pro-body .table thead th {
    border: 0 !important;
    color: var(--rg-muted) !important;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

body.rg-pro-body .table tbody tr {
    background: transparent !important;
}

body.rg-pro-body .table tbody td {
    border-top: 1px solid rgba(20, 120, 255, 0.12) !important;
    border-bottom: 1px solid rgba(20, 120, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.9);
    color: #17243a;
    vertical-align: middle;
}

body.rg-pro-body .table tbody td:first-child {
    border-left: 1px solid rgba(20, 120, 255, 0.12) !important;
    border-radius: 14px 0 0 14px;
}

body.rg-pro-body .table tbody td:last-child {
    border-right: 1px solid rgba(20, 120, 255, 0.12) !important;
    border-radius: 0 14px 14px 0;
}

body.rg-front .header,
body.rg-front .navbar,
body.rg-front header,
body.rg-user .custom-nav,
body.rg-user .top-bar {
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background:
        linear-gradient(90deg, rgba(20, 120, 255, 0.12) 1px, transparent 1px),
        linear-gradient(180deg, rgba(20, 120, 255, 0.12) 1px, transparent 1px),
        linear-gradient(135deg, var(--rg-black), var(--rg-black-2)) !important;
    background-size: 22px 22px, 22px 22px, 100% 100% !important;
    color: #ffffff !important;
    box-shadow: 0 18px 45px rgba(4, 12, 28, 0.18) !important;
}

body.rg-front .banner-section,
body.rg-front .hero,
body.rg-front .inner-banner,
body.rg-front .page-header {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 28px 28px;
    background:
        linear-gradient(90deg, rgba(20, 120, 255, 0.10) 1px, transparent 1px),
        linear-gradient(180deg, rgba(20, 120, 255, 0.10) 1px, transparent 1px),
        linear-gradient(135deg, #03070f 0%, #071426 58%, #0d2b5c 100%) !important;
    background-size: 26px 26px, 26px 26px, 100% 100% !important;
    color: #ffffff !important;
}

body.rg-front h1,
body.rg-front h2,
body.rg-front h3,
body.rg-front .section-title,
body.rg-auth h1,
body.rg-auth h2,
body.rg-auth h3 {
    color: #ffffff;
    letter-spacing: 0 !important;
}

body.rg-front section:not(.banner-section):not(.hero):not(.inner-banner) h1,
body.rg-front section:not(.banner-section):not(.hero):not(.inner-banner) h2,
body.rg-front section:not(.banner-section):not(.hero):not(.inner-banner) h3 {
    color: #071426;
}

body.rg-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 22px;
}

body.rg-auth .logo,
body.rg-auth .card-profile-image img {
    filter: drop-shadow(0 18px 34px rgba(20, 120, 255, 0.2));
}

body.rg-auth .rg-auth-page {
    position: relative;
    z-index: 2;
    width: min(850px, 100%);
    min-height: min(860px, calc(100vh - 28px));
    display: grid;
    grid-template-columns: minmax(320px, 380px) minmax(360px, 430px);
    gap: 22px;
    align-items: stretch;
    justify-content: center;
}

body.rg-auth .rg-auth-showcase,
body.rg-auth .rg-auth-phone {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 34px;
    background:
        linear-gradient(90deg, rgba(65, 182, 255, 0.10) 1px, transparent 1px),
        linear-gradient(180deg, rgba(65, 182, 255, 0.10) 1px, transparent 1px),
        linear-gradient(145deg, rgba(5, 9, 19, 0.94), rgba(7, 20, 38, 0.9) 55%, rgba(20, 120, 255, 0.76));
    background-size: 24px 24px, 24px 24px, 100% 100%;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.28);
}

body.rg-auth .rg-auth-showcase {
    min-height: 720px;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        radial-gradient(circle at 72% 24%, rgba(20, 120, 255, 0.42), transparent 23%),
        linear-gradient(145deg, #050913, #151b25) !important;
}

body.rg-auth .rg-auth-brand-row,
body.rg-auth .rg-auth-status-row,
body.rg-auth .rg-auth-actions,
body.rg-auth .rg-auth-mini-grid,
body.rg-auth .rg-auth-form-row,
body.rg-auth .rg-auth-top {
    display: flex;
    align-items: center;
}

body.rg-auth .rg-auth-brand-row {
    justify-content: space-between;
    gap: 16px;
}

body.rg-auth .rg-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}

body.rg-auth .rg-auth-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff, #dff0ff);
    color: var(--rg-blue);
    font-weight: 950;
    box-shadow: 0 18px 44px rgba(20, 120, 255, 0.28);
}

body.rg-auth .rg-auth-brand strong {
    display: block;
    font-size: 17px;
    font-weight: 950;
    letter-spacing: 0 !important;
}

body.rg-auth .rg-auth-brand span,
body.rg-auth .rg-auth-chip,
body.rg-auth .rg-auth-text,
body.rg-auth .rg-auth-small,
body.rg-auth .rg-auth-linkline {
    color: rgba(255, 255, 255, 0.72);
}

body.rg-auth .rg-auth-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(14px);
}

body.rg-auth .rg-auth-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #41b6ff;
    box-shadow: 0 0 0 6px rgba(65, 182, 255, 0.12), 0 0 22px rgba(65, 182, 255, 0.9);
    animation: rgPulse 1.8s ease-in-out infinite;
}

@keyframes rgPulse {
    0%, 100% { transform: scale(0.88); opacity: 0.72; }
    50% { transform: scale(1.15); opacity: 1; }
}

body.rg-auth .rg-auth-hero-copy {
    margin-top: auto;
}

body.rg-auth .rg-auth-kicker {
    display: inline-flex;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(65, 182, 255, 0.12);
    color: #b9e6ff;
    border: 1px solid rgba(65, 182, 255, 0.22);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em !important;
}

body.rg-auth .rg-auth-title {
    margin: 18px 0 12px;
    font-size: clamp(35px, 4vw, 48px);
    line-height: 1;
    font-weight: 950;
    color: #ffffff !important;
}

body.rg-auth .rg-auth-text {
    font-size: 16px;
    line-height: 1.8;
}

body.rg-auth .rg-auth-visual {
    position: absolute;
    right: -78px;
    bottom: 110px;
    width: min(32vw, 300px);
    pointer-events: none;
    transform-style: preserve-3d;
    opacity: 0.9;
}

body.rg-auth .rg-auth-person {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 36px 60px rgba(20, 120, 255, 0.34));
    animation: rgInvestorFloat 7s ease-in-out infinite;
}

body.rg-auth .rg-auth-orbit {
    position: absolute;
    inset: auto 13% 9% auto;
    width: 160px;
    height: 160px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    transform: rotateX(62deg) rotateZ(-18deg);
    animation: rgOrbit 11s linear infinite;
}

body.rg-auth .rg-auth-orbit::before,
body.rg-auth .rg-auth-orbit::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #41b6ff;
    box-shadow: 0 0 32px rgba(65, 182, 255, 0.8);
}

body.rg-auth .rg-auth-orbit::before { top: -9px; left: 45%; }
body.rg-auth .rg-auth-orbit::after { bottom: -9px; right: 20%; background: #ffffff; }

@keyframes rgOrbit {
    to { transform: rotateX(62deg) rotateZ(342deg); }
}

body.rg-auth .rg-auth-mini-grid {
    position: relative;
    z-index: 2;
    margin-top: 24px;
    gap: 12px;
    flex-wrap: wrap;
}

body.rg-auth .rg-auth-mini {
    min-width: 100%;
    flex: 0 0 100%;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    backdrop-filter: blur(16px);
    transform: translateZ(0);
    animation: rgMiniRise 700ms ease both;
}

body.rg-auth .rg-auth-mini:nth-child(2) { animation-delay: 90ms; }
body.rg-auth .rg-auth-mini:nth-child(3) { animation-delay: 180ms; }

@keyframes rgMiniRise {
    from { opacity: 0; transform: translateY(18px) rotateX(18deg); }
    to { opacity: 1; transform: translateY(0) rotateX(0); }
}

body.rg-auth .rg-auth-mini strong {
    display: block;
    font-size: 20px;
    font-weight: 950;
}

body.rg-auth .rg-auth-mini span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
    font-weight: 800;
}

body.rg-auth .rg-auth-phone {
    max-width: 430px;
    width: 100%;
    min-height: 720px;
    padding: 16px;
    justify-self: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(230, 242, 255, 0.92)),
        radial-gradient(circle at 30% 0%, rgba(65, 182, 255, 0.26), transparent 35%);
    border-color: rgba(255, 255, 255, 0.72);
}

body.rg-auth .rg-auth-phone::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 28px;
    border: 1px solid rgba(20, 120, 255, 0.12);
    pointer-events: none;
}

body.rg-auth .rg-auth-top {
    position: relative;
    z-index: 2;
    justify-content: space-between;
    margin-bottom: 16px;
    color: #071426;
}

body.rg-auth .rg-auth-time {
    font-weight: 950;
    font-size: 13px;
}

body.rg-auth .rg-auth-signal {
    display: inline-flex;
    gap: 5px;
}

body.rg-auth .rg-auth-signal span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--rg-blue);
}

body.rg-auth .rg-auth-form-card {
    position: relative;
    z-index: 2;
    min-height: calc(100% - 34px);
    display: flex;
    flex-direction: column;
    padding: 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(20, 120, 255, 0.12);
    box-shadow: 0 24px 56px rgba(5, 9, 19, 0.12);
    backdrop-filter: blur(18px);
}

body.rg-auth .rg-auth-form-head {
    margin-bottom: 18px;
}

body.rg-auth .rg-auth-form-card .rg-auth-chip {
    background: rgba(20, 120, 255, 0.09);
    border-color: rgba(20, 120, 255, 0.16);
    color: #1d4f90;
}

body.rg-auth .rg-auth-form-head h1 {
    margin: 16px 0 8px;
    color: #071426 !important;
    font-size: 31px;
    line-height: 1.08;
    font-weight: 950;
}

body.rg-auth .rg-auth-form-head p {
    margin: 0;
    color: #6c7a91;
    line-height: 1.6;
    font-size: 14px;
    font-weight: 700;
}

body.rg-auth .rg-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    padding: 5px;
    border-radius: 16px;
    background: #eaf4ff;
    margin-bottom: 18px;
}

body.rg-auth .rg-auth-tab {
    min-height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #5d6f88;
    font-size: 13px;
    font-weight: 950;
    border: 0;
    background: transparent;
}

body.rg-auth .rg-auth-tab.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--rg-blue), #0057d8);
    box-shadow: 0 12px 26px rgba(20, 120, 255, 0.24);
}

body.rg-auth .rg-auth-form {
    display: grid;
    gap: 14px;
}

body.rg-auth .rg-field label {
    display: block;
    margin-bottom: 8px;
    color: #31435b;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.04em !important;
}

body.rg-auth .rg-field-wrap {
    position: relative;
}

body.rg-auth .rg-field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--rg-blue);
    pointer-events: none;
}

body.rg-auth .rg-auth-form input,
body.rg-auth .rg-auth-form select {
    width: 100%;
    min-height: 54px;
    padding: 0 15px;
    border-radius: 16px !important;
    font-size: 15px;
    font-weight: 850;
}

body.rg-auth .rg-field-wrap input {
    padding-left: 44px;
}

body.rg-auth .rg-pass-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 12px;
    background: rgba(20, 120, 255, 0.08);
    color: var(--rg-blue);
    cursor: pointer;
}

body.rg-auth .rg-auth-form-row {
    justify-content: space-between;
    gap: 12px;
}

body.rg-auth .rg-auth-link {
    color: var(--rg-blue) !important;
    font-size: 13px;
    font-weight: 950;
}

body.rg-auth .rg-auth-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6c7a91;
    font-size: 12px;
    font-weight: 800;
}

body.rg-auth .rg-auth-check input {
    width: 18px;
    min-height: 18px;
    height: 18px;
    accent-color: var(--rg-blue);
}

body.rg-auth .rg-auth-submit,
body.rg-auth .rg-auth-secondary,
body.rg-auth .rg-code-btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 16px !important;
    font-size: 15px;
    font-weight: 950;
    cursor: pointer;
}

body.rg-auth .rg-auth-secondary {
    background: #071426 !important;
    color: #ffffff !important;
    box-shadow: 0 14px 32px rgba(7, 20, 38, 0.20) !important;
}

body.rg-auth .rg-code-row {
    display: grid;
    grid-template-columns: 1fr 112px;
    gap: 9px;
}

body.rg-auth .rg-phone-row {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 9px;
}

body.rg-auth .rg-code-btn {
    border: 0;
    background: #071426;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(7, 20, 38, 0.20);
}

body.rg-auth .rg-auth-linkline {
    margin-top: auto;
    padding-top: 18px;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
}

body.rg-auth .rg-auth-linkline a {
    color: var(--rg-blue) !important;
    font-weight: 950;
}

body.rg-auth .rg-auth-card-stack {
    position: relative;
    height: 132px;
    margin: 8px 0 18px;
    perspective: 900px;
}

body.rg-auth .rg-virtual-card {
    position: absolute;
    inset: 12px 14px auto 14px;
    height: 104px;
    border-radius: 22px;
    padding: 18px;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.10) 1px, transparent 1px),
        linear-gradient(135deg, #050913 0%, #1478ff 62%, #41b6ff 100%);
    background-size: 20px 20px, 20px 20px, 100% 100%;
    box-shadow: 0 24px 52px rgba(20, 120, 255, 0.28);
    transform: rotateX(11deg) rotateY(-13deg) rotateZ(-2deg);
    animation: rgCardTilt 6s ease-in-out infinite;
}

body.rg-auth .rg-virtual-card::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 18px;
    width: 42px;
    height: 30px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.26);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

@keyframes rgCardTilt {
    0%, 100% { transform: rotateX(11deg) rotateY(-13deg) rotateZ(-2deg) translateY(0); }
    50% { transform: rotateX(5deg) rotateY(-6deg) rotateZ(2deg) translateY(-8px); }
}

body.rg-auth .rg-card-label {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

body.rg-auth .rg-card-value {
    display: block;
    margin-top: 18px;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: 0.04em !important;
}

body.rg-auth .rg-card-foot {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 900;
}

body.rg-auth .rg-auth-error {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 59, 95, 0.22);
    background: rgba(255, 59, 95, 0.08);
    color: #c91639;
    font-size: 13px;
    font-weight: 850;
}

body.rg-auth .rg-auth-notice {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 13px;
    border-radius: 18px;
    background: rgba(20, 120, 255, 0.08);
    color: #31435b;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.55;
}

@media (max-width: 980px) {
    body.rg-auth {
        padding: 14px;
        align-items: flex-start;
    }

    body.rg-auth .rg-auth-page {
        width: min(460px, 100%);
        min-height: auto;
        display: block;
    }

    body.rg-auth .rg-auth-showcase {
        min-height: 230px;
        padding: 18px;
        margin-bottom: 14px;
        border-radius: 28px;
    }

    body.rg-auth .rg-auth-title {
        margin-top: 14px;
        font-size: clamp(28px, 10vw, 42px);
    }

    body.rg-auth .rg-auth-text {
        font-size: 13px;
        line-height: 1.65;
    }

    body.rg-auth .rg-auth-mini-grid {
        display: none;
    }

    body.rg-auth .rg-auth-visual {
        right: -88px;
        bottom: -72px;
        width: 240px;
        opacity: 0.72;
    }

    body.rg-auth .rg-auth-orbit {
        width: 128px;
        height: 128px;
    }

    body.rg-auth .rg-auth-phone {
        min-height: auto;
        border-radius: 30px;
        padding: 12px;
    }

    body.rg-auth .rg-auth-form-card {
        min-height: auto;
        padding: 18px;
        border-radius: 24px;
    }

    body.rg-auth .rg-auth-card-stack {
        height: 112px;
    }

    body.rg-auth .rg-virtual-card {
        height: 92px;
    }
}

@media (max-width: 420px) {
    body.rg-auth {
        padding: 10px;
    }

    body.rg-auth .rg-auth-showcase {
        min-height: 205px;
    }

    body.rg-auth .rg-auth-brand strong {
        font-size: 15px;
    }

    body.rg-auth .rg-auth-chip {
        min-height: 34px;
        padding: 0 10px;
        font-size: 11px;
    }

    body.rg-auth .rg-auth-form-head h1 {
        font-size: 27px;
    }

    body.rg-auth .rg-code-row,
    body.rg-auth .rg-phone-row {
        grid-template-columns: 1fr;
    }

    body.rg-auth .rg-auth-form-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

body.rg-user {
    padding-bottom: 92px !important;
}

body.rg-user .custom-nav {
    border-radius: 0 0 24px 24px !important;
}

body.rg-user .bottom-nav,
body.rg-user .foot {
    border-top: 1px solid rgba(20, 120, 255, 0.14) !important;
    background: rgba(255, 255, 255, 0.88) !important;
    box-shadow: 0 -18px 50px rgba(4, 12, 28, 0.16);
    backdrop-filter: blur(18px);
}

body.rg-user .bottom-nav .nav-item,
body.rg-user .foot a {
    color: #708096 !important;
}

body.rg-user .bottom-nav .nav-item.active,
body.rg-user .foot .on a {
    color: var(--rg-blue) !important;
}

body.rg-user .icon-wrapper,
body.rg-user .vip-card,
body.rg-user .notice-bar,
body.rg-user .card-stats-grid {
    border: 1px solid rgba(20, 120, 255, 0.16) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    box-shadow: 0 14px 34px rgba(4, 12, 28, 0.08) !important;
}

body.rg-user .vip-card {
    background: linear-gradient(135deg, var(--rg-black), #0b2b63) !important;
}

body.rg-user .icon-wrapper i,
body.rg-user .menu-icon,
body.rg-user .material-icons-round {
    color: var(--rg-blue) !important;
}

body.rg-admin {
    background: #f4f8ff !important;
}

body.rg-admin .page-wrapper {
    background: transparent !important;
}

body.rg-admin .sidebar {
    border-right: 1px solid rgba(20, 120, 255, 0.18);
    background:
        linear-gradient(90deg, rgba(20, 120, 255, 0.10) 1px, transparent 1px),
        linear-gradient(180deg, rgba(20, 120, 255, 0.10) 1px, transparent 1px),
        linear-gradient(180deg, #03070f, #071426) !important;
    background-size: 22px 22px, 22px 22px, 100% 100% !important;
}

body.rg-admin .sidebar__logo,
body.rg-admin .navbar-wrapper,
body.rg-admin .breadcrumb-plugins,
body.rg-admin .bodywrapper__inner {
    position: relative;
}

body.rg-admin .sidebar__menu .sidebar-menu-item a,
body.rg-admin .sidebar .nav-link,
body.rg-admin .menu-title {
    color: rgba(255, 255, 255, 0.74) !important;
}

body.rg-admin .sidebar__menu .sidebar-menu-item.active > a,
body.rg-admin .sidebar__menu .sidebar-menu-item a:hover {
    border-radius: 14px !important;
    background: rgba(20, 120, 255, 0.16) !important;
    color: #ffffff !important;
}

body.rg-admin .menu-icon {
    color: var(--rg-blue-2) !important;
}

body.rg-admin .navbar-wrapper,
body.rg-admin .navbar {
    border: 1px solid rgba(20, 120, 255, 0.12) !important;
    border-radius: 0 0 18px 18px;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 14px 34px rgba(4, 12, 28, 0.08) !important;
    backdrop-filter: blur(16px);
}

body.rg-admin .body-wrapper {
    background: transparent !important;
}

.rg-pro-toast {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 2147483000;
    display: grid;
    gap: 8px;
    pointer-events: none;
}

.rg-pro-toast-item {
    min-width: min(340px, calc(100vw - 32px));
    padding: 14px 16px;
    border: 1px solid rgba(65, 182, 255, 0.26);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(5, 9, 19, 0.96), rgba(7, 20, 38, 0.96));
    color: #ffffff;
    box-shadow: 0 18px 42px rgba(4, 12, 28, 0.3);
    animation: rgToastIn 240ms ease both;
}

.rg-pro-toast-item strong,
.rg-pro-toast-item span {
    display: block;
}

.rg-pro-toast-item strong {
    font-size: 14px;
    font-weight: 900;
}

.rg-pro-toast-item span {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 700;
}

@keyframes rgToastIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.rg-pro-secure-veil {
    position: fixed;
    inset: 0;
    z-index: 2147482999;
    display: none;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(90deg, rgba(65, 182, 255, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(65, 182, 255, 0.08) 1px, transparent 1px),
        rgba(3, 7, 15, 0.92);
    background-size: 24px 24px, 24px 24px, 100% 100%;
    color: #ffffff;
    text-align: center;
    backdrop-filter: blur(16px);
}

body.rg-secure-hidden .rg-pro-secure-veil {
    display: grid;
}

.rg-pro-secure-veil > div {
    max-width: 360px;
    padding: 28px;
    border: 1px solid rgba(65, 182, 255, 0.22);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
}

.rg-pro-lock {
    display: inline-grid;
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--rg-blue), var(--rg-blue-2));
}

.rg-pro-lock::before {
    content: "\1F512";
    font-size: 26px;
}

.rg-pro-secure-veil strong {
    display: block;
    font-size: 22px;
    font-weight: 900;
}

.rg-pro-secure-veil small {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.72);
}

body.rg-no-select,
body.rg-no-select *:not(input):not(textarea):not([contenteditable="true"]) {
    user-select: none !important;
    -webkit-user-select: none !important;
}

@media print {
    body.rg-pro-body * {
        visibility: hidden !important;
    }

    body.rg-pro-body::before {
        visibility: visible !important;
        content: "Protected Rich Garden page";
        display: block;
        padding: 40px;
        color: #000;
        font-size: 24px;
        font-weight: 800;
    }
}

@media (max-width: 991px) {
    .rg-pro-floating-investor {
        width: 46vw;
        opacity: 0.14;
    }

    body.rg-front .rg-pro-floating-investor {
        opacity: 0.24;
    }
}

@media (max-width: 575px) {
    body.rg-pro-body {
        background:
            linear-gradient(90deg, rgba(20, 120, 255, 0.06) 1px, transparent 1px),
            linear-gradient(180deg, rgba(20, 120, 255, 0.06) 1px, transparent 1px),
            linear-gradient(180deg, #03070f 0%, #071426 20%, #f7fbff 20%, #ffffff 100%) !important;
        background-size: 22px 22px, 22px 22px, 100% 100% !important;
    }

    body.rg-front .main-wrapper,
    body.rg-user .main-wrapper,
    body.rg-user > .wrap,
    body.rg-user > main,
    body.rg-user > section,
    body.rg-front footer,
    body.rg-user footer {
        width: 100%;
        border-left: 0;
        border-right: 0;
        border-radius: 0 !important;
        box-shadow: none;
    }

    body.rg-front .header,
    body.rg-front .navbar,
    body.rg-front header,
    body.rg-user .custom-nav,
    body.rg-user .top-bar {
        width: 100%;
        border-radius: 0 0 22px 22px !important;
    }

    .rg-pro-floating-investor {
        right: -120px;
        bottom: 72px;
        width: 72vw;
        max-height: 48vh;
    }

    body.rg-pro-body .card,
    body.rg-pro-body .invest-card,
    body.rg-pro-body .modal-content {
        border-radius: 16px !important;
    }

    .rg-pro-toast {
        top: 12px;
        right: 12px;
        left: 12px;
    }
}

/* Blue mobile-app skin inspired by the supplied reference mockup. */
body.rg-pro-body,
body.rg-pro-body.rg-user,
body.rg-pro-body.rg-auth {
    background:
        radial-gradient(circle at 8% 12%, rgba(20, 120, 255, 0.10), transparent 24%),
        radial-gradient(circle at 92% 14%, rgba(65, 182, 255, 0.12), transparent 25%),
        linear-gradient(115deg, #f4f9ff 0%, #e7f3ff 46%, #ffffff 100%) !important;
}

.rg-pro-floating-investor {
    display: none !important;
}

.rg-app-screenscape {
    opacity: 0.42 !important;
    filter: saturate(1.08);
}

body.rg-user .rg-app-screenscape {
    opacity: 0.12 !important;
}

body.rg-auth .rg-app-screenscape {
    opacity: 0.24 !important;
}

body.rg-user {
    max-width: 540px !important;
    margin: 0 auto !important;
    overflow-x: hidden !important;
    color: #091a2f !important;
}

body.rg-user > .main-wrapper,
body.rg-user > .wrap,
body.rg-user > main,
body.rg-user > section {
    width: min(100%, 540px) !important;
    min-height: 100vh !important;
    margin: 0 auto !important;
    border: 1px solid rgba(20, 120, 255, 0.10) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(237, 247, 255, 0.94) 62%, #ffffff 100%) !important;
    box-shadow: 0 34px 90px rgba(7, 20, 38, 0.18) !important;
}

body.rg-user .custom-nav,
body.rg-user .app-header {
    position: relative !important;
    z-index: 2 !important;
    min-height: 108px !important;
    padding: 46px 24px 28px !important;
    border: 0 !important;
    border-radius: 0 0 34px 34px !important;
    background:
        radial-gradient(circle at 100% 32%, rgba(255, 255, 255, 0.24), transparent 28%),
        linear-gradient(135deg, #1478ff 0%, #0057d8 72%, #003d9a 100%) !important;
    background-size: 100% 100% !important;
    box-shadow: 0 20px 50px rgba(20, 120, 255, 0.26) !important;
    color: #ffffff !important;
}

body.rg-user .custom-nav::after,
body.rg-user .app-header::after,
body.rg-user .banner-container::after {
    content: "" !important;
    position: absolute !important;
    right: -54px !important;
    bottom: -74px !important;
    width: 190px !important;
    height: 190px !important;
    border: 1px solid rgba(255, 255, 255, 0.32) !important;
    border-radius: 48% 52% 46% 54% !important;
    pointer-events: none !important;
}

body.rg-user .custom-nav h1,
body.rg-user .app-header h2,
body.rg-user .app-header p,
body.rg-user .header-text h2,
body.rg-user .header-text p {
    color: #ffffff !important;
    letter-spacing: 0 !important;
}

body.rg-user .custom-nav h1 {
    font-size: 22px !important;
    font-weight: 950 !important;
}

body.rg-user .custom-nav .material-icons-round,
body.rg-user .app-header .material-icons-round {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

body.rg-user .banner-container {
    position: relative !important;
    z-index: 3 !important;
    min-height: 172px !important;
    margin: -20px 16px 18px !important;
    padding: 22px !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 0 32px 32px !important;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.26), transparent 30%),
        linear-gradient(135deg, #1478ff, #0057d8) !important;
    box-shadow: 0 24px 58px rgba(20, 120, 255, 0.28) !important;
}

body.rg-user .banner-container::before {
    content: "" !important;
    position: absolute !important;
    left: auto !important;
    right: 18px !important;
    top: 18px !important;
    z-index: 2 !important;
    width: 74px !important;
    height: 74px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.13) !important;
}

body.rg-user .banner-container .banner-img,
body.rg-user .banner-img {
    opacity: 0 !important;
    width: 100% !important;
    height: 132px !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.rg-user .banner-container > img + * {
    position: relative !important;
    z-index: 2 !important;
}

body.rg-user .rg-dashboard-balance {
    position: absolute !important;
    inset: 24px 22px 20px !important;
    z-index: 4 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    color: #ffffff !important;
}

body.rg-user .rg-dashboard-balance span {
    margin-bottom: 8px !important;
    color: rgba(255, 255, 255, 0.76) !important;
    font-size: 12px !important;
    font-weight: 850 !important;
}

body.rg-user .rg-dashboard-balance strong {
    color: #ffffff !important;
    font-size: clamp(28px, 8vw, 38px) !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
}

body.rg-user .rg-dashboard-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 18px !important;
}

body.rg-user .rg-dashboard-actions a {
    min-height: 33px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #071426 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-align: center !important;
    white-space: nowrap !important;
    line-height: 1 !important;
}

body.rg-user .rg-dashboard-actions a + a {
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

body.rg-user .notice-bar {
    min-height: 48px !important;
    margin: 0 16px 18px !important;
    padding: 12px 16px !important;
    border: 1px solid rgba(20, 120, 255, 0.10) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 18px 40px rgba(7, 20, 38, 0.08) !important;
}

body.rg-user .notice-bar i,
body.rg-user .notice-bar .material-icons-round {
    color: #1478ff !important;
    -webkit-text-fill-color: #1478ff !important;
}

body.rg-user marquee {
    color: #44556d !important;
    font-size: 12px !important;
    font-weight: 850 !important;
}

body.rg-user .menu-grid {
    position: relative !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 0 16px 24px !important;
}

body.rg-user .menu-grid::before {
    content: "Quick Access" !important;
    grid-column: 1 / -1 !important;
    color: #071426 !important;
    font-size: 17px !important;
    font-weight: 950 !important;
    margin: 0 0 2px !important;
}

body.rg-user .menu-item,
body.rg-user .action-btn {
    min-height: 102px !important;
    display: grid !important;
    place-items: center !important;
    gap: 7px !important;
    padding: 15px 10px !important;
    border: 1px solid rgba(20, 120, 255, 0.10) !important;
    border-radius: 24px !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.96)) !important;
    box-shadow: 0 18px 44px rgba(7, 20, 38, 0.08) !important;
    color: #071426 !important;
    text-decoration: none !important;
}

body.rg-user .icon-wrapper,
body.rg-user .action-icon,
body.rg-user .menu-icon-wrap {
    width: 52px !important;
    height: 52px !important;
    margin: 0 auto !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, #eef7ff, #ffffff) !important;
    box-shadow: inset 0 -8px 18px rgba(20, 120, 255, 0.08), 0 12px 24px rgba(20, 120, 255, 0.10) !important;
}

body.rg-user .icon-wrapper i,
body.rg-user .action-icon i,
body.rg-user .menu-icon-wrap i {
    color: #1478ff !important;
    -webkit-text-fill-color: #1478ff !important;
    background: none !important;
    font-size: 26px !important;
}

body.rg-user .menu-item p,
body.rg-user .action-btn p,
body.rg-user .menu-item span {
    margin: 0 !important;
    color: #071426 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-align: center !important;
}

body.rg-user .menu-section .menu-item {
    min-height: 74px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 16px !important;
}

body.rg-user .menu-section .menu-link {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

body.rg-user .menu-section .menu-item span {
    text-align: left !important;
    font-size: 14px !important;
}

body.rg-user .section-title {
    padding: 0 20px 14px !important;
    color: #071426 !important;
    font-size: 19px !important;
    font-weight: 950 !important;
}

body.rg-user .pro-list {
    padding-bottom: 14px !important;
}

body.rg-user .invest-card,
body.rg-user .wallet-container,
body.rg-user .menu-section .menu-item,
body.rg-user .vip-card {
    margin-left: 16px !important;
    margin-right: 16px !important;
    border: 1px solid rgba(20, 120, 255, 0.10) !important;
    border-radius: 28px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 22px 54px rgba(7, 20, 38, 0.10) !important;
    color: #071426 !important;
    backdrop-filter: blur(18px) !important;
}

body.rg-user .card-top-header {
    gap: 12px !important;
    align-items: center !important;
}

body.rg-user .card-brand-info img,
body.rg-user .profile-img {
    border: 0 !important;
    border-radius: 18px !important;
    box-shadow: 0 14px 28px rgba(20, 120, 255, 0.14) !important;
}

body.rg-user .card-brand-info h3,
body.rg-user .wallet-balance {
    color: #071426 !important;
    font-weight: 950 !important;
}

body.rg-user .card-subtitle-price,
body.rg-user .wallet-label,
body.rg-user .stat-box-item span {
    color: #1478ff !important;
    font-weight: 900 !important;
}

body.rg-user .btn-join-now,
body.rg-user .btn-coming-soon,
body.rg-user .btn-modern-logout,
body.rg-user button[type="submit"] {
    min-height: 45px !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #1478ff, #0057d8) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    box-shadow: 0 14px 30px rgba(20, 120, 255, 0.22) !important;
}

body.rg-user .btn-coming-soon {
    background: #dceaff !important;
    color: #1478ff !important;
    box-shadow: none !important;
}

body.rg-user .card-stats-grid {
    gap: 8px !important;
    padding: 10px !important;
    border: 0 !important;
    border-radius: 22px !important;
    background: #f3f8ff !important;
    box-shadow: none !important;
}

body.rg-user .stat-box-item {
    min-height: 66px !important;
    display: grid !important;
    place-items: center !important;
    padding: 8px 4px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
}

body.rg-user .stat-box-item p {
    color: #071426 !important;
    font-size: 12px !important;
    font-weight: 950 !important;
}

body.rg-user .bottom-nav,
body.rg-user .foot {
    left: 50% !important;
    right: auto !important;
    bottom: 12px !important;
    width: min(calc(100% - 28px), 512px) !important;
    height: 72px !important;
    transform: translateX(-50%) !important;
    border: 1px solid rgba(20, 120, 255, 0.12) !important;
    border-radius: 26px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 20px 48px rgba(7, 20, 38, 0.18) !important;
    backdrop-filter: blur(18px) !important;
}

body.rg-user .bottom-nav .nav-item,
body.rg-user .foot a {
    position: relative !important;
    color: #7a8aa2 !important;
}

body.rg-user .bottom-nav .nav-item i,
body.rg-user .foot a i {
    color: currentColor !important;
    -webkit-text-fill-color: currentColor !important;
}

body.rg-user .bottom-nav .nav-item.active,
body.rg-user .foot .on a {
    color: #1478ff !important;
}

body.rg-user .bottom-nav .nav-item.active::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: -7px !important;
    width: 28px !important;
    height: 4px !important;
    transform: translateX(-50%) !important;
    border-radius: 999px !important;
    background: #1478ff !important;
}

body.rg-user .notif-overlay {
    background: rgba(5, 9, 19, 0.54) !important;
    backdrop-filter: blur(16px) !important;
}

body.rg-user .notif-card {
    max-width: 340px !important;
    border: 1px solid rgba(20, 120, 255, 0.12) !important;
    border-radius: 30px !important;
    background: #ffffff !important;
    box-shadow: 0 30px 80px rgba(7, 20, 38, 0.22) !important;
}

body.rg-auth {
    align-items: center !important;
    justify-content: center !important;
    padding: 18px !important;
}

body.rg-auth .rg-auth-page {
    width: min(430px, 100%) !important;
    min-height: min(860px, calc(100vh - 24px)) !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
}

body.rg-auth .rg-auth-showcase {
    display: none !important;
}

body.rg-auth .rg-auth-phone {
    min-height: min(860px, calc(100vh - 24px)) !important;
    padding: 14px !important;
    border: 1px solid rgba(20, 120, 255, 0.12) !important;
    border-radius: 38px !important;
    background: #ffffff !important;
    color: #071426 !important;
    box-shadow: 0 34px 90px rgba(7, 20, 38, 0.22) !important;
}

body.rg-auth .rg-auth-phone::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    height: 238px !important;
    border-radius: 37px 37px 34px 34px !important;
    background:
        radial-gradient(circle at 100% 24%, rgba(255, 255, 255, 0.24), transparent 31%),
        linear-gradient(135deg, #1478ff, #0057d8) !important;
}

body.rg-auth .rg-auth-top,
body.rg-auth .rg-auth-form-card {
    position: relative !important;
    z-index: 2 !important;
}

body.rg-auth .rg-auth-top {
    color: #ffffff !important;
}

body.rg-auth .rg-auth-form-card {
    margin-top: 62px !important;
    border: 1px solid rgba(20, 120, 255, 0.10) !important;
    border-radius: 32px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 28px 64px rgba(7, 20, 38, 0.14) !important;
}

body.rg-auth .rg-auth-card-stack {
    display: block !important;
}

body.rg-auth .rg-virtual-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(65, 182, 255, 0.26), transparent 32%),
        linear-gradient(135deg, #050913, #111827) !important;
    border-radius: 22px !important;
}

body.rg-auth .rg-auth-form-head h1,
body.rg-auth .rg-auth-form-head p,
body.rg-auth .rg-field label,
body.rg-auth .rg-auth-check,
body.rg-auth .rg-auth-linkline {
    color: #071426 !important;
}

body.rg-auth .rg-auth-form-head h1 {
    font-size: 30px !important;
    font-weight: 950 !important;
}

body.rg-auth .rg-auth-form-head p,
body.rg-auth .rg-auth-linkline,
body.rg-auth .rg-auth-check {
    color: #65758c !important;
}

body.rg-auth .rg-field-wrap,
body.rg-auth .rg-phone-row input,
body.rg-auth .rg-phone-row select,
body.rg-auth .rg-code-row input,
body.rg-auth .rg-field > input {
    border: 1px solid rgba(20, 120, 255, 0.12) !important;
    background: #f5faff !important;
}

body.rg-auth .rg-auth-submit,
body.rg-auth .rg-code-btn {
    border-radius: 999px !important;
    background: linear-gradient(135deg, #1478ff, #0057d8) !important;
}

body.rg-auth .rg-auth-tab.is-active {
    color: #1478ff !important;
}

body.rg-auth .rg-auth-chip {
    background: #eef7ff !important;
    color: #1478ff !important;
}

@media (max-width: 575px) {
    body.rg-user > .main-wrapper,
    body.rg-user > .wrap,
    body.rg-user > main,
    body.rg-user > section,
    body.rg-auth .rg-auth-phone {
        width: 100% !important;
        border-radius: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        box-shadow: none !important;
    }

    body.rg-auth {
        padding: 0 !important;
    }

    body.rg-auth .rg-auth-page,
    body.rg-auth .rg-auth-phone {
        min-height: 100vh !important;
    }

    body.rg-auth .rg-auth-phone::before {
        border-radius: 0 0 32px 32px !important;
    }

    body.rg-user .custom-nav,
    body.rg-user .app-header {
        border-radius: 0 0 30px 30px !important;
    }

    body.rg-user .banner-container {
        margin-left: 14px !important;
        margin-right: 14px !important;
    }
}
