:root {
    --brand-primary: #7c6aff;
    --brand-accent: #3eb6ff;
    --surface-0: #0f162c;
    --surface-1: #10192f;
    --surface-2: #18223a;
    --text-strong: #e9ecf5;
    --text-muted-1: #9fb7ff;
    --border-subtle: rgba(255, 255, 255, 0.1);
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.35);
}

body {
    background: var(--surface-0);
    color: var(--text-strong);
    font-family: 'Inter','Poppins','Segoe UI',sans-serif;
}

a {
    color: var(--brand-primary);
}

a:hover {
    color: var(--brand-accent);
}

.navbar {
    background: rgba(16, 25, 47, 0.9);
    border: 1px solid var(--border-subtle);
    color: var(--text-strong);
}

.navbar .nav-link {
    color: var(--text-muted-1);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--text-strong);
}

.navbar .nav-link.active {
    color: var(--brand-primary);
    font-weight: 700;
}

.card,
.card-glass {
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    color: var(--text-strong);
}

.card-glass .text-white,
.card .text-white {
    color: var(--text-strong) !important;
}

.text-muted {
    color: var(--text-muted-1) !important;
}

.btn-primary {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    box-shadow: 0 8px 18px rgba(124, 106, 255, 0.35);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #6b59ff;
    border-color: #6b59ff;
}

.btn-outline-light {
    color: #ffffff !important;
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.card-glass .btn-outline-light,
.card .btn-outline-light {
    color: #ffffff !important;
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.card-glass .btn-outline-light:hover,
.card .btn-outline-light:hover,
.card-glass .btn-outline-light:focus,
.card .btn-outline-light:focus {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: #ffffff !important;
}

.card-glass .btn-primary,
.card .btn-primary {
    box-shadow: 0 10px 20px rgba(124, 106, 255, 0.4);
    color: #fff !important;
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.btn-light {
    color: #1b2333;
    background: #f7f8ff;
    border-color: #f7f8ff;
}

.btn-light:hover,
.btn-light:focus {
    color: #1b2333;
    background: #e8edff;
    border-color: #e8edff;
}

.badge,
.pill {
    background: rgba(124, 106, 255, 0.12);
    color: var(--text-strong);
    border: 1px solid rgba(124, 106, 255, 0.25);
}

.theme-light {
    --surface-0: #f5f7fb;
    --surface-1: #ffffff;
    --surface-2: #eef1f7;
    --text-strong: #1b2333;
    --text-muted-1: #5a6b7f;
    --border-subtle: rgba(0, 0, 0, 0.08);
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.theme-light .btn-outline-light {
    color: #1b2333;
    border-color: var(--border-subtle);
    background: transparent;
}

.theme-light .btn-outline-light:hover,
.theme-light .btn-outline-light:focus {
    color: #1b2333;
    background: var(--surface-2);
    border-color: var(--border-subtle);
}

.theme-light .card-glass .btn-outline-light,
.theme-light .card .btn-outline-light {
    color: #1b2333 !important;
    border-color: var(--border-subtle) !important;
    background: transparent !important;
}

.theme-light .card-glass .btn-outline-light:hover,
.theme-light .card .btn-outline-light:hover,
.theme-light .card-glass .btn-outline-light:focus,
.theme-light .card .btn-outline-light:focus {
    color: #1b2333 !important;
    background: var(--surface-2) !important;
    border-color: var(--border-subtle) !important;
}

.theme-light .card-glass .btn-primary,
.theme-light .card .btn-primary {
    color: #fff !important;
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    box-shadow: 0 10px 20px rgba(124, 106, 255, 0.25);
}

/* Home hero feature list redesign */
.hero .feature-showcase {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: block !important;
    padding: 1.35rem;
    border-radius: 20px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero .feature-showcase::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -90px;
    top: -110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(69, 190, 255, 0.24), rgba(69, 190, 255, 0) 72%);
    pointer-events: none;
    z-index: -1;
}

.hero .feature-showcase::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    left: -78px;
    bottom: -112px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 106, 255, 0.2), rgba(124, 106, 255, 0) 74%);
    pointer-events: none;
    z-index: -1;
}

.hero .feature-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.65rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(244, 247, 255, 0.95);
    background: rgba(124, 106, 255, 0.22);
    border: 1px solid rgba(124, 106, 255, 0.4);
}

.hero .feature-title {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: #f6f8ff;
}

