/* ================================================
   THE QUANTUM GOLD — Premium Trading Dashboard
   Dark theme + Gold/Cyan accents + Glassmorphism
   ================================================ */

/* === CSS VARIABLES === */
:root {
    --bg-primary: #050510;
    --bg-secondary: #0a0a1a;
    --bg-card: rgba(15, 15, 35, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --gold: #FFD700;
    --gold-light: #FFE55C;
    --gold-dark: #CC9900;
    --cyan: #00d4ff;
    --cyan-dark: #0099cc;
    --green: #00e676;
    --red: #ff4444;
    --text-primary: #f0f0f5;
    --text-secondary: #8888aa;
    --text-muted: #555577;
    --border: rgba(255, 215, 0, 0.1);
    --border-hover: rgba(255, 215, 0, 0.3);
    --shadow-gold: 0 0 40px rgba(255, 215, 0, 0.1);
    --shadow-cyan: 0 0 40px rgba(0, 212, 255, 0.1);
    --radius: 16px;
    --radius-sm: 8px;
}

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === PARTICLE CANVAS === */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* === GLOW ORBS === */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -150px;
    animation: float-orb 20s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
    bottom: 200px;
    left: -100px;
    animation: float-orb 25s ease-in-out infinite reverse;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.05) 0%, transparent 70%);
    top: 50%;
    right: -50px;
    animation: float-orb 18s ease-in-out infinite;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-30px, 40px); }
    50% { transform: translate(20px, -30px); }
    75% { transform: translate(-20px, -20px); }
}

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-icon svg {
    width: 40px;
    height: 40px;
}

.logo-main {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    display: block;
}

.logo-sub {
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    display: block;
}

.header-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    color: var(--green);
    letter-spacing: 2px;
    padding: 8px 18px;
    border: 1px solid rgba(0, 230, 118, 0.3);
    border-radius: 30px;
    background: rgba(0, 230, 118, 0.05);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.6); }
    50% { box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
}

/* === HERO === */
.hero {
    position: relative;
    z-index: 1;
    padding: 160px 0 80px;
    text-align: center;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-accent {
    background: linear-gradient(135deg, var(--gold), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 6px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* === SECTION TITLE === */
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--text-primary), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 50px;
}

/* === ACCOUNTS === */
.accounts {
    position: relative;
    z-index: 1;
    padding: 60px 0 80px;
}

.account-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.account-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--cyan), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.account-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.account-card:hover::before {
    opacity: 1;
}

.account-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.account-badge {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
}

.badge-sigma {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--gold);
}

.badge-prime {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 153, 204, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--cyan);
}

.badge-delta {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.15), rgba(0, 180, 90, 0.1));
    border: 1px solid rgba(0, 230, 118, 0.3);
    color: var(--green);
}

.account-info {
    flex: 1;
}

.account-name {
    font-family: 'Orbitron', monospace;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.account-type {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
    display: block;
}

.account-link {
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    color: var(--gold);
    text-decoration: none;
    padding: 10px 22px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 30px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    white-space: nowrap;
}

.account-link:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}

/* === WIDGET === */
.widget-row {
    margin-bottom: 24px;
}

.widget-container {
    width: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 10, 20, 0.8);
}

.widget-container iframe {
    display: block;
    width: 100%;
    min-height: 300px;
}

.account-footer {
    display: flex;
    justify-content: center;
}

.myfxbook-badge img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    transition: transform 0.3s ease;
}

.myfxbook-badge:hover img {
    transform: scale(1.02);
}

/* === FEATURES === */
.features {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 18px;
    display: block;
}

.feature-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 15px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === DISCLAIMER === */
.disclaimer {
    position: relative;
    z-index: 1;
    padding: 40px 0;
}

.disclaimer p {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid rgba(255, 68, 68, 0.15);
    border-radius: var(--radius-sm);
    background: rgba(255, 68, 68, 0.03);
    line-height: 1.7;
}

/* === FOOTER === */
.footer {
    position: relative;
    z-index: 1;
    padding: 50px 0 30px;
    border-top: 1px solid var(--border);
    background: rgba(5, 5, 16, 0.9);
}

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

.footer-brand p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 6px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--gold);
    text-decoration: none;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 12px;
    }

    .hero {
        padding: 130px 0 60px;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-stat-divider {
        display: none;
    }

    .account-card {
        padding: 20px;
    }

    .account-header {
        flex-direction: column;
        text-align: center;
    }

    .account-link {
        width: 100%;
        text-align: center;
        display: block;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .logo-main {
        font-size: 14px;
    }

    .hero-title {
        font-size: 28px;
    }
}
