/* Theme: "Nexus" - Premium Digital Asset Marketplace 
   Vibe: Professional, High-Tech, Trustworthy
*/

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

:root {
    /* Color Palette - Deep & Rich */
    --bg-main: #0F1115;      /* Almost black, very premium */
    --bg-card: #161B22;      /* Github-style dark panel */
    --bg-input: #0D1117;
    
    /* Borders */
    --border-dim: #21262D;
    --border-bright: #30363D;

    /* Brand Accents - Indigo/Violet Gradient */
    --accent-primary: #6366f1;  /* Indigo 500 */
    --accent-glow: rgba(99, 102, 241, 0.4);
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    
    /* Status Colors */
    --success: #2ea043;
    --error: #da3633;
}

body {
    font-family: 'Inter', sans-serif;
    /* Background moved to video in header.php to allow transparency */
    background-color: transparent; 
    color: #c9d1d9;
    min-height: 100vh;
}

/* --- Utility Classes --- */

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

/* Glass Header */
.header-glass {
    background: rgba(22, 27, 34, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-dim);
}

/* Premium Card */
.nexus-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 12px;
    transition: all 0.2s ease-in-out; /* Removed cubic-bezier for smoother, simpler feel */
    position: relative;
    overflow: hidden;
}

.nexus-card:hover {
    border-color: var(--accent-primary); /* Highlights border instead of moving */
    /* transform: translateY(-4px);  <-- REMOVED: Caused dizziness */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Reduced shadow intensity */
}

/* Glowing top border on hover */
.nexus-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}
.nexus-card:hover::after { opacity: 1; }

/* Primary Action Button */
.btn-nexus {
    background: var(--accent-gradient);
    color: white;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 15px var(--accent-glow);
    transition: all 0.2s;
}
.btn-nexus:hover {
    filter: brightness(1.1);
    /* transform: translateY(-1px); <-- REMOVED: Caused dizziness */
    box-shadow: 0 4px 20px var(--accent-glow);
}

/* Secondary Button */
.btn-ghost {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-dim);
    color: #c9d1d9;
    transition: all 0.2s;
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: #8b5cf6;
    color: white;
}

/* Inputs */
.input-nexus {
    background: var(--bg-input);
    border: 1px solid var(--border-dim);
    color: white;
    transition: border-color 0.2s;
}
.input-nexus:focus {
    border-color: var(--accent-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}