.hero .feature-intro {
    margin: 0 0 1.1rem;
    color: rgba(244, 247, 255, 0.8);
    font-size: 0.92rem;
    line-height: 1.5;
}

.hero .feature-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.72rem;
}

.hero .feature-card {
    position: relative;
    display: flex !important;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(165deg, rgba(12, 18, 34, 0.5), rgba(12, 18, 34, 0.34));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
    animation: feature-rise 420ms ease both;
}

.hero .feature-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: 0 0 0 0 rgba(124, 106, 255, 0);
    transition: box-shadow 220ms ease;
}

.hero .feature-card:hover,
.hero .feature-card:focus-within {
    transform: translateY(-2px);
    border-color: rgba(124, 106, 255, 0.55);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
    background: linear-gradient(165deg, rgba(12, 18, 34, 0.62), rgba(12, 18, 34, 0.42));
}

.hero .feature-card:hover::after,
.hero .feature-card:focus-within::after {
    box-shadow: 0 0 0 1px rgba(124, 106, 255, 0.28), 0 0 28px rgba(124, 106, 255, 0.2);
}

.hero .feature-card:nth-child(2) { animation-delay: 45ms; }
.hero .feature-card:nth-child(3) { animation-delay: 90ms; }
.hero .feature-card:nth-child(4) { animation-delay: 135ms; }
.hero .feature-card:nth-child(5) { animation-delay: 180ms; }

