/* MoneyGo Ultra-Premium Financial Platform Styling */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    --bg-navy: #07111F;
    --bg-black: #050A12;
    --card-bg: rgba(11, 23, 42, 0.75);
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #AA820A;
    --emerald: #00C896;
    --emerald-dark: #009670;
    --white: #F8FAFC;
    --slate-muted: #94A3B8;
    --border-glass: rgba(212, 175, 55, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', 'Inter', sans-serif;
    letter-spacing: -0.025em;
}

.mono-num {
    font-family: 'JetBrains Mono', monospace;
}

/* Luxury Background Gradients */
.bg-institutional {
    background-color: var(--bg-black);
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 85% 25%, rgba(0, 200, 150, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 50% 85%, rgba(7, 17, 31, 0.9) 0%, transparent 70%);
}

.bg-pattern-grid {
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(212, 175, 55, 0.15);
}

.glass-card-gold {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(7, 17, 31, 0.85) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    backdrop-filter: blur(16px);
    border-radius: 1.25rem;
}

/* Gold Gradient Text */
.gold-gradient-text {
    background: linear-gradient(135deg, #FFF0B3 0%, #D4AF37 50%, #AA820A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.emerald-gradient-text {
    background: linear-gradient(135deg, #5EEAD4 0%, #00C896 50%, #047857 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, #D4AF37 0%, #B89726 100%);
    color: #050A12;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(212, 175, 55, 0.35);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(212, 175, 55, 0.5);
    color: #050A12;
}

.btn-emerald {
    background: linear-gradient(135deg, #00C896 0%, #009670 100%);
    color: #050A12;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(0, 200, 150, 0.35);
}

.btn-emerald:hover {
    background: linear-gradient(135deg, #34D399 0%, #00C896 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(0, 200, 150, 0.5);
    color: #050A12;
}

.btn-outline-gold {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.6);
    color: #F3E5AB;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: #D4AF37;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.2);
}

/* Live Market Ticker */
.ticker-wrap {
    overflow: hidden;
    white-space: nowrap;
    background: rgba(5, 10, 18, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.4rem 0;
}

.ticker-content {
    display: inline-block;
    animation: marquee 45s linear infinite;
}

.ticker-content:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #050A12;
}
::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.6);
}

/* Badges & Status */
.badge-gold {
    background: rgba(212, 175, 55, 0.15);
    color: #F3E5AB;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.badge-emerald {
    background: rgba(0, 200, 150, 0.15);
    color: #00C896;
    border: 1px solid rgba(0, 200, 150, 0.3);
}

/* Glow effects */
.glow-gold {
    box-shadow: 0 0 35px -5px rgba(212, 175, 55, 0.3);
}

.glow-emerald {
    box-shadow: 0 0 35px -5px rgba(0, 200, 150, 0.3);
}

/* Forms styling */
.form-input-luxury {
    background: rgba(7, 17, 31, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #F8FAFC;
    border-radius: 0.75rem;
    padding: 0.85rem 1.1rem;
    width: 100%;
    outline: none;
    transition: all 0.25s ease;
}

.form-input-luxury:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    background: rgba(11, 23, 42, 0.95);
}

/* Mobile Nav Drawer */
.mobile-nav {
    transition: transform 0.3s ease-in-out;
}
.mobile-nav.open {
    transform: translateX(0);
}
.mobile-nav.closed {
    transform: translateX(100%);
}
