/* ========================================
   NEXGOLD EXCHANGE - Luxury Black & Gold Theme
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #0a0a0a;
    --bg-hover: #1a1a1a;
    --accent-gold: #D4AF37;
    --accent-gold-light: #F4CF57;
    --accent-gold-dark: #B4941F;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #6c757d;
    --border-color: #1f1f1f;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   GOLD TEXT EFFECTS
   ======================================== */
.text-gold {
    color: var(--accent-gold);
}

.gold-gradient {
    background: linear-gradient(135deg, var(--accent-gold-dark) 0%, var(--accent-gold) 50%, var(--accent-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold-dark) 0%, var(--accent-gold) 50%, var(--accent-gold-light) 100%);
    color: var(--bg-primary);
    border: none;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
    color: var(--bg-primary);
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-outline-gold {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-outline-gold:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar-nexgold {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar-brand-nexgold {
    font-weight: 900;
    font-size: 28px;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--accent-gold-dark) 0%, var(--accent-gold) 50%, var(--accent-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand-nexgold i {
    -webkit-text-fill-color: var(--accent-gold);
    margin-right: 8px;
}

.nav-link-nexgold {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 20px !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link-nexgold:hover,
.nav-link-nexgold.active {
    color: var(--accent-gold) !important;
}

.nav-link-nexgold::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link-nexgold:hover::after {
    width: 60%;
}

.navbar-toggler-nexgold {
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
}

.navbar-toggler-nexgold:focus {
    box-shadow: none;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    background: radial-gradient(ellipse at top right, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at bottom left, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
                var(--bg-primary);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
}

.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.hero-stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent-gold);
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   TRUST SECTION
   ======================================== */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.trust-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold-dark), var(--accent-gold), var(--accent-gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.trust-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.1);
}

.trust-card:hover::before {
    transform: scaleX(1);
}

.trust-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.trust-icon i {
    font-size: 32px;
    color: var(--accent-gold);
}

.trust-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.trust-desc {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ========================================
   INVEST SECTION / CALCULATOR
   ======================================== */
.calculator-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.form-label-nexgold {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.form-control-nexgold,
.form-select-nexgold {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
}

.form-control-nexgold:focus,
.form-select-nexgold:focus {
    background: var(--bg-secondary);
    border-color: var(--accent-gold);
    color: var(--text-primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-control-nexgold:read-only {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), var(--bg-secondary));
    border-color: rgba(212, 175, 55, 0.3);
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 24px;
    text-align: center;
}

.price-display {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.02));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin: 30px 0;
}

.price-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.price-value {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-gold-dark) 0%, var(--accent-gold) 50%, var(--accent-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.breakdown-label {
    color: var(--text-secondary);
}

.breakdown-value {
    color: var(--text-primary);
    font-weight: 600;
}

/* ========================================
   DASHBOARD STYLES
   ======================================== */
.dashboard-wrapper {
    padding-top: 96px;
    min-height: 100vh;
    background: var(--bg-primary);
}

.sidebar {
    background: var(--bg-card);
    border-right: 1px solid var(--border-color);
    min-height: calc(100vh - 96px);
    position: fixed;
    left: 0;
    top: 80px;
    width: 260px;
    padding: 30px 20px;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sidebar-link:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--accent-gold);
}

.sidebar-link.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    color: var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.sidebar-link i {
    font-size: 18px;
    width: 24px;
}

.dashboard-content {
    margin-left: 260px;
    padding: 30px;
}

@media (max-width: 991px) {
    .row > aside.col-xl-2.col-lg-3 {
        position: absolute;
        width: 0;
        height: 0;
        overflow: visible;
        padding: 0 !important;
        margin: 0 !important;
    }
    .sidebar {
        position: fixed !important;
        transform: translateX(-105%);
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
        top: 80px;
        left: 0;
        width: 86% !important;
        max-width: 320px;
        height: calc(100vh - 80px);
        min-height: calc(100vh - 80px);
        padding: 22px 16px !important;
        box-shadow: 0 0 0 rgba(0,0,0,0);
        border-right: 1px solid rgba(212,175,55,0.15) !important;
        border-radius: 0 18px 18px 0 !important;
        z-index: 1040;
        background: #0a0a0a !important;
    }
    .sidebar.open {
        transform: translateX(0);
        box-shadow: 12px 0 40px rgba(0,0,0,0.55);
    }
    .sidebar-backdrop {
        position: fixed;
        inset: 80px 0 0 0;
        background: rgba(0,0,0,0.55);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1030;
    }
    .sidebar-backdrop.show {
        opacity: 1;
        visibility: visible;
    }
    .dashboard-content {
        margin-left: 0;
        padding: 18px 14px 40px 14px;
    }
    .dashboard-wrapper {
        padding-top: 80px;
    }
}

@media (max-width: 575px) {
    .sidebar {
        width: 92% !important;
        max-width: none;
    }
}

@media (max-width: 575px) {
    .dashboard-wrapper {
        padding-top: 80px;
    }
    .dashboard-content {
        padding: 14px 12px 60px 12px;
    }
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.wallet-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wallet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.wallet-card.main::before {
    background: linear-gradient(90deg, var(--accent-gold-dark), var(--accent-gold), var(--accent-gold-light));
}

.wallet-card.vault::before {
    background: linear-gradient(90deg, #3b82f6, #60a5fa, #93c5fd);
}

.wallet-card.bonus::before {
    background: linear-gradient(90deg, #10b981, #34d399, #6ee7b7);
}

.wallet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.wallet-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.wallet-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wallet-card.main .wallet-icon {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.wallet-card.vault .wallet-icon {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.wallet-card.bonus .wallet-icon {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.wallet-icon i {
    font-size: 22px;
}

.wallet-card.main .wallet-icon i { color: var(--accent-gold); }
.wallet-card.vault .wallet-icon i { color: #60a5fa; }
.wallet-card.bonus .wallet-icon i { color: #34d399; }

.wallet-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.wallet-balance-grams {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.wallet-balance-usd {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

.wallet-balance-usd .amount {
    color: var(--accent-gold);
    font-weight: 700;
}

/* ========================================
   TABS
   ======================================== */
.nav-tabs-nexgold {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
    gap: 0;
}

.nav-tabs-nexgold .nav-link {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 16px 28px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    transition: all 0.3s ease;
}

.nav-tabs-nexgold .nav-link:hover {
    color: var(--accent-gold);
}

.nav-tabs-nexgold .nav-link.active {
    background: transparent;
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

/* ========================================
   TABLES
   ======================================== */
.table-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.table-card-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.table-card-header h4 {
    font-weight: 700;
    margin: 0;
}

.table-nexgold {
    width: 100%;
    margin-bottom: 0;
}

.table-nexgold thead th {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.table-nexgold tbody td {
    padding: 18px 24px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    font-size: 14px;
}

.table-nexgold tbody tr:hover {
    background: rgba(212, 175, 55, 0.03);
}

.table-nexgold tbody tr:last-child td {
    border-bottom: none;
}

.badge-buy {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-sell {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   STATS CARDS (ADMIN)
   ======================================== */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    opacity: 0.08;
}

.stat-card.stat-gold::after {
    background: var(--accent-gold);
}

.stat-card.stat-blue::after {
    background: #3b82f6;
}

.stat-card.stat-green::after {
    background: #10b981;
}

.stat-card.stat-purple::after {
    background: #8b5cf6;
}

.stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.stat-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stat-icon {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.stat-card.stat-gold .stat-icon {
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold);
}

.stat-card.stat-blue .stat-icon {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.stat-card.stat-green .stat-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.stat-card.stat-purple .stat-icon {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

/* ========================================
   MODAL
   ======================================== */
.modal-content-nexgold {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-primary);
}

.modal-header-nexgold {
    border-bottom: 1px solid var(--border-color);
    padding: 24px 28px;
}

.modal-header-nexgold .modal-title {
    font-weight: 700;
}

.modal-body-nexgold {
    padding: 28px;
}

.modal-footer-nexgold {
    border-top: 1px solid var(--border-color);
    padding: 20px 28px;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* ========================================
   INVESTMENT CALCULATOR
   ======================================== */
.projection-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.02));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
}

.projection-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.projection-value {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-gold-dark), var(--accent-gold), var(--accent-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.projection-growth {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    margin-top: 12px;
    font-size: 14px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-logo {
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--accent-gold-dark) 0%, var(--accent-gold) 50%, var(--accent-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    padding: 6px 0;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-gold);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* ========================================
   AUTH PAGE
   ======================================== */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.05) 0%, transparent 60%),
                var(--bg-primary);
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 48px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo h1 {
    font-weight: 900;
    font-size: 36px;
    letter-spacing: 4px;
    background: linear-gradient(135deg, var(--accent-gold-dark) 0%, var(--accent-gold) 50%, var(--accent-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-tabs {
    display: flex;
    background: var(--bg-secondary);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 32px;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.auth-tab.active {
    background: linear-gradient(135deg, var(--accent-gold-dark), var(--accent-gold));
    color: var(--bg-primary);
}

/* ========================================
   MARKET SECTION
   ======================================== */
.market-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.market-widget iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

/* ========================================
   CERTIFICATE CARD
   ======================================== */
.certificate-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.certificate-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateX(5px);
}

.certificate-info h5 {
    font-weight: 700;
    margin-bottom: 6px;
}

.certificate-info p {
    color: var(--text-secondary);
    font-size: 13px;
    margin: 0;
}

.certificate-id {
    font-family: 'Courier New', monospace;
    color: var(--accent-gold);
    font-weight: 600;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }

/* ========================================
   UTILITIES
   ======================================== */
.section-title-wrapper {
    margin-bottom: 60px;
}

.gold-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold-dark), var(--accent-gold), var(--accent-gold-light));
    margin: 16px auto 0;
    border-radius: 2px;
}

.bg-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.mobile-menu-btn {
    display: none;
}

@media (max-width: 991px) {
    .mobile-menu-btn {
        display: inline-flex;
    }
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 64px;
    color: var(--border-color);
    margin-bottom: 20px;
}

.empty-state h5 {
    color: var(--text-primary);
    margin-bottom: 10px;
}

/* ========================================
   ACTION BUTTONS SMALL
   ======================================== */
.btn-sm-gold {
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-sm-gold:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.btn-sm-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-sm-danger:hover {
    background: #ef4444;
    color: white;
}

.btn-sm-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-sm-blue:hover {
    background: #3b82f6;
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold-dark);
}

/* ========================================
   REFERENCE HERO DESIGN (Exact match to user's image)
   ======================================== */

/* Square-corner gold button (reference style) */
.btn-gold-square {
    background: linear-gradient(180deg, #E6BE4A 0%, #C49D2C 50%, #8F7217 100%);
    color: #1a1404;
    border: 1px solid #B59522;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 2px 8px rgba(212,175,55,0.25);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 4px;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-gold-square:hover {
    background: linear-gradient(180deg, #F4CC58 0%, #D4AF37 50%, #9E7F1C 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 4px 18px rgba(212,175,55,0.45);
    transform: translateY(-1px);
    color: #1a1404;
}

.btn-outline-gold-square {
    background: transparent;
    color: #D4AF37;
    border: 1.5px solid #D4AF37;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 4px;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-gold-square:hover {
    background: rgba(212,175,55,0.1);
    color: #F4CF57;
    border-color: #F4CF57;
    box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
    transform: translateY(-1px);
}

/* Hero section redesign */
.hero-section.hero-ref {
    min-height: auto;
    padding: 130px 0 0;
    background: 
        radial-gradient(ellipse at 85% 20%, rgba(212,175,55,0.14) 0%, transparent 55%),
        radial-gradient(ellipse at 15% 90%, rgba(212,175,55,0.08) 0%, transparent 45%),
        #000;
    position: relative;
}

.hero-section.hero-ref::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.9) 20%, rgba(0,0,0,0.4) 45%, rgba(0,0,0,0.0) 55%, rgba(0,0,0,0.3) 75%, rgba(0,0,0,1) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-main-content-wrap {
    position: relative;
    z-index: 2;
}

.hero-row {
    background: #070707;
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.hero-row::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.5), transparent);
    z-index: 3;
}

/* Left column text */
.hero-text-col {
    padding: 80px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hero-text-col::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 0;
    bottom: 15%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(212,175,55,0.25), transparent);
}

.hero-title-ref {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 400;
    font-size: clamp(38px, 5.2vw, 72px);
    line-height: 1.05;
    margin: 0 0 28px;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.text-gold-word {
    color: #D4AF37;
    font-style: italic;
    position: relative;
}

.hero-subtitle-ref {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #9a9a9a;
    margin: 0 0 36px;
    max-width: 480px;
    font-weight: 300;
}

.hero-buttons {
    margin-bottom: 0;
}

/* Right column visual */
.hero-visual-col {
    position: relative;
    min-height: 520px;
    overflow: hidden;
}

.hero-visual-wrap {
    position: absolute;
    inset: 0;
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    inset: 0;
    filter: saturate(1.1) contrast(1.05) brightness(0.92);
    mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}

.hero-glow-1 {
    position: absolute;
    top: -40px;
    right: -20px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(212,175,55,0.35) 0%, transparent 65%);
    filter: blur(20px);
    z-index: 2;
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    bottom: -60px;
    left: 20%;
    width: 500px;
    height: 260px;
    background: radial-gradient(ellipse, rgba(212,175,55,0.2) 0%, transparent 70%);
    filter: blur(30px);
    z-index: 2;
    pointer-events: none;
}

.hero-globe-decoration {
    position: absolute;
    top: 10%;
    right: 4%;
    width: 320px;
    height: 320px;
    opacity: 0.9;
    z-index: 3;
    filter: drop-shadow(0 0 30px rgba(212,175,55,0.45));
    animation: globeFloat 10s ease-in-out infinite;
}

@keyframes globeFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}

/* Sparkle particles */
.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #FFF5C2 0%, #D4AF37 40%, transparent 70%);
    border-radius: 50%;
    z-index: 4;
    pointer-events: none;
    animation: sparkle 3s ease-in-out infinite;
}
.sparkle.s1 { top: 18%; left: 22%; animation-delay: 0s; }
.sparkle.s2 { top: 70%; left: 18%; animation-delay: 0.8s; width:5px;height:5px; }
.sparkle.s3 { top: 35%; right: 30%; animation-delay: 1.6s; width:8px;height:8px; }
.sparkle.s4 { top: 82%; right: 20%; animation-delay: 2.2s; }
.sparkle.s5 { top: 55%; right: 10%; animation-delay: 1.2s; width:4px;height:4px; }

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* ================= TRUST BAR (Exact 4-column row) ================= */
.trust-bar-ref {
    margin-top: -1px;
    background: #0a0a0a;
    border: 1px solid rgba(212,175,55,0.15);
    border-top: 1px solid rgba(212,175,55,0.25);
    border-radius: 0 0 2px 2px;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.trust-bar-ref::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(212,175,55,0.5) 50%, transparent 95%);
}

.trust-row {
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
    align-items: center;
}

.trust-cell {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 36px;
}

.trust-divider {
    width: 1px;
    align-self: stretch;
    background: linear-gradient(180deg, transparent, rgba(212,175,55,0.3) 20%, rgba(212,175,55,0.3) 80%, transparent);
}

.trust-icon-big {
    font-size: 40px;
    color: #D4AF37;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(212,175,55,0.4));
}

.trust-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust-num {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 700;
    font-size: 26px;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0.3px;
}

.trust-sub {
    font-size: 11px;
    color: #8a8a8a;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Navbar hero variant (matches ref) */
.navbar-hero {
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(212,175,55,0.1);
}

.navbar-hero .nav-link-nexgold {
    font-size: 12px;
    letter-spacing: 1.2px;
    padding: 8px 16px !important;
}

/* Responsive adjustments for ref hero */
@media (max-width: 991px) {
    .hero-text-col {
        padding: 60px 40px;
    }
    .hero-text-col::after { display: none; }
    .hero-visual-col {
        min-height: 380px;
    }
    .hero-globe-decoration {
        width: 240px;
        height: 240px;
        top: 15%;
        right: 8%;
    }
    .trust-row {
        grid-template-columns: 1fr 1fr;
    }
    .trust-divider {
        display: none;
    }
    .trust-cell {
        padding: 24px 28px;
        border-bottom: 1px solid rgba(212,175,55,0.12);
        border-right: 1px solid rgba(212,175,55,0.12);
    }
    .trust-cell:nth-child(even) { border-right: none; }
    .trust-cell:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 575px) {
    .hero-text-col {
        padding: 50px 28px;
    }
    .hero-title-ref {
        font-size: 40px;
    }
    .hero-subtitle-ref {
        font-size: 14px;
    }
    .hero-visual-col {
        min-height: 280px;
    }
    .hero-globe-decoration {
        width: 180px;
        height: 180px;
    }
    .trust-row {
        grid-template-columns: 1fr;
    }
    .trust-cell {
        border-right: none !important;
    }
    .trust-cell:nth-last-child(2) { border-bottom: 1px solid rgba(212,175,55,0.12) !important; }
    .trust-num {
        font-size: 22px;
    }
    .trust-icon-big {
        font-size: 34px;
    }
    .btn-gold-square,
    .btn-outline-gold-square {
        padding: 11px 22px;
        font-size: 12px;
    }
}

/* ================================================================
   PREMIUM FINTECH NAVBAR (Dashboard)
   ================================================================ */
.navbar-nexgold-premium {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1030;
    height: 80px;
    background: rgba(7, 7, 7, 0.92);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    transform: translateZ(0);
    will-change: transform;
}
.navbar-nexgold-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(212,175,55,0.55) 50%, transparent 100%);
}

body[data-page="admin"] {
    padding-top: 80px;
    overflow-anchor: none;
}

body[data-page="admin"] #adminLoginScreen {
    min-height: calc(100vh - 80px);
    margin-top: -80px;
}

body[data-page="admin"] #adminMainScreen {
    min-height: calc(100vh - 80px);
}

body[data-page="admin"] .dashboard-wrapper {
    padding-top: 28px;
    min-height: auto;
    background: transparent;
}

body[data-page="dashboard"] .dashboard-wrapper {
    padding-top: 96px;
}
.nav-inner {
    height: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 28px;
    display: grid;
    grid-template-columns: 1.2fr 1.8fr 2fr;
    align-items: center;
    gap: 24px;
}

/* ===== LEFT ===== */
.nav-left { display: flex; align-items: center; gap: 16px; }
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 42px; height: 42px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    padding: 0 11px;
}
.nav-hamburger span {
    display: block; height: 2px;
    background: linear-gradient(90deg, #D4AF37, #B4941F);
    border-radius: 2px;
}
.nav-hamburger span:nth-child(2) { width: 70%; }
.nav-hamburger:hover { border-color: rgba(212,175,55,0.45); }

.nav-logo-pill {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none;
    padding: 6px 14px 6px 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(0,0,0,0.3));
    border: 1px solid rgba(212,175,55,0.22);
}
.nav-logo-square {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(145deg, #E6C768, #B4891F 60%, #8A6A12);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(212,175,55,0.35), inset 0 1px 0 rgba(255,255,255,0.4);
}
.nav-logo-square span {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 900;
    font-size: 16px;
    color: #100a00;
    letter-spacing: 0.3px;
}
.nav-logo-text h6 {
    margin: 0;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.8px;
    background: linear-gradient(90deg, #F4D98B, #D4AF37, #B4891F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-logo-text span {
    font-size: 10.5px;
    color: #7a7a7a;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

/* ===== CENTER ===== */
.nav-center { display: flex; align-items: center; justify-content: center; }
.nav-search {
    width: 100%; max-width: 620px;
    display: flex; align-items: center; gap: 12px;
    height: 44px;
    padding: 0 14px 0 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: all 0.25s ease;
}
.nav-search:focus-within {
    border-color: rgba(212,175,55,0.45);
    box-shadow: 0 0 0 4px rgba(212,175,55,0.08);
}
.nav-search i { color: #6c757d; font-size: 16px; }
.nav-search input {
    flex: 1;
    background: transparent; border: 0; outline: 0;
    color: #fff; font-size: 13.5px;
}
.nav-search input::placeholder { color: #6c757d; }
.nav-search kbd {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #8e8e8e;
    font-size: 10.5px;
    padding: 3px 7px;
    font-family: inherit;
}

/* ===== RIGHT ===== */
.nav-right {
    display: flex; align-items: center; justify-content: flex-end;
    gap: 14px;
}

/* Live price chip */
.nav-chip-price {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 14px 8px 10px;
    background: linear-gradient(135deg, rgba(34,197,94,0.06), rgba(212,175,55,0.05));
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 14px;
    text-decoration: none;
    cursor: pointer;
}
.pulse-dot {
    position: relative;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #22c55e;
}
.pulse-dot::after {
    content: '';
    position: absolute; inset: -4px;
    border-radius: 50%;
    background: rgba(34,197,94,0.2);
    animation: pulseDot 1.7s ease-out infinite;
}
@keyframes pulseDot {
    0%   { transform: scale(0.6); opacity: 0.9; }
    100% { transform: scale(1.9); opacity: 0;   }
}
.chip-text small { color: #7a7a7a; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; display: block; }
.chip-text strong { color: #F4D98B; font-size: 13.5px; font-weight: 800; }
.chip-trend {
    display: flex; align-items: center; gap: 4px;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px;
}
.chip-trend.up   { color: #22c55e; background: rgba(34,197,94,0.12); }
.chip-trend.down { color: #ef4444; background: rgba(239,68,68,0.12); }

/* Icon buttons */
.nav-icon-btn {
    position: relative;
    width: 42px; height: 42px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: #b8b8b8;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.nav-icon-btn:hover {
    border-color: rgba(212,175,55,0.4);
    color: #D4AF37;
    transform: translateY(-1px);
}
.nav-badge {
    position: absolute;
    top: -5px; right: -5px;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, #D4AF37, #B4891F);
    color: #100a00;
    font-size: 10px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 2px #000;
}
.nav-badge.blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}
.nav-divider {
    width: 1px; height: 34px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.1), transparent);
    margin: 0 6px;
}

/* Profile button */
.nav-profile-btn {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 14px 6px 6px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.nav-profile-btn:hover {
    border-color: rgba(212,175,55,0.45);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.avatar-ring {
    width: 38px; height: 38px;
    padding: 2px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4AF37 0%, #8A6A12 100%);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.08), 0 6px 14px rgba(212,175,55,0.25);
}
.avatar-inner {
    width: 100%; height: 100%;
    background: #0a0a0a;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #D4AF37;
    font-weight: 800;
    font-size: 15px;
}
.profile-meta { text-align: left; line-height: 1.1; }
.profile-name {
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 3px;
    white-space: nowrap;
}
.profile-role {
    display: flex; align-items: center; gap: 6px;
    font-size: 10.5px;
    color: #6c757d;
}
.status-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
}
.nav-profile-btn .chev {
    color: #6c757d;
    font-size: 11px;
}

/* Dropdown */
.profile-menu {
    min-width: 320px;
    margin-top: 14px !important;
    padding: 0;
    background: linear-gradient(180deg, #0e0e0e, #080808);
    border: 1px solid rgba(212,175,55,0.18);
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,175,55,0.06) inset !important;
    --bs-dropdown-link-hover-bg: rgba(212,175,55,0.06);
    --bs-dropdown-link-hover-color: #D4AF37;
    --bs-dropdown-link-active-bg: rgba(212,175,55,0.1);
    --bs-dropdown-link-color: #cfcfcf;
    --bs-dropdown-divider-bg: rgba(255,255,255,0.06);
}
.profile-menu::before {
    content: '';
    position: absolute;
    top: -6px; right: 70px;
    width: 12px; height: 12px;
    background: #0e0e0e;
    border-top: 1px solid rgba(212,175,55,0.18);
    border-left: 1px solid rgba(212,175,55,0.18);
    transform: rotate(45deg);
}
.profile-menu .pm-header {
    display: flex; align-items: center; gap: 14px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(0,0,0,0));
}
.profile-menu .pm-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, #D4AF37, #8A6A12);
    display: flex; align-items: center; justify-content: center;
}
.profile-menu .pm-avatar::after {
    content: '';
    display: block;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: #0a0a0a;
    color: #D4AF37;
    font-weight: 800;
}
.pm-avatar { position: relative; }
.pm-avatar::before {
    content: attr(data-letter);
    position: absolute;
    inset: 6px;
    z-index: 2;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    color: #D4AF37;
}
.profile-menu .pm-name {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}
.profile-menu .pm-email {
    font-size: 12px;
    color: #8a8a8a;
    margin-bottom: 8px;
}
.profile-menu .pm-tier {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.3);
    color: #D4AF37;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.profile-menu .dropdown-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 20px;
    font-size: 13.5px;
    font-weight: 500;
}
.profile-menu .dropdown-item i {
    width: 20px; height: 20px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #D4AF37;
    font-size: 15px;
}
.profile-menu .dropdown-item.danger {
    color: #ef4444;
    background: transparent;
    border: 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
}
.profile-menu .dropdown-item.danger i {
    color: #ef4444;
}

/* Sidebar header (new design) */
.sidebar-header {
    padding: 20px 14px 22px;
    margin: 0 8px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(212,175,55,0.10), rgba(0,0,0,0.2));
    border: 1px solid rgba(212,175,55,0.18);
}
.sh-brand {
    display: flex; align-items: center; gap: 12px;
}
.sh-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #D4AF37, #8A6A12);
    color: #0a0700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(212,175,55,0.3);
    font-size: 22px;
}
.sh-brand h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #fff;
}
.sh-brand span {
    font-size: 10.5px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive nav layout */
@media (max-width: 1199px) {
    .nav-inner { grid-template-columns: auto 1fr auto; }
    .nav-logo-text span { display: none; }
    .nav-search kbd { display: none; }
}
@media (max-width: 991px) {
    .nav-hamburger { display: inline-flex; }
    .nav-center { display: none; }
    .nav-inner { grid-template-columns: auto 1fr auto; padding: 0 20px; gap: 14px; }
    .nav-chip-price { display: none; }
}
@media (max-width: 575px) {
    .nav-inner { padding: 0 14px; }
    .nav-logo-pill { padding: 5px 10px 5px 5px; }
    .nav-logo-text h6 { font-size: 14px; }
    .nav-logo-square { width: 36px; height: 36px; border-radius: 10px; }
    .nav-logo-square span { font-size: 14px; }
    .nav-icon-btn { width: 38px; height: 38px; }
    .nav-profile-btn { padding: 4px 10px 4px 4px; height: 44px; }
    .avatar-ring { width: 34px; height: 34px; }
    .profile-meta { display: none !important; }
    .profile-menu { min-width: 280px; }
}

/* Spinner + button disabled states */
.spin { animation: spinAnim 0.9s linear infinite; display: inline-block; }
@keyframes spinAnim { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
button:disabled, .btn:disabled { opacity: 0.65 !important; cursor: not-allowed !important; pointer-events: none; box-shadow: none !important; }



/* ================================================================
   GLOBAL BOOTSTRAP DARK-THEME OVERRIDES
   (fix white backgrounds hiding text on black design)
   ================================================================ */

/* ------- Form inputs (Bootstrap + raw HTML) ------- */
.form-control,
.form-select,
.form-control:focus,
.form-select:focus,
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]):not([type="range"]),
select,
textarea {
    background: #0e0e0e !important;
    background-color: #0e0e0e !important;
    color: #ffffff !important;
    border: 1px solid #1f1f1f !important;
    border-radius: 12px !important;
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.form-control::placeholder,
.form-select::placeholder,
input::placeholder,
textarea::placeholder {
    color: #6c757d !important;
    opacity: 1;
}
.form-control:focus,
.form-select:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: rgba(212,175,55,0.5) !important;
    box-shadow: 0 0 0 4px rgba(212,175,55,0.09) !important;
    background: #111111 !important;
    background-color: #111111 !important;
    color: #ffffff !important;
}
.form-control:disabled,
.form-select:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    background: #0a0a0a !important;
    background-color: #0a0a0a !important;
    color: #8e8e8e !important;
    border-color: #161616 !important;
    opacity: 1;
}

/* Form-select custom arrow (dark) */
.form-select, select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23D4AF37' fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.85rem center !important;
    background-size: 16px 12px !important;
    padding-right: 2.75rem !important;
}

/* Input groups */
.input-group-text {
    background: #0a0a0a !important;
    border: 1px solid #1f1f1f !important;
    color: #D4AF37 !important;
}

/* Labels, text-muted, help text */
.form-label, label { color: #e3e3e3 !important; }
.form-text, .text-muted, .text-body-secondary, small.text-muted { color: #8a8a8a !important; }
.form-check-label { color: #d9d9d9 !important; }
.form-check-input { background-color: #1f1f1f !important; border-color: #2f2f2f !important; }
.form-check-input:checked { background-color: #D4AF37 !important; border-color: #D4AF37 !important; }

/* ------- Dropdowns (Bootstrap default .dropdown-menu) ------- */
.dropdown-menu {
    background: linear-gradient(180deg, #0e0e0e, #070707) !important;
    background-color: #0e0e0e !important;
    border: 1px solid rgba(212,175,55,0.18) !important;
    border-radius: 14px !important;
    color: #e9e9e9 !important;
    padding: 0.5rem !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6) !important;
    --bs-dropdown-link-hover-bg: rgba(212,175,55,0.08);
    --bs-dropdown-link-hover-color: #D4AF37;
    --bs-dropdown-link-active-bg: rgba(212,175,55,0.12);
    --bs-dropdown-link-active-color: #F4D98B;
    --bs-dropdown-link-color: #e0e0e0;
    --bs-dropdown-divider-bg: rgba(255,255,255,0.06);
    --bs-dropdown-header-color: #8a8a8a;
}
.dropdown-menu .dropdown-item {
    color: #e0e0e0 !important;
    border-radius: 9px;
    padding: 0.55rem 0.9rem;
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background: rgba(212,175,55,0.08) !important;
    color: #D4AF37 !important;
}
.dropdown-menu .dropdown-divider { border-color: rgba(255,255,255,0.05) !important; }
.dropdown-menu .dropdown-header { color: #8a8a8a !important; }

/* ------- Cards (Bootstrap default .card) ------- */
.card {
    background: #0a0a0a !important;
    background-color: #0a0a0a !important;
    border: 1px solid #161616 !important;
    color: #f1f1f1 !important;
    border-radius: 18px !important;
}
.card-header, .card-footer {
    background: #070707 !important;
    background-color: #070707 !important;
    border-color: #161616 !important;
    color: #f1f1f1 !important;
}
.card-title { color: #ffffff !important; }
.card-subtitle { color: #8a8a8a !important; }
.card-text, .card-body { color: #d4d4d4 !important; }

/* ------- Modals (Bootstrap default .modal-content) ------- */
.modal-content {
    background: linear-gradient(180deg, #0c0c0c, #060606) !important;
    background-color: #0c0c0c !important;
    border: 1px solid rgba(212,175,55,0.2) !important;
    border-radius: 20px !important;
    color: #f1f1f1 !important;
    box-shadow: 0 30px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(212,175,55,0.06) inset !important;
}
.modal-header, .modal-footer {
    border-color: rgba(255,255,255,0.06) !important;
    color: #fff !important;
}
.modal-title { color: #fff !important; }
.modal-body { color: #e0e0e0 !important; }
.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%) !important;
    opacity: 0.85 !important;
}

/* ------- Tables (Bootstrap default .table) ------- */
.table,
.table > :not(caption) > * > * {
    background: transparent !important;
    background-color: transparent !important;
    color: #e5e5e5 !important;
    border-color: #1a1a1a !important;
}
.table thead th, .table th {
    background: #070707 !important;
    background-color: #070707 !important;
    color: #D4AF37 !important;
    font-weight: 700 !important;
    border-bottom: 2px solid rgba(212,175,55,0.25) !important;
}
.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-accent-bg: rgba(255,255,255,0.015) !important;
    background: rgba(255,255,255,0.015) !important;
    background-color: rgba(255,255,255,0.015) !important;
    color: #e5e5e5 !important;
}
.table-hover > tbody > tr:hover > * {
    background: rgba(212,175,55,0.05) !important;
    background-color: rgba(212,175,55,0.05) !important;
    color: #fff !important;
}
.table-bordered, .table-bordered > :not(caption) > * {
    border-color: #1a1a1a !important;
}

/* ------- List groups ------- */
.list-group-item {
    background: #0a0a0a !important;
    background-color: #0a0a0a !important;
    border-color: #1a1a1a !important;
    color: #e5e5e5 !important;
}
.list-group-item:hover {
    background: #111111 !important;
    background-color: #111111 !important;
    color: #D4AF37 !important;
}

/* ------- Tabs (Bootstrap default nav-tabs) ------- */
.nav-tabs {
    border-color: #1a1a1a !important;
}
.nav-tabs .nav-link {
    background: transparent !important;
    color: #8a8a8a !important;
    border: 1px solid transparent !important;
    border-radius: 10px 10px 0 0 !important;
    margin-right: 6px;
    font-weight: 600;
}
.nav-tabs .nav-link:hover {
    color: #D4AF37 !important;
    border-color: transparent !important;
}
.nav-tabs .nav-link.active {
    background: #0a0a0a !important;
    background-color: #0a0a0a !important;
    color: #D4AF37 !important;
    border-color: #1a1a1a #1a1a1a #0a0a0a !important;
}

/* ------- Pagination, badges, alerts ------- */
.page-link {
    background: #0a0a0a !important;
    border-color: #1a1a1a !important;
    color: #D4AF37 !important;
}
.page-link:hover { background: #141414 !important; color: #F4D98B !important; }
.page-item.active .page-link {
    background: linear-gradient(135deg, #D4AF37, #B4891F) !important;
    border-color: #D4AF37 !important;
    color: #100a00 !important;
}

.badge { background-color: rgba(212,175,55,0.2) !important; color: #F4D98B !important; }

.alert {
    background: #0a0a0a !important;
    border: 1px solid #1a1a1a !important;
    color: #e5e5e5 !important;
    border-radius: 12px !important;
}
.alert-danger { border-color: rgba(239,68,68,0.4) !important; color: #fca5a5 !important; }
.alert-success { border-color: rgba(34,197,94,0.4) !important; color: #86efac !important; }
.alert-warning { border-color: rgba(212,175,55,0.5) !important; color: #F4D98B !important; }
.alert-info { border-color: rgba(59,130,246,0.4) !important; color: #93c5fd !important; }

/* ------- Accidental white page flashes / body bg ------- */
body, html {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* ------- Safari iOS input appearance reset ------- */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="search"],
input[type="url"],
input[type="date"],
textarea {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}


/* Tab panels (often white default) */
.tab-content { background: transparent !important; color: #f1f1f1 !important; }
.tab-pane { background: transparent !important; color: #f1f1f1 !important; }



/* ================================================================
   HOME PAGE v2  HERO (reference image EXACT) + ADVANCED MARKET
   ================================================================ */

/* ---------- Home navbar (matches reference design) ---------- */
.navbar-nexgold-home {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 1030;
    height: 84px;
    background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);
    padding: 0;
}
.navbar-brand-home {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none;
}
.ng-monogram { filter: drop-shadow(0 2px 6px rgba(212,175,55,0.25)); }
.ng-wordmark h6 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 2.4px;
    line-height: 1;
    background: linear-gradient(90deg, #F4D98B 0%, #D4AF37 50%, #B4891F 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ng-wordmark span {
    display: block;
    font-size: 9.5px;
    color: #8a8a8a;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    margin-top: 3px;
}
.nav-links-home { gap: 4px; }
.nav-link-home {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #d9d9d9;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.3px;
    padding: 10px 16px;
    text-transform: uppercase;
    transition: color .25s ease;
}
.nav-link-home:hover, .nav-link-home.active { color: #D4AF37; }
.nav-link-home.active::after {
    content: '';
    position: absolute;
    left: 18px; right: 18px; bottom: 2px; height: 2px;
    background: linear-gradient(90deg, #F4D98B, #D4AF37);
    border-radius: 2px;
}
.navbar-toggler-nexgold {
    border: 1px solid rgba(212,175,55,0.35) !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
}
.btn-home-square-gold {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 24px;
    background: linear-gradient(135deg, #F4D98B 0%, #D4AF37 55%, #B4891F 100%);
    color: #140d00 !important;
    border: 0;
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(212,175,55,0.25), inset 0 1px 0 rgba(255,255,255,0.45);
    transition: all .3s ease;
}
.btn-home-square-gold:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(212,175,55,0.35); }
.btn-home-outline {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    background: transparent;
    color: #fff !important;
    border: 1.4px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    transition: all .25s ease;
}
.btn-home-outline:hover { border-color: #D4AF37; color: #D4AF37 !important; }

/* ---------- Mobile navbar: solid bg when collapse menu opens ---------- */
@media (max-width: 991px) {
    .navbar-nexgold-home {
        position: fixed;
        background: rgba(0, 0, 0, 0.96) !important;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(212,175,55,0.18);
    }
    .navbar-nexgold-home .navbar-collapse {
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        background: rgba(3, 3, 3, 0.98);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-bottom: 1px solid rgba(212,175,55,0.18);
        padding: 20px 24px 28px;
        z-index: 1029;
        box-shadow: 0 18px 40px rgba(0,0,0,0.6);
    }
    .navbar-nexgold-home .navbar-collapse .nav-links-home {
        align-items: flex-start !important;
        gap: 0 !important;
    }
    .navbar-nexgold-home .navbar-collapse .nav-item {
        width: 100%;
    }
    .navbar-nexgold-home .navbar-collapse .nav-link-home {
        display: block;
        padding: 14px 4px !important;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        font-size: 13px;
    }
    .navbar-nexgold-home .navbar-collapse .nav-link-home.active::after { display: none; }
    .navbar-nexgold-home .navbar-collapse .nav-item:last-child {
        margin-top: 18px !important;
        padding-top: 14px;
        border-top: 1px solid rgba(255,255,255,0.06);
    }
    .navbar-nexgold-home .navbar-collapse .nav-item:last-child .btn-home-outline,
    .navbar-nexgold-home .navbar-collapse .nav-item:last-child .btn-home-square-gold {
        width: 100%;
        margin-bottom: 10px !important;
        margin-right: 0 !important;
    }
}

/* ---------- Hero v2 (EXACT reference image) ---------- */
.hero-v2 {
    position: relative;
    background: #000;
    overflow: hidden;
    padding: 120px 0 0;
}
.hero-bg-glow {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}
.hero-glow-1 {
    top: -60px; right: -40px;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(212,175,55,0.40) 0%, rgba(212,175,55,0) 70%);
}
.hero-glow-2 {
    bottom: 40px; left: -80px;
    width: 440px; height: 440px;
    background: radial-gradient(circle, rgba(196,139,22,0.32) 0%, rgba(196,139,22,0) 70%);
}
.sparkle {
    position: absolute;
    width: 6px; height: 6px;
    background: #F4D98B;
    border-radius: 50%;
    box-shadow: 0 0 10px #F4D98B, 0 0 20px rgba(212,175,55,0.5);
    opacity: 0;
    animation: sparkleAnim var(--s,2s) var(--d,0s) ease-in-out infinite;
}
@keyframes sparkleAnim {
    0%,100% { opacity: 0; transform: scale(0.5); }
    50%     { opacity: 1; transform: scale(1.3); }
}

.hero-v2-row { min-height: 660px; position: relative; }
.hero-v2-left { padding: 40px 40px 40px 0; position: relative; z-index: 3; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 16px;
    background: rgba(212,175,55,0.07);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 999px;
    margin-bottom: 28px;
}
.eyebrow-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #D4AF37;
    box-shadow: 0 0 10px #D4AF37;
}
.hero-eyebrow span:last-child {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.8px;
    color: #d4b86a;
    text-transform: uppercase;
}
.hero-title-v2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(44px, 6.2vw, 86px);
    line-height: 1.03;
    letter-spacing: -0.5px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 28px;
}
.gold-word {
    font-style: italic;
    font-weight: 600;
    background: linear-gradient(135deg, #F4D98B 0%, #D4AF37 50%, #B4891F 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub-v2 {
    font-size: 17px;
    line-height: 1.6;
    color: #c8c8c8;
    margin: 0 0 40px;
    max-width: 520px;
}
.hero-cta-row {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    margin-bottom: 56px;
}
.btn-hero-gold {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px;
    height: 60px;
    padding: 0 34px;
    background: linear-gradient(135deg, #F4D98B 0%, #D4AF37 55%, #B4891F 100%);
    color: #140d00 !important;
    border: 0;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    box-shadow: 0 14px 34px rgba(212,175,55,0.30), inset 0 1px 0 rgba(255,255,255,0.5);
    transition: all .3s ease;
}
.btn-hero-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(212,175,55,0.45); }
.btn-hero-outline {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px;
    height: 60px;
    padding: 0 30px;
    background: transparent;
    color: #fff !important;
    border: 1.6px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    transition: all .3s ease;
}
.btn-hero-outline:hover { border-color: #D4AF37; color: #D4AF37 !important; }

.hero-quick-stats {
    display: flex; align-items: center; gap: 0;
    max-width: 560px;
}
.h-stat { flex: 1; min-width: 120px; }
.h-stat-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}
.h-stat-label {
    font-size: 11.5px;
    color: #8a8a8a;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}
.h-stat-sep {
    width: 1px; height: 44px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.12), transparent);
    margin: 0 10px;
}

/* Hero visual (right side) */
.hero-v2-right { position: relative; padding-left: 30px; }
.hero-visual-wrap {
    position: relative;
    height: 640px;
    border-radius: 0;
}
.hero-globe-wrap {
    position: absolute;
    top: 20px; right: -20px;
    width: 100%;
    height: 100%;
    pointer-events: none;
    animation: floatGlobe 7s ease-in-out infinite;
    z-index: 2;
}
@keyframes floatGlobe {
    0%,100% { transform: translateY(0) }
    50%     { transform: translateY(-14px) }
}
.hero-globe { width: 100%; height: auto; opacity: 0.92; }

.hero-image-wrap {
    position: absolute;
    bottom: 0; left: 30px; right: 0;
    height: 70%;
    z-index: 3;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom center;
    display: block;
    -webkit-mask-image: linear-gradient(to top, #000 40%, transparent 100%), linear-gradient(to right, transparent 0%, #000 25%, #000 100%);
    mask-image: linear-gradient(to top, #000 40%, transparent 100%), linear-gradient(to right, transparent 0%, #000 25%, #000 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    filter: saturate(1.05) contrast(1.08) drop-shadow(0 10px 40px rgba(212,175,55,0.25));
}
.hero-image-fade {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 35%, rgba(0,0,0,0) 65%),
        linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.95) 100%);
}
.hero-shaft {
    position: absolute;
    width: 240px; height: 400px;
    background: linear-gradient(180deg, rgba(244,217,139,0.25), transparent 70%);
    transform-origin: top center;
    mix-blend-mode: screen;
    pointer-events: none;
    filter: blur(2px);
}
.hero-shaft-1 { top: 8%; right: 44%; transform: rotate(-18deg); }
.hero-shaft-2 { top: 4%; right: 22%; transform: rotate(14deg); opacity: 0.7; }

/* Floating cards */
.float-price-card {
    position: absolute;
    left: 0; bottom: 70px;
    width: 320px;
    z-index: 5;
    padding: 16px 18px;
    background: linear-gradient(180deg, rgba(10,10,10,0.96), rgba(4,4,4,0.96));
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 16px;
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,175,55,0.05) inset;
}
.fpc-top { display: flex; align-items: center; gap: 12px; }
.fpc-bull {
    width: 38px; height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(34,197,94,0.15), rgba(212,175,55,0.15));
    border: 1px solid rgba(212,175,55,0.25);
    color: #22c55e;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
}
.fpc-top > div:nth-child(2) { flex: 1; }
.fpc-top small { display: block; font-size: 10.5px; letter-spacing: 1.2px; color: #8a8a8a; text-transform: uppercase; }
.fpc-top h5 { margin: 2px 0 0; font-weight: 800; font-size: 17px; color: #F4D98B; }
.fpc-change {
    display: inline-flex; align-items: center; gap: 3px;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11.5px; font-weight: 700;
}
.fpc-change.up   { color: #22c55e; background: rgba(34,197,94,0.12); }
.fpc-change.down { color: #ef4444; background: rgba(239,68,68,0.12); }
.fpc-bar {
    height: 34px;
    margin: 12px -4px 10px;
    background: linear-gradient(90deg, rgba(34,197,94,0.25), rgba(212,175,55,0.1), transparent 55%),
                repeating-linear-gradient(90deg, rgba(244,217,139,0.08) 0 2px, transparent 2px 6px);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}
.fpc-bar::before {
    content: '';
    position: absolute; inset: 8px 8px 8px 10px;
    background: linear-gradient(90deg, rgba(212,175,55,0.15), transparent 80%);
    clip-path: polygon(0 70%, 10% 60%, 22% 68%, 34% 45%, 44% 55%, 58% 30%, 70% 42%, 82% 18%, 92% 28%, 100% 10%, 100% 100%, 0 100%);
}
.fpc-foot {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 10.5px;
    color: #8a8a8a;
    letter-spacing: 0.3px;
}
.live-pulse {
    display: inline-flex; align-items: center; gap: 6px;
    color: #22c55e;
    font-weight: 700;
}
.live-pulse i {
    width: 7px; height: 7px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    position: relative;
}
.live-pulse i::after {
    content: '';
    position: absolute; inset: -4px;
    border-radius: 50%;
    background: rgba(34,197,94,0.25);
    animation: pulseDot 1.8s ease-out infinite;
}

.float-verified-card {
    position: absolute;
    top: 60px; right: 10px;
    z-index: 6;
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px 12px 12px;
    background: rgba(8,8,8,0.88);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.4);
}
.float-verified-card > i {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.02));
    color: #D4AF37;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.fvc-title { font-size: 13px; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 3px; }
.fvc-sub   { font-size: 10.5px; color: #8a8a8a; letter-spacing: 0.3px; }

/* ---------- Trust bar v2 (borderless, matches reference exactly) ---------- */
.trust-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 0;
    background: #0a0a0a;
    border: 1px solid #181818;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 10;
}
.trust-v2-cell {
    display: flex; align-items: center; gap: 18px;
    padding: 30px 34px;
}
.tv2-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.tv2-icon.shield { background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(212,175,55,0.04)); color: #D4AF37; }
.tv2-icon.globe  { background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(59,130,246,0.04)); color: #93c5fd; }
.tv2-icon.clock  { background: linear-gradient(135deg, rgba(168,85,247,0.18), rgba(168,85,247,0.04)); color: #d8b4fe; }
.tv2-icon.chart  { background: linear-gradient(135deg, rgba(34,197,94,0.18), rgba(34,197,94,0.04)); color: #86efac; }
.tv2-texts .tv2-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
    line-height: 1;
    margin-bottom: 6px;
}
.tv2-texts .tv2-sub {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #8a8a8a;
}
.trust-v2-sep {
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.08) 20%, rgba(255,255,255,0.08) 80%, transparent 100%);
}

@media (max-width: 1199px) {
    .hero-v2-row { min-height: auto; padding-bottom: 40px; }
    .hero-visual-wrap { height: 560px; margin-top: 20px; }
    .trust-v2-cell { padding: 24px 26px; }
}
@media (max-width: 991px) {
    .trust-v2 { grid-template-columns: repeat(2, 1fr); }
    .trust-v2-sep:nth-child(3) { display: none; }
    .trust-v2-sep:nth-child(6) { display: block; grid-column: 1 / -1; width: 100%; height: 1px; }
    .hero-v2-left { padding-right: 0; }
    .float-price-card { width: 280px; left: -10px; }
}
@media (max-width: 575px) {
    .hero-v2 { padding-top: 100px; }
    .hero-v2-inner { padding: 20px !important; }
    .trust-v2 { grid-template-columns: 1fr; border-radius: 14px; }
    .trust-v2-sep { display: none !important; }
    .trust-v2-cell { padding: 22px; }
    .hero-visual-wrap { height: 460px; padding: 0; }
    .float-price-card { width: 250px; bottom: 60px; left: -6px; padding: 14px; }
    .float-verified-card { top: 20px; right: -4px; padding: 10px 12px 10px 10px; }
    .btn-hero-gold, .btn-hero-outline { height: 54px; padding: 0 24px; font-size: 12.5px !important; }
    .hero-quick-stats { flex-wrap: wrap; gap: 16px 0; }
    .h-stat-sep { display: none; }
}

/* ---------- Sections (shared padding) ---------- */
.section-pad { padding: 110px 0; position: relative; }
.section-dark-stripe { background: linear-gradient(180deg, #050505 0%, #080703 50%, #050505 100%); border-top: 1px solid #141107; border-bottom: 1px solid #141107; }
.section-dark-stripe::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 60%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.5), transparent);
}
.section-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #d4b86a;
    margin-bottom: 18px;
}
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.1;
    letter-spacing: -0.4px;
    color: #fff;
    font-weight: 700;
    margin: 0 0 20px;
}
.section-lead {
    font-size: 16.5px;
    line-height: 1.75;
    color: #b9b9b9;
    margin: 0 0 30px;
    max-width: 720px;
}

/* ---------- About Us ---------- */
.about-image-frame {
    position: relative;
    padding: 16px;
    background: linear-gradient(135deg, rgba(212,175,55,0.15), transparent 60%);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 24px;
}
.about-img {
    width: 100%; height: 520px; object-fit: cover;
    border-radius: 16px;
    display: block;
}
.about-stat-badge {
    position: absolute;
    padding: 14px 20px;
    background: linear-gradient(180deg, rgba(12,12,12,0.96), rgba(4,4,4,0.96));
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 14px;
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.55);
}
.asb-1 { left: -20px; bottom: 40px; }
.asb-2 { right: -10px; top: 40px; }
.asb-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #F4D98B, #B4891F);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.asb-label { font-size: 11px; color: #8a8a8a; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 700; }
.about-mini-card {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 18px 18px;
    background: #0a0a0a;
    border: 1px solid #161616;
    border-radius: 14px;
    transition: all .25s ease;
}
.about-mini-card:hover { border-color: rgba(212,175,55,0.3); transform: translateY(-2px); }
.about-mini-card i {
    width: 40px; height: 40px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(212,175,55,0.18), rgba(212,175,55,0.03));
    color: #D4AF37;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.about-mini-card h6 { margin: 0 0 4px; font-size: 14.5px; font-weight: 700; color: #fff; }
.about-mini-card p  { margin: 0; font-size: 13px; color: #9a9a9a; line-height: 1.5; }

/* ---------- Services ---------- */
.mb-6 { margin-bottom: 70px; }
.service-card {
    position: relative;
    height: 100%;
    padding: 34px 28px 28px;
    background: #0a0a0a;
    border: 1px solid #161616;
    border-radius: 20px;
    transition: all .35s ease;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.6), transparent);
    opacity: 0;
    transition: opacity .35s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,0.25); box-shadow: 0 24px 50px rgba(0,0,0,0.5); }
.service-card:hover::before { opacity: 1; }
.service-card.featured {
    background: linear-gradient(180deg, rgba(212,175,55,0.08), rgba(10,10,10,1) 50%);
    border: 1px solid rgba(212,175,55,0.35);
}
.svc-icon {
    width: 58px; height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(212,175,55,0.02));
    color: #D4AF37;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}
.service-card h5 { font-size: 19px; color: #fff; margin: 0 0 10px; font-weight: 700; }
.service-card p  { font-size: 14px; color: #a5a5a5; line-height: 1.65; min-height: 66px; margin: 0 0 18px; }
.svc-meta { font-size: 12.5px; color: #8a8a8a; letter-spacing: 0.3px; }
.svc-badge {
    position: absolute; top: 18px; right: 18px;
    padding: 5px 12px;
    background: linear-gradient(135deg, #D4AF37, #B4891F);
    color: #140d00;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 999px;
}

/* ---------- Invest Calculator ---------- */
.calc-wrap {
    background: #0a0a0a;
    border: 1px solid #171717;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}
.calc-wrap::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(212,175,55,0.6) 50%, transparent 100%);
}
.calc-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 22px 28px;
    border-bottom: 1px solid #161616;
    background: linear-gradient(90deg, rgba(212,175,55,0.06), transparent 55%);
}
.calc-header > div { display: flex; align-items: center; gap: 14px; }
.calc-tab-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: #D4AF37;
    box-shadow: 0 0 12px #D4AF37;
}
.calc-header h5 { margin: 0; font-size: 18px; font-weight: 800; color: #fff; }
.calc-base-price { text-align: right; }
.calc-base-price small { display: block; font-size: 10.5px; color: #8a8a8a; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 4px; }
.calc-base-price strong { font-size: 17px; color: #F4D98B; font-weight: 800; }
.calc-body { padding: 28px; }
.calc-breakdown {
    margin-top: 28px;
    padding: 18px 20px 20px;
    background: linear-gradient(180deg, rgba(212,175,55,0.06), rgba(0,0,0,0.2));
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 16px;
}
.cb-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: #a5a5a5;
}
.cb-row strong { color: #e5e5e5; font-weight: 700; }
.cb-row.cb-total {
    padding-top: 14px; margin-top: 8px;
    border-top: 1px dashed rgba(255,255,255,0.08);
    font-size: 16px;
}
.cb-row.cb-total strong {
    font-size: 24px;
    font-family: 'Playfair Display', Georgia, serif;
    background: linear-gradient(135deg, #F4D98B, #B4891F);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cb-row.cb-sub2 { padding-top: 2px; font-size: 12.5px; color: #8a8a8a; }
.calc-actions { margin-top: 24px; }
.calc-foot {
    margin-top: 14px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 12px;
    color: #8a8a8a;
}
.calc-foot i { color: #D4AF37; }
.calc-perks { list-style: none; padding: 0; margin: 28px 0 0; }
.calc-perks li {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 0;
    font-size: 14.5px;
    color: #bdbdbd;
    border-bottom: 1px dashed #1a1a1a;
}
.calc-perks li:last-child { border-bottom: 0; }
.calc-perks li i { color: #D4AF37; font-size: 18px; }

/* ---------- Market: ticker strip ---------- */
.ticker-strip {
    overflow: hidden;
    height: 54px;
    padding: 0;
    margin-bottom: 20px;
    background: linear-gradient(90deg, rgba(212,175,55,0.06), rgba(0,0,0,0.6) 10%, rgba(0,0,0,0.6) 90%, rgba(212,175,55,0.06));
    border: 1px solid #141107;
    border-radius: 14px;
    position: relative;
}
.ticker-strip::before, .ticker-strip::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 3; pointer-events: none;
}
.ticker-strip::before { left: 0;  background: linear-gradient(90deg, #050505, transparent); }
.ticker-strip::after  { right: 0; background: linear-gradient(-90deg, #050505, transparent); }
.ticker-track {
    display: flex; align-items: center; gap: 40px;
    height: 100%;
    white-space: nowrap;
    animation: tickerRun 45s linear infinite;
}
@keyframes tickerRun {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.tk-item {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px;
    color: #e5e5e5;
    font-weight: 600;
}
.tk-item .tk-sym { color: #F4D98B; font-weight: 800; letter-spacing: 0.6px; }
.tk-item .tk-price { color: #fff; font-weight: 700; }
.tk-item .tk-chg-up   { color: #22c55e; font-weight: 700; }
.tk-item .tk-chg-down { color: #ef4444; font-weight: 700; }

/* ---------- Market: switcher + spot cards + chart frame + panels ---------- */
.market-switcher {
    display: inline-flex;
    padding: 5px;
    background: #0a0a0a;
    border: 1px solid #171717;
    border-radius: 12px;
    gap: 4px;
}
.market-switcher button {
    background: transparent; border: 0;
    padding: 9px 16px;
    font-size: 12.5px; font-weight: 700; letter-spacing: 0.8px;
    color: #9a9a9a;
    border-radius: 8px;
    cursor: pointer;
    transition: all .25s ease;
}
.market-switcher button:hover { color: #fff; }
.market-switcher button.active {
    background: linear-gradient(135deg, #D4AF37, #B4891F);
    color: #140d00;
    box-shadow: 0 6px 14px rgba(212,175,55,0.25);
}

.spot-card {
    position: relative;
    padding: 22px 22px 18px;
    background: #0a0a0a;
    border: 1px solid #171717;
    border-radius: 18px;
    overflow: hidden;
    transition: all .3s ease;
}
.spot-card:hover { transform: translateY(-4px); border-color: rgba(212,175,55,0.25); box-shadow: 0 18px 40px rgba(0,0,0,0.45); }
.spot-card.up::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #22c55e, rgba(212,175,55,0.5));
}
.spot-card.down::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #ef4444, rgba(212,175,55,0.4));
}
.sp-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.sp-sym { display: flex; align-items: center; gap: 12px; }
.sp-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
}
.sp-icon.gold     { background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(212,175,55,0.02)); color: #D4AF37; }
.sp-icon.silver   { background: linear-gradient(135deg, rgba(192,192,192,0.18), rgba(192,192,192,0.02)); color: #dcdcdc; }
.sp-icon.platinum { background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(59,130,246,0.02)); color: #93c5fd; }
.sp-icon.palladium{ background: linear-gradient(135deg, rgba(168,85,247,0.18), rgba(168,85,247,0.02)); color: #d8b4fe; }
.sp-sym h6 { margin: 0; font-size: 15.5px; color: #fff; font-weight: 800; }
.sp-sym small { display: block; font-size: 11.5px; color: #8a8a8a; margin-top: 2px; }
.sp-trend {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px; font-weight: 700;
}
.sp-trend.up   { color: #22c55e; background: rgba(34,197,94,0.12); }
.sp-trend.down { color: #ef4444; background: rgba(239,68,68,0.12); }
.sp-price {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.4px;
    margin-bottom: 12px;
}
.sp-price small { font-family: Inter, sans-serif; font-size: 12px; color: #8a8a8a; font-weight: 500; letter-spacing: 0; }
.sp-bar {
    height: 4px;
    border-radius: 3px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}
.sp-bar-up   { background: linear-gradient(90deg, rgba(34,197,94,0.2), #22c55e 80%); }
.sp-bar-down { background: linear-gradient(90deg, rgba(239,68,68,0.2), #ef4444 80%); }
.sp-foot {
    display: flex; justify-content: space-between;
    font-size: 11.5px;
    color: #8a8a8a;
    font-weight: 600;
}

.chart-frame {
    background: #060606;
    border: 1px solid #171717;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
}
.chart-frame::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.5), transparent);
    z-index: 3;
}
.chart-frame-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 22px;
    border-bottom: 1px solid #141414;
    flex-wrap: wrap; gap: 14px;
}
.cfh-sym { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cfh-dot {
    width: 10px; height: 10px; border-radius: 50%;
}
.cfh-dot.gold { background: #D4AF37; box-shadow: 0 0 12px #D4AF37; }
.cfh-sym strong { font-size: 17px; color: #fff; font-weight: 800; letter-spacing: 0.4px; }
.cf-price-up   { font-size: 18px; font-weight: 800; color: #22c55e; }
.cf-price-down { font-size: 18px; font-weight: 800; color: #ef4444; }
.cf-spread-up {
    padding: 4px 10px;
    background: rgba(34,197,94,0.12);
    color: #22c55e;
    border-radius: 8px;
    font-size: 12px; font-weight: 700;
}
.cfh-timeframe { display: inline-flex; padding: 4px; background: #0a0a0a; border: 1px solid #161616; border-radius: 10px; gap: 2px; }
.cfh-timeframe button {
    background: transparent; border: 0; cursor: pointer;
    padding: 7px 12px;
    font-size: 11.5px; font-weight: 800; letter-spacing: 0.4px;
    color: #8a8a8a; border-radius: 7px;
}
.cfh-timeframe button.active { background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(212,175,55,0.05)); color: #F4D98B; }
.cfh-timeframe button:hover { color: #fff; }

.tradingview-widget-wrap { padding: 0; background: #080808; }
.tradingview-widget-container { border-radius: 0; overflow: hidden; }

.chart-frame-footer {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    padding: 16px 22px 20px;
    border-top: 1px solid #141414;
    background: #060606;
}
.cf-meta { text-align: left; }
.cf-meta span { display: block; font-size: 10.5px; color: #8a8a8a; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 4px; }
.cf-meta strong { font-size: 14.5px; color: #fff; font-weight: 700; }
.cf-meta strong.up2   { color: #22c55e; }
.cf-meta strong.down2 { color: #ef4444; }

.market-panel {
    background: #060606;
    border: 1px solid #171717;
    border-radius: 18px;
    overflow: hidden;
}
.mp-head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 20px 16px;
    border-bottom: 1px solid #121212;
}
.mp-head h6 { margin: 0; font-size: 14.5px; font-weight: 800; color: #fff; letter-spacing: 0.3px; }
.mp-more { font-size: 11.5px; color: #D4AF37; font-weight: 700; text-decoration: none; letter-spacing: 0.4px; }
.live-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 10px;
    background: rgba(34,197,94,0.1);
    color: #22c55e;
    font-size: 10.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
    border-radius: 999px;
}
.live-pill i {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #22c55e;
    position: relative;
    box-shadow: 0 0 8px #22c55e;
}
.live-pill i::after {
    content: ''; position: absolute; inset: -4px;
    border-radius: 50%;
    background: rgba(34,197,94,0.2);
    animation: pulseDot 1.7s ease-out infinite;
}

.mp-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.mp-table thead th {
    padding: 12px 18px;
    font-size: 10.5px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: #8a8a8a;
    font-weight: 700;
    background: #0a0a0a;
    border-bottom: 1px solid #121212;
    text-align: left;
}
.mp-table tbody td {
    padding: 13px 18px;
    font-size: 13.5px;
    border-bottom: 1px solid #0f0f0f;
    color: #e5e5e5;
    vertical-align: middle;
}
.mp-table tbody tr:last-child td { border-bottom: 0; }
.mp-table tbody tr:hover td { background: rgba(212,175,55,0.03); }
.mpd {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
    border-radius: 8px;
    margin-right: 10px;
    font-size: 12px;
}
.mpd.gold     { background: linear-gradient(135deg, rgba(212,175,55,0.18), rgba(212,175,55,0.02)); color: #D4AF37; }
.mpd.silver   { background: linear-gradient(135deg, rgba(192,192,192,0.15), rgba(192,192,192,0.02)); color: #dcdcdc; }
.mpd.platinum { background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(59,130,246,0.02)); color: #93c5fd; }
.mpd.palladium{ background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(168,85,247,0.02)); color: #d8b4fe; }
.mpd.copper   { background: linear-gradient(135deg, rgba(234,88,12,0.2),  rgba(234,88,12,0.02));  color: #fb923c; }
.pct { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; }
.pct.up { color: #22c55e; }
.pct.down { color: #ef4444; }
.bar-wrap {
    width: 100%;
    height: 5px;
    background: #141414;
    border-radius: 3px;
    overflow: hidden;
}
.bar { height: 100%; border-radius: 3px; }
.bar.up   { background: linear-gradient(90deg, #22c55e, #86efac); }
.bar.down { background: linear-gradient(90deg, #ef4444, #fca5a5); }

.event-list { list-style: none; padding: 6px 0; margin: 0; }
.event-list li {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid #0f0f0f;
}
.event-list li:last-child { border-bottom: 0; }
.ev-time {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 15px;
    font-weight: 700;
    color: #D4AF37;
    min-width: 60px;
}
.ev-body { flex: 1; min-width: 0; }
.ev-impact {
    display: inline-block;
    width: 8px; height: 8px; border-radius: 50%;
    margin-right: 8px;
}
.ev-impact.high { background: #ef4444; box-shadow: 0 0 8px #ef4444; }
.ev-impact.med  { background: #D4AF37; box-shadow: 0 0 8px #D4AF37; }
.ev-impact.low  { background: #60a5fa; }
.ev-body strong { display: inline; font-size: 13.5px; color: #fff; margin-right: 6px; }
.ev-body small { display: block; margin-top: 3px; color: #8a8a8a; font-size: 11.5px; padding-left: 16px; }
.ev-country { font-size: 20px; }

@media (max-width: 991px) {
    .chart-frame-footer { grid-template-columns: repeat(3, 1fr); gap: 18px 14px; }
}
@media (max-width: 575px) {
    .chart-frame-footer { grid-template-columns: repeat(2, 1fr); }
    .section-pad { padding: 70px 0; }
    .mb-6 { margin-bottom: 40px; }
}

/* ---------- Contact ---------- */
.contact-wrap {
    display: block;
    background: #0a0a0a;
    border: 1px solid #171717;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}
.contact-wrap::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(212,175,55,0.7) 50%, transparent 100%);
}
.contact-left {
    padding: 60px 60px 50px;
    background:
        radial-gradient(1000px 400px at 10% 0%, rgba(212,175,55,0.18), transparent 50%),
        linear-gradient(135deg, #140e02, #060400 60%);
    border-right: 1px solid #141107;
    color: #fff;
}
.contact-right { padding: 60px; background: #0a0a0a; }
.contact-mini {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.06);
}
.contact-mini i {
    width: 46px; height: 46px;
    border-radius: 13px;
    background: rgba(212,175,55,0.12);
    color: #F4D98B;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.contact-mini span { display: block; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 3px; }
.contact-mini strong { font-size: 15.5px; color: #fff; font-weight: 700; }
.contact-socials {
    display: flex; align-items: center; gap: 10px;
    margin-top: 34px;
}
.contact-socials a {
    width: 42px; height: 42px;
    border-radius: 11px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    display: inline-flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: all .25s ease;
}
.contact-socials a:hover { border-color: #D4AF37; color: #D4AF37; transform: translateY(-2px); }

.contact-form-wrap h5 { font-size: 22px; color: #fff; font-weight: 800; margin: 0 0 6px; }
@media (max-width: 991px) {
    .contact-left { padding: 40px 30px; }
    .contact-right { padding: 40px 30px; border-top: 1px solid #141107; }
}

/* ---------- Footer ---------- */
.footer-nex {
    background: #050505;
    border-top: 1px solid #141107;
    padding: 80px 0 24px;
    position: relative;
}
.footer-nex::before {
    content: '';
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 40%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.55), transparent);
}
.foot-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #F4D98B;
    margin: 0 0 20px;
}
.foot-link {
    display: block;
    text-decoration: none;
    font-size: 13.5px;
    color: #9a9a9a;
    padding: 6px 0;
    transition: color .2s ease;
}
.foot-link:hover { color: #D4AF37; padding-left: 2px; }
.trust-logos {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 26px;
}
.tl-item {
    padding: 14px 8px;
    background: #0a0a0a;
    border: 1px solid #141414;
    border-radius: 12px;
    text-align: center;
}
.tl-item i { display: block; color: #D4AF37; font-size: 18px; margin-bottom: 6px; }
.tl-item span {
    display: block;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #8a8a8a;
}
.foot-bottom {
    margin-top: 60px;
    padding: 26px 0 0;
    border-top: 1px solid #111;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 14px;
    font-size: 12.5px; color: #6c757d;
}
.foot-disclaimer { max-width: 520px; text-align: right; color: #555; }

@media (max-width: 991px) {
    .trust-logos { grid-template-columns: repeat(2, 1fr); }
    .foot-bottom { flex-direction: column; text-align: center; }
    .foot-disclaimer { text-align: center; }
}


/* ================================================================
   HERO DIRECT IMAGE MODE (assest/nexagoldhero.jpg as sole visual)
   ================================================================ */

/* Visual wrapper expanded to full-height bleed — NO box/frame/border */
.hero-visual-wrap {
    position: relative;
    height: 100%;
    min-height: 640px;
    overflow: visible;
    border-radius: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* The actual nexagoldhero.jpg image  fills the entire box directly, no masking */
.hero-direct-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    display: block;
    filter: saturate(1.08) contrast(1.08) brightness(0.98);
    /* Keeps full image visible  no CSS masks, no fades hiding content */
}

/* Left edge soft blend with the hero black bg (so text side bleeds naturally) */
.hero-direct-fade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.42) 18%, rgba(0,0,0,0.14) 30%, transparent 48%),
        linear-gradient(180deg, rgba(0,0,0,0.22) 0%, transparent 22%, rgba(0,0,0,0.10) 100%);
}

/* Ambient gold glow in bottom-right corner (luxury feel, doesn't cover image) */
.hero-direct-glow {
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(212,175,55,0.34) 0%, rgba(212,175,55,0.06) 45%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

/* Reposition floating cards to corners (no overlap of image center subject) */
.float-price-card.float-tr {
    left: auto !important;
    right: 20px !important;
    top: 20px !important;
    bottom: auto !important;
    width: 290px;
}
.float-verified-card.float-bl {
    left: 20px !important;
    right: auto !important;
    top: auto !important;
    bottom: 20px !important;
}

/* Shrink float cards on narrow screens to keep image unobscured */
@media (max-width: 1199px) {
    .hero-visual-wrap { min-height: 560px; }
    .float-price-card.float-tr { width: 260px; right: 14px; top: 14px; padding: 14px; }
    .float-verified-card.float-bl { left: 14px; bottom: 14px; padding: 10px 14px 10px 10px; }
}
@media (max-width: 991px) {
    .hero-visual-wrap { min-height: 520px; margin-top: 0; border-radius: 0; overflow: visible; }
    .hero-direct-image { object-position: center center; }
}
@media (max-width: 575px) {
    .hero-visual-wrap { min-height: 420px; border-radius: 0; overflow: visible; }
    .float-price-card.float-tr { width: 230px; right: 10px; top: 10px; padding: 12px; }
    .float-price-card.float-tr .fpc-foot span:first-child { display: none; }
    .float-verified-card.float-bl { left: 10px; bottom: 10px; padding: 8px 12px 8px 8px; }
    .float-verified-card.float-bl .fvc-sub { display: none; }
}