@keyframes feature-rise {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .feature-badge {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(104, 214, 175, 0.45);
    background: linear-gradient(155deg, rgba(104, 214, 175, 0.25), rgba(104, 214, 175, 0.08));
    color: #8cf2c4;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero .feature-badge .ti {
    font-size: 0.95rem;
    line-height: 1;
}

.hero .feature-copy {
    min-width: 0;
}

.hero .feature-label {
    margin: 0 0 0.2rem;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(244, 247, 255, 0.98);
}

.hero .feature-text {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(244, 247, 255, 0.8);
}

@media (min-width: 560px) {
    .hero .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero .feature-card:last-child {
        grid-column: span 2;
    }
}

@media (min-width: 992px) {
    .hero .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero .feature-card:last-child {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero .feature-card {
        animation: none;
        transition: none;
    }
}

.theme-light .hero .feature-showcase {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-color: rgba(9, 16, 32, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.theme-light .hero .feature-kicker {
    color: #24314c;
    background: rgba(124, 106, 255, 0.12);
    border-color: rgba(124, 106, 255, 0.28);
}

.theme-light .hero .feature-title {
    color: #182235;
}

.theme-light .hero .feature-intro,
.theme-light .hero .feature-text {
    color: rgba(24, 34, 53, 0.8);
}

.theme-light .hero .feature-label {
    color: #182235;
}

.theme-light .hero .feature-card {
    background: linear-gradient(170deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.8));
    border-color: rgba(9, 16, 32, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.theme-light .hero .feature-card:hover,
.theme-light .hero .feature-card:focus-within {
    border-color: rgba(124, 106, 255, 0.45);
    box-shadow: 0 0 0 1px rgba(124, 106, 255, 0.2), 0 12px 22px rgba(9, 16, 32, 0.12);
    background: linear-gradient(170deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
}

.theme-light .hero .feature-badge {
    border-color: rgba(33, 166, 120, 0.45);
    background: linear-gradient(155deg, rgba(54, 197, 142, 0.22), rgba(54, 197, 142, 0.09));
    color: #188f63;
}

/* Premium fintech visual layer */
:root {
    --zynix-radius-sm: 10px;
    --zynix-radius-md: 14px;
    --zynix-radius-lg: 18px;
    --zynix-shadow-card: 0 18px 48px rgba(0, 0, 0, 0.22);
    --zynix-shadow-card-hover: 0 24px 64px rgba(0, 0, 0, 0.28);
    --zynix-shadow-button: 0 10px 22px rgba(124, 106, 255, 0.26);
    --zynix-inner-light: inset 0 1px 0 rgba(255, 255, 255, 0.14);
    --zynix-control-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 8px 18px rgba(0, 0, 0, 0.08);
}

.theme-light {
    --zynix-shadow-card: 0 16px 38px rgba(20, 30, 54, 0.11);
    --zynix-shadow-card-hover: 0 22px 52px rgba(20, 30, 54, 0.16);
    --zynix-inner-light: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn,
button.btn,
a.btn {
    border-radius: var(--zynix-radius-md);
    font-weight: 800;
    letter-spacing: 0;
    min-height: 38px;
    transform: translateY(0);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.16) !important;
}

.btn-primary {
    background-image: linear-gradient(145deg, var(--brand-primary), #6b59ff);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: var(--zynix-inner-light), var(--zynix-shadow-button);
}

.btn-primary:hover,
.btn-primary:focus {
    box-shadow: var(--zynix-inner-light), 0 14px 30px rgba(124, 106, 255, 0.34);
}

.btn-outline-primary,
.btn-outline-light,
.btn-light,
.btn-secondary,
.btn-outline-secondary {
    box-shadow: var(--zynix-inner-light), 0 8px 18px rgba(0, 0, 0, 0.08);
}

.btn-sm {
    border-radius: 11px;
    min-height: 32px;
}

.btn-lg {
    border-radius: 16px;
    min-height: 48px;
}

.card,
.card-glass,
.admin-card,
.admin-card-dark,
.auth-card,
.profile-personal-card,
.bank-balance-card,
.bank-balance-hero,
.saved-card,
.sof-card,
.sessions-card,
.backup-codes-card,
.address-card,
.security-empty,
.security-center-hero,
.security-history-item,
.overview-card,
.news-feature-card,
.zynix-trust-banner__card,
.meet-zynix-team-card,
.kyc-document-card {
    border-radius: var(--zynix-radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--zynix-inner-light), var(--zynix-shadow-card);
}

.card,
.card-glass,
.admin-card,
.profile-personal-card,
.bank-balance-card,
.saved-card,
.sof-card,
.sessions-card,
.backup-codes-card,
.address-card,
.security-empty,
.security-history-item {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.card:hover,
.card-glass:hover,
.bank-balance-card:hover,
.overview-card:hover,
.news-feature-card:hover,
.meet-zynix-team-card:hover,
.saved-card:hover,
.security-history-item:hover {
    border-color: rgba(124, 106, 255, 0.24);
    box-shadow: var(--zynix-inner-light), var(--zynix-shadow-card-hover);
}

.card-body,
.card-glass,
.admin-card,
.profile-personal-card {
    position: relative;
}

.card h1,
.card h2,
.card h3,
.card h4,
.card h5,
.card h6,
.card-glass h1,
.card-glass h2,
.card-glass h3,
.card-glass h4,
.card-glass h5,
.card-glass h6 {
    letter-spacing: 0;
}

.form-control,
.form-select,
.form-check-input,
textarea.form-control,
select.form-select {
    border-radius: var(--zynix-radius-md);
    border-color: rgba(124, 106, 255, 0.18);
    box-shadow: var(--zynix-control-shadow);
    font-weight: 700;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
    border-color: rgba(124, 106, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 0 0 4px rgba(124, 106, 255, 0.14), 0 10px 24px rgba(0, 0, 0, 0.12);
}

.form-label {
    font-weight: 800;
    letter-spacing: 0;
}

.input-group-text {
    border-radius: var(--zynix-radius-md);
    border-color: rgba(124, 106, 255, 0.18);
    box-shadow: var(--zynix-inner-light);
    font-weight: 800;
}

.table {
    border-color: var(--border-subtle);
    vertical-align: middle;
}

.table thead th {
    border-bottom-color: rgba(124, 106, 255, 0.22);
    color: var(--text-muted-1);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.table tbody tr {
    transition: background-color 0.16s ease, transform 0.16s ease;
}

.table tbody tr:hover {
    background: rgba(124, 106, 255, 0.07);
}

.table td,
.table th {
    padding: 0.82rem 0.85rem;
}

.table-responsive {
    border-radius: var(--zynix-radius-md);
}

.badge,
.pill,
.profile-kyc-badge,
.security-status,
.kyc-badge {
    border-radius: 999px;
    box-shadow: var(--zynix-inner-light), 0 8px 18px rgba(0, 0, 0, 0.08);
    font-weight: 900;
    letter-spacing: 0;
}

.navbar,
.topnav,
.sidebar,
.admin-sidebar {
    box-shadow: var(--zynix-inner-light), 0 12px 34px rgba(0, 0, 0, 0.16);
}

.nav-link,
.dropdown-item,
.btn-about,
.btn-contact {
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.dropdown-item:hover,
.dropdown-item:focus,
.btn-about:hover,
.btn-contact:hover {
    transform: translateY(-1px);
}

.dropdown-menu,
.resources-dropdown {
    border: 1px solid var(--border-subtle);
    border-radius: var(--zynix-radius-lg);
    box-shadow: var(--zynix-inner-light), 0 20px 46px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.modal-content,
.zynix-loading-card {
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    box-shadow: var(--zynix-inner-light), 0 24px 70px rgba(0, 0, 0, 0.28);
}

.topbar,
.admin-card-dark,
.bank-balance-hero,
.resource-hero,
.hero {
    box-shadow: var(--zynix-inner-light), 0 22px 58px rgba(0, 0, 0, 0.24);
}

.bank-card-head,
.profile-single-contact,
.profile-contact-row,
.profile-country-card,
.security-note,
.security-filter-btn,
.investment-success-summary,
.saved-card {
    border-radius: var(--zynix-radius-md);
    box-shadow: var(--zynix-inner-light);
}

.profile-contact-lock,
.profile-avatar,
.bank-icon,
.status-icon,
.card-brand-icon,
.security-item-icon,
.investment-success-icon,
.deposit-review-icon,
.register-sidecard__icon {
    box-shadow: var(--zynix-inner-light), 0 10px 22px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .card,
    .card-glass,
    .admin-card,
    .profile-personal-card {
        border-radius: 14px;
    }

    .table td,
    .table th {
        padding: 0.72rem 0.7rem;
    }

    .btn {
        min-height: 40px;
    }
}

/* Responsive layout hardening */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    min-width: 0;
}

img,
picture,
video,
canvas,
iframe {
    max-width: 100%;
}

img,
video,
canvas {
    height: auto;
}

svg {
    max-width: 100%;
    flex-shrink: 0;
}

main,
section,
header,
footer,
.layout,
.main,
.container,
.container-fluid,
.row,
.topbar,
.topnav,
.sidebar,
.admin-sidebar,
.card,
.card-glass,
.admin-card,
.modal-content,
.bank-balance-hero,
.bank-card-head,
.overview-card,
.profile-personal-card,
.resource-hero,
.hero,
.login-layout,
.register-layout,
.resource-layout,
.investment-success-summary,
.saved-card {
    min-width: 0;
    max-width: 100%;
}

.row > *,
[class*="col-"],
.d-flex,
.input-group,
.dropdown,
.dropdown-menu,
.resources-dropdown {
    min-width: 0;
}

p,
li,
h1,
h2,
h3,
h4,
h5,
h6,
a,
span,
small,
label,
.btn,
button,
.dropdown-item,
.nav-link,
.card,
.card-glass,
.admin-card,
.profile-personal-card {
    overflow-wrap: anywhere;
}

.btn,
button {
    max-width: 100%;
    white-space: normal;
}

input,
select,
textarea,
.form-control,
.form-select,
.input-group,
.dropdown-menu,
.modal-dialog {
    max-width: 100%;
}

.table-responsive {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive > table,
.table-responsive > .table {
    min-width: 640px;
    margin-bottom: 0;
}

.bank-amount-lg {
    font-size: clamp(2rem, 9vw, 4.5rem);
    line-height: 1;
}

.bank-amount {
    font-size: clamp(1.5rem, 7vw, 3rem);
    line-height: 1;
}

.bank-cents {
    font-size: clamp(0.8rem, 3vw, 1rem);
}

.market-snapshot-frame,
.tradingview-widget-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.market-snapshot-frame iframe,
.tradingview-widget-container iframe {
    width: 100% !important;
    max-width: 100%;
}

.topnav,
.bank-card-head,
.profile-single-contact,
.profile-contact-row,
.security-note,
.investment-success-summary,
.saved-card {
    gap: clamp(0.65rem, 2vw, 1.25rem);
}

.navbar-nav,
.topnav .dropdown,
.topnav .dropdown-menu {
    max-width: 100%;
}

.modal-dialog {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991.98px) {
    .navbar {
        display: flex !important;
        align-items: center;
        flex-wrap: wrap;
        width: 100%;
        padding: 0.75rem 0.9rem !important;
    }

    .navbar .navbar-brand {
        max-width: calc(100% - 3.25rem);
        min-width: 0;
        margin-right: 0;
    }

    .navbar .navbar-toggler {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
        padding: 0;
        margin-left: auto;
        flex: 0 0 auto;
        color: currentColor;
    }

    .navbar .navbar-toggler-icon {
        position: relative;
        width: 1.25rem;
        height: 1rem;
        background-image: none !important;
    }

    .navbar .navbar-toggler-icon::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        box-shadow: 0 0.42rem 0 currentColor, 0 0.84rem 0 currentColor;
        font-family: inherit !important;
        font-size: 0;
        color: inherit;
    }

    .navbar .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
        min-width: 0;
        margin-top: 0.75rem;
    }

    .navbar .navbar-collapse.collapse:not(.show) {
        display: none !important;
    }

    .navbar .navbar-collapse.show,
    .navbar .navbar-collapse.collapsing {
        display: block !important;
    }

    .navbar .navbar-nav {
        width: 100%;
        gap: 0.35rem !important;
    }

    .navbar .nav-item {
        display: block !important;
        width: 100%;
    }

    .navbar .nav-link {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 0.85rem;
    }

    .navbar .resources-dropdown {
        width: 100%;
        min-width: 0;
        margin-top: 0.35rem;
    }

    .navbar .btn-sign-in,
    .navbar .btn-open-account {
        width: 100%;
        margin-left: 0 !important;
        margin-top: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (min-width: 320px) and (max-width: 480px) {
    .main,
    .container,
    .container-fluid {
        padding-left: clamp(0.75rem, 4vw, 1rem) !important;
        padding-right: clamp(0.75rem, 4vw, 1rem) !important;
    }

    .topnav,
    .bank-card-head,
    .profile-single-contact,
    .profile-contact-row,
    .security-note,
    .investment-success-summary,
    .saved-card,
    .d-flex.gap-2,
    .d-flex.gap-3,
    .d-flex.justify-content-between {
        flex-wrap: wrap;
    }

    .topnav {
        justify-content: flex-start;
    }

    .brand img,
    .navbar-brand img {
        width: min(100%, 140px);
        height: auto;
    }

    .card,
    .card-glass,
    .admin-card,
    .profile-personal-card {
        padding-left: min(1rem, 4vw);
        padding-right: min(1rem, 4vw);
    }

    .btn,
    button,
    .nav-link,
    .dropdown-item {
        min-height: 42px;
    }

    .table-responsive > table,
    .table-responsive > .table {
        min-width: 560px;
    }

    .modal-dialog {
        width: calc(100% - 1rem);
        margin: 0.5rem auto;
    }

    .market-snapshot-frame {
        min-height: 360px;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .main,
    .container,
    .container-fluid {
        padding-left: clamp(1rem, 4vw, 1.25rem) !important;
        padding-right: clamp(1rem, 4vw, 1.25rem) !important;
    }

    .topnav,
    .bank-card-head,
    .profile-single-contact,
    .profile-contact-row,
    .security-note,
    .investment-success-summary,
    .saved-card,
    .d-flex.gap-2,
    .d-flex.gap-3 {
        flex-wrap: wrap;
    }

    .brand img,
    .navbar-brand img {
        width: min(100%, 160px);
        height: auto;
    }

    .table-responsive > table,
    .table-responsive > .table {
        min-width: 600px;
    }

    .modal-dialog {
        width: calc(100% - 1.5rem);
        margin: 0.75rem auto;
    }

    .market-snapshot-frame {
        min-height: 390px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .main,
    .container,
    .container-fluid {
        padding-left: clamp(1.25rem, 3vw, 2rem) !important;
        padding-right: clamp(1.25rem, 3vw, 2rem) !important;
    }

    .topnav,
    .bank-card-head,
    .profile-single-contact,
    .profile-contact-row {
        flex-wrap: wrap;
    }

    .table-responsive > table,
    .table-responsive > .table {
        min-width: 680px;
    }

    .market-snapshot-frame {
        min-height: 420px;
    }
}

@media (min-width: 1025px) and (max-width: 1440px) {
    .main,
    .container,
    .container-fluid {
        padding-left: clamp(1.5rem, 2.5vw, 2.5rem);
        padding-right: clamp(1.5rem, 2.5vw, 2.5rem);
    }

    .market-snapshot-frame {
        min-height: 460px;
    }
}

@media (min-width: 1441px) {
    .container,
    .container-fluid {
        padding-left: clamp(2rem, 3vw, 4rem);
        padding-right: clamp(2rem, 3vw, 4rem);
    }

    .market-snapshot-frame {
        min-height: 500px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn,
    .card,
    .card-glass,
    .nav-link,
    .dropdown-item,
    .bank-balance-card,
    .overview-card,
    .news-feature-card,
    .meet-zynix-team-card {
        transition: none;
    }

    .btn:hover,
    .nav-link:hover,
    .dropdown-item:hover {
        transform: none;
    }
}
