/* HashCrypto Modern Pro Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --accent: #0ea5e9;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    background-size: 50px 50px, 50px 50px, 100% 100%;
    background-attachment: fixed;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    /* Removed overflow:hidden by default to allow tooltips/popups if needed, added specific overflow classes in HTML where needed */
}

.glass-card-header {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 1.25rem;
}

/* Typography & Gradients */
.text-gradient {
    background: linear-gradient(to right, #818cf8, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white; padding: 0.6rem 1.25rem; border-radius: 8px;
    font-weight: 600; font-size: 0.9rem;
    box-shadow: 0 4px 12px var(--primary-glow);
    border: 1px solid rgba(255,255,255,0.1);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }

.btn-secondary {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--glass-border);
    color: var(--text-muted); padding: 0.6rem 1.25rem; border-radius: 8px;
    font-weight: 500; font-size: 0.9rem;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--text-muted); color: white; background: rgba(255,255,255,0.05); }

.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.75rem; border-radius: 6px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center;}
.btn-danger { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #fca5a5; }
.btn-danger:hover { background: rgba(239, 68, 68, 0.2); color: white; border-color: #ef4444; }
.btn-warning { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.3); color: #fcd34d; }
.btn-warning:hover { background: rgba(245, 158, 11, 0.2); color: white; border-color: #f59e0b; }

/* Navigation */
.nav-blur {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky; top: 0; z-index: 50;
}
.nav-link {
    color: var(--text-muted); font-size: 0.9rem; font-weight: 500;
    padding: 0.5rem 0.75rem; border-radius: 6px; transition: all 0.2s;
}
.nav-link:hover, .nav-link.active { color: white; background: rgba(255,255,255,0.05); }

/* Badges */
.badge-modern { padding: 3px 8px; border-radius: 4px; font-size: 0.65rem; font-weight: 700; display: inline-block; text-transform: uppercase; letter-spacing: 0.05em; }
.badge-success { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.2); }
.badge-warning { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.2); }
.badge-danger { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.2); }
.badge-info { background: rgba(14, 165, 233, 0.15); color: #38bdf8; border: 1px solid rgba(14, 165, 233, 0.2); }
.badge-purple { background: rgba(139, 92, 246, 0.15); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.2); }

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* Mobile Menu */
.mobile-menu { display: none; background: #0f172a; border-bottom: 1px solid var(--glass-border); }
.mobile-menu.active { display: block; }